Can LLMs Beat Classical Hyperparameter Optimization Algorithms? A Study on autoresearch
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
The autoresearch repository enables an LLM agent to optimize hyperparameters by editing training code directly. We use it as a testbed to compare classical HPO algorithms against LLM-based methods on tuning the hyperparameters of a small language model under a fixed compute budget. When defining a fixed search space over autoresearch, classical methods such as CMA-ES and TPE consistently outperform LLM-based agents, where avoiding out-of-memory failures matters more than search diversity. Allowing the LLM to directly edit source code narrows the gap to the classical methods but does not close it, even with frontier models available at the time of writing such as Claude Opus 4.6 and Gemini 3.1 Pro Preview. We observe that LLMs struggle to track optimization state across trials. In contrast, classical methods lack the domain knowledge of LLMs. To combine the strengths of both, we introduce Centaur, a hybrid that shares CMA-ES's interpretable internal state, including mean vector, step-size, and covariance matrix, with an LLM. Centaur achieves the best result in our experiments, and a 0.8B LLM already suffices to outperform all classical and pure LLM methods. Unconstrained code editing requires larger models to be competitive with classical methods. We further analyze search diversity, model scaling from 0.8B to frontier models, and ablate the fraction of LLM-proposed trials in Centaur. All in all, our results suggest that LLMs are most effective as a complement to classical optimizers, not as a replacement. Code is available at https://github.com/ferreirafabio/autoresearch-automl & interactive demo at https://ferreirafabio.github.io/autoresearch-automl.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 25 of its 40 references that are in the map. First posted on arXiv 25 Mar 2026.
Builds on
25 of 40 references.
Closest ancestors · 1
Same direction, newest first
Other references · 24
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 763
- 2018BOHB: Robust and Efficient Hyperparameter Optimization at Scalecited by 466
- 2016The CMA Evolution Strategy: A Tutorialcited by 364
- 2025ShinkaEvolve: Towards Open-Ended And Sample-Efficient Program Evolutioncited by 146
- 2021Hyperparameter Optimization: Foundations, Algorithms, Best Practices and Open Challengescited by 143
- 2024Large Language Models to Enhance Bayesian Optimizationcited by 127
- 2023Using Large Language Models for Hyperparameter Optimizationcited by 71
- 2021Few-Shot Bayesian Optimization with Deep Kernel Surrogatescited by 70
12 more
- 2025Huxley-G"odel Machine: Human-Level Coding Agent Development by an Approximation of the Optimal Self-Improving Machinecited by 44
- 2024LLM4AD: A Platform for Algorithm Design with Large Language Modelcited by 33
- 2017Pitfalls and Best Practices in Algorithm Configurationcited by 25
- 2024Sequential Large Language Model-Based Hyper-parameter Optimizationcited by 23
- 2023Quick-Tune: Quickly Learning Which Pretrained Model to Finetune and Howcited by 17
- 2022On the Importance of Hyperparameters and Data Augmentation for Self-Supervised Learningcited by 16
- 2025OptunaHub: A Platform for Black-Box Optimizationcited by 14
- 2022Zero-Shot AutoML with Pretrained Modelscited by 13
- 2022Learning Synthetic Environments and Reward Networks for Reinforcement Learningcited by 6
- 2025Improving LLM-based Global Optimization with Search Space Partitioningcited by 6
- 2024Transfer Learning for Finetuning Large Language Modelscited by 5
- 2026Multi-Objective Hierarchical Optimization with Large Language Modelscited by 1
Built on by
Citing papers per year: 2026: 12.
12 papers.
- 2026AI4AI-Bench: Benchmarking LLM Agents in Algorithmic Design for Recursive Self-Improvementcited by 10
- 2026AgenticRecTune: Multi-Agent with Self-Evolving Skillhub for Recommendation System Optimizationcited by 5
- 2026Agentic Bayesian Optimization through Surrogate-Augmented Autoresearchcited by 5
- 2026What Do Evolutionary Coding Agents Evolve?cited by 3
- 2026Prior Knowledge or Search? A Study of LLM Agents in Hardware-Aware Code Optimizationcited by 1
- 2026Workflow Closure Is Not Scientific Closure in Auto-Research Systemscited by 1
- 2026Project2Task: Graph-Guided Project-Level Planning for Autonomous Researchcited by 0
- 2026Code-to-Harness: Distilling Black-Box Optimizers from Self-Playcited by 0
- 2026Agentic Search Spaces for Tabular Machine Learningcited by 0
- 2026Identical Runs, Different Results: Benchmarking AI Coding Agents on Open-Weight Modelscited by 0
- 2026Agentic High-Dimensional Bayesian Optimization with Hypothesis- and Evidence-Guided Searchcited by 0
- 2026Prior or Feedback? What an LLM Uses When Adapting Neural Operatorscited by 0
- 2026Prior or Feedback? What an LLM Uses When Adapting Neural Operators8 Oct 2026
- 2026Agentic High-Dimensional Bayesian Optimization with Hypothesis- and Evidence-Guided Search28 Sep 2026
- 2026Identical Runs, Different Results: Benchmarking AI Coding Agents on Open-Weight Models27 Sep 2026
- 2026Agentic Search Spaces for Tabular Machine Learning14 Sep 2026
- 2026Code-to-Harness: Distilling Black-Box Optimizers from Self-Play8 Sep 2026
- 2026AI4AI-Bench: Benchmarking LLM Agents in Algorithmic Design for Recursive Self-Improvement20 Aug 2026
- 2026Project2Task: Graph-Guided Project-Level Planning for Autonomous Research5 Aug 2026
- 2026Agentic Bayesian Optimization through Surrogate-Augmented Autoresearch31 Jul 2026
- 2026Workflow Closure Is Not Scientific Closure in Auto-Research Systems25 May 2026
- 2026What Do Evolutionary Coding Agents Evolve?19 May 2026
- 2026Prior Knowledge or Search? A Study of LLM Agents in Hardware-Aware Code Optimization19 May 2026
- 2026AgenticRecTune: Multi-Agent with Self-Evolving Skillhub for Recommendation System Optimization21 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2024Large Language Model Agent for Hyper-Parameter Optimization
- 2025OPT-BENCH: Evaluating LLM Agent on Large-Scale Search Spaces Optimization Problems
- 2026ASAP: Agent-System Co-Design for Wall-Clock-Centered Auto HPO Research for ML Experiments
- 2026AgentHPOBench: A Benchmark For Evaluating LLM Agents as Sequential Hyperparameter Optimizers
- 2025AutoEP: LLMs-Driven Automation of Hyperparameter Evolution for Metaheuristic Algorithms
- 2026AutoLLMResearch: Training Research Agents for Automating LLM Experiment Configuration - Learning from Cheap, Optimizing Expensive
- 2026What Makes an LLM a Good Optimizer? A Trajectory Analysis of LLM-Guided Evolutionary Search
- 2025Fine-tuning Large Language Model for Automated Algorithm Design