{"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/group-sparsity-the-hinge-between-filter","title":"Group Sparsity: The Hinge Between Filter Pruning and Decomposition for Network Compression","arxiv_id":"2003.08935","date":"2020-03-19","proceeding":"CVPR 2020 6","authors":["Yawei Li","Shuhang Gu","Christoph Mayer","Luc van Gool","Radu Timofte"],"abstract":"In this paper, we analyze two popular network compression techniques, i.e. filter pruning and low-rank decomposition, in a unified sense. By simply changing the way the sparsity regularization is enforced, filter pruning and low-rank decomposition can be derived accordingly. This provides another flexible choice for network compression because the techniques complement each other. For example, in popular network architectures with shortcut connections (e.g. ResNet), filter pruning cannot deal with the last convolutional layer in a ResBlock while the low-rank decomposition methods can. In addition, we propose to compress the whole network jointly instead of in a layer-wise manner. Our approach proves its potential as it compares favorably to the state-of-the-art on several benchmarks.","url_abs":"https://arxiv.org/abs/2003.08935v1","url_pdf":"https://arxiv.org/pdf/2003.08935v1.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":"group-sparsity-the-hinge-between-filter","repo_url":"https://github.com/ofsoundof/group_sparsity","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"group-sparsity-the-hinge-between-filter","repo_url":"https://github.com/ofsoundof/Heterogeneity_Hypothesis","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[{"method_slug":"pruning","method_name":"Pruning"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2003.08935","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2003.08935"}},"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/ofsoundof/group_sparsity","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ofsoundof/Heterogeneity_Hypothesis","reach":{"status":"ok"}}],"summary":{"unverified":6},"by_repo_kind":{"official":{"samples":6,"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":0,"samples":[{"code_sha256_prefix":"d80e2c9a3e33d17a","entry":"default_conv","repo":"ofsoundof/group_sparsity","repo_kind":"official","path":"model/common.py","file_url":"https://github.com/ofsoundof/group_sparsity/blob/HEAD/model/common.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":"d80e2c9a3e33d17a"}},{"code_sha256_prefix":"95b1fbf20859038f","entry":"default_linear","repo":"ofsoundof/group_sparsity","repo_kind":"official","path":"model/common.py","file_url":"https://github.com/ofsoundof/group_sparsity/blob/HEAD/model/common.py","link_basis":"plan_row","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":"95b1fbf20859038f"}},{"code_sha256_prefix":"3dd7f9208f8f454c","entry":"gen","repo":"ofsoundof/group_sparsity","repo_kind":"official","path":"model/densenet.py","file_url":"https://github.com/ofsoundof/group_sparsity/blob/HEAD/model/densenet.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":"3dd7f9208f8f454c"}},{"code_sha256_prefix":"c1b843d23be6880d","entry":"get_compress_idx","repo":"ofsoundof/group_sparsity","repo_kind":"official","path":"model_hinge/hinge_densenet.py","file_url":"https://github.com/ofsoundof/group_sparsity/blob/HEAD/model_hinge/hinge_densenet.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":"c1b843d23be6880d"}},{"code_sha256_prefix":"9c81eda4e64437b7","entry":"make_model","repo":"ofsoundof/group_sparsity","repo_kind":"official","path":"model/resnext.py","file_url":"https://github.com/ofsoundof/group_sparsity/blob/HEAD/model/resnext.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":"9c81eda4e64437b7"}},{"code_sha256_prefix":"d5ed39e5a9464bed","entry":"nopad_conv","repo":"ofsoundof/group_sparsity","repo_kind":"official","path":"model/common.py","file_url":"https://github.com/ofsoundof/group_sparsity/blob/HEAD/model/common.py","link_basis":"plan_row","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":"d5ed39e5a9464bed"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}