arXivDaily arXiv每日学术速递 周一至周五更新

AI 大模型

AI Agent

智能体、工具调用、规划、工作流、多智能体和自主任务执行。

至 收录 91141 信号源:cs.AI, cs.CL, cs.LG, cs.SE
2607.04395 2026-07-07 cs.LG 新提交 94%

NKI-Agent: Domain-Specific Fine-Tuning and Agentic Tool Use for Neuron Kernel Generation

NKI-Agent:用于神经元内核生成的特定领域微调与智能体工具使用

Junjie Tang, Jun Huan, Hao Zhou, Yuhao Zhang, Lin Wang

机构 * AWS Neuron Team(亚马逊云科技神经元团队) Amazon Web Services(亚马逊云科技)

专题命中 工具调用 :agent(title,title_cn);tool use(title,abstract);agentic(title,abstract);分类 cs.LG

AI总结 针对新兴AI加速器,介绍NKI-Agent系统,结合特定领域监督微调与编译验证修复智能体循环生成NKI内核,适配框架、构建基准并评估,显示工具使用关键及不同模型表现,为强化学习奖励设计提供指导。

Comments 7 pages. Accepted at DL4C @ ICML 2026 Workshop

详情
AI中文摘要

基于大语言模型的内核生成的智能方法在CUDA上取得成果,但新兴AI加速器的自动化内核生成和优化未解决。通过神经元内核接口(NKI)为这些芯片编写内核具有挑战性,且无相关公开数据等。介绍NKI-Agent系统,评估其性能,展示工具使用的关键作用,并为基于强化学习的内核生成的奖励设计提供指导。

英文摘要

Recent agentic approaches to LLM-based kernel generation have achieved impressive results on CUDA. For emerging AI accelerators such as AWS Trainium and Inferentia, automated kernel generation and optimization remain largely unaddressed. Writing kernels for these chips via the Neuron Kernel Interface (NKI) is particularly challenging: developers must navigate a multi-engine architecture, tile-based programming, and explicit data movement across multi-level memory hierarchy. Moreover, no publicly-available training data, benchmarks, or tool-augmented agents exist for this domain. We introduce NKI-Agent, the first system combining domain-specific supervised fine-tuning (SFT) with a compile-verify-fix agent loop for NKI kernel generation. We adapt the existing CUDA-Agent framework to Neuron hardware, curate 6,000 NKI kernel generation tasks for training, and construct NKIBench, a 250-task benchmark across three difficulty levels. Evaluated on real Trn1 hardware, NKI-Agent with Claude Opus 4.8 and a rank-aware system prompt achieves a 77.3% pass rate on the 150-task NKIBench. We show that tool use is critical: Opus 4.8 scores 6% in single-shot mode without agent tools. On a 60-task subset, we show that an SFT-trained Qwen3-Coder-30B-A3B achieves 25.0% pass rate at 1/100th the cost, outperforming Claude Sonnet 4 (15.0%). We also report that Group Relative Policy Optimization (GRPO) with binary compilation reward fails to improve over SFT, providing guidance on reward design for RL-based kernel generation.

URL PDF HTML 收藏
2606.19063 2026-06-29 cs.CR 新提交 93%

PYPILINE: Malicious PyPI Package Detection via Suspicious API Knowledge and Agent Workflow

PYPILINE:通过可疑API知识和Agent工作流检测恶意PyPI包

Siyuan Pang, Yepeng Yao, Zhengwei Jiang, Zijing Fan, Haozhe Li, Baoxu Liu

专题命中 工具调用 :agent(title,title_cn);workflow(title,abstract);AI agent(abstract_cn)

AI总结 提出PYPILINE方法,结合可疑API知识库与Agent工作流,通过静态分析构建知识库并自动检测恶意PyPI包,在精度、召回率和F1分数上显著优于现有工具。

详情
AI中文摘要

恶意PyPI包的检测对于维护开源软件供应链的安全至关重要。现有方法主要依赖规则或传统机器学习,存在可解释性差且难以适应新型攻击的问题。为此,我们提出PYPILINE,一种结合可疑API知识库与Agent工作流的新型检测方法。PYPILINE首先对已知恶意包进行静态分析,提取抽象语法树并生成API调用图,从中自动提取并构建结构化的可疑API知识库。在检测阶段,利用该知识库增强推理能力。通过Agent工作流,PYPILINE对未知包进行深度语义分析,并输出结构化的、可解释的恶意性评估报告。实验结果表明,PYPILINE在精度96.7%、召回率99.6%和F1分数98.1%上显著优于现有最先进工具,其精度比基线工具高出5.7至24.2个百分点。此外,我们对恶意包进行了实证研究,系统揭示了常见的攻击策略以及最常被滥用的API。通过配备工具调用的AI Agent工作流,实现可疑API知识的自动向量数据库检索和通过邮件服务器发送分析报告,PYPILINE提供了一种实用、高效且便捷的恶意包检测解决方案,以增强开源生态系统安全。

英文摘要

Detecting malicious PyPI packages is crucial for maintaining the security of the open source software supply chain. Traditional static rule detection methods require continuous maintenance by experienced security personnel, resulting in high labor costs. Dynamic analysis methods require actual execution of the target package code, posing a risk of malicious code proliferation, and incurring significant runtime overhead and low detection efficiency. Machine learning and LLM methods iterate the detection kernel but cannot invoke multiple tools, resulting in insufficient automation.To address these issues, we propose a novel detection method called PYPILINE, which combines suspicious API knowledge and agent workflow. PYPILINE first performs static analysis on known malicious packages, extracting abstract syntax trees and generating API call graphs. From these graphs, a structured suspicious API knowledge base is extracted and constructed. In the agent workflow, PYPILINE uses RAG technology to invoke this knowledge base to enhance analytical capabilities, performing in-depth semantic analysis of the packages, outputting structured evaluation reports, and automatically sending the reports to a mail server.Experimental results show that PYPILINE achieves precision of 96.7\%, recall of 99.6\%, and F1 score of 98.1\%. F1 score is improved by 5.7 to 21.6 percentage points compared to baseline tools. When 30 threads execute concurrently, detecting a single package takes an average of only 0.6 seconds.Furthermore, we conducted a large scale empirical study of malware packages, systematically revealing common attack strategies and the most frequently abused APIs. PYPILINE provides an intelligent, efficient, and automated package detection solution, enhancing the security of the open source software ecosystem.

URL PDF HTML 收藏
2508.07575 2025-08-12 cs.AI 93%

MCPToolBench++: A Large Scale AI Agent Model Context Protocol MCP Tool Use Benchmark

Shiqing Fan, Xichen Ding, Liang Zhang, Linjian Mo

专题命中 工具调用 :agent(title,abstract);AI agent(title,abstract);tool use(title,abstract);tool-use(abstract)

Comments Benchmarks and Source Code Released

详情
英文摘要

LLMs' capabilities are enhanced by using function calls to integrate various data sources or API results into the context window. Typical tools include search, web crawlers, maps, financial data, file systems, and browser usage, etc. Integrating these data sources or functions requires a standardized method. The Model Context Protocol (MCP) provides a standardized way to supply context to LLMs. However, the evaluation of LLMs and AI Agents' MCP tool use abilities suffer from several issues. First, there's a lack of comprehensive datasets or benchmarks to evaluate various MCP tools. Second, the diverse formats of response from MCP tool call execution further increase the difficulty of evaluation. Additionally, unlike existing tool-use benchmarks with high success rates in functions like programming and math functions, the success rate of real-world MCP tool is not guaranteed and varies across different MCP servers. Furthermore, the LLMs' context window also limits the number of available tools that can be called in a single run, because the textual descriptions of tool and the parameters have long token length for an LLM to process all at once. To help address the challenges of evaluating LLMs' performance on calling MCP tools, we propose MCPToolBench++, a large-scale, multi-domain AI Agent tool use benchmark. As of July 2025, this benchmark is build upon marketplace of over 4k MCP servers from more than 40 categories, collected from the MCP marketplaces and GitHub communities. The datasets consist of both single-step and multi-step tool calls across different categories. We evaluated SOTA LLMs with agentic abilities on this benchmark and reported the results.

URL PDF HTML 收藏
2606.30464 2026-06-30 cond-mat.str-el cond-mat.dis-nn physics.comp-ph 92%

NQS-Agent: Health-Aware Agentic Hyperparameter Optimization for Neural-Network Quantum States

NQS-Agent: 面向神经网络量子态的健康感知智能超参数优化

Jia-Qi Wang, Xiao-Qi Han, Ze-Feng Gao, Rong-Qiang He, Zhong-Yi Lu

专题命中 工具调用 :agent(title,title_cn);agentic(title);workflow(abstract)

AI总结 提出NQS-Agent框架,通过监测能量轨迹、检测破坏性事件、调整学习率并恢复优化,实现健康感知超参数优化,在J1-J2模型上提升精度并发现新架构。

Comments 11 pages, 5 figures, 3 tables

详情
AI中文摘要

神经网络量子态(NQS)为强关联量子多体系统提供了表达力强的变分表示,但其实际精度敏感地依赖于架构级超参数和优化调度。本文开发了NQS-Agent,一个已实现的开源软件框架,用于NQS计算中的健康感知超参数优化(HPO)。其工作流程监测能量轨迹、检测破坏性优化事件、停止不稳定计算、修改学习率调度、从安全检查点恢复优化,并使用异常感知分数对候选者进行排名。我们在方格子Heisenberg $J_1$-$J_2$模型上展示了该方法,使用参数数量与aCNN(本文用作参考的卷积NQS架构)相当的残差卷积NQS。结果表明,对于aCNN参考架构,NQS-Agent改进了已报道的人工调优aCNN基线,并在参数数量匹配的残差CNN搜索空间中识别出一个结构不同的宽而浅的竞争候选者。这些结果表明,在评估NQS结果时,应考虑优化轨迹的稳定性和恢复历史。因此,健康感知HPO提供了一种可重复的调优协议,超越了选择单一最低能量计算。

英文摘要

Neural-network quantum states (NQS) provide expressive variational representations for strongly correlated quantum many-body systems, but their practical accuracy depends sensitively on architecture-level hyperparameters and optimization schedules. Here we develop NQS-Agent, an implemented open-source software framework for health-aware hyperparameter optimization (HPO) in NQS calculations. Its workflow monitors energy trajectories, detects destructive optimization events, stops unstable calculations, modifies the learning-rate schedule, resumes optimization from safe checkpoints, and ranks candidates with an anomaly-aware score. We demonstrate the approach on a residual convolutional NQS for the square-lattice Heisenberg $J_1$-$J_2$ model, using architectures with parameter counts comparable to aCNN, a convolutional NQS architecture used here as a reference. The results show that NQS-Agent improves over the reported human-tuned aCNN baseline for the aCNN reference architecture and identifies a structurally distinct wide-and-shallow competitive candidate within the parameter-count-matched residual-CNN search space. These results show that the stability and recovery history of an optimization trajectory should be considered when assessing an NQS result. Health-aware HPO therefore provides a reproducible tuning protocol that goes beyond selecting a single lowest-energy calculation.

URL PDF HTML 收藏
2606.31229 2026-07-01 cs.AI 新提交 92%

Agentic-Ideation: Sample Efficient Agentic Trajectories Synthesis for Scientific Ideation Agents

Agentic-Ideation: 面向科学构思智能体的样本高效智能体轨迹合成

Keyu Zhao, Lingyan Kong, Fengli Xu, Yong Li

机构 * Department of Electronic Engineering, Tsinghua University(清华大学电子工程系)

专题命中 工具调用 :agentic(title,title_cn);agent(abstract);workflow(abstract);multi-agent(abstract)

AI总结 提出Agentic-Ideation框架,通过Oracle引导的数据合成策略和掩码训练,高效生成高质量智能体轨迹,在科学构思任务上整体质量提升11.91%,数据合成效率提高10倍以上。

详情
AI中文摘要

构思在科学发现中起着关键作用。最近的LLM,特别是AI科学家系统,显示出自动化构思的潜力。然而,现有方法主要依赖预定义的智能体工作流,这严重限制了探索科学文献广阔搜索空间和研究推理复杂动作空间所需的灵活性。最近,训练智能体LLM成为一个有前景的方向,提供了灵活的推理框架和自主工具使用能力。然而,仍存在一个重大挑战:将先前的智能体数据合成方法应用于科学构思时,数据合成成本过高。为弥补这一差距,我们提出Agentic-Ideation,一个包含自动化轨迹合成流水线和专为科学构思训练的智能体LLM的新框架。具体来说,我们首先定义了一个包含三个外部工具和三个认知工具的综合工具空间。然后引入了一种Oracle引导的数据合成策略。通过利用参考想法作为Oracle引导,该方法引导多智能体系统高效重建逻辑推理和工具调用路径,将盲目的试错转化为有导向的轨迹生成。最后,我们在这些合成轨迹上训练智能体,并对工具执行结果采用掩码策略,确保模型专注于决策逻辑而不受外部反馈干扰。实验结果表明,我们的方法在整体质量上比最先进的基于工作流的基线高出\textbf{11.91\%}。此外,我们的方法将高质量数据合成的样本效率提高了\textbf{10倍以上}。

英文摘要

Ideation plays a pivotal role in scientific discovery. Recent LLM, especially AI Scientist systems, show promising potential for automated ideation. However, existing approaches predominantly rely on pre-defined agentic workflows. This constraint severely limits the flexibility required to navigate the vast search space of scientific literature and the complex action space of research reasoning. Recently, training Agentic LLMs has emerged as a promising direction, offering flexible reasoning frameworks and the capability for autonomous tool utilization. However, there remains a non-trivial challenge: applying previous agentic data synthesis methods to scientific ideation suffers from prohibitively high data synthesis cost. To bridge this gap, we propose Agentic-Ideation, a novel framework comprising an automated trajectory synthesis pipeline and a specialized agentic LLM trained for scientific ideation. Specifically, we first define a comprehensive tool space incorporating three external tools and three cognitive tools. Then we introduce an Oracle-Guided Data Synthesis strategy. By leveraging a reference idea as oracle guidance, this approach steers the multi-agent system to efficiently reconstruct the logical reasoning and tool invocation paths, transforming aimless trial-and-error into directed trajectory generation. Finally, we train the agent on these synthesized trajectories, employing a masking strategy on tool execution results. This ensures the model focuses on decision-making logic without interference from external feedback. Experimental results demonstrate that our method outperforms the SOTA workflow-based baseline by \textbf{11.91\%} in overall quality. Furthermore, our approach improves the sample efficiency of high-quality data synthesis by \textbf{over 10$\times$}.

URL PDF HTML 收藏
2601.04703 2026-01-09 cs.AI 92%

Beyond Monolithic Architectures: A Multi-Agent Search and Knowledge Optimization Framework for Agentic Search

超越单一架构:一种多智能体搜索与知识优化框架用于智能搜索

Yiqun Chen, Lingyong Yan, Zixuan Yang, Erhan Zhang, Jiashu Zhao, Shuaiqiang Wang, Dawei Yin, Jiaxin Mao

机构 * Renmin University of China(中国人民大学) Baidu Inc.(百度公司)

专题命中 工具调用 :agent(title,abstract);agentic(title,abstract);multi-agent(title,abstract);tool use(abstract)

AI总结 M-ASK提出了一种多智能体框架,通过分解智能搜索为搜索行为和知识管理两个角色,提升搜索效率与稳定性,实现更优的答案准确性和训练动态。

详情
AI中文摘要

智能搜索已成为通过使大型语言模型(LLMs)能够将推理与工具使用交织起来来处理复杂信息检索的一种有前途的范式。然而,现有的系统依赖于单一智能体,这些智能体存在结构性瓶颈,包括无约束的推理输出导致轨迹膨胀,稀疏的层次奖励使得信用分配复杂化,以及随机搜索噪声使学习不稳定。为了解决这些挑战,我们提出了M-ASK(多智能体搜索与知识)框架,该框架明确地将智能搜索分解为两个互补的角色:搜索行为智能体,负责计划和执行搜索动作,以及知识管理智能体,负责聚合、过滤和维护一个紧凑的内部上下文。这种分解使每个智能体能够专注于一个明确的子任务,并减少搜索与上下文构建之间的干扰。此外,为了实现稳定的协调,M-ASK采用回合级奖励,为搜索决策和知识更新提供细粒度的监督。在多跳问答基准测试中的实验表明,M-ASK优于强大的基线,不仅在答案准确性上更优,而且训练动态也更加稳定。\footnote{M-ASK的源代码可在https://github.com/chenyiqun/M-ASK上获得。}

英文摘要

Agentic search has emerged as a promising paradigm for complex information seeking by enabling Large Language Models (LLMs) to interleave reasoning with tool use. However, prevailing systems rely on monolithic agents that suffer from structural bottlenecks, including unconstrained reasoning outputs that inflate trajectories, sparse outcome-level rewards that complicate credit assignment, and stochastic search noise that destabilizes learning. To address these challenges, we propose \textbf{M-ASK} (Multi-Agent Search and Knowledge), a framework that explicitly decouples agentic search into two complementary roles: Search Behavior Agents, which plan and execute search actions, and Knowledge Management Agents, which aggregate, filter, and maintain a compact internal context. This decomposition allows each agent to focus on a well-defined subtask and reduces interference between search and context construction. Furthermore, to enable stable coordination, M-ASK employs turn-level rewards to provide granular supervision for both search decisions and knowledge updates. Experiments on multi-hop QA benchmarks demonstrate that M-ASK outperforms strong baselines, achieving not only superior answer accuracy but also significantly more stable training dynamics.\footnote{The source code for M-ASK is available at https://github.com/chenyiqun/M-ASK.}

URL PDF HTML 收藏
2605.10555 2026-05-12 cs.AI 92%

Agent-First Tool API: A Semantic Interface Paradigm for Enterprise AI Agent Systems

代理优先工具API:面向企业AI代理系统的语义接口范式

Kai Pan

机构 * A2A Lab(A2A实验室)

专题命中 工具调用 :agent(title,summary_cn);AI agent(title,abstract);autonomous agent(abstract);分类 cs.AI

AI总结 本文提出Agent-First Tool API范式,通过六动词语义协议、标准化工具合同和双层治理管道,解决传统API与自主代理需求的五大匹配问题,实验证明其在任务成功率、人工干预和自主纠错方面显著优于传统CRUD方法。

详情
AI中文摘要

随着AI代理从研究原型转向企业生产系统,其消耗的工具接口仍局限于面向人类的CRUD范式。本文识别出传统API与自主代理需求之间的五个根本性架构不匹配:精确标识依赖、以渲染为导向的响应、单次交互假设、用户等效授权和不透明的错误语义。我们提出Agent-First Tool API范式,包含三个集成机制:(1) 六动词语义协议,将工具交互分解为搜索、解析、预览、执行、验证和恢复阶段;(2) 标准化工具合同(NTC),提供结构化的决策支持元数据,包括置信度分数、证据链和建议的下一步操作;(3) 双层治理管道,结合静态能力策略与动态风险升级。该范式在生产多租户SaaS平台中实现并验证,该平台服务于6个业务领域中的85个注册工具。在50个真实运营任务的比较实验中,Agent-First API实现88%的端到端任务成功率,优于优化的CRUD基线64%(+37.5%),同时将所需的人工干预减少72.7%,并提高自主纠错能力5.8倍。我们证明该范式与传输层标准如MCP正交且互补,作为现有工具发现和调用协议上的语义应用层运作。

英文摘要

As AI agents transition from research prototypes to enterprise production systems, the tool interfaces they consume remain rooted in human-oriented CRUD paradigms. This paper identifies five fundamental architectural mismatches between conventional APIs and autonomous agent requirements: exact-identifier dependence, rendering-oriented responses, single-shot interaction assumptions, user-equivalent authorization, and opaque error semantics. We propose the Agent-First Tool API paradigm, comprising three integrated mechanisms: (1) a Six-Verb Semantic Protocol that decomposes tool interactions into search, resolve, preview, execute, verify, and recover phases; (2) a Normalized Tool Contract (NTC) providing structured decision-support metadata including confidence scores, evidence chains, and suggested next actions; and (3) a dual-layer governance pipeline combining static capability policies with dynamic risk escalation. The paradigm is implemented and validated in a production multi-tenant SaaS platform serving 85 registered tools across 6 business domains. Comparative experiments on 50 real operational tasks demonstrate that Agent-First APIs achieve 88% end-to-end task success rate versus 64% for optimized CRUD baselines (+37.5%), while reducing required human interventions by 72.7% and improving autonomous error recovery by 5.8x. We establish that the paradigm is orthogonal and complementary to transport-layer standards such as MCP, operating as the semantic application layer above existing tool discovery and invocation protocols.

URL PDF HTML 收藏
2510.01279 2025-10-03 cs.CL cs.AI 92%

TUMIX: Multi-Agent Test-Time Scaling with Tool-Use Mixture

Yongchao Chen, Jiefeng Chen, Rui Meng, Ji Yin, Na Li, Chuchu Fan, Chi Wang, Tomas Pfister, Jinsung Yoon

机构 * MIT Harvard(麻省理工学院哈佛大学) Google Cloud AI Research(谷歌云人工智能研究) Google DeepMind(谷歌DeepMind) MIT(麻省理工学院)

专题命中 工具调用 :agent(title,abstract);tool-use(title,abstract);multi-agent(title);tool use(abstract)

Comments 27 pages, 13 figures

详情
英文摘要

While integrating tools like Code Interpreter and Search has significantly enhanced Large Language Model (LLM) reasoning in models like ChatGPT Agent and Gemini-Pro, practical guidance on optimal tool use is lacking. The core challenge is effectively combining textual reasoning, coding, and search for diverse questions. In this paper, we propose Tool-Use Mixture (TUMIX), an ensemble framework that runs multiple agents in parallel, each employing distinct tool-use strategies and answer paths. Agents in TUMIX iteratively share and refine responses based on the question and previous answers. In experiments, TUMIX achieves significant gains over state-of-the-art tool-augmented and test-time scaling methods, delivering an average accuracy improvement of up to 3.55% over the best baseline on Gemini-2.5-Pro and Gemini-2.5-Flash across key reasoning benchmarks, with near-equal inference costs. We find that agent diversity and quality are crucial and can be enhanced by using LLMs to auto-optimize agent designs. Furthermore, TUMIX can halt refinement upon reaching sufficient confidence, preserving performance at only 49% of the inference cost. Further scaling can achieve higher performance, albeit at a greater cost.

URL PDF HTML 收藏
2604.08388 2026-04-10 cs.AI 92%

Awakening the Sleeping Agent: Lean-Specific Agentic Data Reactivates General Tool Use in Goedel Prover

唤醒沉睡的代理:轻量级特定代理数据在Goedel证明器中重新激活通用工具使用

Jui-Hui Chung, Hongzhou Lin, Lai Jiang, Shange Tang, Chi Jin

机构 * Princeton Language and Intelligence(普林斯顿语言与智能) Amazon(亚马逊) Department of Computer Science, University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校计算机科学系)

专题命中 工具调用 :agentic(title,abstract);agent(title);tool use(title);tool-use(abstract)

AI总结 研究发现,过度监督微调会抑制基础模型的通用工具使用能力,但通过少量特定领域代理数据可恢复。

详情
AI中文摘要

在目标领域上进行大量监督微调会强烈抑制基础模型中原本存在的能力。我们利用Goedel-Prover-V2,一个在180万正式数学示例上大量训练的开源模型,研究这一现象。在领域专业化后,模型几乎完全丧失生成有效工具调用的能力,即使被明确指示使用工具,其函数调用准确率也从基础模型的89.4%降至几乎0%。我们问这种代理崩溃是否永久或可逆。为此,我们对专业化模型进行少量轻量级特定工具使用数据的微调。令人惊讶的是,仅需100个代理轨迹即可恢复强大的工具调用行为。重要的是,这种恢复并非奖励黑客或基准特定优化的结果:恢复数据完全来自Lean环境,其中模型使用自然语言查询搜索Mathlib库以查找相关定理和引理,但恢复的能力超越了该领域。特别是,这些相同的100个Lean特定轨迹将伯克利函数调用排行榜的表现从接近零提升到83.8%,接近基础模型的89.4%,尽管任务分布和协议存在不匹配。恢复的能力在域内也具有实际用处。在ProofNet上,pass@32从21.51%提升到25.81%。这些结果表明,大量领域监督微调可以抑制通用工具使用能力,但不会永久消除它,并且少量领域特定代理数据可以唤醒沉睡的工具使用能力。

英文摘要

Heavy supervised fine-tuning on a target domain can strongly suppress capabilities that were present in the base model. We study this phenomenon in formal mathematics using Goedel-Prover-V2, an open-source model heavily trained on 1.8 million formal-math examples. After domain specialization, the model almost completely loses its ability to produce valid tool calls, even when explicitly instructed to use tools, dropping from 89.4% function-calling accuracy in the base model to nearly 0%. We ask whether this agentic collapse is permanent or instead reversible. To answer this question, we fine-tune the specialized model on a small amount of Lean-specific tool-use data. Remarkably, as few as 100 agentic traces are sufficient to restore strong tool-calling behavior. Importantly, this recovery is not the result of reward hacking or benchmark-specific optimization: the recovery data is entirely drawn from the Lean setting, where the model uses natural-language queries to search the Mathlib library for relevant theorems and lemmas, yet the regained capability transfers well beyond that domain. In particular, these same 100 Lean-specific traces improve performance on the Berkeley Function Calling Leaderboard from near zero to 83.8%, approaching the base model's 89.4% despite the mismatch in task distribution and protocol. The recovered capability is also practically useful in-domain. On ProofNet, pass@32 improves from 21.51% to 25.81%. Together, these results show that heavy domain supervised fine-tuning can suppress general tool-use ability without permanently erasing it, and that a small amount of domain-specific agentic data can awaken dormant tool-use capabilities.

URL PDF HTML 收藏
2512.23611 2025-12-30 cs.CL 92%

Close the Loop: Synthesizing Infinite Tool-Use Data via Multi-Agent Role-Playing

闭环:通过多智能体角色扮演合成无限工具使用数据

Yuwen Li, Wei Zhang, Zelong Huang, Mason Yang, Jiajun Wu, Shawn Guo, Huahao Hu, Lingyi Sun, Jian Yang, Mingjie Tang, Byran Dai

机构 * Sichuan University(四川大学) Beihang University(北航) IQuest Research(IQuest研究院)

专题命中 工具调用 :agent(title,abstract);multi-agent(title,abstract);tool-use(title);autonomous agent(abstract)

AI总结 InfTool通过多智能体角色扮演自动生成无限工具使用数据,显著提升大语言模型的调用准确性,无需人工标注。

详情
AI中文摘要

使大型语言模型(LLMs)可靠地调用外部工具仍然是自主代理的关键瓶颈。现有方法面临三个根本性挑战:高质量轨迹的昂贵人工标注、对未见工具的泛化能力差,以及单模型合成固有的质量上限,导致偏见和覆盖范围的缺口。我们引入了InfTool,一个完全自动的框架,通过自我进化多智能体合成打破这些障碍。仅给定原始API规范,InfTool协调三个协作智能体(用户模拟器、工具调用助手和MCP服务器)生成多样化的、经过验证的轨迹,涵盖单轮调用到复杂多步骤工作流。该框架建立了闭环:合成的数据通过分组相对策略优化(GRPO)训练模型,带有门控奖励,改进的模型生成更高质量的数据以弥补能力缺口,这个循环无需人工干预。在伯克利功能调用排行榜(BFCL)上的实验表明,InfTool将基础32B模型的准确性从19.8%提升到70.9%(+258%),超越了10倍大的模型,与Claude-Opus相当,并且完全基于合成数据而无需人工标注。

英文摘要

Enabling Large Language Models (LLMs) to reliably invoke external tools remains a critical bottleneck for autonomous agents. Existing approaches suffer from three fundamental challenges: expensive human annotation for high-quality trajectories, poor generalization to unseen tools, and quality ceilings inherent in single-model synthesis that perpetuate biases and coverage gaps. We introduce InfTool, a fully autonomous framework that breaks these barriers through self-evolving multi-agent synthesis. Given only raw API specifications, InfTool orchestrates three collaborative agents (User Simulator, Tool-Calling Assistant, and MCP Server) to generate diverse, verified trajectories spanning single-turn calls to complex multi-step workflows. The framework establishes a closed loop: synthesized data trains the model via Group Relative Policy Optimization (GRPO) with gated rewards, the improved model generates higher-quality data targeting capability gaps, and this cycle iterates without human intervention. Experiments on the Berkeley Function-Calling Leaderboard (BFCL) demonstrate that InfTool transforms a base 32B model from 19.8% to 70.9% accuracy (+258%), surpassing models 10x larger and rivaling Claude-Opus, and entirely from synthetic data without human annotation.

URL PDF HTML 收藏
2511.06142 2025-11-11 cs.AI 92%

MALinZero: Efficient Low-Dimensional Search for Mastering Complex Multi-Agent Planning

Sizhe Tang, Jiayu Chen, Tian Lan

机构 * The George Washington University(乔治·华盛顿大学) Carnegie Mellon University(卡内基梅隆大学)

专题命中 工具调用 :agent(title,abstract);planning(title,abstract);multi-agent(title,abstract);分类 cs.AI

详情
英文摘要

Monte Carlo Tree Search (MCTS), which leverages Upper Confidence Bound for Trees (UCTs) to balance exploration and exploitation through randomized sampling, is instrumental to solving complex planning problems. However, for multi-agent planning, MCTS is confronted with a large combinatorial action space that often grows exponentially with the number of agents. As a result, the branching factor of MCTS during tree expansion also increases exponentially, making it very difficult to efficiently explore and exploit during tree search. To this end, we propose MALinZero, a new approach to leverage low-dimensional representational structures on joint-action returns and enable efficient MCTS in complex multi-agent planning. Our solution can be viewed as projecting the joint-action returns into the low-dimensional space representable using a contextual linear bandit problem formulation. We solve the contextual linear bandit problem with convex and $μ$-smooth loss functions -- in order to place more importance on better joint actions and mitigate potential representational limitations -- and derive a linear Upper Confidence Bound applied to trees (LinUCT) to enable novel multi-agent exploration and exploitation in the low-dimensional space. We analyze the regret of MALinZero for low-dimensional reward functions and propose an $(1-\tfrac1e)$-approximation algorithm for the joint action selection by maximizing a sub-modular objective. MALinZero demonstrates state-of-the-art performance on multi-agent benchmarks such as matrix games, SMAC, and SMACv2, outperforming both model-based and model-free multi-agent reinforcement learning baselines with faster learning speed and better performance.

URL PDF HTML 收藏
2508.18669 2025-08-27 cs.AI 92%

MUA-RL: Multi-turn User-interacting Agent Reinforcement Learning for agentic tool use

Weikang Zhao, Xili Wang, Chengdi Ma, Lingbin Kong, Zhaohua Yang, Mingxiang Tuo, Xiaowei Shi, Yitao Zhai, Xunliang Cai

专题命中 工具调用 :agent(title,abstract);tool use(title,abstract);agentic(title,abstract);分类 cs.AI

详情
英文摘要

With the recent rapid advancement of Agentic Intelligence, agentic tool use in LLMs has become increasingly important. During multi-turn interactions between agents and users, the dynamic, uncertain, and stochastic nature of user demands poses significant challenges to the agent's tool invocation capabilities. Agents are no longer expected to simply call tools to deliver a result; rather, they must iteratively refine their understanding of user needs through communication while simultaneously invoking tools to resolve user queries. Existing reinforcement learning (RL) approaches for tool use lack the integration of genuinely dynamic users during the RL training process. To bridge this gap, we introduce MUA-RL (Multi-turn User-interacting Agent Reinforcement Learning for agentic tool use), a novel reinforcement learning framework that, for the first time in the field of agentic tool use, integrates LLM-simulated users into the reinforcement learning loop. MUA-RL aims to enable autonomous learning of models to communicate with users efficiently and use various tools to solve practical problems in dynamic multi-turn interactions. Evaluations are done on several multi-turn tool-using benchmarks (see Figure 1). Specifically, MUA-RL-32B achieves 67.3 on TAU2 Retail, 45.4 on TAU2 Airline, 28.3 on TAU2 Telecom, 28.4 on BFCL-V3 Multi Turn, and 82.5 on ACEBench Agent -- outperforming or matching the performance of larger open-source models such as DeepSeek-V3-0324 and Qwen3-235B-A22B in non-thinking settings.

URL PDF HTML 收藏
2007.01334 2020-07-06 math.OC cs.AI cs.SY eess.SY 92%

Multi-agent Planning for thermalling gliders using multi level graph-search

Muhammad Aneeq uz Zaman, Aamer Iqbal Bhatti

专题命中 工具调用 :agent(title,abstract);planning(title,abstract);multi-agent(title,abstract);分类 cs.AI

详情
英文摘要

This paper solves a path planning problem for a group of gliders. The gliders are tasked with visiting a set of interest points. The gliders have limited range but are able to increase their range by visiting special points called thermals. The problem addressed in this paper is of path planning for the gliders such that, the total number of interest points visited by the gliders is maximized. This is referred to as the multi-agent problem. The problem is solved by first decomposing it into several single-agent problems. In a single-agent problem a set of interest points are allocated to a single glider. This problem is solved by planning a path which maximizes the number of visited interest points from the allocated set. This is achieved through a uniform cost graph search, as shown in our earlier work. The multi-agent problem now consists of determining the best allocation (of interest points) for each glider. Two ways are presented of solving this problem, a brute force search approach as shown in earlier work and a Branch\&Bound type graph search. The Branch&Bound approach is the main contribution of the paper. This approach is proven to be optimal and shown to be faster than the brute force search using simulations.

URL PDF HTML 收藏
2603.14332 2026-03-23 cs.CR 91%

Governing Dynamic Capabilities: Cryptographic Binding and Reproducibility Verification for AI Agent Tool Use

动态能力治理:用于AI代理工具使用的加密绑定与可重复性验证

Ziling Zhou

专题命中 工具调用 :agent(title,abstract);AI agent(title,abstract);tool use(title);multi-agent(abstract)

AI总结 本文提出三种代理治理要求,通过加密绑定和可重复性验证解决AI代理动态能力验证问题,证明两个结构定理并验证两种加密方案,展示低开销和高安全性。

Comments 23 pages, 5 figures, 18 tables. Includes 11 experiments, 9 formal security properties, and appendix with proofs

详情
AI中文摘要

AI代理动态获取工具、协调子代理并跨组织边界交易,但现有安全层无法验证代理能做什么、是否执行所声称的行为或多代理交互详情。我们追溯这一差距到能力-上下文分离:在transformer中,工具定义和用户上下文是不可区分的标记,但协调层上它们有根本不同的安全语义。现有框架将两者混为一谈,导致静默能力升级并使交互缺乏可验证的来源。从这一原则我们推导出三种代理治理要求:能力完整性(G1)、行为可验证性(G2)和交互审计性(G3),定义受监管代理生态系统必须强制执行的内容,无论采用何种方法。我们证明两个结构结果:链式可验证定理(一个不可验证的内部代理破坏所有下游节点的端到端验证)和有界发散定理(基于回放的验证产生一个概率安全证书,epsilon <= 1 - alpha^{1/n})。我们通过两种加密无关的实例验证——基本(Ed25519,SHA-256;97 us验证)和增强(BBS+选择性披露,Groth16 DV-SNARK;13.8 ms)——两者均满足九项安全属性。可重复性研究(9个模型,7个供应商)揭示了5.8倍的推理确定性差异,将模型特性与治理架构联系起来。端到端评估5-20个代理管道确认<0.02%的开销,并检测所有攻击场景,零误报。

英文摘要

AI agents dynamically acquire tools, orchestrate sub-agents, and transact across organizational boundaries, yet no existing security layer verifies what an agent can do, whether it executed what it claims, or what happened in a multi-agent interaction. We trace this gap to the capability-context separation: inside a transformer, tool definitions and user context are indistinguishable tokens, but at the orchestration layer they have fundamentally different security semantics. Existing frameworks conflate the two, enabling silent capability escalation and leaving interactions without verifiable provenance. From this principle we derive three Agent Governance Requirements: capability integrity (G1), behavioral verifiability (G2), and interaction auditability (G3), defining what a governed agent ecosystem must enforce, independent of how. We prove two structural results: the Chain Verifiability Theorem (one unverifiable interior agent breaks end-to-end verification for all downstream nodes) and the Bounded Divergence Theorem (replay-based verification yields a probabilistic safety certificate, epsilon <= 1 - alpha^{1/n}). We validate with two crypto-agnostic instantiations -- basic (Ed25519, SHA-256; 97 us verify) and enhanced (BBS+ selective disclosure, Groth16 DV-SNARK; 13.8 ms) -- both satisfying nine security properties. A reproducibility study (9 models, 7 providers) reveals 5.8x variance in inference determinism, connecting model characteristics to governance architecture. End-to-end evaluation over 5-20 agent pipelines confirms <0.02% overhead and detection of all attack scenarios with zero false positives.

URL PDF HTML 收藏
2510.00425 2026-03-06 cs.MA cs.RO 91%

Conflict-Based Search as a Protocol: A Multi-Agent Motion Planning Protocol for Heterogeneous Agents, Solvers, and Independent Tasks

基于冲突的搜索作为协议:一种多智能体运动规划协议用于异构智能体、求解器和独立任务

Rishi Veerapaneni, Alvin Tang, Haodong He, Sophia Zhao, Viraj Shah, Yidai Cen, Ziteng Ji, Gabriel Olin, Jon Arrizabalaga, Yorai Shaoul, Jiaoyang Li, Maxim Likhachev

机构 * Carnegie Mellon University(卡内基梅隆大学) Tongji University(同济大学) UC Berkeley(伯克利大学)

专题命中 工具调用 :agent(title,abstract);planning(title,abstract);multi-agent(title,abstract)

AI总结 本文提出了一种基于冲突的搜索协议,用于异构智能体的多智能体运动规划,利用多种单智能体规划算法实现无碰撞路径规划。

Comments Published at ICRA 2026, Project webpage: https://rishi-v.github.io/CBS-Protocol/

详情
AI中文摘要

想象一下未来施工现场、医院或办公室中,有数十台来自不同制造商的机器人。如何使这些不同机器人在共享环境中有效移动,考虑到每个机器人可能有自己的独立运动规划系统?本文展示了如何通过使用基于冲突的搜索(Sharon等人,2015)作为协议,实现算法异构智能体之间的高效无碰撞运动。在核心,CBS协议要求一个特定的单智能体运动规划API;找到满足一定空间时间约束的无碰撞路径。给定这样的API,CBS使用一个中央规划器来寻找无碰撞路径——无论API是如何实现的。我们展示了该协议如何使异构智能体团队完成独立任务时进行多智能体运动规划,其中包括各种单智能体规划器,如启发式搜索(例如A*)、基于采样的搜索(例如RRT)、优化(例如直接配准)、扩散和强化学习。

英文摘要

Imagine the future construction site, hospital, or office with dozens of robots bought from different manufacturers. How can we enable these different robots to effectively move in a shared environment, given that each robot may have its own independent motion planning system? This work shows how we can get efficient collision-free movements between algorithmically heterogeneous agents by using Conflict-Based Search (Sharon et al. 2015) as a protocol. At its core, the CBS Protocol requires one specific single-agent motion planning API; finding a collision-free path that satisfies certain space-time constraints. Given such an API, CBS uses a central planner to find collision-free paths - independent of how the API is implemented. We demonstrate how this protocol enables multi-agent motion planning for a heterogeneous team of agents completing independent tasks with a variety of single-agent planners including: Heuristic Search (e.g., A*), Sampling Based Search (e.g., RRT), Optimization (e.g., Direct Collocation), Diffusion, and Reinforcement Learning.

URL PDF HTML 收藏
2508.17281 2026-01-21 cs.CL 91%

From Language to Action: A Review of Large Language Models as Autonomous Agents and Tool Users

从语言到行动:大型语言模型作为自主代理和工具使用者的综述

Sadia Sultana Chowa, Riasad Alvi, Subhey Sadi Rahman, Md Abdur Rahman, Mohaimenul Azam Khan Raiaan, Md Rafiqul Islam, Mukhtar Hussain, Sami Azam

机构 * Department of Computer Science and Engineering(计算机科学与工程系) Faculty of Science and Technology(科学与技术学院)

专题命中 工具调用 :autonomous agent(title,abstract);tool use(title,abstract);agent(abstract);planning(abstract)

AI总结 本文综述了大型语言模型作为自主代理和工具使用者的发展,探讨了其架构设计、认知机制及未来研究方向。

Comments Submitted to Artificial Intelligence Review for peer review

Journal ref Artif. Intell. Rev. (2026)

详情
AI中文摘要

追求人类水平的人工智能(AI)显著推动了自主代理和大型语言模型(LLM)的发展。LLM现在被广泛用作决策代理,因其能够解释指令、管理顺序任务并通过反馈进行适应。本文综述了最近在将LLM作为自主代理和工具使用者进行应用的发展,并包含七个研究问题。我们只使用了2023年至2025年间发表在A*和A等级会议及Q1期刊上的论文。对LLM代理的架构设计原则进行了结构化分析,将其应用分为单代理和多代理系统,并讨论了整合外部工具的策略。此外,还研究了LLM的认知机制,包括推理、规划和记忆,以及提示方法和微调程序对代理性能的影响。此外,我们评估了当前的基准和评估协议,并提供了对68个公开可用数据集的分析,以评估LLM代理在各种任务中的性能。在进行此次综述时,我们识别了关于LLM可验证推理、自我改进能力以及LLM代理个性化方面的关键发现。最后,我们讨论了十个未来研究方向以克服这些差距。

英文摘要

The pursuit of human-level artificial intelligence (AI) has significantly advanced the development of autonomous agents and Large Language Models (LLMs). LLMs are now widely utilized as decision-making agents for their ability to interpret instructions, manage sequential tasks, and adapt through feedback. This review examines recent developments in employing LLMs as autonomous agents and tool users and comprises seven research questions. We only used the papers published between 2023 and 2025 in conferences of the A* and A rank and Q1 journals. A structured analysis of the LLM agents' architectural design principles, dividing their applications into single-agent and multi-agent systems, and strategies for integrating external tools is presented. In addition, the cognitive mechanisms of LLM, including reasoning, planning, and memory, and the impact of prompting methods and fine-tuning procedures on agent performance are also investigated. Furthermore, we evaluated current benchmarks and assessment protocols and have provided an analysis of 68 publicly available datasets to assess the performance of LLM-based agents in various tasks. In conducting this review, we have identified critical findings on verifiable reasoning of LLMs, the capacity for self-improvement, and the personalization of LLM-based agents. Finally, we have discussed ten future research directions to overcome these gaps.

URL PDF HTML 收藏
2602.11224 2026-04-29 cs.SE cs.CL 91%

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

Agent-Diff:通过代码执行基于状态差的评估来基准测试LLM代理在企业API任务上的表现

Hubert M. Pysklo, Artem Zhuravel, Patrick D. Watson

机构 * Minerva University(Minerva大学)

专题命中 工具调用 :agent(title,title_cn);agentic(abstract);分类 cs.CL、cs.SE

AI总结 本文提出Agent-Diff框架,通过代码执行和基于状态差的评估,评估LLM代理在企业API任务中的性能,提供了九个LLM在224个任务上的基准测试,并通过消融实验评估框架的鲁棒性。

Comments Pre-Print. Under review for KDD 2026

详情
AI中文摘要

我们提出了Agent-Diff,一种新颖的基准测试框架,用于通过代码执行评估代理式大语言模型(LLM)在真实世界生产力软件API任务上的表现。代理式LLM的性能因模型差异、外部工具访问、提示结构和代理框架而异。基准测试必须在受控的沙盒方法和更生态有效的实际服务方法之间做出根本性权衡。Agent-Diff试图通过提供对真实API接口的访问同时沙盒化调用、处理和评估的环境来结合这两种方法的有利特征。这种方法依赖于两个关键创新。第一个是新颖的状态差合同,它将过程与结果分开——而不是模糊轨迹或参数匹配,我们定义任务成功为是否实现了预期的环境状态变化。第二个是基于容器化企业API副本的新型沙盒,允许所有模型通过代码执行交互相同的API接口。这使能够针对共同的状态差合同进行受控评估,同时保留现实世界API交互的结构。使用Agent-Diff框架,我们为九个LLM提供了224个任务的基准测试,利用企业软件工作流。此外,我们通过消融实验评估框架的鲁棒性,以评估对API文档访问的贡献。代码和数据:https://github.com/agent-diff-bench/agent-diff.

英文摘要

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.

URL PDF HTML 收藏
2409.03215 2024-09-06 cs.CL cs.AI cs.LG 91%

xLAM: A Family of Large Action Models to Empower AI Agent Systems

Jianguo Zhang, Tian Lan, Ming Zhu, Zuxin Liu, Thai Hoang, Shirley Kokane, Weiran Yao, Juntao Tan, Akshara Prabhakar, Haolin Chen, Zhiwei Liu, Yihao Feng, Tulika Awalgaonkar, Rithesh Murthy, Eric Hu, Zeyuan Chen, Ran Xu, Juan Carlos Niebles, Shelby Heinecke, Huan Wang, Silvio Savarese, Caiming Xiong

专题命中 工具调用 :agent(title,abstract);AI agent(title,abstract);autonomous agent(abstract);tool use(abstract)

Comments Technical report for the Salesforce xLAM model series

详情
英文摘要

Autonomous agents powered by large language models (LLMs) have attracted significant research interest. However, the open-source community faces many challenges in developing specialized models for agent tasks, driven by the scarcity of high-quality agent datasets and the absence of standard protocols in this area. We introduce and publicly release xLAM, a series of large action models designed for AI agent tasks. The xLAM series includes five models with both dense and mixture-of-expert architectures, ranging from 1B to 8x22B parameters, trained using a scalable, flexible pipeline that unifies, augments, and synthesizes diverse datasets to enhance AI agents' generalizability and performance across varied environments. Our experimental results demonstrate that xLAM consistently delivers exceptional performance across multiple agent ability benchmarks, notably securing the 1st position on the Berkeley Function-Calling Leaderboard, outperforming GPT-4, Claude-3, and many other models in terms of tool use. By releasing the xLAM series, we aim to advance the performance of open-source LLMs for autonomous AI agents, potentially accelerating progress and democratizing access to high-performance models for agent tasks. Models are available at https://huggingface.co/collections/Salesforce/xlam-models-65f00e2a0a63bbcd1c2dade4

URL PDF HTML 收藏
2606.28733 2026-06-30 cs.AI 91%

Agentic Abstention: Do Agents Know When to Stop Instead of Act?

Agentic Abstention: 智能体知道何时停止而非行动吗?

Han Luo, Bingbing Wen, Lucy Lu Wang

机构 * University of Leeds(利兹大学) Southwest Jiaotong University(西南交通大学) University of Washington(华盛顿大学) Allen Institute for AI(人工智能研究院)

专题命中 工具调用 :agentic(title,title_cn);agent(abstract);分类 cs.AI

AI总结 研究LLM智能体在不确定环境下何时应停止行动的问题,提出Agentic Abstention概念,通过实验分析不同模型和框架的弃权行为,并引入CONVOLVE方法提升及时弃权率。

详情
AI中文摘要

LLM智能体被期望在多轮交互中行动,使用搜索、浏览界面和终端工具来完成用户目标。然而,并非每个目标都在可用环境中得到良好指定或可实现。在这种情况下,一个可靠的智能体应认识到进一步交互不太可能有所帮助,并放弃额外的工具调用。我们定义了Agentic Abstention,即在不确定性下决定智能体何时应停止行动的问题。与通常作为单轮回答或弃权决策评估的标准LLM弃权不同,智能体弃权是一个序列决策问题:智能体可以在每一轮回答、弃权或收集更多信息,而弃权的需求可能只有在与环境交互后才变得清晰。我们在网络购物、终端环境和问答中研究这个问题,评估了13个LLM作为智能体的系统和2个智能体框架在超过28,000个任务上的表现。我们的结果表明,主要挑战不仅在于智能体能否弃权,还在于它们何时弃权。一些智能体在应该弃权时从未弃权,而另一些则仅在多次不必要的交互后才弃权。这种差距在指令看似可行但环境揭示并非如此的任务上尤其大(例如,没有有效结果匹配指令)。我们进一步发现,模型规模、推理和智能体框架以不同方式影响弃权,其中更大或更强大的模型有时在及时弃权方面表现更差。最后,我们引入了CONVOLVE,一种用于改进智能体弃权的上下文工程方法,它将完整的交互轨迹提炼为可重用的停止规则。在WebShop上,CONVOLVE在不更新模型参数的情况下显著提高了及时弃权率,将Llama-3.3-70B的及时召回率从26.7提升到57.4。我们的数据集和代码可在https://lhannnn.github.io/agentic-abstention获取。

英文摘要

LLM agents are expected to act over multiple turns, using search, browsing interfaces, and terminal tools to complete user goals. Yet not every goal is well specified or achievable in the available environment. In such cases, a reliable agent should recognize that further interaction is unlikely to help and abstain from additional tool calls. We define Agentic Abstention, the problem of deciding when an agent should stop acting under uncertainty. Unlike standard LLM abstention, which is usually evaluated as a single-turn answer-or-abstain decision, agentic abstention is a sequential decision problem: an agent can answer, abstain, or gather more information at each turn, and the need to abstain may only become clear after interacting with the environment. We study this problem across web shopping, terminal environments, and question answering, evaluating 13 LLM-as-agent systems and 2 agent scaffolds on more than 28,000 tasks. Our results show that the main challenge is not only whether agents can abstain, but also when they abstain. Some agents never abstain when they should, while others do so only after many unnecessary interactions. This gap is especially large on tasks where the instruction appears feasible until the environment reveals otherwise (e.g., no valid result matches the instruction). We further find that model scale, reasoning, and agent scaffolding affect abstention in different ways, where larger or more capable models sometimes perform worse at timely abstention. Finally, we introduce CONVOLVE, a context engineering method for improving agentic abstention that distills full interaction trajectories into reusable stopping rules. On WebShop, CONVOLVE substantially improves timely abstention without updating model parameters, raising Llama-3.3-70B's timely recall rate from 26.7 to 57.4. Our dataset and code are available at https://lhannnn.github.io/agentic-abstention

URL PDF HTML 收藏
2602.16653 2026-06-23 cs.AI 版本更新 91%

Agent Skill Framework: Perspectives on the Potential of Small to Medium Language Models in Industrial Environments

Agent技能框架:中小型语言模型在工业环境中的潜力视角

Yangjie Xu, Lujun Li, Lama Sleem, Niccolo Gentile, Yewei Song, Yiqun Wang, Siming Ji, Wenbo Wu, Radu State

机构 * University of Luxembourg(卢森堡大学) Foyer S.A.(Foyer公司) Princeton University(普林斯顿大学) Université Paris-Saclay(巴黎萨克雷大学)

专题命中 工具调用 :agent(title,title_cn);agentic(abstract);分类 cs.AI

AI总结 研究在资源受限的工业场景中,中小型开源语言模型(270M-80B)使用Agent技能的效果,发现30B-80B模型受益显著,而小型模型技能选择困难,思考变体提升有限且增加GPU开销。

Comments 12 pages

详情
AI中文摘要

Agent技能被主要的Agent框架广泛支持,并在专有模型上表现良好,但其对中小型开源语言模型(270M-80B)的有效性尚未充分探索。我们系统研究了资源受限工业环境中的技能范式,在这些环境中,由于数据安全和预算限制,依赖专有API不切实际。在两个开源任务和一个真实保险索赔分类任务中,我们发现非常小的模型在可靠技能选择上存在困难,而30B-80B左右的模型则显著受益。思考变体未显示出技能带来的显著改进,同时由于过度思考导致GPU使用增加。这些发现揭示了GPU成本与Agent性能之间的权衡,并为现实环境中有效的技能配置和中小型语言模型部署提供了可操作的见解。

英文摘要

Agent skills are widely supported by major agentic frameworks and perform well with proprietary models, yet their effectiveness for small and medium-sized open source language models (270 M-80B) remains underexplored. We systematically study the Skill paradigm in resource-constrained industrial settings, where reliance on proprietary APIs is impractical due to data security and budget constraints. Across two open-source tasks and a real-world insurance claims classification task, we find that very small models struggle with reliable skill selection, while models around 30B-80B benefit substantially. Thinking variants do not show major levels of improvement from skills, also considering GPU usage increases due to overthinking. These findings reveal a trade-off between GPU cost and agent performance, and provide actionable insights for effective Skill configuration and SLM deployment in real world settings.

URL PDF HTML 收藏
2509.19369 2025-09-25 cs.CL cs.AI 91%

SLM-Based Agentic AI with P-C-G: Optimized for Korean Tool Use

Changhyun Jeon, Jinhee Park, Jungwoo Choi, Keonwoo Kim, Jisu Kim, Minji Hong

专题命中 工具调用 :tool use(title,abstract);agentic(title);agent(abstract);tool-use(abstract)

详情
英文摘要

We propose a small-scale language model (SLM) based agent architecture, Planner-Caller-Generator (P-C-G), optimized for Korean tool use. P-C-G separates planning, calling, and generation by role: the Planner produces an initial batch plan with limited on-demand replanning; the Caller returns a normalized call object after joint schema-value validation; and the Generator integrates tool outputs to produce the final answer. We apply a Korean-first value policy to reduce execution failures caused by frequent Korean-to-English code switching in Korean settings. Evaluation assumes Korean queries and Korean tool/parameter specifications; it covers single-chain, multi-chain, missing-parameters, and missing-functions scenarios, and is conducted via an LLM-as-a-Judge protocol averaged over five runs under a unified I/O interface. Results show that P-C-G delivers competitive tool-use accuracy and end-to-end quality while reducing tokens and maintaining acceptable latency, indicating that role-specialized SLMs are a cost-effective alternative for Korean tool-use agents.

URL PDF HTML 收藏
2508.03680 2025-08-06 cs.AI cs.LG 91%

Agent Lightning: Train ANY AI Agents with Reinforcement Learning

Xufang Luo, Yuge Zhang, Zhiyuan He, Zilong Wang, Siyun Zhao, Dongsheng Li, Luna K. Qiu, Yuqing Yang

机构 * Microsoft Research(微软研究院)

专题命中 工具调用 :agent(title,abstract);AI agent(title,abstract);tool-use(abstract);multi-agent(abstract)

详情
英文摘要

We present Agent Lightning, a flexible and extensible framework that enables Reinforcement Learning (RL)-based training of Large Language Models (LLMs) for any AI agent. Unlike existing methods that tightly couple RL training with agent or rely on sequence concatenation with masking, Agent Lightning achieves complete decoupling between agent execution and training, allowing seamless integration with existing agents developed via diverse ways (e.g., using frameworks like LangChain, OpenAI Agents SDK, AutoGen, and building from scratch) with almost ZERO code modifications. By formulating agent execution as Markov decision process, we define an unified data interface and propose a hierarchical RL algorithm, LightningRL, which contains a credit assignment module, allowing us to decompose trajectories generated by ANY agents into training transition. This enables RL to handle complex interaction logic, such as multi-agent scenarios and dynamic workflows. For the system design, we introduce a Training-Agent Disaggregation architecture, and brings agent observability frameworks into agent runtime, providing a standardized agent finetuning interface. Experiments across text-to-SQL, retrieval-augmented generation, and math tool-use tasks demonstrate stable, continuous improvements, showcasing the framework's potential for real-world agent training and deployment.

URL PDF HTML 收藏
2605.06890 2026-07-07 cs.AI cs.MA 版本更新 90%

Beyond the Black Box: Interpretability of Agentic AI Tool Use

超越黑箱:代理AI工具使用的可解释性

Hariom Tatsat, Ariye Shater

机构 * Quantitative Analytics, Barclays(巴克莱证券量化分析部)

专题命中 工具调用 :tool use(title);agentic(title);agent(abstract);AI agent(abstract)

AI总结 本文提出了一种基于稀疏自编码器(SAEs)和线性探针的机制可解释性工具包,旨在提升代理AI在长周期任务中对工具调用的可观测性和可解释性,通过分析模型内部状态来识别工具决策的关键特征,从而揭示代理失败的深层原因。

Comments 12 pages, 4 figures, 17 tables

详情
AI中文摘要

AI代理在高风险企业工作中具有前景,但可靠部署受限,因为工具使用失败难以诊断和控制。代理可能跳过必需的工具调用,错误调用工具,或执行后果只能在执行后才显现的行动。现有的可观测性方法大多是外部的:提示揭示相关性,评估评分输出,日志只能在模型已行动后才出现。在长周期设置中,这些失败尤其昂贵,因为早期工具错误会改变轨迹其余部分,增加token消耗,并创建下游的安全和安全风险。我们引入了一种基于稀疏自编码器(SAEs)和线性探针的机制可解释性工具包。该框架在每次行动前读取模型状态,并推断是否需要工具以及下一步工具动作的可能后果。通过将激活分解为稀疏特征,它识别与工具决策最相关的内部层和特征,并通过特征消融测试其功能重要性。我们训练探针在NVIDIA Nemotron函数调用数据集的多步轨迹上,并将相同的工作流程应用于GPT-OSS 20B和Gemma 3 27B模型。目标不是取代外部评估,而是添加一层缺失的可见性:在行动前模型内部信号的可见性。这有助于揭示代理失败的深层原因,尤其是在长周期运行中,早期错误会重塑其余的代理交互。更广泛地说,本文展示了机制可解释性如何支持实际的内部可观测性,以监控代理系统的工具调用和风险。

英文摘要

AI agents are promising for high-stakes enterprise workflows, but dependable deployment remains limited because these tool-use decisions are difficult to diagnose and control. Agents may skip required tool calls, invoke tools unnecessarily, or take actions whose consequences become visible only after execution. Existing observability methods are external: prompts reveal correlations, evaluations score outputs, and logs arrive only after the model has already acted. In long-horizon settings, these failures are costly because an early tool mistake can alter the rest of the execution trajectory, increase token consumption, and create downstream safety and security risk. We introduce a mechanistic-interpretability toolkit built on Sparse Autoencoders (SAEs), which decompose activations into sparse internal features, and linear probes, lightweight classifiers that read signals from those features. The framework reads model states before each action and infers whether a tool is needed and how risky the next tool action is. It identifies the model layers and features most associated with tool decisions and tests their functional importance through feature ablation. We train the probes on multi-step agent execution traces from the NVIDIA Nemotron function-calling dataset and apply the same workflow to GPT-OSS 20B and Gemma 3 27B models. The goal is not to replace external evaluation, but to add a missing layer: visibility into what the model signaled internally before action. This helps surface deeper causes of agent failure, especially in long-horizon runs where an early mistake can impact subsequent agent behavior. More broadly, the paper shows how mechanistic interpretability can support internal observability for monitoring tool calls and risk in agent systems.

URL PDF HTML 收藏
2604.00835 2026-06-30 cs.CL 90%

Agentic Tool Use in Large Language Models

大语言模型中的代理工具使用

Jinchao Hu, Meizhi Zhong, Kehai Chen, Xuefeng Bai, Min Zhang

机构 * School of Computer Science and Technology, Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳)计算机科学与技术学院)

专题命中 工具调用 :tool use(title,abstract);agentic(title,abstract);autonomous agent(abstract);tool-use(abstract)

AI总结 本文系统梳理了大语言模型中代理工具使用的三种范式,分析了其方法、优缺点及评估现状,旨在解决现有研究碎片化问题,提供更系统的进化视角。

详情
AI中文摘要

大语言模型正越来越多地被部署为自主代理,但其现实效果依赖于可靠的工具进行信息检索、计算和外部行动。现有研究在任务、工具类型和训练设置上分散,缺乏对工具使用方法差异和演变的统一视角。本文将文献分为三种范式:提示作为即插即用、监督工具学习和基于奖励的工具策略学习,分析了其方法、优势和失败模式,审查了评估现状并突显关键挑战,旨在解决碎片化问题,提供更系统的代理工具使用进化视角。

英文摘要

Large language models are increasingly being deployed as autonomous agents yet their real world effectiveness depends on reliable tools for information retrieval, computation and external action. Existing studies remain fragmented across tasks, tool types, and training settings, lacking a unified view of how tool-use methods differ and evolve. This paper organizes the literature into three paradigms: prompting as plug-and-play, supervised tool learning and reward-driven tool policy learning, analyzes their methods, strengths and failure modes, reviews the evaluation landscape and highlights key challenges, aiming to address this fragmentation and provide a more structured evolutionary view of agentic tool use.

URL PDF HTML 收藏
2606.18467 2026-06-18 stat.ML cs.LG 新提交 90%

ToolChain-CRC: Conformal Risk Control for Agentic AI Under Retrieval and Tool-Use Drift

ToolChain-CRC: 检索与工具使用漂移下代理型AI的共形风险控制

Jeffery Opoku, David Banahene

机构 * The University of Texas Rio Grande Valley(德克萨斯大学里奥格兰德谷分校) Florida International University(佛罗里达国际大学)

专题命中 工具调用 :tool-use(title,abstract);agentic(title,abstract);agent(abstract);AI agent(abstract)

AI总结 针对检索增强和工具使用代理在漂移下的风险控制问题,提出ToolChain-CRC方法,通过构建轨迹级风险评分并校准接受或干预规则,实现可证明的轨迹级风险控制。

Comments 26 pages, 11 figures

详情
AI中文摘要

现代AI代理检索文档、调用工具、检查中间信息,然后产生最终答案或行动。这产生了一个仅从最终答案无法察觉的风险控制问题。即使检索薄弱、工具输出错误或早期步骤缺乏支持,最终响应也可能看起来可接受。我们提出ToolChain-CRC,一种针对漂移下检索增强和工具使用代理的共形风险控制方法。该方法将每次代理运行视为动作、观察和最终输出的完整轨迹。它构建步骤级风险评分,将其组合成轨迹风险评分,校准接受或干预规则,并添加一个随时报警,可在最终答案前停止风险运行。我们在可交换校准运行下证明了轨迹级风险控制,给出了具有可审计常数的漂移感知扩展,并通过超鞅构造证明了随时升级规则。实验涵盖合成工具链漂移、RAG/工具使用压力测试、基于SQuAD的公共检索任务、无API代理问答案例研究、消融实验、目标风险敏感性检查、20种子鲁棒性检查、漂移边界审计以及实时RAG/工具使用代理基准。在这些设置中,仅基于最终答案的校准可能遗漏检索和工具故障,而轨迹级校准将接受轨迹的风险保持在目标之下。

英文摘要

Modern AI agents retrieve documents, call tools, check intermediate information, and then produce a final answer or action. This creates a risk-control problem that is not visible from the final answer alone. A final response may look acceptable even when the retrieval was weak, a tool output was wrong, or an earlier step was unsupported. We propose ToolChain-CRC, a conformal risk-control method for retrieval-augmented and tool-using agents under drift. The method treats each agent run as a full trajectory of actions, observations, and final output. It builds step-level risk scores, combines them into a trajectory risk score, calibrates an accept-or-intervene rule, and adds an anytime alarm that can stop risky runs before the final answer. We prove trajectory-level risk control under exchangeable calibration runs, give a drift-aware extension with auditable constants, and prove an anytime escalation rule through a supermartingale construction. Experiments cover synthetic tool-chain drift, RAG/tool-use stress tests, public SQuAD-derived retrieval tasks, an API-free agentic QA case study, ablations, target-risk sensitivity checks, 20-seed robustness checks, a drift-margin audit, and a live RAG/tool-use agent benchmark. Across these settings, final-answer-only calibration can miss retrieval and tool failures, while trajectory-level calibration keeps accepted-trajectory risk below the target.

URL PDF HTML 收藏
2602.00994 2026-05-29 cs.AI 90%

Reasoning and Tool-use Compete in Agentic RL:From Quantifying Interference to Disentangled Tuning

推理与工具使用在智能体强化学习中的竞争:从量化干扰到解耦调优

Yu Li, Mingyang Yi, Xiuyu Li, Ju Fan, Fuxin Jiang, Binbin Chen, Peng Li, Jie Song, Tieying Zhang

机构 * School of Information, Renmin University of China(中国人民大学信息学院) Bytedance Inc.(字节跳动公司)

专题命中 工具调用 :tool-use(title,abstract);agentic(title,abstract);agent(abstract);tool use(abstract)

AI总结 本文通过引入能力效应归因(CEA)量化推理与工具使用行为之间的干扰,并提出解耦动作-推理调优(DART)框架,通过分离参数更新来提升智能体强化学习的性能。

详情
AI中文摘要

智能体强化学习(ARL)训练大型语言模型将推理与外部工具执行交错进行,以解决复杂任务。大多数现有ARL方法训练一组参数来支持推理和工具使用行为,隐含假设联合训练能提升整体智能体性能。尽管被广泛采用,这一假设很少得到实证检验。本文通过引入能力效应归因(CEA)系统性地检验这一假设,提供了推理与工具使用行为之间干扰的定量证据。通过深入分析,我们表明这两种能力常常导致不一致的梯度方向,产生训练干扰,削弱联合优化的有效性,并挑战了主流的ARL范式。为解决此问题,我们提出解耦动作-推理调优(DART),一个简单高效的框架,通过独立的低秩适应模块显式解耦推理和工具使用的参数更新。仅凭这一简单改变,DART在检索增强问答和NL2SQL的十三个基准上超越了所有联合优化基线,并接近2-智能体上界,进一步支持了我们在共享优化下能力干扰的发现。

英文摘要

Agentic Reinforcement Learning (ARL) trains large language models to interleave reasoning with external tool execution to solve complex tasks. Most existing ARL methods train a single set of parameters to support both reasoning and tool-use behaviors, implicitly assuming that joint training leads to improved overall agent performance. Despite its widespread adoption, this assumption has rarely been examined empirically. In this paper, we systematically examine this assumption by introducing Capability Effect Attribution (CEA), which provides quantitative evidence of interference between reasoning and tool-use behaviors. Through an in-depth analysis, we show that these two capabilities often induce misaligned gradient directions, leading to training interference that undermines the effectiveness of joint optimization and challenges the prevailing ARL paradigm. To address this issue, we propose Disentangled Action--Reasoning Tuning (DART), a simple and efficient framework that explicitly decouples parameter updates for reasoning and tool use via separate low-rank adaptation modules. With this simple change alone, DART outperforms all joint-optimization baselines and approaches the 2-Agent upper bound across thirteen benchmarks on retrieval-augmented QA and NL2SQL, further supporting our finding of capability interference under shared optimization.

URL PDF HTML 收藏
2605.14312 2026-05-15 cs.SE 90%

Making OpenAPI Documentation Agent-Ready: Detecting Documentation and REST Smells with a Multi-Agent LLM System

使OpenAPI文档具备代理准备性:利用多代理LLM系统检测文档和REST气味

Rayfran Rocha Lima, Davi G. Assunção Pinheiro, Thiago Medeiros de Menezes

专题命中 工具调用 :agent(title,abstract);multi-agent(title,abstract);AI agent(abstract);planning(abstract)

AI总结 研究通过多代理LLM系统检测OpenAPI文档和REST相关问题,发现2450个气味,揭示微服务环境中结构有效性不保证语义准备性,推动API治理流程改进。

Comments 10 pages. Accepted in EASE 2026, 9-12 June 2026, Glasgow, Scotland, United Kingdom

详情
AI中文摘要

随着AI代理和模型上下文协议(MCP)的普及,组织开始将现有REST API作为代理可消费工具。在工业环境中,这一举措针对包含约600个端点的16个生产API生态系统。尽管这些API在微服务架构中稳定且广泛使用,但早期的证明概念实验揭示了通过MCP代理访问时任务规划、工具选择和负载构建的系统性失败。我们进行了生态系统规模的实证评估,开发了Hermes多代理LLM系统,能够在端点级别检测文档和REST相关问题并生成可解释的诊断报告。大规模评估发现600个端点中有2450个气味,所有分析的操作均存在缺陷。实践验证确认了检测问题的高一致性,同时揭示了修复决策中的情境权衡。研究发现微服务环境中的结构有效性不保证语义准备性。基于此证据,组织修订了其采用策略,优先选择性端点适应、重新定义文档标准,并将自动化文档评估整合到API治理流程中。这一案例展示了系统级 artifact 评估如何作为战略决策支持机制,减少技术风险并指导基于证据的AI采用。

英文摘要

The growing adoption of AI agents and the Model Context Protocol (MCP) has motivated organizations to expose existing REST APIs as agent-consumable tools. In our industrial context, this initiative targeted an ecosystem of 16 production APIs comprising approximately 600 endpoints. Although these APIs were stable and widely used within a microservice architecture, early proof-of-concept experiments revealed systematic failures in task planning, tool selection, and payload construction when accessed through MCP-based agents. Rather than attributing these failures to model limitations alone, we conducted an ecosystem-scale empirical assessment of the underlying OpenAPI documentation. We developed Hermes, a multi-agent LLM-based system that detects documentation and REST-related smells at the endpoint level and generates explainable diagnostic reports. The large-scale evaluation identified 2,450 smells across 600 endpoints, with deficiencies present in all analyzed operations. Practitioner validation confirmed high agreement with the detected issues while also revealing contextual trade-offs in remediation decisions. The findings suggested that structural validity within microservice environments does not guarantee semantic readiness for agent-based consumption. Based on this evidence, the organization revised its adoption strategy, prioritizing selective endpoint adaptation, redefining documentation standards, and integrating automated documentation assessment into API governance workflows. This case illustrates how systematic artifact-level evaluation can function as a strategic decision-support mechanism, reducing technological risk and guiding evidence-based AI adoption in industrial software ecosystems.

URL PDF HTML 收藏
2604.04017 2026-04-07 cs.CL 90%

GeoBrowse: A Geolocation Benchmark for Agentic Tool Use with Expert-Annotated Reasoning Traces

GeoBrowse:一种用于代理工具使用的地理定位基准测试

Xinyu Geng, Yanjing Xiao, Yuyang Zhang, Hanwen Wang, Xinyan Liu, Rui Min, Tianqing Fang, Yi R. Fung

机构 * Hong Kong University of Science and Technology(香港科技大学)

专题命中 工具调用 :tool use(title,abstract);agentic(title,abstract);tool-use(abstract);workflow(abstract)

AI总结 GeoBrowse基准测试结合了视觉推理与知识密集型多跳查询,通过专家标注的逐步轨迹分析验证多步工具使用策略的有效性。

详情
AI中文摘要

深度研究代理通过多步骤工具使用整合碎片化证据。BrowseComp提供了一个纯文本测试平台,但现有多模态基准测试很少要求同时结合弱视觉线索组合和BrowseComp风格的多跳验证。地理定位是自然的测试平台,因为答案依赖于结合多个模糊的视觉线索并用开放网络证据验证。因此,我们引入GeoBrowse地理定位基准测试,结合视觉推理与知识密集型多跳查询。Level 1测试提取并组合碎片化视觉线索,Level 2通过注入长尾知识和模糊关键实体增加查询难度。为支持评估,我们提供了一种代理工作流GATE,包含五个带有图像的工具和四个知识密集型工具,并发布专家标注的逐步轨迹,基于可验证的证据进行轨迹级分析。实验表明,GATE优于直接推理和开源代理,表明无工具、仅搜索或仅图像的设置不足。收益来自于连贯的、针对特定级别的工具使用计划,而非更多工具调用,因为它们更可靠地达到标注的关键证据步骤,并在最终决策中犯更少错误。GeoBrowse基准测试和代码可在https://github.com/ornamentt/GeoBrowse上提供。

英文摘要

Deep research agents integrate fragmented evidence through multi-step tool use. BrowseComp offers a text-only testbed for such agents, but existing multimodal benchmarks rarely require both weak visual cues composition and BrowseComp-style multi-hop verification. Geolocation is a natural testbed because answers depend on combining multiple ambiguous visual cues and validating them with open-web evidence. Thus, we introduce GeoBrowse, a geolocation benchmark that combines visual reasoning with knowledge-intensive multi-hop queries. Level 1 tests extracting and composing fragmented visual cues, and Level 2 increases query difficulty by injecting long-tail knowledge and obfuscating key entities. To support evaluation, we provide an agentic workflow GATE with five think-with-image tools and four knowledge-intensive tools, and release expert-annotated stepwise traces grounded in verifiable evidence for trajectory-level analysis. Experiments show that GATE outperforms direct inference and open-source agents, indicating that no-tool, search-only or image-only setups are insufficient. Gains come from coherent, level-specific tool-use plans rather than more tool calls, as they more reliably reach annotated key evidence steps and make fewer errors when integrating into the final decision. The GeoBrowse bernchmark and codes are provided in https://github.com/ornamentt/GeoBrowse

URL PDF HTML 收藏
2602.12268 2026-02-24 cs.AI 90%

CM2: Reinforcement Learning with Checklist Rewards for Multi-Turn and Multi-Step Agentic Tool Use

CM2:基于检查清单奖励的多轮多步代理工具使用的强化学习

Zhen Zhang, Kaiqiang Song, Xun Wang, Yebowen Hu, Weixiang Yan, Chenyang Zhao, Henry Peng Zou, Haoyun Deng, Sathish Reddy Indurthi, Shujian Liu, Simin Ma, Xiaoyang Wang, Xin Eric Wang, Song Wang

专题命中 工具调用 :tool use(title,abstract);agentic(title,abstract);agent(abstract);AI agent(abstract)

AI总结 CM2通过检查清单奖励提升多轮多步骤代理工具使用的强化学习效果,实现比监督微调更优的性能表现。

详情
AI中文摘要

人工智能代理越来越多地被用来通过推理多轮用户交互并调用外部工具来解决现实任务。然而,将强化学习应用于此类设置仍然具有挑战性:现实目标通常缺乏可验证的奖励,而是强调开放性行为;此外,针对多轮、多步骤代理工具使用的强化学习仍处于探索阶段;并且构建和维护可执行工具环境成本高昂,限制了规模和覆盖范围。我们提出了CM2,一种强化学习框架,它用检查清单奖励取代可验证的结果奖励。CM2将每个回合的预期行为分解为细粒度的二元标准,具有明确的证据基础和结构化元数据,将开放性判断转化为更稳定的分类式决策。为了在稳定性和信息性之间取得平衡,我们的方法采用稀疏奖励分配但密集评估标准的策略。训练是在可扩展的LLM模拟工具环境中进行的,避免了为大型工具集进行重工程。实验表明,CM2在监督微调上持续改进。从8B基础模型开始,训练于8k示例的强化学习数据集上,CM2在tau^-Bench上比SFT对照组提高8分,在BFCL-V4上提高10分,在ToolSandbox上提高12分。结果与或甚至优于同样规模的开源基线,包括判断模型。因此,CM2提供了一种可扩展的方法,用于优化多轮、多步骤工具使用代理,而无需依赖可验证的奖励。开源社区提供的代码:https://github.com/namezhenzhang/CM2-RLCR-Tool-Agent。

英文摘要

AI agents are increasingly used to solve real-world tasks by reasoning over multi-turn user interactions and invoking external tools. However, applying reinforcement learning to such settings remains difficult: realistic objectives often lack verifiable rewards and instead emphasize open-ended behaviors; moreover, RL for multi-turn, multi-step agentic tool use is still underexplored; and building and maintaining executable tool environments is costly, limiting scale and coverage. We propose CM2, an RL framework that replaces verifiable outcome rewards with checklist rewards. CM2 decomposes each turn's intended behavior into fine-grained binary criteria with explicit evidence grounding and structured metadata, turning open-ended judging into more stable classification-style decisions. To balance stability and informativeness, our method adopts a strategy of sparse reward assignment but dense evaluation criteria. Training is performed in a scalable LLM-simulated tool environment, avoiding heavy engineering for large tool sets. Experiments show that CM2 consistently improves over supervised fine-tuning. Starting from an 8B Base model and training on an 8k-example RL dataset, CM2 improves over the SFT counterpart by 8 points on tau^-Bench, by 10 points on BFCL-V4, and by 12 points on ToolSandbox. The results match or even outperform similarly sized open-source baselines, including the judging model. CM2 thus provides a scalable recipe for optimizing multi-turn, multi-step tool-using agents without relying on verifiable rewards. Code provided by the open-source community: https://github.com/namezhenzhang/CM2-RLCR-Tool-Agent.

URL PDF HTML 收藏
2510.25423 2026-01-27 cs.SE 90%

What Challenges Do Developers Face in AI Agent Systems? An Empirical Study on Stack Overflow & GitHub Issues

人工智能代理系统中开发者面临哪些挑战?对Stack Overflow和GitHub问题的实证研究

Ali Asgari, Annibale Panichella, Pouria Derakhshanfar, Mitchell Olsthoorn

专题命中 工具调用 :agent(title,abstract);AI agent(title,abstract);tool use(abstract);planning(abstract)

AI总结 本研究通过分析Stack Overflow和GitHub问题,识别出人工智能代理系统开发中的五大主要挑战,包括环境管理、检索与记忆、协调控制、交互契约及运行时可靠性。

Comments v2: Adds GitHub Issues analysis; expands dataset and taxonomy; updates results and discussion. (15 pages, 5 figures)

详情
AI中文摘要

人工智能代理系统通过扩展大语言模型,加入了规划、工具使用、记忆和目标导向行动等功能,在研究和工业中迅速受到关注。尽管取得了进展,但代理系统的开发和维护仍然存在反复出现的工程难题,这些难题在开发者视角上的证据尚未充分阐明。为填补这一空白,本研究分析了Stack Overflow上的开发者讨论以及与广泛使用的代理框架相关的GitHub问题跟踪器中的失败报告。对于Stack Overflow,通过标签扩展和过滤构建了一个聚焦代理的语料库,使用LDA-MALLET提取潜在主题,并通过人工验证和标注进行主题分类。对于GitHub,开发了一种问题主题的分类法,以捕捉部署时间的失败和维护负担。在两个平台上的分析识别出七个Stack Overflow主题(包含28个子主题)和十三个GitHub问题主题,这些主题被综合为五个主要代理挑战的家族:(1)环境、平台和依赖管理;(2)检索、嵌入和代理记忆;(3)协调和执行控制;(4)模型与工具之间的交互契约;(5)运行时可靠性和操作鲁棒性。主题的流行度和难度被量化,发现广泛讨论的问题,如安装和提示,往往解决得更快,而检索和协调相关的挑战则更不明显、更复杂,并且在GitHub上往往作为持续的维护负担存在。

英文摘要

AI Agents have rapidly gained prominence in both research and industry as systems that extend large language models with planning, tool use, memory, and goal-directed action. Despite this progress, the development and maintenance of Agent systems present recurring engineering difficulties that are not yet well characterized in developer-facing evidence. To address this gap, this study analyzes developer discussions on Stack Overflow and failure reports from GitHub issue trackers associated with widely used Agent frameworks. For Stack Overflow, an Agent-focused corpus is constructed through tag expansion and filtering, latent themes are derived using LDA-MALLET, and topics are manually validated and labeled. For GitHub, a taxonomy of issue themes is developed to capture deployment-time failures and maintenance burdens. Analysis across both platforms identifies seven Stack Overflow topics (comprising 28 subtopics) and thirteen GitHub issue topics, which are synthesized into five overarching families of major Agent challenges: (1) environment, platforms, and dependency management; (2) retrieval, embeddings, and Agent memory; (3) orchestration and execution control; (4) interaction contracts between models and tools; and (5) runtime reliability and operational robustness. Topic popularity and difficulty are quantified, revealing that widely discussed issues, such as installation and prompting, are often resolved more quickly, whereas retrieval- and orchestration-related challenges are less visible, more complex, and tend to persist as ongoing maintenance burdens on GitHub.

URL PDF HTML 收藏