Papers › Fairness for Image Generation with Uncertain Sensitive Attributes

Fairness for Image Generation with Uncertain Sensitive Attributes

23 Jun 2021arXiv:2106.12182archive 2025-07-28

Ajil Jalal, Sushrut Karmalkar, Jessica Hoffmann, Alexandros G. Dimakis, Eric Price

This work tackles the issue of fairness in the context of generative procedures, such as image super-resolution, which entail different definitions from the standard classification setting. Moreover, while traditional group fairness definitions are typically defined with respect to specified protected groups -- camouflaging the fact that these groupings are artificial and carry historical and political motivations -- we emphasize that there are no ground truth identities. For instance, should South and East Asians be viewed as a single group or separate groups? Should we consider one race as a whole or further split by gender? Choosing which groups are valid and who belongs in them is an impossible dilemma and being "fair" with respect to Asians may require being "unfair" with respect to South Asians. This motivates the introduction of definitions that allow algorithms to be \emph{oblivious} to the relevant groupings. We define several intuitive notions of group fairness and study their incompatibilities and trade-offs. We show that the natural extension of demographic parity is strongly dependent on the grouping, and \emph{impossible} to achieve obliviously. On the other hand, the conceptually new definition we introduce, Conditional Proportional Representation, can be achieved obliviously through Posterior Sampling. Our experiments validate our theoretical results and achieve fair image reconstruction using state-of-the-art generative models.

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

Code

Syntology Ran 1 of 12 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · violated contract.

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

ajiljalal/code-cs-fairness officialmentioned in paperpytorchMIT 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

12 samples harvested; 1 ran; 0 honoured the contract we drafted; 11 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.

1ran · violated contract
11unverified

Licence: 0 of the 12 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 ajiljalal/code-cs-fairness. “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.

make_kernel ajiljalal/code-cs-fairness/stylegan2/model.py official repository ran · violated contract MIT (permissive) · 6f65e378a4313f87 · report
flatten_eps ajiljalal/code-cs-fairness/glow/model.py official repository unverified MIT (permissive) · 49323c1346259836 · report
get_figsize ajiljalal/code-cs-fairness/src/metrics_utils.py official repository unverified MIT (permissive) · 857ba6b23095a4f0 · report
get_image_nums ajiljalal/code-cs-fairness/src/view_estimated_celebA_cs.py official repository unverified MIT (permissive) · 8ad7897be275437c · report
get_l2_loss ajiljalal/code-cs-fairness/src/utils.py official repository unverified MIT (permissive) · 3f8654a051989cdf · report
get_measurement_loss ajiljalal/code-cs-fairness/src/utils.py official repository unverified MIT (permissive) · ef7378456cb1ffb8 · report
int_or_float ajiljalal/code-cs-fairness/src/metrics_utils.py official repository unverified MIT (permissive) · 3a73f73ee48b894d · report
load_if_pickled ajiljalal/code-cs-fairness/src/utils.py official repository unverified MIT (permissive) · 5967953b68048c6e · report
load_pb ajiljalal/code-cs-fairness/glow/model.py official repository unverified MIT (permissive) · a55018130198de2e · report
rep_error_deep_decoder ajiljalal/code-cs-fairness/include/compression.py official repository unverified MIT (permissive) · a03608be0d70054a · report
rep_error_wavelet ajiljalal/code-cs-fairness/include/compression.py official repository unverified MIT (permissive) · e714657a883c50dd · report
unflatten_eps ajiljalal/code-cs-fairness/glow/model.py official repository unverified MIT (permissive) · b1faad04059b6767 · report

Tasks

FairnessImage GenerationImage ReconstructionImage Super-ResolutionSuper-Resolution

1 archive task tag without a task page not shown.

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