{"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/arxiv-2601-19766","title":"The Effect of Architecture During Continual Learning","arxiv_id":"2601.19766","date":"2026-01-27","proceeding":null,"authors":["Allyson Hahn","Krishnan Raghavan"],"abstract":"Continual learning is a challenge for models with static architecture, as they fail to adapt to when data distributions evolve across tasks. We introduce a mathematical framework that jointly models architecture and weights in a Sobolev space, enabling a rigorous investigation into the role of neural network architecture in continual learning and its effect on the forgetting loss. We derive necessary conditions for the continual learning solution and prove that learning only model weights is insufficient to mitigate catastrophic forgetting under distribution shifts. Consequently, we prove that by learning the architecture and weights simultaneously at each task, we can reduce catastrophic forgetting. To learn weights and architecture simultaneously, we formulate continual learning as a bilevel optimization problem: the upper level selects an optimal architecture for a given task, while the lower level computes optimal weights via dynamic programming over all tasks. To solve the upper level problem, we introduce a derivative-free direct search algorithm to determine the optimal architecture. Once found, we must transfer knowledge from the current architecture to the optimal one. However, the optimal architecture will result in a weights parameter space different from the current architecture (i.e., dimensions of weights matrices will not match). To bridge the dimensionality gap, we develop a low-rank transfer mechanism to map knowledge across architectures of mismatched dimensions. Empirical studies across regression and classification problems, including feedforward, convolutional, and graph neural networks, demonstrate that learning the optimal architecture and weights simultaneously yields substantially improved performance (up to two orders of magnitude), reduced forgetting, and enhanced robustness to noise compared with static architecture approaches.","url_abs":"https://arxiv.org/abs/2601.19766","url_pdf":"https://arxiv.org/pdf/2601.19766","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2601.19766","atlas_url":null,"mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2601.19766"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/krm9c/ContLearn","reach":null}],"summary":{"unverified":15},"by_repo_kind":{"found_in_text":{"samples":15,"ran":0,"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":15,"samples":[{"code_sha256_prefix":"04e764a4bc45bfb0","entry":"apply_defaults","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/config/params.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/config/params.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":"04e764a4bc45bfb0"}},{"code_sha256_prefix":"246e643563b76311","entry":"arch_search_CNN_fresh","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/arch_search/cnn_search.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/arch_search/cnn_search.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":"246e643563b76311"}},{"code_sha256_prefix":"d74578c90ec005fa","entry":"arch_search_GCN","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/arch_search/gcn_search.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/arch_search/gcn_search.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":"d74578c90ec005fa"}},{"code_sha256_prefix":"1920a5ed74529106","entry":"compute_ab_threshold","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/core/awb.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/core/awb.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":"1920a5ed74529106"}},{"code_sha256_prefix":"e3a303d63712c542","entry":"compute_avg_loss","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/core/awb.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/core/awb.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":"e3a303d63712c542"}},{"code_sha256_prefix":"2fde3edc5717ac33","entry":"compute_search_loss","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/core/arch_search.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/core/arch_search.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":"2fde3edc5717ac33"}},{"code_sha256_prefix":"0e1a7f2fef144cc1","entry":"create_balanced_validation_set","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/core/awb_pipeline.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/core/awb_pipeline.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":"0e1a7f2fef144cc1"}},{"code_sha256_prefix":"ef8f2c255780eeae","entry":"estimate_model_memory_mb","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/core/async_checkpoint.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/core/async_checkpoint.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":"ef8f2c255780eeae"}},{"code_sha256_prefix":"78c35280dd7025a3","entry":"estimate_records_memory_mb","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/core/async_checkpoint.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/core/async_checkpoint.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":"78c35280dd7025a3"}},{"code_sha256_prefix":"aad49b85c1ac0471","entry":"load_config","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/config/params.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/config/params.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":"aad49b85c1ac0471"}},{"code_sha256_prefix":"aca67e473a5ff0d2","entry":"load_search_config","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/core/arch_search.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/core/arch_search.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":"aca67e473a5ff0d2"}},{"code_sha256_prefix":"10d5f5754338f8f3","entry":"prepABs","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/arch_search/cnn_search.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/arch_search/cnn_search.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":"10d5f5754338f8f3"}},{"code_sha256_prefix":"95cb5458408c6a90","entry":"prepABs_CNN3D","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/arch_search/cnn_search.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/arch_search/cnn_search.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":"95cb5458408c6a90"}},{"code_sha256_prefix":"0a95f25ebe5bd6d7","entry":"prepABs_GCN","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/arch_search/gcn_search.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/arch_search/gcn_search.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":"0a95f25ebe5bd6d7"}},{"code_sha256_prefix":"45c908155b498f46","entry":"should_change_arch","repo":"krm9c/ContLearn","repo_kind":"found_in_text","path":"src/cl/core/awb.py","file_url":"https://github.com/krm9c/ContLearn/blob/HEAD/src/cl/core/awb.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":"45c908155b498f46"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}