arXiv Science⌕ Search

arXiv · 2611.13143

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

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Jeheon Woo. 2026-11-09. Autonomous Optimization of Numerical Algorithms by an AI Agent: Application to Atomistic Simulation. https://arxiv.science/abs/2611.13143

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Nuclear Spin Isomers and the Pauli Principle in Polaritonic Chemistry

The Pauli principle has far-reaching consequences in quantum physics. Here, we investigate, for the first time, its implications, together with nuclear spin isomerism, in polaritonic chemistry. The theory is developed for a single and a few molecules as well as for an ensemble of molecules. As an explicit and detailed example we first present an accurate numerical description of a realistic situation involving two $^{14}$NH$_3$ molecules, existing as ortho and para spin isomers, in an infrared plasmonic cavity. Then, we generalize the approach for molecular ensembles using analytical considerations based on the Tavis-Cummings model and simulate the transmission spectrum of a Fabry-Pérot cavity filled with $^{14}$NH$_3$ gas using quantum mechanics. These results are directly relevant for recent gas-phase experiments studying rovibrational polaritons in molecules. Our findings undoubtedly demonstrate that the Pauli principle and nuclear spin isomerism significantly reshape collective light-matter coupling involving molecules with identical nuclei.

physics.chem-ph↗

Efficient strategies for obtaining accurate kinetics from biased simulations

It has been demonstrated that one can recover the unbiased rate constants for slow conformational transitions by observing transitions driven by a bias potential added along one or several collective variables (CVs). However, the choice of CV, biasing scheme, biasing parameters and the rate estimator can all affect the results and it is not obvious which to choose for a given problem. In this study, we compare accuracy versus computational cost for a previously established benchmark system, a coarse-grained protein with computationally accessible unfolding kinetics. We apply bias to four CVs of decreasing quality in both a time-dependent and quasi-static manner, and compare different estimators for the unfolding rate constant in terms of absolute accuracy to the estimated reference unbiased rate. We show that in the case of gentle biasing, the exponential average time-dependent rate (EATR) framework, which simultaneously fits the unbiased rate constant and a coordinate quality metric $γ$, recovers accurate kinetics in nearly all cases. For poor CVs, estimators equivalent to assuming a good coordinate ($γ=1$) systematically fail regardless of biasing method or parameters. We introduce heuristics to show when we expect the rates to be inaccurate, and identify which combinations of biasing scheme, estimator and number of runs reach a given accuracy at the lowest cost.

physics.chem-ph↗

Neural Network Path Optimization for Finding Transition States on a Machine Learned Potential

Transition states govern chemical reaction rates and outcomes, yet locating them remains a central challenge in computational chemistry. Double-ended search methods find transition states given reactant and product structures, but generally rely on discretized path representations developed for density functional theory, where potential energy surface evaluations are expensive. Machine learned interatomic potentials (MLIPs) dramatically reduce this cost and leverage automatic differentiation to access higher-order derivatives efficiently. We introduce Popcornn, a framework to find transition states by optimizing continuous neural network paths atop an MLIP with a parallelized adaptive numerical integrator. This combination eliminates path discretization artifacts, reduces hyperparameter sensitivity, and enables non-local optimization to overcome local features using second-order potential-energy-surface information. Popcornn consistently recovers more correct transition states than standard methods such as nudged elastic band and growing string, across MLIPs on thousands of organic reactions, establishing it as a robust, automation-ready method for high-throughput transition state search. Popcornn's infrastructure is flexible in path objective, integration strategy, and optimization algorithm, making it a practical tool and platform for investigating open questions in MLIP-based path optimization.

physics.chem-ph↗