{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/ovor-oneprompt-with-virtual-outlier","title":"OVOR: OnePrompt with Virtual Outlier Regularization for Rehearsal-Free Class-Incremental Learning","arxiv_id":"2402.04129","date":"2024-02-06","proceeding":null,"authors":["Wei-Cheng Huang","Chun-Fu Chen","Hsiang Hsu"],"abstract":"Recent works have shown that by using large pre-trained models along with learnable prompts, rehearsal-free methods for class-incremental learning (CIL) settings can achieve superior performance to prominent rehearsal-based ones. Rehearsal-free CIL methods struggle with distinguishing classes from different tasks, as those are not trained together. In this work we propose a regularization method based on virtual outliers to tighten decision boundaries of the classifier, such that confusion of classes among different tasks is mitigated. Recent prompt-based methods often require a pool of task-specific prompts, in order to prevent overwriting knowledge of previous tasks with that of the new task, leading to extra computation in querying and composing an appropriate prompt from the pool. This additional cost can be eliminated, without sacrificing accuracy, as we reveal in the paper. We illustrate that a simplified prompt-based method can achieve results comparable to previous state-of-the-art (SOTA) methods equipped with a prompt pool, using much less learnable parameters and lower inference cost. Our regularization method has demonstrated its compatibility with different prompt-based methods, boosting those previous SOTA rehearsal-free CIL methods' accuracy on the ImageNet-R and CIFAR-100 benchmarks. Our source code is available at https://github.com/jpmorganchase/ovor.","url_abs":"https://arxiv.org/abs/2402.04129v1","url_pdf":"https://arxiv.org/pdf/2402.04129v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[],"tasks":[{"task_slug":"class-incremental-learning","task_name":"Class Incremental Learning"},{"task_slug":"incremental-learning","task_name":"Incremental Learning"},{"task_slug":"class-incremental-learning-1","task_name":"class-incremental learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2402.04129","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2402.04129"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/jpmorganchase/ovor","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/GT-RIPL/CODA-Prompt","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/pprp/timm","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":15,"ran_draft_wrong":2,"ran_fixture":1,"ran_honours":1,"unverified":8},"by_repo_kind":{"found_in_text":{"samples":25,"ran":17,"repositories":3}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":2,"samples":[{"code_sha256_prefix":"e1716fdcd4486b32","entry":"CodaPrompt","repo":"GT-RIPL/CODA-Prompt","repo_kind":"found_in_text","path":"models/zoo.py","file_url":"https://github.com/GT-RIPL/CODA-Prompt/blob/HEAD/models/zoo.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e1716fdcd4486b32"}},{"code_sha256_prefix":"fb5af0c577ee3e37","entry":"CosineSchedule","repo":"jpmorganchase/ovor","repo_kind":"found_in_text","path":"learners/prompt.py","file_url":"https://github.com/jpmorganchase/ovor/blob/HEAD/learners/prompt.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fb5af0c577ee3e37"}},{"code_sha256_prefix":"cd90daeda39e4548","entry":"NPOS","repo":"jpmorganchase/ovor","repo_kind":"found_in_text","path":"learners/prompt.py","file_url":"https://github.com/jpmorganchase/ovor/blob/HEAD/learners/prompt.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cd90daeda39e4548"}},{"code_sha256_prefix":"14e1f6edf047e2fe","entry":"accuracy","repo":"jpmorganchase/ovor","repo_kind":"found_in_text","path":"learners/prompt.py","file_url":"https://github.com/jpmorganchase/ovor/blob/HEAD/learners/prompt.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"14e1f6edf047e2fe"}},{"code_sha256_prefix":"bbb0ade8018ebd05","entry":"adaptive_avgmax_pool2d","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/adaptive_avgmax_pool.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/adaptive_avgmax_pool.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bbb0ade8018ebd05"}},{"code_sha256_prefix":"c98e5e298f086636","entry":"adaptive_catavgmax_pool2d","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/adaptive_avgmax_pool.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/adaptive_avgmax_pool.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c98e5e298f086636"}},{"code_sha256_prefix":"01c6892d9a801397","entry":"adaptive_pool_feat_mult","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/adaptive_avgmax_pool.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/adaptive_avgmax_pool.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"01c6892d9a801397"}},{"code_sha256_prefix":"816ebe82b6b6275f","entry":"get_condconv_initializer","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/cond_conv2d.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/cond_conv2d.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"816ebe82b6b6275f"}},{"code_sha256_prefix":"91c27523dde7eb4a","entry":"hard_sigmoid_jit","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/activations_jit.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/activations_jit.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"91c27523dde7eb4a"}},{"code_sha256_prefix":"801c85b8903bfff5","entry":"mish","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/activations.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/activations.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"801c85b8903bfff5"}},{"code_sha256_prefix":"14eddd8cc4c65fe0","entry":"mish_jit","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/activations_jit.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/activations_jit.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"14eddd8cc4c65fe0"}},{"code_sha256_prefix":"a763dc6f8d5d1498","entry":"ortho_penalty","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"a763dc6f8d5d1498"}},{"code_sha256_prefix":"d83b6ecf3cdc1d6a","entry":"sigmoid","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/activations.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/activations.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d83b6ecf3cdc1d6a"}},{"code_sha256_prefix":"717e4d22b6d103e6","entry":"swish","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/activations.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/activations.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"717e4d22b6d103e6"}},{"code_sha256_prefix":"8e341f8585b3fe94","entry":"swish_jit","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/activations_jit.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/activations_jit.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8e341f8585b3fe94"}},{"code_sha256_prefix":"ccf59d4aa2ccacdb","entry":"swish_jit_bwd","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/activations_me.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/activations_me.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ccf59d4aa2ccacdb"}},{"code_sha256_prefix":"2d53e47b891cd927","entry":"swish_jit_fwd","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/activations_me.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/activations_me.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2d53e47b891cd927"}},{"code_sha256_prefix":"51a2f9920a170144","entry":"swish_me","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/activations_me.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/activations_me.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"51a2f9920a170144"}},{"code_sha256_prefix":"3f33843b601c8d4d","entry":"tensor_prompt","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"3f33843b601c8d4d"}},{"code_sha256_prefix":"3e51324f77696213","entry":"NormalNN","repo":"jpmorganchase/ovor","repo_kind":"found_in_text","path":"learners/prompt.py","file_url":"https://github.com/jpmorganchase/ovor/blob/HEAD/learners/prompt.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3e51324f77696213"}},{"code_sha256_prefix":"10a3cf3944acb574","entry":"OnePrompt","repo":"jpmorganchase/ovor","repo_kind":"found_in_text","path":"learners/prompt.py","file_url":"https://github.com/jpmorganchase/ovor/blob/HEAD/learners/prompt.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"10a3cf3944acb574"}},{"code_sha256_prefix":"94d1744c930d27d6","entry":"Prompt","repo":"jpmorganchase/ovor","repo_kind":"found_in_text","path":"learners/prompt.py","file_url":"https://github.com/jpmorganchase/ovor/blob/HEAD/learners/prompt.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"94d1744c930d27d6"}},{"code_sha256_prefix":"0da189d1706732b7","entry":"_LRScheduler","repo":"jpmorganchase/ovor","repo_kind":"found_in_text","path":"learners/prompt.py","file_url":"https://github.com/jpmorganchase/ovor/blob/HEAD/learners/prompt.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0da189d1706732b7"}},{"code_sha256_prefix":"8cf70ff8a63b107f","entry":"conv2d_same","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/conv2d_same.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/conv2d_same.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8cf70ff8a63b107f"}},{"code_sha256_prefix":"f3958c754a8750d7","entry":"create_classifier","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/classifier.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/classifier.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f3958c754a8750d7"}},{"code_sha256_prefix":"c7ec3481c1905e5b","entry":"create_conv2d_pad","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/conv2d_same.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/conv2d_same.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c7ec3481c1905e5b"}},{"code_sha256_prefix":"f0b44651e598ca66","entry":"rel_logits_1d","repo":"pprp/timm","repo_kind":"found_in_text","path":"timm/layers/bottleneck_attn.py","file_url":"https://github.com/pprp/timm/blob/HEAD/timm/layers/bottleneck_attn.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f0b44651e598ca66"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}