{"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/revisiting-neural-networks-for-continual","title":"Revisiting Neural Networks for Continual Learning: An Architectural Perspective","arxiv_id":"2404.14829","date":"2024-04-23","proceeding":null,"authors":["Aojun Lu","Tao Feng","Hangjie Yuan","Xiaotian Song","Yanan sun"],"abstract":"Efforts to overcome catastrophic forgetting have primarily centered around developing more effective Continual Learning (CL) methods. In contrast, less attention was devoted to analyzing the role of network architecture design (e.g., network depth, width, and components) in contributing to CL. This paper seeks to bridge this gap between network architecture design and CL, and to present a holistic study on the impact of network architectures on CL. This work considers architecture design at the network scaling level, i.e., width and depth, and also at the network components, i.e., skip connections, global pooling layers, and down-sampling. In both cases, we first derive insights through systematically exploring how architectural designs affect CL. Then, grounded in these insights, we craft a specialized search space for CL and further propose a simple yet effective ArchCraft method to steer a CL-friendly architecture, namely, this method recrafts AlexNet/ResNet into AlexAC/ResAC. Experimental validation across various CL settings and scenarios demonstrates that improved architectures are parameter-efficient, achieving state-of-the-art performance of CL while being 86%, 61%, and 97% more compact in terms of parameters than the naive CL architecture in Task IL and Class IL. Code is available at https://github.com/byyx666/ArchCraft.","url_abs":"https://arxiv.org/abs/2404.14829v3","url_pdf":"https://arxiv.org/pdf/2404.14829v3.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":[{"paper_slug":"revisiting-neural-networks-for-continual","repo_url":"https://github.com/byyx666/archcraft","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"class-incremental-learning","task_name":"Class Incremental Learning"},{"task_slug":"continual-learning","task_name":"Continual Learning"},{"task_slug":"incremental-learning","task_name":"Incremental Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2404.14829","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2404.14829"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/byyx666/archcraft","reach":{"status":"ok"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/byyx666/ArchCraft","reach":{"status":"ok"}}],"summary":{"ran":9,"ran_draft_wrong":4,"unverified":6},"by_repo_kind":{"official":{"samples":19,"ran":13,"repositories":1}},"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":19,"samples":[{"code_sha256_prefix":"9447851a9454a03a","entry":"BasicBlock","repo":"byyx666/ArchCraft","repo_kind":"official","path":"task_il/networks/arch_craft.py","file_url":"https://github.com/byyx666/ArchCraft/blob/HEAD/task_il/networks/arch_craft.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9447851a9454a03a"}},{"code_sha256_prefix":"7ab8bd831d4c5b9e","entry":"BasicBlockRes","repo":"byyx666/ArchCraft","repo_kind":"official","path":"task_il/networks/arch_craft.py","file_url":"https://github.com/byyx666/ArchCraft/blob/HEAD/task_il/networks/arch_craft.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7ab8bd831d4c5b9e"}},{"code_sha256_prefix":"8a7d5641e4d53e3b","entry":"DownsampleB","repo":"byyx666/ArchCraft","repo_kind":"official","path":"task_il/networks/arch_craft.py","file_url":"https://github.com/byyx666/ArchCraft/blob/HEAD/task_il/networks/arch_craft.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8a7d5641e4d53e3b"}},{"code_sha256_prefix":"54ceb19348d05def","entry":"Net","repo":"byyx666/ArchCraft","repo_kind":"official","path":"task_il/networks/arch_craft.py","file_url":"https://github.com/byyx666/ArchCraft/blob/HEAD/task_il/networks/arch_craft.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"54ceb19348d05def"}},{"code_sha256_prefix":"d9def42110729a85","entry":"conv1x1","repo":"byyx666/archcraft","repo_kind":"official","path":"class_il/convs/memo_resnet.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/class_il/convs/memo_resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d9def42110729a85"}},{"code_sha256_prefix":"160bb14bd76201b4","entry":"conv3x3","repo":"byyx666/archcraft","repo_kind":"official","path":"class_il/convs/memo_resnet.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/class_il/convs/memo_resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"160bb14bd76201b4"}},{"code_sha256_prefix":"1907f2ae25449f39","entry":"conv3x3","repo":"byyx666/archcraft","repo_kind":"official","path":"class_il/convs/modified_represnet.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/class_il/convs/modified_represnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1907f2ae25449f39"}},{"code_sha256_prefix":"9d556d61294bb0a8","entry":"conv_block","repo":"byyx666/archcraft","repo_kind":"official","path":"class_il/convs/conv_imagenet.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/class_il/convs/conv_imagenet.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9d556d61294bb0a8"}},{"code_sha256_prefix":"5af62c5da8dacdb2","entry":"first_block","repo":"byyx666/archcraft","repo_kind":"official","path":"class_il/convs/conv_imagenet.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/class_il/convs/conv_imagenet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5af62c5da8dacdb2"}},{"code_sha256_prefix":"371888147f2affb4","entry":"mutate","repo":"byyx666/archcraft","repo_kind":"official","path":"class_il/model_code.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/class_il/model_code.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"371888147f2affb4"}},{"code_sha256_prefix":"febede461fb34d1b","entry":"params_clip","repo":"byyx666/archcraft","repo_kind":"official","path":"class_il/model_code.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/class_il/model_code.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"febede461fb34d1b"}},{"code_sha256_prefix":"d53cc8bbad3e59cc","entry":"params_count","repo":"byyx666/archcraft","repo_kind":"official","path":"class_il/model_code.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/class_il/model_code.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d53cc8bbad3e59cc"}},{"code_sha256_prefix":"84c526fa04bd55ba","entry":"params_count","repo":"byyx666/archcraft","repo_kind":"official","path":"task_il/model_code.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/task_il/model_code.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"84c526fa04bd55ba"}},{"code_sha256_prefix":"aa97e32681792f9f","entry":"mutate","repo":"byyx666/archcraft","repo_kind":"official","path":"task_il/model_code.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/task_il/model_code.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"aa97e32681792f9f"}},{"code_sha256_prefix":"b8e5c22b79010344","entry":"resnet10","repo":"byyx666/archcraft","repo_kind":"official","path":"class_il/convs/resnet.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/class_il/convs/resnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b8e5c22b79010344"}},{"code_sha256_prefix":"4742faeabce1f66b","entry":"resnet18","repo":"byyx666/archcraft","repo_kind":"official","path":"class_il/convs/ucir_resnet.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/class_il/convs/ucir_resnet.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4742faeabce1f66b"}},{"code_sha256_prefix":"9d7277889d69cf2d","entry":"resnet18_cbam","repo":"byyx666/archcraft","repo_kind":"official","path":"class_il/convs/resnet_cbam.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/class_il/convs/resnet_cbam.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9d7277889d69cf2d"}},{"code_sha256_prefix":"ecaa7ca05d715804","entry":"resnet18_rep","repo":"byyx666/archcraft","repo_kind":"official","path":"class_il/convs/modified_represnet.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/class_il/convs/modified_represnet.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ecaa7ca05d715804"}},{"code_sha256_prefix":"9eb3d43ee2e8ae7d","entry":"resnet34_cbam","repo":"byyx666/archcraft","repo_kind":"official","path":"class_il/convs/resnet_cbam.py","file_url":"https://github.com/byyx666/archcraft/blob/HEAD/class_il/convs/resnet_cbam.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9eb3d43ee2e8ae7d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}