arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.17204cs.CLcs.AI
收藏

顺序很重要:探究多约束指令遵循中的位置偏差

Order Matters: Investigate the Position Bias in Multi-constraint Instruction Following

Fudan University(复旦大学);Ant Group(蚂蚁集团)

Jie Zeng, Qianyu He, Qingyu Ren, Jiaqing Liang, Yanghua Xiao, Weikang Zhou, Zeye Sun, Fei Yu

AI总结:

针对多约束指令中约束顺序导致LLM性能波动的问题,本文提出探测任务与CDDI指数定量测量难度分布,发现LLM在“由难到易”的约束顺序下表现最佳,并通过解释性研究揭示了注意力与约束顺序的相关性。

摘要:

现实世界中带有多个约束的指令对现有大型语言模型(LLMs)构成了重大挑战。一个观察结果是,当打乱所包含约束的顺序时,LLMs表现出剧烈的性能波动。然而,现有工作均未在多约束指令遵循领域系统地调查这一位置偏差问题。为填补这一空白,我们设计了一项探测任务,通过一种新颖的难度分布指数(CDDI)定量测量约束的难度分布。通过实验结果,我们发现,当以“由难到易”的顺序呈现约束时,LLMs表现更佳。这种偏好可以推广到具有不同架构或不同参数规模的LLMs。此外,我们还进行了解释性研究,为LLM的注意力与约束顺序之间的相关性提供了直观见解。我们的代码和数据集已公开于https://github.com/meowpass/PBIF。

英文摘要:

Real-world instructions with multiple constraints pose a significant challenge to existing large language models (LLMs). An observation is that the LLMs exhibit dramatic performance fluctuation when disturbing the order of the incorporated constraints. Yet, none of the existing works has systematically investigated this position bias problem in the field of multi-constraint instruction following. To bridge this gap, we design a probing task where we quantitatively measure the difficulty distribution of the constraints by a novel Difficulty Distribution Index (CDDI). Through the experimental results, we find that LLMs are more performant when presented with the constraints in a ``hard-to-easy'' order. This preference can be generalized to LLMs with different architecture or different sizes of parameters. Additionally, we conduct an explanation study, providing an intuitive insight into the correlation between the LLM's attention and constraint orders. Our code and dataset are publicly available at https://github.com/meowpass/PBIF.

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

↑