Papers › Fairness Without Harm: An Influence-Guided Active Sampling Approach

Fairness Without Harm: An Influence-Guided Active Sampling Approach

20 Feb 2024arXiv:2402.12789archive 2025-07-28

Jinlong Pang, Jialu Wang, Zhaowei Zhu, Yuanshun Yao, Chen Qian, Yang Liu

The pursuit of fairness in machine learning (ML), ensuring that the models do not exhibit biases toward protected demographic groups, typically results in a compromise scenario. This compromise can be explained by a Pareto frontier where given certain resources (e.g., data), reducing the fairness violations often comes at the cost of lowering the model accuracy. In this work, we aim to train models that mitigate group fairness disparity without causing harm to model accuracy. Intuitively, acquiring more data is a natural and promising approach to achieve this goal by reaching a better Pareto frontier of the fairness-accuracy tradeoff. The current data acquisition methods, such as fair active learning approaches, typically require annotating sensitive attributes. However, these sensitive attribute annotations should be protected due to privacy and safety concerns. In this paper, we propose a tractable active data sampling algorithm that does not rely on training group annotations, instead only requiring group annotations on a small validation set. Specifically, the algorithm first scores each new example by its influence on fairness and accuracy evaluated on the validation dataset, and then selects a certain number of examples for training. We theoretically analyze how acquiring more data can improve fairness without causing harm, and validate the possibility of our sampling approach in the context of risk disparity. We also provide the upper bound of generalization error and risk disparity as well as the corresponding connections. Extensive experiments on real-world data demonstrate the effectiveness of our proposed algorithm. Our code is available at https://github.com/UCSC-REAL/FairnessWithoutHarm.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 20 code samples harvested from 1 repository linked to this paper: 11 ran (of which 0 constructed an object rather than computing a result; 8 with no instrument failure: 2 honoured, 0 violated, 6 with no contract checked; 3 where Syntology's instrument failed) · 9 unverified. Where Syntology's instrument failed: 3 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: official repository: 20 samples from 1 repository, 11 ran (8 with no instrument failure; 3 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

ucsc-real/fairnesswithoutharm officialmentioned in papermentioned on GitHubjaxSyntology: 20 samples, 11 ran (3 instrument-failed) · 9 unverified 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

20 samples harvested: 11 ran (of which 0 constructed an object rather than computing a result; 8 with no instrument failure: 2 honoured, 0 violated, 6 with no contract checked; 3 where Syntology's instrument failed) · 9 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

2ran · honoured contract
3ran · our draft was wrong
6ran
9unverified

Licence: 20 of the 20 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 ucsc-real/fairnesswithoutharm. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

ucsc-real/fairnesswithoutharm official repository 20 samples, 11 ran (3 instrument-failed) · 9 unverified
cross_entropy_loss in 58 papers src/metrics.py ran · our draft was wrong no licence file found · pointer only · bbab883e9f27b305 · report fixture: signature logits:ArrayImpl/2/float, labels:ArrayImpl/1/int · returned ArrayImpl · level recorded 2026-09-24
cross_entropy_loss_per_sample src/metrics.py ran · our draft was wrong no licence file found · pointer only · 8e2d536932c1d825 · report fixture: signature logits:ArrayImpl/2/float, labels:ArrayImpl/1/int · returned ArrayImpl · level recorded 2026-09-24
extract_line read_results.py ran · honoured contract no licence file found · pointer only · f8e3f16ae7fe99db · report fixture: signature line:str/0/str · returned tuple · level recorded 2026-09-24
get_apply_fn_test src/models.py ran · our draft was wrong no licence file found · pointer only · c231223cd0275ac9 · report fixture: signature model:callable/0/? · returned function · level recorded 2026-09-24
get_num_params in 15 papers src/models.py ran · honoured contract no licence file found · pointer only · 63410cdc89b2ca7a · report fixture: signature params:dict/0/? · returned int · level recorded 2026-09-24
preprocess_func_adult_torch src/data.py ran no licence file found · pointer only · 270763e7cdb969f5 · report fixture: signature example:tuple/1/Tensor, args:Args/0/?, noisy_attribute:NoneType/0/?, num_groups:int/0/int · returned dict · level recorded 2026-09-24
preprocess_func_celeba_torch src/data.py ran no licence file found · pointer only · bd4157a1ab4b0abe · report fixture: signature example:dict/0/?, args:Args/0/?, noisy_attribute:NoneType/0/?, new_labels:dict/0/? · returned dict · level recorded 2026-09-24
preprocess_func_compas_torch src/data.py ran no licence file found · pointer only · 36dccc6aadedec47 · report fixture: signature example:tuple/1/Tensor, args:dict/0/?, noisy_attribute:NoneType/0/?, num_groups:int/0/int · returned dict · level recorded 2026-09-24
record_ckpt src/recorder.py ran no licence file found · pointer only · 1250d55ffe8b6887 · report fixture: signature rec:RecorderStandIn/0/?, step:int/0/int · returned RecorderStandIn · level recorded 2026-09-24
record_test_stats src/recorder.py ran no licence file found · pointer only · 6ded3c76159d47fa · report fixture: signature rec:Recorder/0/?, step:int/0/int, metric:dict/0/? · returned Recorder · level recorded 2026-09-24
record_train_stats src/recorder.py ran no licence file found · pointer only · 89425067e2790cbf · report fixture: signature rec:RecorderStandIn/0/?, step:int/0/int, metric:dict/0/?, lr:float/0/float · returned RecorderStandIn · level recorded 2026-09-24
get_loss_fair src/loss_func.py unverified no licence file found · pointer only · 117795f3a7929738 · report
get_loss_fn in 12 papers src/loss_func.py unverified no licence file found · pointer only · d2b7e008a778fe42 · report
get_loss_lmd_fix src/loss_func.py unverified no licence file found · pointer only · f1f44a8e6636b44d · report
get_model in 368 papers src/models.py unverified no licence file found · pointer only · d539bfdeab939504 · report
get_result_typical read_results.py unverified no licence file found · pointer only · 8e686aaad1330b43 · report
get_result_val read_results.py unverified no licence file found · pointer only · 2d696648a40f85f4 · report
get_value in 16 papers src/global_var.py unverified no licence file found · pointer only · 0b158af03f71fad8 · report
hinge_loss in 21 papers src/metrics.py unverified no licence file found · pointer only · 89b278308e29baf3 · report
test in 377 papers src/fair_train.py unverified no licence file found · pointer only · f66864daa20b1b6f · report

Tasks

Active LearningAttributeFairness

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