arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.08745cs.CL
收藏

IHEval:评估语言模型遵循指令层级的能力

IHEval: Evaluating Language Models on Following the Instruction Hierarchy

University of Notre Dame(圣母大学);Amazon(亚马逊公司);Worcester Polytechnic Institute(伍斯特理工学院)

Zhihan Zhang, Shiyang Li, Zixuan Zhang, Xin Liu, Haoming Jiang, Xianfeng Tang, Yifan Gao, Zheng Li, Haodong Wang, Zhaoxuan Tan, Yichuan Li, Qingyu Yin, Bing Yin, Meng Jiang

AI总结:

针对语言模型遵循指令层级能力缺乏评估基准的问题,提出IHEval基准(含3,538个示例、九项任务),发现模型在冲突指令下性能骤降,最强开源模型仅48%准确率,凸显优化必要性。

摘要:

指令层级确立了从系统消息到用户消息、对话历史和工具输出的优先级顺序,对于确保语言模型(LM)的一致性和安全性行为至关重要。尽管其重要性,这一主题受到的关注有限,且缺乏用于评估模型遵循指令层级能力的全面基准。我们通过引入IHEval来弥补这一空白,这是一个新颖的基准,包含九个任务中的3,538个示例,覆盖了不同优先级的指令既一致又冲突的情况。我们对主流语言模型的评估凸显了它们在识别指令优先级方面的困难。与它们原始的指令遵循性能相比,所有被评估的模型在面对冲突指令时都经历了性能的急剧下降。此外,最具竞争力的开源模型在解决此类冲突时仅达到48%的准确率。我们的结果强调了在未来语言模型开发中进行针对性优化的必要性。

英文摘要:

The instruction hierarchy, which establishes a priority order from system messages to user messages, conversation history, and tool outputs, is essential for ensuring consistent and safe behavior in language models (LMs). Despite its importance, this topic receives limited attention, and there is a lack of comprehensive benchmarks for evaluating models' ability to follow the instruction hierarchy. We bridge this gap by introducing IHEval, a novel benchmark comprising 3,538 examples across nine tasks, covering cases where instructions in different priorities either align or conflict. Our evaluation of popular LMs highlights their struggle to recognize instruction priorities. All evaluated models experience a sharp performance decline when facing conflicting instructions, compared to their original instruction-following performance. Moreover, the most competitive open-source model only achieves 48% accuracy in resolving such conflicts. Our results underscore the need for targeted optimization in the future development of LMs.

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

↑