arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.14152cs.CLcs.AIcs.LG
收藏

提示顺序中的迷失:揭示语言模型因果注意力的局限性

Lost in the Prompt Order: Revealing the Limitations of Causal Attention in Language Models

POSTECH(POSTECH大学);HJ AILAB(HJ人工智能实验室)

Hyunjong Ok, Jaeho Lee

AI总结:

研究揭示了语言模型对提示顺序的敏感性,通过系统分析发现因果注意力是核心机制,指出在多项选择问答中,上下文先于问题和选项的顺序能提升性能14%以上。

摘要:

大型语言模型表现出对提示结构的惊人敏感性,但其背后的机制仍不明确。本文深入研究了一个显著案例:在多项选择问答中,将上下文置于问题和选项之前(CQO)比反向顺序(QOC)高出14%以上,且在多种模型和数据集上保持一致。通过系统性的架构分析,我们发现因果注意力是核心机制:在QOC提示中,因果掩码阻止选项词关注上下文,形成信息瓶颈,使上下文对选项不可见。

英文摘要:

Large language models exhibit surprising sensitivity to the structure of the prompt, but the mechanisms underlying this sensitivity remain poorly understood. In this work, we conduct an in-depth investigation on a striking case: in multiple-choice question answering, placing context before the questions and options (CQO) outperforms the reverse order (QOC) by over 14%p, consistently over a wide range of models and datasets. Through systematic architectural analysis, we identify causal attention as the core mechanism: in QOC prompts, the causal mask prevents option tokens from attending to context, creating an information bottleneck where context becomes invisible to options.

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

↑