physics.chem-phNov 9, 2026

Autonomous Optimization of Numerical Algorithms by an AI Agent: Application to Atomistic Simulation

Authors: Jeheon Woo

Organizations: Center for Artificial Intelligence and Natural Sciences, Korea Institute for Advanced Study, 85 Hoegiro, Dongdaemun-gu, Seoul 02455, Republic of Korea

Abstract

Coding agents built on large language models, run in automated improvement loops, can discover more efficient algorithms. We present AIOA, a framework that brings this approach to the numerical algorithms of atomistic simulation: an agent improves an algorithm against a pre-specified metric in a loop guarded by verifiers it cannot alter. Applied to ASE, a widely used atomistic simulation library, AIOA targets two facets of an algorithm: its implementation, rewritten to run faster with unchanged results, and the method itself, redesigned to converge with fewer force evaluations. Agents made six kernels 22-24 times faster on average in Python with NumPy and SciPy. On unseen problems, optimizers from the best configuration needed 3.1-3.4 times fewer force evaluations than L-BFGS for structure relaxation and 4.6-17 times fewer than standard climbing-image nudged elastic band calculations for reaction paths. The agents' optimizers also contain two algorithmic components we did not find in the literature.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Evolving Excellence: Automated Optimization of LLM-based Agents

    Dec 9, 2025Paul Brookes, Vardan Voskanyan, Rafail Giavrimis +18Large Language Model-Guided OptimizationLLM Agent Workflow Optimization

  2. MDGYM: Benchmarking AI Agents on Molecular Simulations

    May 9, 2026Vinay Kumar, Satyendra Rajput, Mausam +1AI Agents for Scientific DiscoveryAI Agent Evaluation

  3. ATHENA: Agentic Team for Hierarchical Evolutionary Numerical Algorithms

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