Papers › AIM: Attributing, Interpreting, Mitigating Data Unfairness

AIM: Attributing, Interpreting, Mitigating Data Unfairness

13 Jun 2024arXiv:2406.08819archive 2025-07-28

Zhining Liu, Ruizhong Qiu, Zhichen Zeng, Yada Zhu, Hendrik Hamann, Hanghang Tong

Data collected in the real world often encapsulates historical discrimination against disadvantaged groups and individuals. Existing fair machine learning (FairML) research has predominantly focused on mitigating discriminative bias in the model prediction, with far less effort dedicated towards exploring how to trace biases present in the data, despite its importance for the transparency and interpretability of FairML. To fill this gap, we investigate a novel research problem: discovering samples that reflect biases/prejudices from the training data. Grounding on the existing fairness notions, we lay out a sample bias criterion and propose practical algorithms for measuring and countering sample bias. The derived bias score provides intuitive sample-level attribution and explanation of historical bias in data. On this basis, we further design two FairML strategies via sample-bias-informed minimal data editing. They can mitigate both group and individual unfairness at the cost of minimal or zero predictive utility loss. Extensive experiments and analyses on multiple real-world datasets demonstrate the effectiveness of our methods in explaining and mitigating unfairness. Code is available at https://github.com/ZhiningLiu1998/AIM.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.08819")

Code

Syntology Ran 8 of 11 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 8 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zhiningliu1998/aim officialmentioned in paperApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 8 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

8ran
3unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from zhiningliu1998/aim. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

convert_df_to_tensor zhiningliu1998/aim/src/data_infair.py official repository ran Apache-2.0 (permissive) · 627de91152b2ca18 · report
dict_info zhiningliu1998/aim/src/utils.py official repository ran Apache-2.0 (permissive) · 11fdc2d246943147 · report
get_filter_mask zhiningliu1998/aim/src/unloc.py official repository ran Apache-2.0 (permissive) · 22b32e9df1477f9d · report
get_input_output_df zhiningliu1998/aim/src/data_infair.py official repository ran Apache-2.0 (permissive) · 9c37d5786d79f660 · report
get_mixup_idx zhiningliu1998/aim/src/unloc.py official repository ran Apache-2.0 (permissive) · 2697ea014a3b6ac7 · report
idx_to_mask zhiningliu1998/aim/src/utils.py official repository ran Apache-2.0 (permissive) · 584b646b31c97aed · report
mask_to_idx zhiningliu1998/aim/src/utils.py official repository ran Apache-2.0 (permissive) · 8ec0442dca42253c · report
train_val_test_split_dataframe zhiningliu1998/aim/src/data.py official repository ran Apache-2.0 (permissive) · 056e947498c1ab75 · report
load_data zhiningliu1998/aim/src/data_infair.py official repository unverified Apache-2.0 (permissive) · c5a41c92195225bd · report
mixup_instance zhiningliu1998/aim/src/unloc.py official repository unverified Apache-2.0 (permissive) · c1308e58057c278e · report
normalize_graph_adj zhiningliu1998/aim/src/utils_unloc.py official repository unverified Apache-2.0 (permissive) · 25026978ebf7b7cb · report

Tasks

Fairness

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections