arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.29848cs.AIcs.MA
收藏

AgentFixer: 从LLM代理系统中故障检测到修复建议

AgentFixer: From Failure Detection to Fix Recommendations in LLM Agentic Systems

IBM Research(IBM研究院)

Hadar Mulian, Sergey Zeltyn, Ido Levy, Liane Galanti, Avi Yaeli, Segev Shlomov

AI总结:

本文提出一个综合验证框架,通过系统诊断和改进可靠性故障,结合轻量规则检查与LLM评估,提升代理系统性能,通过实验展示改进效果。

摘要:

我们介绍了一个针对基于LLM的代理系统全面验证框架,提供系统化的故障诊断和改进。该框架包含十五个故障检测工具和两个根本原因分析模块,共同揭示输入处理、提示设计和输出生成中的弱点。它整合了轻量规则检查与LLM作为判断者的评估,支持结构化的事件检测、分类和修复。我们将其应用于IBM CUGA,评估其在AppWorld和WebArena基准上的性能。分析揭示了反复出现的规划偏差、模式违反、脆弱提示依赖等问题。基于这些见解,我们优化了提示和编码策略,在保持CUGA基准结果的同时,使中型模型如Llama 4和Mistral Medium实现了显著的准确率提升,大幅缩小了与前沿模型的差距。除了定量验证,我们还进行了探索性研究,将框架的诊断输出和代理描述输入LLM进行自我反思和优先级排序。这种互动分析产生了关于反复出现故障模式和改进重点的可操作见解,展示了验证本身如何演变为一种代理、对话驱动的过程。这些结果展示了向可扩展、质量保证和适应性验证在生产代理系统中的路径,为更稳健、可解释和自我改进的代理架构提供了基础。

英文摘要:

We introduce a comprehensive validation framework for LLM-based agentic systems that provides systematic diagnosis and improvement of reliability failures. The framework includes fifteen failure-detection tools and two root-cause analysis modules that jointly uncover weaknesses across input handling, prompt design, and output generation. It integrates lightweight rule-based checks with LLM-as-a-judge assessments to support structured incident detection, classification, and repair. We applied the framework to IBM CUGA, evaluating its performance on the AppWorld and WebArena benchmarks. The analysis revealed recurrent planner misalignments, schema violations, brittle prompt dependencies, and more. Based on these insights, we refined both prompting and coding strategies, maintaining CUGA's benchmark results while enabling mid-sized models such as Llama 4 and Mistral Medium to achieve notable accuracy gains, substantially narrowing the gap with frontier models. Beyond quantitative validation, we conducted an exploratory study that fed the framework's diagnostic outputs and agent description into an LLM for self-reflection and prioritization. This interactive analysis produced actionable insights on recurring failure patterns and focus areas for improvement, demonstrating how validation itself can evolve into an agentic, dialogue-driven process. These results show a path toward scalable, quality assurance, and adaptive validation in production agentic systems, offering a foundation for more robust, interpretable, and self-improving agentic architectures.

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

↑