{"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/slow-and-steady-wins-the-race-maintaining","title":"Slow and Steady Wins the Race: Maintaining Plasticity with Hare and Tortoise Networks","arxiv_id":"2406.02596","date":"2024-06-01","proceeding":null,"authors":["Hojoon Lee","Hyeonseo Cho","Hyunseung Kim","Donghu Kim","Dugki Min","Jaegul Choo","Clare Lyle"],"abstract":"This study investigates the loss of generalization ability in neural networks, revisiting warm-starting experiments from Ash & Adams. Our empirical analysis reveals that common methods designed to enhance plasticity by maintaining trainability provide limited benefits to generalization. While reinitializing the network can be effective, it also risks losing valuable prior knowledge. To this end, we introduce the Hare & Tortoise, inspired by the brain's complementary learning system. Hare & Tortoise consists of two components: the Hare network, which rapidly adapts to new information analogously to the hippocampus, and the Tortoise network, which gradually integrates knowledge akin to the neocortex. By periodically reinitializing the Hare network to the Tortoise's weights, our method preserves plasticity while retaining general knowledge. Hare & Tortoise can effectively maintain the network's ability to generalize, which improves advanced reinforcement learning algorithms on the Atari-100k benchmark. The code is available at https://github.com/dojeon-ai/hare-tortoise.","url_abs":"https://arxiv.org/abs/2406.02596v1","url_pdf":"https://arxiv.org/pdf/2406.02596v1.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":"slow-and-steady-wins-the-race-maintaining","repo_url":"https://github.com/dojeon-ai/hare-tortoise","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"general-knowledge","task_name":"General Knowledge"},{"task_slug":null,"task_name":"Hippocampus"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2406.02596","atlas_url":"https://app.syntology.ai/?focus=2406.02596","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2406.02596"}},"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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/dojeon-ai/hare-tortoise","reach":{"status":"ok"}}],"summary":{"ran":12,"unverified":2},"by_repo_kind":{"official":{"samples":14,"ran":12,"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":14,"samples":[{"code_sha256_prefix":"642233ee988813eb","entry":"accuracy","repo":"dojeon-ai/hare-tortoise","repo_kind":"official","path":"src/common/metrics.py","file_url":"https://github.com/dojeon-ai/hare-tortoise/blob/HEAD/src/common/metrics.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":"642233ee988813eb"}},{"code_sha256_prefix":"d56ca611b75a2f1c","entry":"all_subclasses","repo":"dojeon-ai/hare-tortoise","repo_kind":"official","path":"src/common/class_utils.py","file_url":"https://github.com/dojeon-ai/hare-tortoise/blob/HEAD/src/common/class_utils.py","link_basis":"harvester_set","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":"d56ca611b75a2f1c"}},{"code_sha256_prefix":"8b9828a518d4865a","entry":"figure_to_array","repo":"dojeon-ai/hare-tortoise","repo_kind":"official","path":"src/common/vis_utils.py","file_url":"https://github.com/dojeon-ai/hare-tortoise/blob/HEAD/src/common/vis_utils.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":"8b9828a518d4865a"}},{"code_sha256_prefix":"9474fe78e7e7660d","entry":"get_all_submodules","repo":"dojeon-ai/hare-tortoise","repo_kind":"official","path":"src/common/class_utils.py","file_url":"https://github.com/dojeon-ai/hare-tortoise/blob/HEAD/src/common/class_utils.py","link_basis":"harvester_set","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":"9474fe78e7e7660d"}},{"code_sha256_prefix":"d2958b7e3a064ef5","entry":"get_grad_norm_stats","repo":"dojeon-ai/hare-tortoise","repo_kind":"official","path":"src/common/metrics.py","file_url":"https://github.com/dojeon-ai/hare-tortoise/blob/HEAD/src/common/metrics.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":"d2958b7e3a064ef5"}},{"code_sha256_prefix":"ed281db32072a644","entry":"get_rank","repo":"dojeon-ai/hare-tortoise","repo_kind":"official","path":"src/common/metrics.py","file_url":"https://github.com/dojeon-ai/hare-tortoise/blob/HEAD/src/common/metrics.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":"ed281db32072a644"}},{"code_sha256_prefix":"cbc7964ba3c9b796","entry":"get_redo_masks","repo":"dojeon-ai/hare-tortoise","repo_kind":"official","path":"src/common/redo.py","file_url":"https://github.com/dojeon-ai/hare-tortoise/blob/HEAD/src/common/redo.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":"cbc7964ba3c9b796"}},{"code_sha256_prefix":"ee5f1b736da9bd08","entry":"init_activation","repo":"dojeon-ai/hare-tortoise","repo_kind":"official","path":"src/models/layers.py","file_url":"https://github.com/dojeon-ai/hare-tortoise/blob/HEAD/src/models/layers.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":"ee5f1b736da9bd08"}},{"code_sha256_prefix":"43a026a3ea7b4e3e","entry":"init_normalization","repo":"dojeon-ai/hare-tortoise","repo_kind":"official","path":"src/models/layers.py","file_url":"https://github.com/dojeon-ai/hare-tortoise/blob/HEAD/src/models/layers.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":"43a026a3ea7b4e3e"}},{"code_sha256_prefix":"f60e944791ee0f26","entry":"str2bool","repo":"dojeon-ai/hare-tortoise","repo_kind":"official","path":"src/common/class_utils.py","file_url":"https://github.com/dojeon-ai/hare-tortoise/blob/HEAD/src/common/class_utils.py","link_basis":"harvester_set","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":"f60e944791ee0f26"}},{"code_sha256_prefix":"fa49589233206702","entry":"visualize_plot","repo":"dojeon-ai/hare-tortoise","repo_kind":"official","path":"src/common/vis_utils.py","file_url":"https://github.com/dojeon-ai/hare-tortoise/blob/HEAD/src/common/vis_utils.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":"fa49589233206702"}},{"code_sha256_prefix":"cca93078047c7f04","entry":"visualize_trisurf","repo":"dojeon-ai/hare-tortoise","repo_kind":"official","path":"src/common/vis_utils.py","file_url":"https://github.com/dojeon-ai/hare-tortoise/blob/HEAD/src/common/vis_utils.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":"cca93078047c7f04"}},{"code_sha256_prefix":"0ba0a0301cc98289","entry":"compose_transform","repo":"dojeon-ai/hare-tortoise","repo_kind":"official","path":"src/datasets/data_aug.py","file_url":"https://github.com/dojeon-ai/hare-tortoise/blob/HEAD/src/datasets/data_aug.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":"0ba0a0301cc98289"}},{"code_sha256_prefix":"42859fc08181728c","entry":"reset_dormant_neurons","repo":"dojeon-ai/hare-tortoise","repo_kind":"official","path":"src/common/redo.py","file_url":"https://github.com/dojeon-ai/hare-tortoise/blob/HEAD/src/common/redo.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":"42859fc08181728c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}