{"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/discover-and-mitigate-unknown-biases-with","title":"Discover and Mitigate Unknown Biases with Debiasing Alternate Networks","arxiv_id":"2207.10077","date":"2022-07-20","proceeding":null,"authors":["Zhiheng Li","Anthony Hoogs","Chenliang Xu"],"abstract":"Deep image classifiers have been found to learn biases from datasets. To mitigate the biases, most previous methods require labels of protected attributes (e.g., age, skin tone) as full-supervision, which has two limitations: 1) it is infeasible when the labels are unavailable; 2) they are incapable of mitigating unknown biases -- biases that humans do not preconceive. To resolve those problems, we propose Debiasing Alternate Networks (DebiAN), which comprises two networks -- a Discoverer and a Classifier. By training in an alternate manner, the discoverer tries to find multiple unknown biases of the classifier without any annotations of biases, and the classifier aims at unlearning the biases identified by the discoverer. While previous works evaluate debiasing results in terms of a single bias, we create Multi-Color MNIST dataset to better benchmark mitigation of multiple biases in a multi-bias setting, which not only reveals the problems in previous methods but also demonstrates the advantage of DebiAN in identifying and mitigating multiple biases simultaneously. We further conduct extensive experiments on real-world datasets, showing that the discoverer in DebiAN can identify unknown biases that may be hard to be found by humans. Regarding debiasing, DebiAN achieves strong bias mitigation performance.","url_abs":"https://arxiv.org/abs/2207.10077v2","url_pdf":"https://arxiv.org/pdf/2207.10077v2.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":"discover-and-mitigate-unknown-biases-with","repo_url":"https://github.com/zhihengli-UR/DebiAN","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"action-recognition-in-videos","task_name":"Action Recognition"},{"task_slug":"facial-attribute-classification","task_name":"Facial Attribute Classification"},{"task_slug":"out-of-distribution-generalization","task_name":"Out-of-Distribution Generalization"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/action-recognition-on-bar","task":"Action Recognition","dataset":"BAR","model":"DebiAN","rank_in_archive_order":1,"of":4,"metrics":{"Accuracy":"69.88"},"uses_additional_data":false},{"leaderboard":"/sota/facial-attribute-classification-on-bffhq","task":"Facial Attribute Classification","dataset":"bFFHQ","model":"DebiAN","rank_in_archive_order":1,"of":3,"metrics":{"Bias-Conflicting Accuracy":"62.8"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/2207.10077","atlas_url":"https://app.syntology.ai/?focus=2207.10077","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2207.10077"}},"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/zhihengli-UR/DebiAN","reach":null}],"summary":{"ran":2,"unverified":7},"by_repo_kind":{"official":{"samples":9,"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":9,"samples":[{"code_sha256_prefix":"d7064f35905da759","entry":"ReturnFeatureLinear","repo":"zhihengli-UR/DebiAN","repo_kind":"official","path":"celeba_exp/debian.py","file_url":"https://github.com/zhihengli-UR/DebiAN/blob/HEAD/celeba_exp/debian.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"d7064f35905da759"}},{"code_sha256_prefix":"a4121c87206a8780","entry":"get_transform_face","repo":"zhihengli-UR/DebiAN","repo_kind":"official","path":"celeba_exp/debian.py","file_url":"https://github.com/zhihengli-UR/DebiAN/blob/HEAD/celeba_exp/debian.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"a4121c87206a8780"}},{"code_sha256_prefix":"771e469ce3972241","entry":"BaseFaceTrainer","repo":"zhihengli-UR/DebiAN","repo_kind":"official","path":"celeba_exp/debian.py","file_url":"https://github.com/zhihengli-UR/DebiAN/blob/HEAD/celeba_exp/debian.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"771e469ce3972241"}},{"code_sha256_prefix":"163c69a1ce33abba","entry":"CelebA","repo":"zhihengli-UR/DebiAN","repo_kind":"official","path":"celeba_exp/debian.py","file_url":"https://github.com/zhihengli-UR/DebiAN/blob/HEAD/celeba_exp/debian.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"163c69a1ce33abba"}},{"code_sha256_prefix":"a9605d7cedee1478","entry":"Trainer","repo":"zhihengli-UR/DebiAN","repo_kind":"official","path":"celeba_exp/debian.py","file_url":"https://github.com/zhihengli-UR/DebiAN/blob/HEAD/celeba_exp/debian.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"a9605d7cedee1478"}},{"code_sha256_prefix":"9243b4c9feba0f83","entry":"get_attr_names","repo":"zhihengli-UR/DebiAN","repo_kind":"official","path":"celeba_exp/debian.py","file_url":"https://github.com/zhihengli-UR/DebiAN/blob/HEAD/celeba_exp/debian.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"9243b4c9feba0f83"}},{"code_sha256_prefix":"262ebea7bbe1f644","entry":"get_resnet18_classifier","repo":"zhihengli-UR/DebiAN","repo_kind":"official","path":"celeba_exp/debian.py","file_url":"https://github.com/zhihengli-UR/DebiAN/blob/HEAD/celeba_exp/debian.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"262ebea7bbe1f644"}},{"code_sha256_prefix":"c2d20296f8de6e27","entry":"get_resnet50_classifier","repo":"zhihengli-UR/DebiAN","repo_kind":"official","path":"celeba_exp/debian.py","file_url":"https://github.com/zhihengli-UR/DebiAN/blob/HEAD/celeba_exp/debian.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"c2d20296f8de6e27"}},{"code_sha256_prefix":"a128f28e60438084","entry":"get_train_val_test","repo":"zhihengli-UR/DebiAN","repo_kind":"official","path":"celeba_exp/debian.py","file_url":"https://github.com/zhihengli-UR/DebiAN/blob/HEAD/celeba_exp/debian.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"a128f28e60438084"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}