Validating LLM-Modernized Scientific Software Through Differential Fault Injection
Evan Coleman, Yuzhong Shen, Masha Sosonkina, Peng Xu
Key points
From the paper's conclusion- We present a differential fault-injection validation method: a harness instruments the shared self-consistent-field driver of GAMESS at twelve sites and applies identical, deterministic faults to the original and LLM-modernized implementations, isolating the converted integral kernels.
Abstract
Large language model (LLM) agents are increasingly used to modernize the legacy Fortran underlying production scientific software, but validation of these transformations emphasizes nominal executions and may not test whether a modernization preserves the original code's response to faults, perturbations, and reduced precision. We present a differential fault-injection validation method: a harness instruments the shared self-consistent-field driver of GAMESS at twelve sites and applies identical, deterministic faults to the original and LLM-modernized implementations, isolating the converted integral kernels. Across more than 2,200 runs, transient-fault absorption costs match a contraction-based model (predicted slopes 0.74 and 1.49 iterations per bit; measured 0.82 and 1.50), persistent perturbations halve final-energy error per additional bit, and the campaigns expose phase-dependent parallel deadlocks and false convergence under reduced precision. The original and modernized kernels agree in all 200 paired injections, and a measurement-guided synchronization change composes with the modernization, matching in all 40 pairs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ForTress: Bringing Assurance and Determinism for LLM-Driven Fortran-to-Python TranslationarXiv · 2026
- XLA from the Trenches: Correctness on TPU Workloads at ScalearXiv · 2026
- Combining LLM and Dynamic Analysis for Universal Testing of Static Application Security Testing ToolsarXiv · 2026
- An Agentic Workflow for Legacy HPC Modernization: Converting the Two-Electron-Integral Core of GAMESSarXiv · 2026
- RL–LLMfuzzer: reinforcement learning–guided dual–model differential fuzzing for compiler testingJournal of King Saud University - Computer and Information Sciences · 2026
- Understanding LLM Hallucinations Caused by Soft ErrorsarXiv · 2026