{"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/arxiv-2602-13286","title":"Explanatory Interactive Machine Learning for Bias Mitigation in Visual Gender Classification","arxiv_id":"2602.13286","date":"2026-02-07","proceeding":null,"authors":["Nathanya Satriani","Djordje Slijepčević","Markus Schedl","Matthias Zeppelzauer"],"abstract":"Explanatory interactive learning (XIL) enables users to guide model training in machine learning (ML) by providing feedback on the model's explanations, thereby helping it to focus on features that are relevant to the prediction from the user's perspective. In this study, we explore the capability of this learning paradigm to mitigate bias and spurious correlations in visual classifiers, specifically in scenarios prone to data bias, such as gender classification. We investigate two methodologically different state-of-the-art XIL strategies, i.e., CAIPI and Right for the Right Reasons (RRR), as well as a novel hybrid approach that combines both strategies. The results are evaluated quantitatively by comparing segmentation masks with explanations generated using Gradient-weighted Class Activation Mapping (GradCAM) and Bounded Logit Attention (BLA). Experimental results demonstrate the effectiveness of these methods in (i) guiding ML models to focus on relevant image features, particularly when CAIPI is used, and (ii) reducing model bias (i.e., balancing the misclassification rates between male and female predictions). Our analysis further supports the potential of XIL methods to improve fairness in gender classifiers. Overall, the increased transparency and fairness obtained by XIL leads to slight performance decreases with an exception being CAIPI, which shows potential to even improve classification accuracy.","url_abs":"https://arxiv.org/abs/2602.13286","url_pdf":"https://arxiv.org/pdf/2602.13286","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2602.13286","atlas_url":"https://app.syntology.ai/?focus=2602.13286","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2602.13286"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/fhstp/xil-gender-classification","reach":null}],"summary":{"unverified":12},"by_repo_kind":{"found_in_text":{"samples":12,"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":12,"samples":[{"code_sha256_prefix":"d4209c11c90e0be7","entry":"analyze_filenames","repo":"fhstp/xil-gender-classification","repo_kind":"found_in_text","path":"explanatory_gender_classification/verify_data.py","file_url":"https://github.com/fhstp/xil-gender-classification/blob/HEAD/explanatory_gender_classification/verify_data.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":"d4209c11c90e0be7"}},{"code_sha256_prefix":"5e1fa7ce8706eeee","entry":"apply_caipi_sampling","repo":"fhstp/xil-gender-classification","repo_kind":"found_in_text","path":"explanatory_gender_classification/src/augmentation/caipi.py","file_url":"https://github.com/fhstp/xil-gender-classification/blob/HEAD/explanatory_gender_classification/src/augmentation/caipi.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":"5e1fa7ce8706eeee"}},{"code_sha256_prefix":"ce63b5eb2745b280","entry":"compute_bfp","repo":"fhstp/xil-gender-classification","repo_kind":"found_in_text","path":"explanatory_gender_classification/src/evaluation/bias_metrics.py","file_url":"https://github.com/fhstp/xil-gender-classification/blob/HEAD/explanatory_gender_classification/src/evaluation/bias_metrics.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":"ce63b5eb2745b280"}},{"code_sha256_prefix":"18bf65176d43cb42","entry":"compute_dice_score","repo":"fhstp/xil-gender-classification","repo_kind":"found_in_text","path":"explanatory_gender_classification/src/evaluation/bias_metrics.py","file_url":"https://github.com/fhstp/xil-gender-classification/blob/HEAD/explanatory_gender_classification/src/evaluation/bias_metrics.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":"18bf65176d43cb42"}},{"code_sha256_prefix":"b7053f7d0d63c067","entry":"compute_ffp","repo":"fhstp/xil-gender-classification","repo_kind":"found_in_text","path":"explanatory_gender_classification/src/evaluation/bias_metrics.py","file_url":"https://github.com/fhstp/xil-gender-classification/blob/HEAD/explanatory_gender_classification/src/evaluation/bias_metrics.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":"b7053f7d0d63c067"}},{"code_sha256_prefix":"3beb9c05c97874b6","entry":"create_bla_model","repo":"fhstp/xil-gender-classification","repo_kind":"found_in_text","path":"explanatory_gender_classification/src/explainability/bla.py","file_url":"https://github.com/fhstp/xil-gender-classification/blob/HEAD/explanatory_gender_classification/src/explainability/bla.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":"3beb9c05c97874b6"}},{"code_sha256_prefix":"38e33b18347377ef","entry":"create_gradcam_explainer","repo":"fhstp/xil-gender-classification","repo_kind":"found_in_text","path":"explanatory_gender_classification/src/explainability/gradcam.py","file_url":"https://github.com/fhstp/xil-gender-classification/blob/HEAD/explanatory_gender_classification/src/explainability/gradcam.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":"38e33b18347377ef"}},{"code_sha256_prefix":"7d256999d81b9e01","entry":"get_gradcam_layer","repo":"fhstp/xil-gender-classification","repo_kind":"found_in_text","path":"explanatory_gender_classification/src/evaluation/explainability.py","file_url":"https://github.com/fhstp/xil-gender-classification/blob/HEAD/explanatory_gender_classification/src/evaluation/explainability.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":"7d256999d81b9e01"}},{"code_sha256_prefix":"e6e872965a1589c0","entry":"get_image_files","repo":"fhstp/xil-gender-classification","repo_kind":"found_in_text","path":"explanatory_gender_classification/verify_data.py","file_url":"https://github.com/fhstp/xil-gender-classification/blob/HEAD/explanatory_gender_classification/verify_data.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":"e6e872965a1589c0"}},{"code_sha256_prefix":"ed559698c71c351e","entry":"get_mask_files","repo":"fhstp/xil-gender-classification","repo_kind":"found_in_text","path":"explanatory_gender_classification/verify_data.py","file_url":"https://github.com/fhstp/xil-gender-classification/blob/HEAD/explanatory_gender_classification/verify_data.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":"ed559698c71c351e"}},{"code_sha256_prefix":"4daba99bcd26a744","entry":"rrr_loss_function","repo":"fhstp/xil-gender-classification","repo_kind":"found_in_text","path":"explanatory_gender_classification/src/models/rrr_model.py","file_url":"https://github.com/fhstp/xil-gender-classification/blob/HEAD/explanatory_gender_classification/src/models/rrr_model.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":"4daba99bcd26a744"}},{"code_sha256_prefix":"ea63d8659109d801","entry":"run_command","repo":"fhstp/xil-gender-classification","repo_kind":"found_in_text","path":"explanatory_gender_classification/run_example.py","file_url":"https://github.com/fhstp/xil-gender-classification/blob/HEAD/explanatory_gender_classification/run_example.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":"ea63d8659109d801"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}