arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.06737cs.SEcs.AI
收藏

基于大语言模型的自主代理的自修复框架

A Self-Healing Framework for Reliable LLM-Based Autonomous Agents

AX Center, SAMSUNG SDS(三星SDS AX中心);Dept. of Artificial Intelligence, Graduate School of Engineering, Yonsei University(延世大学工程研究生院人工智能系)

Cheonsu Jeong, Younggun Shin

AI总结:

本文提出一种可靠性感知的自修复框架,通过故障检测、可靠性评估和自动恢复机制提升基于大语言模型的自主代理的可靠性,实验表明该方法显著提高了任务成功率并增强了系统鲁棒性。

摘要:

基于大语言模型(LLM)的自主代理在复杂软件系统中日益被使用。然而,由于不可预测的故障如幻觉、执行错误和不一致推理,可靠性仍是重大挑战。本文提出一种可靠性感知的自修复框架,该框架整合了故障检测、可靠性评估和自动恢复机制。首先,我们定义了故障类型的分类并引入了定量可靠性评估模型。接着,我们提出了一种故障检测方法,通过执行模式和输出一致性识别异常代理行为。最后,我们设计了一种自修复机制,通过自适应重新规划和纠正提示策略动态恢复故障。所提出的框架在多代理工作流环境中实现,并通过现实任务场景进行评估。实验结果表明,与现有方法相比,我们的方法显著提高了任务成功率,减少了故障传播,并增强了整体系统鲁棒性。特别是,本研究通过将代理的内部推理过程与外部执行结果相结合,建立了集成的监控系统。这些发现预计将有助于保障高级自主系统的稳定性,并降低LLM在生产环境中的采用门槛。

英文摘要:

Autonomous agents based on Large Language Models (LLMs) are increasingly being utilized in complex software systems. However, reliability remains a significant challenge due to unpredictable failures such as hallucinations, execution errors, and inconsistent reasoning. This paper proposes a reliability-aware self-healing framework for LLM-based software agents. The framework integrates failure detection, reliability assessment, and automated recovery mechanisms. First, we define a taxonomy of failure types and introduce a quantitative reliability assessment model. Next, we propose a failure detection method that identifies abnormal agent behavior based on execution patterns and output consistency. Finally, we design a self-healing mechanism that dynamically recovers from failures through adaptive replanning and corrective prompting strategies. The proposed framework was implemented in a multi-agent workflow environment and evaluated using real-world task scenarios. Experimental results demonstrate that our approach significantly increases task success rates, reduces failure propagation, and enhances overall system robustness compared to existing methods. In particular, this study distinguishes itself by establishing an integrated monitoring system that combines the agent's internal reasoning process with external execution results. These findings are expected to contribute to securing the stability of advanced autonomous systems and lowering the barriers to LLM adoption in production environments.

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

↑