arXiv cs.CL· Basar Demir, Emily Shen, Ksheeraj Sai Vepuri, Sourabh Kulkarni, Harihar Subramanyam, Ankit Jain, Nan Jiang, Chirag Nagpal·· 12 小时前AI 评分31
让语言模型实现反事实不变性对齐
Aligning Language Models Towards Counterfactual Invariance
AI 导读
标准模型对齐方法(如强化学习)在提升整体回复质量的同时,会放大不同人口统计群体间的回复质量差异,加剧反事实偏见。研究提出一种策略梯度技术,基于匹配的反事实提示对构建群体级奖励函数,并构建受控反事实提示对数据集与区分人口信息因果相关性的评估方法。在多个公平性基准上,该方法降低了反事实差异,同时保持整体回复质量,且当敏感信息确实相关时模型仍能适当调整。
正文 · 原文
Abstract:Small variations in prompt characteristics can meaningfully alter the semantics, tone, and contextual assumptions of large language model outputs. Such characteristics can involve group variables such as demographics or other sensitive latent attributes. Sensitivity to such input variables is undesirable when demographic information is causally irrelevant to the task, but might still be relevant for generation of semantically coherent responses. This makes the task of enforcing counterfactual invariance while preserving model utility difficult. To study this problem, we first show that standard model alignment recipes (such as reinforcement learning) increase differences in response quality across demographics, while improving overall response quality, ultimately amplifying what is known as counterfactual bias. To address this, we develop a policy gradient technique involving a group-level reward function that operates on matched pairs of counterfactual prompts. For completeness, we build a dataset of controlled counterfactual prompt pairs and design an evaluation that separately measures cases where demographic information is causally relevant to the answer. Finally, we validate our findings on several fairness benchmarks. We demonstrate that our methods reduce counterfactual differences while preserving overall response quality and that the models continue to adapt appropriately when such sensitive information is relevant.
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Machine Learning (cs.LG) |
| Cite as: | arXiv:2610.22942 [cs.CL] |
| (or arXiv:2610.22942v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.22942 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Başar Demir [view email]
[v1]
Fri, 16 Oct 2026 05:09:40 UTC (9,347 KB)
来源:arXiv cs.CL · arxiv.org