{"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/scaling-properties-of-deep-residual-networks","title":"Scaling Properties of Deep Residual Networks","arxiv_id":"2105.12245","date":"2021-05-25","proceeding":null,"authors":["Alain-Sam Cohen","Rama Cont","Alain Rossier","Renyuan Xu"],"abstract":"Residual networks (ResNets) have displayed impressive results in pattern recognition and, recently, have garnered considerable theoretical interest due to a perceived link with neural ordinary differential equations (neural ODEs). This link relies on the convergence of network weights to a smooth function as the number of layers increases. We investigate the properties of weights trained by stochastic gradient descent and their scaling with network depth through detailed numerical experiments. We observe the existence of scaling regimes markedly different from those assumed in neural ODE literature. Depending on certain features of the network architecture, such as the smoothness of the activation function, one may obtain an alternative ODE limit, a stochastic differential equation or neither of these. These findings cast doubts on the validity of the neural ODE model as an adequate asymptotic description of deep ResNets and point to an alternative class of differential equations as a better description of the deep network limit.","url_abs":"https://arxiv.org/abs/2105.12245v2","url_pdf":"https://arxiv.org/pdf/2105.12245v2.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":"scaling-properties-of-deep-residual-networks","repo_url":"https://github.com/instadeepai/scaling-resnets","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2105.12245","atlas_url":"https://app.syntology.ai/?focus=2105.12245","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2105.12245"}},"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/instadeepai/scaling-resnets","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"ran":1,"unverified":12},"by_repo_kind":{"official":{"samples":14,"ran":2,"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":"8d7ec010c29e813b","entry":"format_time","repo":"instadeepai/scaling-resnets","repo_kind":"official","path":"cifar_utils.py","file_url":"https://github.com/instadeepai/scaling-resnets/blob/HEAD/cifar_utils.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8d7ec010c29e813b"}},{"code_sha256_prefix":"3cbdd3b190b16350","entry":"get_mean_and_std","repo":"instadeepai/scaling-resnets","repo_kind":"official","path":"cifar_utils.py","file_url":"https://github.com/instadeepai/scaling-resnets/blob/HEAD/cifar_utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3cbdd3b190b16350"}},{"code_sha256_prefix":"f2071f82540faa07","entry":"cifar_data","repo":"instadeepai/scaling-resnets","repo_kind":"official","path":"cifar_utils.py","file_url":"https://github.com/instadeepai/scaling-resnets/blob/HEAD/cifar_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f2071f82540faa07"}},{"code_sha256_prefix":"f265b3995fbead49","entry":"compute_statistics","repo":"instadeepai/scaling-resnets","repo_kind":"official","path":"regression.py","file_url":"https://github.com/instadeepai/scaling-resnets/blob/HEAD/regression.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f265b3995fbead49"}},{"code_sha256_prefix":"c79ba93455e9c5ba","entry":"coupling","repo":"instadeepai/scaling-resnets","repo_kind":"official","path":"denoising.py","file_url":"https://github.com/instadeepai/scaling-resnets/blob/HEAD/denoising.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c79ba93455e9c5ba"}},{"code_sha256_prefix":"752cab827a66e594","entry":"generate_data_ODE","repo":"instadeepai/scaling-resnets","repo_kind":"official","path":"generate_dataset.py","file_url":"https://github.com/instadeepai/scaling-resnets/blob/HEAD/generate_dataset.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"752cab827a66e594"}},{"code_sha256_prefix":"5c99850e8367b6a2","entry":"generate_mnist_resnet","repo":"instadeepai/scaling-resnets","repo_kind":"official","path":"generate_dataset.py","file_url":"https://github.com/instadeepai/scaling-resnets/blob/HEAD/generate_dataset.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5c99850e8367b6a2"}},{"code_sha256_prefix":"07c5438d65612908","entry":"get_diffs","repo":"instadeepai/scaling-resnets","repo_kind":"official","path":"make_diff_sv.py","file_url":"https://github.com/instadeepai/scaling-resnets/blob/HEAD/make_diff_sv.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"07c5438d65612908"}},{"code_sha256_prefix":"859830fb9ec9a850","entry":"get_folders","repo":"instadeepai/scaling-resnets","repo_kind":"official","path":"regression.py","file_url":"https://github.com/instadeepai/scaling-resnets/blob/HEAD/regression.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"859830fb9ec9a850"}},{"code_sha256_prefix":"ffce83443b756a92","entry":"get_resnet","repo":"instadeepai/scaling-resnets","repo_kind":"official","path":"cifar_run.py","file_url":"https://github.com/instadeepai/scaling-resnets/blob/HEAD/cifar_run.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ffce83443b756a92"}},{"code_sha256_prefix":"bb1bc19dddac8b33","entry":"load_dataset","repo":"instadeepai/scaling-resnets","repo_kind":"official","path":"denoising.py","file_url":"https://github.com/instadeepai/scaling-resnets/blob/HEAD/denoising.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bb1bc19dddac8b33"}},{"code_sha256_prefix":"c5e726280ccc9614","entry":"load_delta","repo":"instadeepai/scaling-resnets","repo_kind":"official","path":"denoising.py","file_url":"https://github.com/instadeepai/scaling-resnets/blob/HEAD/denoising.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c5e726280ccc9614"}},{"code_sha256_prefix":"73dcf698c15f85f7","entry":"random_entry","repo":"instadeepai/scaling-resnets","repo_kind":"official","path":"scaling_experiments.py","file_url":"https://github.com/instadeepai/scaling-resnets/blob/HEAD/scaling_experiments.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"73dcf698c15f85f7"}},{"code_sha256_prefix":"4100efc9fd10b42d","entry":"run_regression","repo":"instadeepai/scaling-resnets","repo_kind":"official","path":"regression.py","file_url":"https://github.com/instadeepai/scaling-resnets/blob/HEAD/regression.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4100efc9fd10b42d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}