cs.AIOct 2, 2026

Training Numerical Intelligence via Auto-Diagnosis and Skill Discovery

Authors: Peter Chen, Wotao Yin

Organizations: BAIR & EECS University of California, Berkeley Berkeley, CA, USA · Decision Intelligence Lab DAMO Academy, Alibaba Group U.S. Bellevue, WA, USA

Abstract

AI agents are becoming increasingly capable of generating scientific code, but generating code is not the same as improving the algorithms behind it. For numerical solvers, execution feedback can expose poor performance, but rarely reveals its underlying cause and how to address it. We introduce Auto-Diagnosis and Skill Discovery (ADSD), a framework that links numerical diagnosis to reusable solver self-improvement. ADSD follows a diagnosis-first paradigm that first explains why a solver performs poorly, then uses this diagnosis to guide the discovery of appropriate numerical methods. The resulting knowledge is packaged into reusable solver skills, turning solver improvement from trial-and-error editing into a structured process of diagnosis, discovery, and implementation. Across four challenging numerical domains--power flow equation, AC optimal power flow control, stiff ordinary differential equations, and heterogeneous diffusion PDEs--ADSD consistently improves solver accuracy, robustness, and efficiency. On GOC-500 power flow, for example, ADSD reduces mean solver error by nearly 71×71\times, with improvements further transferring to unseen grid topologies and operating regimes.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. AutoNumerics: An Autonomous, PDE-Agnostic Multi-Agent Pipeline for Scientific Computing

    Feb 19, 2026Jianda Du, Youran Sun, Haizhao YangPDE SolvingAutomated Algorithm Discovery

  2. AutoPDE: Reliable Agentic PDE Solving via Explicitly Represented Solver Strategies

    Jun 9, 2026Huanshuo Dong, Keyao Zhang, Hong Wang +6AI Coding AgentsPDE Solving

  3. ATHENA: Agentic Team for Hierarchical Evolutionary Numerical Algorithms

    Dec 3, 2025Juan Diego Toscano, Daniel T. Chen, George Em KarniadakisScientific Code GenerationScientific ML