LLM Agents as Resilience Engineers for Scientific Applications
Hai Duc Nguyen, Tekin Bicer, Kyle Chard, Ian Foster, Bogdan Nicolae
Abstract
Efficient checkpoint/restart support is essential for resilient HPC scientific applications, but implementing it requires substantial expertise: developers must identify recoverable state, choose globally consistent checkpoint points, and preserve application invariants during restart. We study whether frontier LLM coding agents can automate this process. We build a benchmark suite of 16 MPI applications spanning diverse domains, code sizes, and critical-state structures, and evaluate them with a no-human-in-the-loop generate--validate--revise pipeline for checkpoint/restart synthesis. Across the benchmark, the pipeline produces 41 working resilient implementations. Our results show that agent-driven resilience engineering is practical when critical state is visible or accessible through coherent abstractions: successful runs finish in under one hour on average, consume about 15M tokens, and produce implementations with negligible failure-free overhead and recovery efficiency comparable to human-written code. However, modularized and fragmented state remains a major limitation, with some failed attempts consuming over 100M tokens and 300 minutes without producing a working implementation.
Create a lesson
Related papers
PegasusAI Studio: Legible Cyberinfrastructure and Accountable AI Agents for Scientific Workflows
Shared title terminology · Komal Thareja, Mats Rynge, Berent Aldikacti et al.
BitIR: Cross-Architecture Fault Injection for Resilience Analysis of Heterogeneous GPU Applications
Shared title terminology · Maisy Dunlavy, Michael Papka, Zhiling Lan
Asynchronous Byzantine Lattice Agreement with Logarithmic Response Time and Optimal Resilience
Shared title terminology · Hagit Attiya, Yao David Kolegain, Arnaud Labourel et al.
Contexture: Runtime Context Eviction for High-Throughput Agent Serving
Shared title terminology · Colin Hong, Bryan Shan, Wei Siong Pang et al.
Aggron: Aggressive Compression of Agentic KV Caches during Head-of-Line Stalls in the Request Queue
Shared title terminology · Rishabh Ravi, Tony Hong, Chen Wang et al.
TripleKV: Predict, Prefetch, Protect -- KV Cache Management for AI Agents
Shared title terminology · Shashwat Jaiswal, Chloe Alverti, Mengmei Ye et al.