SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.06931 · 2026

Measuring Social Bias in Vision-Language Models with Face-Only Counterfactuals from Real Photos

Jun Yu, Xiaojun Chang, Qiang Huang, Haodong Chen, Qiuping Jiang, Jiaqi Zhao

arXiv · PDF · Open in the Atlas

Code that ran

8 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 3 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2601.06931.json · badge: /api/ran/2601.06931.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
uocraW/REFLECT canonical (classifier label)
classifier basis: census
8 ran · 3 no recorded run
FunctionStatusWhere it lives
clean_choice_to_letter Ran
ran; our contract draft was wrong, not the code
uocraW/REFLECT/reflect/analysis/core.py
pointer only (licence: GPL-3.0) · get_code("ec3fc053322dd7b4")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, uocraW/REFLECT, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_jsd_by_group Ran
ran; our contract draft was wrong, not the code
uocraW/REFLECT/reflect/analysis/core.py
pointer only (licence: GPL-3.0) · get_code("97df0048df4baa4d")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, uocraW/REFLECT, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ensure_dir Ran
ran; our contract draft was wrong, not the code
uocraW/REFLECT/reflect/utils.py
pointer only (licence: GPL-3.0) · get_code("49e4f74a208ad4e5")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, uocraW/REFLECT, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_option_distribution Ran
ran, honoured the contract we drafted
uocraW/REFLECT/reflect/analysis/core.py
pointer only (licence: GPL-3.0) · get_code("692e67c75eea3dd5")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, uocraW/REFLECT, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

image_to_data_url Ran
ran; our contract draft was wrong, not the code
uocraW/REFLECT/reflect/utils.py
pointer only (licence: GPL-3.0) · get_code("ceb194ebb1bb8406")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, uocraW/REFLECT, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_mcq_choice Ran
ran; our contract draft was wrong, not the code
uocraW/REFLECT/reflect/tasks/mcq.py
pointer only (licence: GPL-3.0) · get_code("6a534df2284a5b7a")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, uocraW/REFLECT, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_salary_score Ran
ran, honoured the contract we drafted
uocraW/REFLECT/reflect/tasks/bios.py
pointer only (licence: GPL-3.0) · get_code("24db7d3afc551d5b")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, uocraW/REFLECT, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_two_afc_choice Ran
ran; our contract draft was wrong, not the code
uocraW/REFLECT/reflect/tasks/two_afc.py
pointer only (licence: GPL-3.0) · get_code("987780ae80c3fd3d")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, uocraW/REFLECT, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

default_output_root Not yet run
unverified (harvested, no recorded run)
uocraW/REFLECT/reflect/presets.py
pointer only (licence: GPL-3.0) · get_code("86129d8930c8f5c6")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, uocraW/REFLECT, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_preset Not yet run
unverified (harvested, no recorded run)
uocraW/REFLECT/reflect/presets.py
pointer only (licence: GPL-3.0) · get_code("83a57d43183d5608")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, uocraW/REFLECT, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_env_config Not yet run
unverified (harvested, no recorded run)
uocraW/REFLECT/reflect/config.py
pointer only (licence: GPL-3.0) · get_code("378ae8374d883933")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, uocraW/REFLECT, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 11 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Vision-Language Models (VLMs) are increasingly deployed in socially consequential settings, raising concerns about social bias driven by demographic cues. A central challenge in measuring such social bias is attribution under visual confounding: real-world images entangle race and gender with correlated factors such as background and clothing, obscuring attribution. We propose a face-only counterfactual evaluation paradigm that isolates demographic effects while preserving the realism of real images. Starting from real photographs, we generate counterfactual variants by editing only facial attributes related to race and gender, keeping all other visual factors fixed. Based on this paradigm, we construct FOCUS, a dataset of 480 scene-matched counterfactual images across six occupations and ten demographic groups, and propose REFLECT, a benchmark comprising three decision-oriented tasks: twoalternative forced choice, multiple-choice socioeconomic inference, and numeric salary recommendation. Experiments on five state-ofthe-art VLMs reveal that demographic disparities persist under strict visual control and vary substantially across task formulations. These findings underscore the necessity of controlled, counterfactual audits and highlight task design as a critical factor in evaluating social bias in multimodal models. Our code is available at https://github.com/uocraW/REFLECT.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2601.06931")
get_code_for_paper("2601.06931")
have("2601.06931")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2601.06931.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2601.06931.svg)](https://syntology.ai/paper/2601.06931)

Connect an agent — have() is free.