KLAAD:改进注意力机制以减少生成式语言模型中的社会偏见
KLAAD: Refining Attention Mechanisms to Reduce Societal Bias in Generative Language Models
AI总结:
针对大型语言模型的社会偏见问题,提出 KLAAD 注意力对齐去偏框架,通过复合损失在不修改权重的情况下对齐注意力分布,并在 BBQ 与 BOLD 上验证其去偏效果。
摘要:
大型语言模型(LLM)的输出往往表现出社会偏见,引发了关于公平性和伤害的伦理担忧。本文提出 KLAAD(KL-Attention Alignment Debiasing,KL 注意力对齐去偏),这是一个基于注意力的去偏框架,可在刻板印象与反刻板印象句对之间隐式对齐注意力分布,而无需直接修改模型权重。KLAAD 引入了结合交叉熵、KL 散度和 Triplet 损失的复合训练目标,引导模型在有偏见和无偏见语境中保持一致的注意力,同时保留流畅性与连贯性。对 KLAAD 的实验评估表明,其在 BBQ 和 BOLD 两个基准上均改善了偏见缓解效果,且对语言建模质量影响极小。结果表明,注意力层面的对齐为缓解生成式语言模型中的偏见提供了一种有原则的解决方案。
英文摘要:
Large language models (LLMs) often exhibit societal biases in their outputs, prompting ethical concerns regarding fairness and harm. In this work, we propose KLAAD (KL-Attention Alignment Debiasing), an attention-based debiasing framework that implicitly aligns attention distributions between stereotypical and anti-stereotypical sentence pairs without directly modifying model weights. KLAAD introduces a composite training objective combining Cross-Entropy, KL divergence, and Triplet losses, guiding the model to consistently attend across biased and unbiased contexts while preserving fluency and coherence. Experimental evaluation of KLAAD demonstrates improved bias mitigation on both the BBQ and BOLD benchmarks, with minimal impact on language modeling quality. The results indicate that attention-level alignment offers a principled solution for mitigating bias in generative language models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。