跳到主要导航 跳到搜索 跳到主要内容

AGENTIF: Benchmarking Instruction Following of Large Language Models in Agentic Scenarios

  • Yunjia Qi
  • , Hao Peng
  • , Xiaozhi Wang
  • , Amy Xin
  • , Youfeng Liu
  • , Bin Xu
  • , Lei Hou
  • , Juanzi Li
  • BNRist
  • Shenzhen International Graduate School
  • Zhipu AI
  • Tsinghua University

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

摘要

Large Language Models (LLMs) have demonstrated advanced capabilities in real-world agentic applications. Growing research efforts aim to develop LLM-based agents to address practical demands, introducing a new challenge: agentic scenarios often involve lengthy instructions with complex constraints, such as extended system prompts and detailed tool specifications. While adherence to such instructions is crucial for agentic applications, whether LLMs can reliably follow them remains underexplored. In this paper, we introduce AGENTIF, the first benchmark for systematically evaluating LLM instruction following ability in agentic scenarios. AGENTIF features three key characteristics: (1) Realistic, constructed from 50 real-world agentic applications. (2) Long, averaging 1, 723 words with a maximum of 15, 630 words. (3) Complex, averaging 11.9 constraints per instruction, covering diverse constraint types, such as tool specifications and condition constraints. To construct AGENTIF, we collect 707 human-annotated instructions across 50 agentic tasks from industrial application agents and open-source agentic systems. For each instruction, we annotate the associated constraints and corresponding evaluation metrics, including code-based evaluation, LLM-based evaluation, and hybrid code-LLM evaluation. We use AGENTIF to systematically evaluate existing advanced LLMs. We observe that current models generally perform poorly, especially in handling complex constraint structures and tool specifications. We further conduct error analysis and analytical experiments on instruction length and meta constraints, providing some findings about the failure modes of existing LLMs. We have released the code3 and data4 to facilitate future research.

源语言英语
主期刊名39th Conference on Neural Information Processing Systems, NeurIPS 2025
出版商Neural information processing systems foundation
页62980-63008
页数29
ISBN(电子版)9798331338275
出版状态已出版 - 2025
已对外发布是
活动39th Conference on Neural Information Processing Systems, NeurIPS 2025 - San Diego, 美国
期限: 2 12月 2025 → 7 12月 2025

丛书

姓名Advances in Neural Information Processing Systems
卷38
ISSN(印刷版)1049-5258

会议

会议39th Conference on Neural Information Processing Systems, NeurIPS 2025
国家/地区美国
市San Diego
时期2/12/25 → 7/12/25

学术指纹

探究 'AGENTIF: Benchmarking Instruction Following of Large Language Models in Agentic Scenarios' 的科研主题。它们共同构成独一无二的学术指纹。

引用此