Towards Agentic Runtime Healing
Zhensu Sun, Haotian Zhu, Bowen Xu, Xiaoning Du, Li Li, David Lo

TL;DR
This paper introduces Healer, a framework leveraging Large Language Models to dynamically generate error-handling code for self-healing software, demonstrating high success rates in recovering from runtime errors.
Contribution
It presents the first framework that uses LLMs for real-time, context-aware runtime error recovery, advancing self-healing system capabilities.
Findings
GPT-4 recovered from 72.8% of runtime errors
Healer successfully handled errors across four datasets
LMMs can generate effective error-handling strategies in real time
Abstract
Self-healing systems have long been a focus of research, aiming to enable software to recover from unexpected runtime errors without human intervention. Traditional approaches rely on predefined heuristic rules, such as reusing error handlers or rolling back to checkpoints, but these methods struggle to adapt to the diverse range of runtime errors. The emergence of Large Language Models offers a new opportunity to address this challenge. Leveraging their ability to understand and generate code and natural language, we propose using LLMs to dynamically generate error-handling strategies in real time, tailored to specific runtime contexts such as error messages and program states. We demonstrate the feasibility of this approach by designing such a framework, Healer, and empirically showing that it can handle runtime errors with a high success rate. When an unanticipated runtime error…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
