面向大语言模型跨语言事实一致性的推理时引导 Inference-Time Steering for Cross-Lingual Factual Consistency in LLMs 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-07-21
👁️ 预览文献
💡 AI 中文简介
大语言模型虽能流利使用多种语言,但其内部知识明显偏向英语等高资源语言,导致同一事实在不同语言提问下答案不一致。本文研究能否在推理阶段纠正这种偏差,让英语提问的模型像用德语、西班牙语、保加利亚语提问一样作答。作者比较了四种方法:角色提示、对比激活加(CAA)、基于事实数据和概念泛化数据的直接偏好优化(DPO)。在Gemma 3 12B Instruct上实验发现,角色提示综合效果最好,兼顾有效性、安全性和泛化性;CAA虽能显著改变答案分布,但对配置敏感且可能损害知识;DPO适配器效果持久但收益较窄。研究表明跨语言不一致部分源于答案选择问题,简单的上下文干预可能优于侵入性方法。
领域自然语言处理 / 大语言模型多语言对齐与可解释性
适合谁读需要一定专业背景(了解大语言模型、提示工程、对齐方法)
核心贡献1. 系统比较了从上下文引导到内部激活操纵再到轻量参数更新的四种推理时干预策略,用于缓解跨语言事实不一致。2. 构建了多语言事实数据集和包含文化根植查询的泛化基准,并发现角色提示在有效性、安全性和域外泛化上综合最优,而CAA和DPO各有局限。
关键数据在Gemma 3 12B Instruct上,角色提示综合表现最强;CAA能显著改变不一致性基准得分,但对配置敏感且有知识退化风险;DPO适配器提供永久但较窄且迁移性较弱的收益。
推荐理由如果你关心大模型为什么换个语言就“变心”,以及如何用简单方法让它更一致,这篇文章用扎实实验告诉你:有时候提示词比改权重更管用。
关键词["大语言模型", "跨语言事实一致性", "推理时干预", "对比激活加", "直接偏好优化", "多语言对齐"]

原文摘要

查看英文原文摘要

Although Large Language Models (LLMs) demonstrate remarkable multilingual fluency, their internal knowledge representations remain disproportionately biased toward high-resource languages. This leads to cross-lingual factual inconsistency, where they shift their empirical answer distributions based solely on the prompt language. We investigate whether these biases can be mitigated at inference time, forcing an English-prompted model to answer as if it were queried in target languages (German, Spanish, Bulgarian), and evaluate four intervention strategies: zero-shot contextual steering (persona prompting), internal representation manipulation via Contrastive Activation Addition (CAA), and lightweight weight modification via Direct Preference Optimization (DPO) trained on benchmark-derived factual data as well as conceptual generalization data. To assess alignment, we curate a multilingual factual dataset alongside a novel generalization benchmark comprising culturally rooted queries to determine whether factual interventions transfer to broader target-centric preferences. Experiments on Gemma 3 12B Instruct reveal persona prompting to be the strongest overall intervention, balancing efficacy, safety, and out-of-domain generalization. While CAA yields sharp inconsistency benchmark shifts, it is configuration-sensitive and risks knowledge degradation. DPO-based adapters offer permanent, yet narrower and less transferable gains. These findings suggest that cross-lingual inconsistency is at least partly a selection problem, and that simple contextual interventions may outperform more invasive methods for robust, transferable alignment.