{"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/gradmax-growing-neural-networks-using-1","title":"GradMax: Growing Neural Networks using Gradient Information","arxiv_id":"2201.05125","date":"2022-01-13","proceeding":"ICLR 2022 4","authors":["Utku Evci","Bart van Merriënboer","Thomas Unterthiner","Max Vladymyrov","Fabian Pedregosa"],"abstract":"The architecture and the parameters of neural networks are often optimized independently, which requires costly retraining of the parameters whenever the architecture is modified. In this work we instead focus on growing the architecture without requiring costly retraining. We present a method that adds new neurons during training without impacting what is already learned, while improving the training dynamics. We achieve the latter by maximizing the gradients of the new weights and find the optimal initialization efficiently by means of the singular value decomposition (SVD). We call this technique Gradient Maximizing Growth (GradMax) and demonstrate its effectiveness in variety of vision tasks and architectures.","url_abs":"https://arxiv.org/abs/2201.05125v3","url_pdf":"https://arxiv.org/pdf/2201.05125v3.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":"gradmax-growing-neural-networks-using-1","repo_url":"https://github.com/google-research/growneuron","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2201.05125","atlas_url":"https://app.syntology.ai/?focus=2201.05125","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2201.05125"}},"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/google-research/growneuron","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":9,"unverified":4},"by_repo_kind":{"official":{"samples":13,"ran":9,"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":0,"samples":[{"code_sha256_prefix":"2016192a8b36e38a","entry":"Conv2D","repo":"google-research/growneuron","repo_kind":"official","path":"growneuron/cifar/wide_resnet.py","file_url":"https://github.com/google-research/growneuron/blob/HEAD/growneuron/cifar/wide_resnet.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":"2016192a8b36e38a"}},{"code_sha256_prefix":"45c580fe8487e547","entry":"adjust_epochs","repo":"google-research/growneuron","repo_kind":"official","path":"growneuron/updaters.py","file_url":"https://github.com/google-research/growneuron/blob/HEAD/growneuron/updaters.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":"45c580fe8487e547"}},{"code_sha256_prefix":"4147f063ec9303d0","entry":"build_input_fn","repo":"google-research/growneuron","repo_kind":"official","path":"growneuron/cifar/data.py","file_url":"https://github.com/google-research/growneuron/blob/HEAD/growneuron/cifar/data.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":"4147f063ec9303d0"}},{"code_sha256_prefix":"93886821dd9582ad","entry":"center_crop","repo":"google-research/growneuron","repo_kind":"official","path":"growneuron/imagenet/data_util.py","file_url":"https://github.com/google-research/growneuron/blob/HEAD/growneuron/imagenet/data_util.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":"93886821dd9582ad"}},{"code_sha256_prefix":"362ad792817cb093","entry":"distorted_bounding_box_crop","repo":"google-research/growneuron","repo_kind":"official","path":"growneuron/imagenet/data_util.py","file_url":"https://github.com/google-research/growneuron/blob/HEAD/growneuron/imagenet/data_util.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":"362ad792817cb093"}},{"code_sha256_prefix":"7e0d28e183f601ad","entry":"extract_image_patches","repo":"google-research/growneuron","repo_kind":"official","path":"growneuron/growers.py","file_url":"https://github.com/google-research/growneuron/blob/HEAD/growneuron/growers.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":"7e0d28e183f601ad"}},{"code_sha256_prefix":"f5060e86ebb597e4","entry":"get_activation_fn","repo":"google-research/growneuron","repo_kind":"official","path":"growneuron/layers.py","file_url":"https://github.com/google-research/growneuron/blob/HEAD/growneuron/layers.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":"f5060e86ebb597e4"}},{"code_sha256_prefix":"5a9107a6392b75f3","entry":"pad_zeros_to","repo":"google-research/growneuron","repo_kind":"official","path":"growneuron/updaters.py","file_url":"https://github.com/google-research/growneuron/blob/HEAD/growneuron/updaters.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":"5a9107a6392b75f3"}},{"code_sha256_prefix":"e5e6a1a5870d1730","entry":"process_conv_aux_gradient","repo":"google-research/growneuron","repo_kind":"official","path":"growneuron/growers.py","file_url":"https://github.com/google-research/growneuron/blob/HEAD/growneuron/growers.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":"e5e6a1a5870d1730"}},{"code_sha256_prefix":"6f50d373a40a2b95","entry":"DepthwiseConv2D","repo":"google-research/growneuron","repo_kind":"official","path":"growneuron/imagenet/mb_v1.py","file_url":"https://github.com/google-research/growneuron/blob/HEAD/growneuron/imagenet/mb_v1.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":"6f50d373a40a2b95"}},{"code_sha256_prefix":"6c8ab1cdbee83212","entry":"grow_new_layer","repo":"google-research/growneuron","repo_kind":"official","path":"growneuron/layers.py","file_url":"https://github.com/google-research/growneuron/blob/HEAD/growneuron/layers.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":"6c8ab1cdbee83212"}},{"code_sha256_prefix":"d9acc2750884926d","entry":"grow_new_ln_layer","repo":"google-research/growneuron","repo_kind":"official","path":"growneuron/layers.py","file_url":"https://github.com/google-research/growneuron/blob/HEAD/growneuron/layers.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":"d9acc2750884926d"}},{"code_sha256_prefix":"293ca4cd93119d57","entry":"random_apply","repo":"google-research/growneuron","repo_kind":"official","path":"growneuron/imagenet/data_util.py","file_url":"https://github.com/google-research/growneuron/blob/HEAD/growneuron/imagenet/data_util.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":"293ca4cd93119d57"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}