Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ding, Zikang, Yao, Junchi, Li, Junhao, Zhang, Yi, Jiang, Wenbo, Liu, Hongbo, Hu, Lijie
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:https://arxiv.org/abs/2603.19144
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914409403645952
author Ding, Zikang
Yao, Junchi
Li, Junhao
Zhang, Yi
Jiang, Wenbo
Liu, Hongbo
Hu, Lijie
author_facet Ding, Zikang
Yao, Junchi
Li, Junhao
Zhang, Yi
Jiang, Wenbo
Liu, Hongbo
Hu, Lijie
contents 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 \underline{U}nified \underline{G}raph \underline{I}somorphism for \underline{D}ebiasing large language models (\textit{\textbf{UGID}}), 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. \textit{\textbf{UGID}} 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 \textit{\textbf{UGID}} effectively reduces bias under both in-distribution and out-of-distribution settings, significantly reduces internal structural discrepancies, and preserves model safety and utility.
format Preprint
id arxiv_https___arxiv_org_abs_2603_19144
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle UGID: Unified Graph Isomorphism for Debiasing Large Language Models
Ding, Zikang
Yao, Junchi
Li, Junhao
Zhang, Yi
Jiang, Wenbo
Liu, Hongbo
Hu, Lijie
Computation and Language
Artificial Intelligence
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 \underline{U}nified \underline{G}raph \underline{I}somorphism for \underline{D}ebiasing large language models (\textit{\textbf{UGID}}), 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. \textit{\textbf{UGID}} 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 \textit{\textbf{UGID}} effectively reduces bias under both in-distribution and out-of-distribution settings, significantly reduces internal structural discrepancies, and preserves model safety and utility.
title UGID: Unified Graph Isomorphism for Debiasing Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2603.19144