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 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="2402.12789")

Code

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

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

ucsc-real/fairnesswithoutharm officialmentioned in papermentioned on GitHubjax 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; 0 honoured the contract we drafted; 9 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.

11ran
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. “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.

cross_entropy_loss ucsc-real/fairnesswithoutharm/src/metrics.py official repository ran no licence file found · pointer only · bbab883e9f27b305 · report
cross_entropy_loss_per_sample ucsc-real/fairnesswithoutharm/src/metrics.py official repository ran no licence file found · pointer only · 8e2d536932c1d825 · report
extract_line ucsc-real/fairnesswithoutharm/read_results.py official repository ran no licence file found · pointer only · f8e3f16ae7fe99db · report
get_apply_fn_test ucsc-real/fairnesswithoutharm/src/models.py official repository ran no licence file found · pointer only · c231223cd0275ac9 · report
get_num_params ucsc-real/fairnesswithoutharm/src/models.py official repository ran no licence file found · pointer only · 63410cdc89b2ca7a · report
preprocess_func_adult_torch ucsc-real/fairnesswithoutharm/src/data.py official repository ran no licence file found · pointer only · 270763e7cdb969f5 · report
preprocess_func_celeba_torch ucsc-real/fairnesswithoutharm/src/data.py official repository ran no licence file found · pointer only · bd4157a1ab4b0abe · report
preprocess_func_compas_torch ucsc-real/fairnesswithoutharm/src/data.py official repository ran no licence file found · pointer only · 36dccc6aadedec47 · report
record_ckpt ucsc-real/fairnesswithoutharm/src/recorder.py official repository ran no licence file found · pointer only · 1250d55ffe8b6887 · report
record_test_stats ucsc-real/fairnesswithoutharm/src/recorder.py official repository ran no licence file found · pointer only · 6ded3c76159d47fa · report
record_train_stats ucsc-real/fairnesswithoutharm/src/recorder.py official repository ran no licence file found · pointer only · 89425067e2790cbf · report
get_loss_fair ucsc-real/fairnesswithoutharm/src/loss_func.py official repository unverified no licence file found · pointer only · 117795f3a7929738 · report
get_loss_fn ucsc-real/fairnesswithoutharm/src/loss_func.py official repository unverified no licence file found · pointer only · d2b7e008a778fe42 · report
get_loss_lmd_fix ucsc-real/fairnesswithoutharm/src/loss_func.py official repository unverified no licence file found · pointer only · f1f44a8e6636b44d · report
get_model ucsc-real/fairnesswithoutharm/src/models.py official repository unverified no licence file found · pointer only · d539bfdeab939504 · report
get_result_typical ucsc-real/fairnesswithoutharm/read_results.py official repository unverified no licence file found · pointer only · 8e686aaad1330b43 · report
get_result_val ucsc-real/fairnesswithoutharm/read_results.py official repository unverified no licence file found · pointer only · 2d696648a40f85f4 · report
get_value ucsc-real/fairnesswithoutharm/src/global_var.py official repository unverified no licence file found · pointer only · 0b158af03f71fad8 · report
hinge_loss ucsc-real/fairnesswithoutharm/src/metrics.py official repository unverified no licence file found · pointer only · 89b278308e29baf3 · report
test ucsc-real/fairnesswithoutharm/src/fair_train.py official repository 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