arXiv:2601.03589cs.CL2026-01ACL被引 3

让大模型学会在双语对话中准确判断该用哪种语言回应。

OLA: Output Language Alignment in Code-Switched LLM Interactions

  • 构建针对韩英双语混用的输出语言对齐评测基准OLA。
  • 前沿模型在清晰语境下仍常错答非预期语言,存在非英语偏好。
  • 仅需约1000条数据微调即可显著减少错误,说明问题可解。

多语言用户在对话中自然地在不同语言间切换,但当前大语言模型(LLMs)难以正确理解隐含的回应语言期望。我们发现,即使上下文对人类而言明确,现有模型仍会系统性地以错误语言回应。为此,我们提出OLA——一个专注于韩英混用场景的评测基准,涵盖从句内混用到指令内容不匹配等多种复杂情况。即使最先进的模型也频繁误解语言期望,表现出对非英语响应的固有偏见。该偏差还扩展至中英、印尼英混合对。模型在回应过程中还会出现语言切换不稳定和语言侵入现象。链式思维提示无法缓解这些问题,表明其在输出语言的语用推理能力薄弱。然而,仅使用约1000个样本进行代码切换感知的直接偏好优化(Code-Switching Aware DPO),便能显著降低错误率,说明这些失败源于对齐不足而非根本局限。结果强调了在真实双语交互中提升模型与用户隐含期待对齐的重要性。

原文摘要 · Abstract (English)

Code-switching, alternating between languages within a conversation, is natural for multilingual users, yet poses fundamental challenges for large language models (LLMs). When a user code-switches in their prompt to an LLM, they typically do not specify the expected language of the LLM response, and thus LLMs must infer the output language from contextual and pragmatic cues. We find that current LLMs systematically fail to align with this expectation, responding in undesired languages even when cues are clear to humans. We introduce OLA, a benchmark to evaluate LLMs' Output Language Alignment in code-switched interactions. OLA focuses on Korean--English code-switching and spans simple intra-sentential mixing to instruction-content mismatches. Even frontier models frequently misinterpret implicit language expectation, exhibiting a bias toward non-English responses. We further show this bias generalizes beyond Korean to Chinese and Indonesian pairs. Models also show instability through mid-response switching and language intrusions. Chain-of-Thought prompting fails to resolve these errors, indicating weak pragmatic reasoning about output language. However, Code-Switching Aware DPO with minimal data (about 1K examples) substantially reduces misalignment, suggesting these failures stem from insufficient alignment rather than fundamental limitations. Our results highlight the need to align multilingual LLMs with users' implicit expectations in real-world code-switched interactions.

多语言双语对话对齐LLM

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。