arXiv:2602.11224cs.SEcs.CL2026-02KDD被引 5

用真实API+状态差分评估大模型代理在企业任务中的表现。

Agent-Diff: Benchmarking LLM Agents on Enterprise API Tasks via Code Execution with State-Diff-Based Evaluation

  • 通过容器化真实API和状态差分判断任务成功,实现可控且真实的评测。
  • 在224个企业工作流任务上测试9个大模型,结果可复现且具可比性。
  • 适合研究大模型代理能力或需真实接口评估的开发者与研究人员。

我们提出Agent-Diff,一种新型基准框架,通过代码执行评估大语言模型(LLM)在真实企业软件API任务中的代理能力。由于模型、外部工具访问、提示结构和代理框架的差异,现有基准在环境控制与生态有效性之间存在权衡。Agent-Diff结合两者优势:保留真实API接口的同时,通过容器化副本沙盒化调用、处理与评估环境。其核心创新包括:一是状态差分合约,以环境状态变化而非模糊轨迹匹配定义任务成功;二是基于容器的沙盒环境,使所有模型通过代码执行与相同服务接口交互。该框架支持对9个大模型在224项企业工作流任务上的基准测试,并通过消融实验评估了访问API文档对性能的影响。代码与数据已开源。

原文摘要 · Abstract (English)

We present Agent-Diff, a novel benchmarking framework for evaluating agentic Large Language Models (LLMs) on real-world productivity software API tasks via code execution. Agentic LLM performance varies due to differences in models, external tool access, prompt structures, and agentic frameworks. Benchmarks must make fundamental trade-offs between a sandboxed approach that controls for variation in software environments and more ecologically valid approaches employing real services. Agent-Diff attempts to capture the desirable features of both of these approaches by including access to the real API interfaces for software services while sandboxing the environment in which calls are made, processed, and evaluated. This approach relies on two key innovations. The first is a novel state-diff contract, which separates process from outcome - rather than fuzzy trace or parameter matching, we define task success as whether the expected change in environment state was achieved. The second is a novel sandbox built on containerized replicas of enterprise APIs, allowing all models to interact with the same service interfaces through code execution. This enables controlled evaluation against a common set of state-diff contracts while preserving the structure of real-world API interaction. Using the Agent-Diff framework, we provide benchmarks for nine LLMs across 224 tasks utilizing enterprise software workflows. In addition, we evaluate the robustness of the framework with ablation experiments to assess the contribution of access to API documentation on benchmark performance. Code and data: https://github.com/agent-diff-bench/agent-diff.

大模型代理真实接口状态差分企业应用

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。