NextEval: An Agent-Based Solver and Benchmark for Derivative-Free Optimization
Shuo ChenLi CuiCunxin HuangYa-Feng LiuMinghang XieMeng XuZaikun Zhang
Shuo Chen
Li Cui
Cunxin Huang
Ya-Feng Liu
Minghang Xie
Meng Xu
Zaikun Zhang
+7
Derivative-free optimization faces the core challenge of using accumulated observations to pick informative evaluation points under a limited budget. To address this, the authors introduce NextEval, an agent-based solver in which a large language model agent is paired with a numerical environment that offers tools for analyzing past evaluations and running numerical methods, while maintaining a shared evaluation history and method-specific state. The agent selects tools, configures their parameters, and allocates the evaluation budget, while numerical methods compute and evaluate most candidate points. To their knowledge, this is the first DFO solver in which an LLM agent selects, configures, and switches among stateful numerical methods within a single solve, using a fixed textbook policy over the same decision space as comparator. The authors also present NextEval Bench, a protocol for comparing agent configurations on shared tasks under matched budgets and information. Results show that NextEval with a strong LLM outperforms state-of-the-art DFO baselines in function-evaluation efficiency on problems with up to ten variables, and with the same LLM, on problems with up to 20 variables including eight unseen ones, it also outperforms the textbook policy over the same actions.

arXiv ·
· October 27, 2026