{"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/denetdm-debiasing-by-network-depth-modulation","title":"DeNetDM: Debiasing by Network Depth Modulation","arxiv_id":"2403.19863","date":"2024-03-28","proceeding":null,"authors":["Silpa Vadakkeeveetil Sreelatha","Adarsh Kappiyath","Abhra Chaudhuri","Anjan Dutta"],"abstract":"Neural networks trained on biased datasets tend to inadvertently learn spurious correlations, hindering generalization. We formally prove that (1) samples that exhibit spurious correlations lie on a lower rank manifold relative to the ones that do not; and (2) the depth of a network acts as an implicit regularizer on the rank of the attribute subspace that is encoded in its representations. Leveraging these insights, we present DeNetDM, a novel debiasing method that uses network depth modulation as a way of developing robustness to spurious correlations. Using a training paradigm derived from Product of Experts, we create both biased and debiased branches with deep and shallow architectures and then distill knowledge to produce the target debiased model. Our method requires no bias annotations or explicit data augmentation while performing on par with approaches that require either or both. We demonstrate that DeNetDM outperforms existing debiasing techniques on both synthetic and real-world datasets by 5\\%. The project page is available at https://vssilpa.github.io/denetdm/.","url_abs":"https://arxiv.org/abs/2403.19863v4","url_pdf":"https://arxiv.org/pdf/2403.19863v4.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":"denetdm-debiasing-by-network-depth-modulation","repo_url":"https://github.com/kadarsh22/denetdm","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"bias-detection","task_name":"Bias Detection"},{"task_slug":"mitigating-contextual-bias","task_name":"Mitigating Contextual Bias"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2403.19863","atlas_url":"https://app.syntology.ai/?focus=2403.19863","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.19863"}},"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":"deterministic:regex_extraction","url":"https://github.com/kadarsh22/DeNetDM","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/kadarsh22/denetdm","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":5,"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"official":{"samples":7,"ran":6,"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":"ba06abc2128df627","entry":"CMNISTDeNetDMModel","repo":"kadarsh22/denetdm","repo_kind":"official","path":"module/model.py","file_url":"https://github.com/kadarsh22/denetdm/blob/HEAD/module/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ba06abc2128df627"}},{"code_sha256_prefix":"fea144976d1a147e","entry":"add_identifier_to_keys","repo":"kadarsh22/DeNetDM","repo_kind":"official","path":"util.py","file_url":"https://github.com/kadarsh22/DeNetDM/blob/HEAD/util.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fea144976d1a147e"}},{"code_sha256_prefix":"d1527cbc2296cba6","entry":"make_attr_labels","repo":"kadarsh22/DeNetDM","repo_kind":"official","path":"make_dataset.py","file_url":"https://github.com/kadarsh22/DeNetDM/blob/HEAD/make_dataset.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d1527cbc2296cba6"}},{"code_sha256_prefix":"01565f5f63507277","entry":"resnet20","repo":"kadarsh22/DeNetDM","repo_kind":"official","path":"module/resnet.py","file_url":"https://github.com/kadarsh22/DeNetDM/blob/HEAD/module/resnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"01565f5f63507277"}},{"code_sha256_prefix":"3ea7f840d5efc012","entry":"resnet20_skip","repo":"kadarsh22/DeNetDM","repo_kind":"official","path":"module/resnet.py","file_url":"https://github.com/kadarsh22/DeNetDM/blob/HEAD/module/resnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3ea7f840d5efc012"}},{"code_sha256_prefix":"804e38b5b5a88fcf","entry":"resnet32_skip","repo":"kadarsh22/DeNetDM","repo_kind":"official","path":"module/resnet.py","file_url":"https://github.com/kadarsh22/DeNetDM/blob/HEAD/module/resnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"804e38b5b5a88fcf"}},{"code_sha256_prefix":"b92241b06a390bc5","entry":"MLPHiddenlayers","repo":"kadarsh22/denetdm","repo_kind":"official","path":"module/model.py","file_url":"https://github.com/kadarsh22/denetdm/blob/HEAD/module/model.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":"b92241b06a390bc5"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}