Papers › Exploring the Jungle of Bias: Political Bias Attribution in Language Models via...

Exploring the Jungle of Bias: Political Bias Attribution in Language Models via Dependency Analysis

15 Nov 2023arXiv:2311.08605archive 2025-07-28

David F. Jenny, Yann Billeter, Mrinmaya Sachan, Bernhard Schölkopf, Zhijing Jin

The rapid advancement of Large Language Models (LLMs) has sparked intense debate regarding the prevalence of bias in these models and its mitigation. Yet, as exemplified by both results on debiasing methods in the literature and reports of alignment-related defects from the wider community, bias remains a poorly understood topic despite its practical relevance. To enhance the understanding of the internal causes of bias, we analyse LLM bias through the lens of causal fairness analysis, which enables us to both comprehend the origins of bias and reason about its downstream consequences and mitigation. To operationalize this framework, we propose a prompt-based method for the extraction of confounding and mediating attributes which contribute to the LLM decision process. By applying Activity Dependency Networks (ADNs), we then analyse how these attributes influence an LLM's decision process. We apply our method to LLM ratings of argument quality in political debates. We find that the observed disparate treatment can at least in part be attributed to confounding and mitigating attributes and model misalignment, and discuss the consequences of our findings for human-AI alignment and bias mitigation. Our code and data are at https://github.com/david-jenny/LLM-Political-Study.

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

Code

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

By repository: official repository: 15 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.

david-jenny/llm-political-study officialmentioned in papermentioned on GitHubMIT 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

15 samples harvested; 11 ran; 0 honoured the contract we drafted; 4 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
4unverified

Licence: 0 of the 15 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 david-jenny/llm-political-study. “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.

compute_distance_metrics david-jenny/llm-political-study/utils/network_utils.py official repository ran MIT (permissive) · 5bffff3cb2fb4b88 · report
compute_node_activity_and_pcpn david-jenny/llm-political-study/utils/network_utils.py official repository ran MIT (permissive) · 9a9e3ce0a7cf2f30 · report
compute_partial_correlations david-jenny/llm-political-study/utils/network_utils.py official repository ran MIT (permissive) · 572b4d90507e8119 · report
create_speaker_df david-jenny/llm-political-study/utils/plotter_utils.py official repository ran MIT (permissive) · b72f26a8ac91386c · report
gen_bootstrap_data david-jenny/llm-political-study/utils/statistical_test_utils.py official repository ran MIT (permissive) · 9b2f0a8e0c9cc1a4 · report
gen_subset_data david-jenny/llm-political-study/utils/statistical_test_utils.py official repository ran MIT (permissive) · 1edc977e616f8ecc · report
get_slice_contextual_variables david-jenny/llm-political-study/datasets/llm_measurements/query_llm.py official repository ran MIT (permissive) · 651ae257712c7c1b · report
get_slice_metadata david-jenny/llm-political-study/datasets/llm_measurements/query_llm.py official repository ran MIT (permissive) · a8ea4c06a5fba55d · report
get_speaker_metadata david-jenny/llm-political-study/datasets/llm_measurements/query_llm.py official repository ran MIT (permissive) · 99a2a61c0258d6cc · report
std david-jenny/llm-political-study/utils/statistical_test_utils.py official repository ran fingerprinted MIT (permissive) · 2bc5a8a09a4696f8 · report
transform_str_categories_to_flags david-jenny/llm-political-study/utils/plotter_utils.py official repository ran MIT (permissive) · 309d6c16f18bf747 · report
detokenizer david-jenny/llm-political-study/datasets/cpd_debates/cpd_debate_scraper.py official repository unverified MIT (permissive) · 51fcdc53b4801135 · report
encoding_getter david-jenny/llm-political-study/datasets/cpd_debates/cpd_debate_scraper.py official repository unverified MIT (permissive) · e50b8f5c380e0ce4 · report
load_slice_and_measured_observables david-jenny/llm-political-study/utils/plotter_utils.py official repository unverified MIT (permissive) · 6496089f2dd2deb1 · report
tokenizer david-jenny/llm-political-study/datasets/cpd_debates/cpd_debate_scraper.py official repository unverified MIT (permissive) · 957d76c0f71ca73e · report

Tasks

Decision MakingFairness

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