Skip to main content
QUICK REVIEW

[论文解读] Multi-IF: Benchmarking LLMs on Multi-Turn and Multilingual Instructions Following

Yun He, Di Jin|arXiv (Cornell University)|Oct 21, 2024
Natural Language Processing TechniquesComputer Science被引用 3
一句话总结

本文提出了 Multi-IF,一项用于评估大语言模型(LLMs)在多轮和多语言指令遵循能力上的新基准,通过在八种语言中生成 4,501 个多语言、三轮对话,扩展了 IFEval 基准。结果显示,LLMs,包括 o1-preview 和 Llama 3.1 等顶级模型,在对话轮次增加时性能显著下降,且在非拉丁字母脚本中的准确率更低,凸显了指令遵循能力和多语言能力方面存在的关键差距。

ABSTRACT

Large Language Models (LLMs) have demonstrated impressive capabilities in various tasks, including instruction following, which is crucial for aligning model outputs with user expectations. However, evaluating LLMs' ability to follow instructions remains challenging due to the complexity and subjectivity of human language. Current benchmarks primarily focus on single-turn, monolingual instructions, which do not adequately reflect the complexities of real-world applications that require handling multi-turn and multilingual interactions. To address this gap, we introduce Multi-IF, a new benchmark designed to assess LLMs' proficiency in following multi-turn and multilingual instructions. Multi-IF, which utilizes a hybrid framework combining LLM and human annotators, expands upon the IFEval by incorporating multi-turn sequences and translating the English prompts into another 7 languages, resulting in a dataset of 4,501 multilingual conversations, where each has three turns. Our evaluation of 14 state-of-the-art LLMs on Multi-IF reveals that it presents a significantly more challenging task than existing benchmarks. All the models tested showed a higher rate of failure in executing instructions correctly with each additional turn. For example, o1-preview drops from 0.877 at the first turn to 0.707 at the third turn in terms of average accuracy over all languages. Moreover, languages with non-Latin scripts (Hindi, Russian, and Chinese) generally exhibit higher error rates, suggesting potential limitations in the models' multilingual capabilities. We release Multi-IF prompts and the evaluation code base to encourage further research in this critical area.

研究动机与目标

  • 为解决当前缺乏全面基准以评估 LLM 在多轮和多语言指令遵循方面表现的问题。
  • 识别随着对话长度增加,LLM 性能下降的情况,尤其是多轮对话中的表现。
  • 评估非拉丁字母脚本(例如印地语、俄语、中文)对指令遵循准确率的影响。
  • 评估推理和错误纠正机制在长时间内维持指令合规性方面的有效性。
  • 提供一个公开可用的基准,以支持未来在多语言和多轮指令遵循方面的研究。

提出的方法

  • 通过使用随机采样和基于 LLM 的提示修订,将 IFEval 基准中的单轮英语提示扩展为多轮对话序列。
  • 应用基于 LLM 的过滤机制以去除各轮之间冲突的指令,随后通过人工标注进行质量保证。
  • 使用 LLM 生成和人工后期编辑,将扩展后的英语多轮数据集翻译成七种附加语言——法语、俄语、印地语、意大利语、葡萄牙语、西班牙语和中文。
  • 构建最终包含 4,501 个多语言、三轮对话的数据集,所有指令均可验证且具有客观性。
  • 使用严格和宽松的准确率指标,在指令级别和对话级别对 14 个最先进的 LLM 进行评估。
  • 分析跨语言和指令类型中的错误模式,以识别在长度控制、结构规范和非拉丁字母脚本处理方面持续存在的挑战。

实验结果

研究问题

  • RQ1在多语言环境下,LLM 的指令遵循性能在多轮对话中如何随轮次下降?
  • RQ2非拉丁字母脚本(例如印地语、俄语、中文)对 LLM 准确遵循指令的能力有何影响?
  • RQ3推理能力与错误纠正机制在多轮对话中在多大程度上提升了指令遵循的准确性?
  • RQ4哪些指令类别(例如 length_constraint、combination、startend)在各类语言中构成最大挑战?
  • RQ5在低资源语言设置下,顶级模型如 o1-preview 和 Llama 3.1 在多语言指令遵循方面表现如何比较?

主要发现

  • o1-preview 在所有语言中的平均准确率从第一轮的 0.877 下降到第三轮的 0.707,表明在多轮对话中性能显著下降。
  • 使用非拉丁字母脚本的语言——印地语、俄语和中文——始终表现出比拉丁字母脚本语言更高的错误率,表明在多语言指令遵循能力方面存在局限。
  • 所有语言中,'length_constraint' 和 'combination' 指令类别错误率最高,表明在控制输出长度和结构方面存在持续困难。
  • 具备隐式思维链能力的模型(如 o1-preview)表现出更好的错误恢复能力,并在多轮对话中维持了更高的准确率,表明推理有助于纠正先前错误。
  • o1-preview 在所有语言中平均表现最佳,紧随其后的是 Llama 3.1 405B,而其他模型在非英语语言中的表现明显更低。
  • 在大多数指令类型中,印地语的错误率尤其高;在俄语和中文中,'startend' 和 'length_constraint' 类别错误率显著上升,凸显了语言相关的挑战。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。