{"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/a-path-norm-toolkit-for-modern-networks","title":"A path-norm toolkit for modern networks: consequences, promises and challenges","arxiv_id":"2310.01225","date":"2023-10-02","proceeding":null,"authors":["Antoine Gonon","Nicolas Brisebarre","Elisa Riccietti","Rémi Gribonval"],"abstract":"This work introduces the first toolkit around path-norms that fully encompasses general DAG ReLU networks with biases, skip connections and any operation based on the extraction of order statistics: max pooling, GroupSort etc. This toolkit notably allows us to establish generalization bounds for modern neural networks that are not only the most widely applicable path-norm based ones, but also recover or beat the sharpest known bounds of this type. These extended path-norms further enjoy the usual benefits of path-norms: ease of computation, invariance under the symmetries of the network, and improved sharpness on layered fully-connected networks compared to the product of operator norms, another complexity measure most commonly used. The versatility of the toolkit and its ease of implementation allow us to challenge the concrete promises of path-norm-based generalization bounds, by numerically evaluating the sharpest known bounds for ResNets on ImageNet.","url_abs":"https://arxiv.org/abs/2310.01225v5","url_pdf":"https://arxiv.org/pdf/2310.01225v5.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":"a-path-norm-toolkit-for-modern-networks","repo_url":"https://github.com/agonon/pathnorm_toolkit","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"tasks":[{"task_slug":"generalization-bounds","task_name":"Generalization Bounds"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2310.01225","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2310.01225"}},"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/agonon/pathnorm_toolkit","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"summary":{"ran":15,"unverified":5},"by_repo_kind":{"official":{"samples":20,"ran":15,"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":"d504804f0f9ac808","entry":"adaptive_pool_params","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/icml25/utils/pathnorm_transform.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/icml25/utils/pathnorm_transform.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"d504804f0f9ac808"}},{"code_sha256_prefix":"4af14115cc3aee7e","entry":"check_imagenet_prepared","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/iclr24/utils/imagenet_data.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/iclr24/utils/imagenet_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"4af14115cc3aee7e"}},{"code_sha256_prefix":"6e545c1bdc3f7cec","entry":"class_dir_name","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/iclr24/utils/download_imagenet_from_hf.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/iclr24/utils/download_imagenet_from_hf.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"6e545c1bdc3f7cec"}},{"code_sha256_prefix":"6bbf2dc539716669","entry":"count_files_recursive","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/iclr24/utils/imagenet_data.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/iclr24/utils/imagenet_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"6bbf2dc539716669"}},{"code_sha256_prefix":"3e27e0086ed49361","entry":"estimate_total_epoch_steps","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/iclr24/utils/train_imagenet.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/iclr24/utils/train_imagenet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"3e27e0086ed49361"}},{"code_sha256_prefix":"108ebe73d0b32ec2","entry":"format_duration","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/iclr24/utils/train_imagenet.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/iclr24/utils/train_imagenet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"108ebe73d0b32ec2"}},{"code_sha256_prefix":"cfe74f26307fd802","entry":"get_imagenet_train_val_test","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/iclr24/utils/imagenet_dataset.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/iclr24/utils/imagenet_dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"cfe74f26307fd802"}},{"code_sha256_prefix":"b417f83635432b4d","entry":"get_imagenet_transforms","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/iclr24/utils/imagenet_dataset.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/iclr24/utils/imagenet_dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"b417f83635432b4d"}},{"code_sha256_prefix":"15c4080169910373","entry":"get_trainloader","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/iclr24/utils/pretrained_resnets.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/iclr24/utils/pretrained_resnets.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"15c4080169910373"}},{"code_sha256_prefix":"5db6a07ebbde4147","entry":"infer_suffix","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/iclr24/utils/download_imagenet_from_hf.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/iclr24/utils/download_imagenet_from_hf.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"5db6a07ebbde4147"}},{"code_sha256_prefix":"914182d62d18d406","entry":"is_primary_process","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/iclr24/utils/train_imagenet.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/iclr24/utils/train_imagenet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"914182d62d18d406"}},{"code_sha256_prefix":"8b2b1cd08a25a990","entry":"resolve_token","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/iclr24/utils/download_imagenet_from_hf.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/iclr24/utils/download_imagenet_from_hf.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"8b2b1cd08a25a990"}},{"code_sha256_prefix":"36a66c7a63a7bb23","entry":"stage_imagenet","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/iclr24/utils/imagenet_data.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/iclr24/utils/imagenet_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"36a66c7a63a7bb23"}},{"code_sha256_prefix":"52b674f7653b81f1","entry":"to_2tuple","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/icml25/utils/pathnorm_transform.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/icml25/utils/pathnorm_transform.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"52b674f7653b81f1"}},{"code_sha256_prefix":"ef4505d66a1f15cd","entry":"validate_path_norm_support","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"pathnorm.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/pathnorm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"ef4505d66a1f15cd"}},{"code_sha256_prefix":"dbcf7d222a1bcd97","entry":"build_training_args","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/icml25/utils/finetune_pruned.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/icml25/utils/finetune_pruned.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"dbcf7d222a1bcd97"}},{"code_sha256_prefix":"3d4115d0e8e0f23d","entry":"compute_path_norm","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"pathnorm.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/pathnorm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"3d4115d0e8e0f23d"}},{"code_sha256_prefix":"f2be78276ff88def","entry":"compute_path_norms","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"pathnorm.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/pathnorm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"f2be78276ff88def"}},{"code_sha256_prefix":"03655098d4ec5888","entry":"get_model","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/iclr24/utils/pretrained_resnets.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/iclr24/utils/pretrained_resnets.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"03655098d4ec5888"}},{"code_sha256_prefix":"25a99cb17f71ec59","entry":"unwrap_model","repo":"agonon/pathnorm_toolkit","repo_kind":"official","path":"repro/icml25/utils/pathnorm_transform.py","file_url":"https://github.com/agonon/pathnorm_toolkit/blob/HEAD/repro/icml25/utils/pathnorm_transform.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"25a99cb17f71ec59"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}