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

SysBench:大型语言模型能否遵循系统消息?

SysBench: Can Large Language Models Follow System Messages?

Peking University(北京大学);Baichuan Inc.(百川智能)

Yanzhao Qin, Tao Zhang, Tao Zhang, Yanjun Shen, Wenjing Luo, Haoze Sun, Yan Zhang, Yujing Qiao, Weipeng Chen, Zenan Zhou, Wentao Zhang, Bin Cui

AI总结:

SysBench通过构建包含500条系统消息和多轮对话的基准,系统评估LLMs在约束违反、指令误判和多轮不稳定三方面的系统消息遵循能力,揭示现有模型优缺点。

摘要:

大型语言模型(LLMs)已在各类应用中发挥重要作用,针对特定场景对这些模型进行定制变得日益关键。系统消息作为LLMs的基本组成部分,由精心设计的指令构成,用于引导模型行为以实现预期目标。尽管系统消息在优化AI驱动解决方案方面的潜力已得到认可,但目前仍明显缺乏一个用于评估LLMs遵循系统消息能力的全面基准。为填补这一空白,我们提出了SysBench,这是一个基准测试,从现有LLMs的三个局限性出发,系统性地分析其遵循系统消息的能力:约束违反、指令误判和多轮不稳定性。具体而言,我们基于六种常见的约束类型手工构建了评估数据集,包含500条量身设计的系统消息以及覆盖多种交互关系的多轮用户对话。此外,我们开发了一套全面的评估协议来衡量模型性能。最后,我们对多种现有LLMs进行了广泛评估,衡量它们遵循系统消息中所给定约束的能力。结果突显了现有模型的优势与不足,为未来研究提供了关键见解和方向。开源库SysBench可在https://github.com/PKU-Baichuan-MLSystemLab/SysBench获取。

英文摘要:

Large Language Models (LLMs) have become instrumental across various applications, with the customization of these models to specific scenarios becoming increasingly critical. System message, a fundamental component of LLMs, is consist of carefully crafted instructions that guide the behavior of model to meet intended goals. Despite the recognized potential of system messages to optimize AI-driven solutions, there is a notable absence of a comprehensive benchmark for evaluating how well LLMs follow system messages. To fill this gap, we introduce SysBench, a benchmark that systematically analyzes system message following ability in terms of three limitations of existing LLMs: constraint violation, instruction misjudgement and multi-turn instability. Specifically, we manually construct evaluation dataset based on six prevalent types of constraints, including 500 tailor-designed system messages and multi-turn user conversations covering various interaction relationships. Additionally, we develop a comprehensive evaluation protocol to measure model performance. Finally, we conduct extensive evaluation across various existing LLMs, measuring their ability to follow specified constraints given in system messages. The results highlight both the strengths and weaknesses of existing models, offering key insights and directions for future research. The open source library SysBench is available at https://github.com/PKU-Baichuan-MLSystemLab/SysBench.

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

↑