UGID: Unified Graph Isomorphism for Debiasing Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) exhibit pronounced social biases. Output-level or data-optimization--based debiasing methods cannot fully resolve these biases, and many prior works have shown that biases are embedded in internal representations. We propose underlineUnified underlineGraph underlineIsomorphism for underlineDebiasing large language models (textitUGID), an internal-representation--level debiasing framework for large language models that models the Transformer as a structured computational graph, where attention mechanisms define the routing edges of the graph and hidden states define the graph nodes. Specifically, debiasing is formulated as enforcing invariance of the graph structure across counterfactual inputs, with differences allowed only on sensitive attributes. textitUGID jointly constrains attention routing and hidden representations in bias-sensitive regions, effectively preventing bias migration across architectural components. To achieve effective behavioral alignment without degrading general capabilities, we introduce a log-space constraint on sensitive logits and a selective anchor-based objective to preserve definitional semantics. Extensive experiments on large language models demonstrate that textitUGID effectively reduces bias under both in-distribution and out-of-distribution settings, significantly reduces internal structural discrepancies, and preserves model safety and utility.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 31 of its 38 references that are in the map. First posted on arXiv 19 Mar 2026.
Builds on
31 of 38 references.
References · 31
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2023A Survey of Large Language Modelscited by 2,537
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2024Qwen2 Technical Reportcited by 2,076
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
- 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 703
- 2021BBQ: A Hand-Built Bias Benchmark for Question Answeringcited by 683
- 2023Bias and Fairness in Large Language Models: A Surveycited by 626
- 2022Towards Reasoning in Large Language Models: A Surveycited by 593
19 more
- 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 410
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 266
- 2023Marked Personas: Using Natural Language Prompts to Measure Stereotypes in Language Modelscited by 204
- 2019Counterfactual Data Augmentation for Mitigating Gender Stereotypes in Languages with Rich Morphologycited by 200
- 2022"I'm sorry to hear that": Finding New Biases in Language Models with a Holistic Descriptor Datasetcited by 160
- 2024Self-Debiasing Large Language Models: Zero-Shot Recognition and Reduction of Stereotypescited by 58
- 2025Hallucination Detection in LLMs Using Spectral Features of Attention Mapscited by 42
- 2024UniBias: Unveiling and Mitigating LLM Bias through Internal Attention and FFN Manipulationcited by 30
- 2024Exploring Safety-Utility Trade-Offs in Personalized Language Modelscited by 26
- 2024Causal Walk: Debiasing Multi-Hop Fact Verification with Front-Door Adjustmentcited by 17
- 2025Dissecting Bias in LLMs: A Mechanistic Interpretability Perspectivecited by 14
- 2024Locating and Mitigating Gender Bias in Large Language Modelscited by 10
- 2025Graph-KV: Breaking Sequence via Injecting Structural Biases into Large Language Modelscited by 6
- 2025Trustworthy AI: Safety, Bias, and Privacy -- A Surveycited by 5
- 2025Beyond Spurious Signals: Debiasing Multimodal Large Language Models via Counterfactual Inference and Adaptive Expert Routingcited by 5
- 2025Simulating a Bias Mitigation Scenario in Large Language Modelscited by 4
- 2024LIDAO: Towards Limited Interventions for Debiasing (Large) Language Modelscited by 3
- 2024Interpreting Bias in Large Language Models: A Feature-Based Approachcited by 3
- 2025KLAAD: Refining Attention Mechanisms to Reduce Societal Bias in Generative Language Modelscited by 3
Built on by
Not cited yet.