Presents the ADSD framework that first diagnoses numerical performance issues from execution feedback then maps diagnoses to reusable solver-improvement skills, enabling agents to advance beyond code generation to algorithmic self-improvement.
Training Numerical Intelligence via Auto-Diagnosis and Skill Discovery introduces ADSD, a framework that systematically improves numerical solvers by separating code generation from algorithmic improvement. Published on October 2, 2026, by Peter Chen and Wotao Yin, the method operates on a diagnosis-first paradigm where agents analyze execution feedback to identify the underlying numerical causes of solver failures.
The framework then uses these verified diagnoses to guide skill discovery, retrieving and implementing appropriate numerical methods from literature to create reusable solver skills. This structured approach significantly outperforms trial-and-error editing, achieving a 71× reduction in mean solver error on the GOC-500 power flow benchmark and demonstrating consistent improvements in accuracy, robustness, and efficiency across diverse scientific computing domains.
Training Numerical Intelligence via Auto-Diagnosis and Skill Discovery introduces the ADSD framework, which reframes numerical problem solving as a diagnosis-driven self-improvement process rather than a one-shot code-generation task. The central idea is to let an agent first execute candidate numerical solutions, then analyze execution feedback—such as failures, convergence behavior, accuracy degradation, or instability—to identify what is actually going wrong. From those diagnoses, the framework derives reusable “solver-improvement skills,” allowing the agent to move beyond merely rewriting code and toward refining algorithmic behavior in a structured, transferable way.
A key contribution is the separation of auto-diagnosis from skill discovery. Instead of treating poor performance as an opaque signal, ADSD attempts to map observed symptoms to interpretable causes and then to concrete corrective strategies that can be reused across problems. This positions the agent as a learner of numerical heuristics rather than just a code emitter: it can accumulate a library of improvements tied to recurring failure modes, such as ill-conditioning, scaling issues, convergence stalls, or inappropriate solver choices. The emphasis is on building a form of numerical intelligence that is grounded in execution evidence and improves over time.
The work matters because numerical computation is a domain where small algorithmic or parameter-level choices often determine success, and where generic code generation is frequently insufficient. By coupling runtime feedback with diagnosis and reusable skill formation, the paper points toward agents that can perform more robust, self-directed algorithmic refinement. If effective, this approach could reduce reliance on hand-tuned solvers and make AI systems better suited to iterative scientific and engineering tasks where performance, stability, and correctness depend on deep numerical judgment.