arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.22942cs.CLcs.AIcs.LG
收藏

对齐语言模型以实现反事实不变性

Aligning Language Models Towards Counterfactual Invariance

Meta Superintelligence Labs(元超级智能实验室);University of California, San Diego(加利福尼亚大学圣迭戈分校)

Basar Demir, Emily Shen, Ksheeraj Sai Vepuri, Sourabh Kulkarni, Harihar Subramanyam, Ankit Jain, Nan Jiang, Chirag Nagpal

AI总结:

该研究针对大语言模型的反事实偏差问题,提出结合群体级奖励函数的策略梯度技术,构建受控反事实提示对数据集并在公平性基准上验证,可减少反事实差异且保持模型效用。

摘要:

提示特征的微小变化可显著改变大语言模型输出的语义、语气和上下文假设,这些特征可能涉及人口统计等群体变量或其他敏感潜在属性。当人口统计信息与任务因果无关时,对这类输入变量的敏感性是不可取的,但这类信息仍可能与生成语义连贯的响应相关,这使得在保持模型效用的同时强制实现反事实不变性的任务变得困难。为研究该问题,我们首先表明标准模型对齐方法(如强化学习)在提升整体响应质量的同时,会加剧不同人口统计群体间的响应质量差异,最终放大所谓的反事实偏差。为解决该问题,我们开发了一种策略梯度技术,该技术涉及作用于匹配的反事实提示对的群体级奖励函数。为确保完整性,我们构建了一个受控反事实提示对数据集,并设计了一项评估,该评估可分别测量人口统计信息与答案因果相关的情况。最后,我们在多个公平性基准上验证了我们的发现,结果表明我们的方法可减少反事实差异,同时保持整体响应质量,且当这类敏感信息相关时,模型仍能做出适当调整。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑