Reproduce “In-the-loop Hyper-Parameter Optimization for LLM-Based Automated Design of Heuristics” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Niki van Stein, Diederick Vermetten, Thomas Bäck

LLaMEA-HPO, a hybrid framework developed at Leiden University, enhances automated algorithm design by integrating Large Language Models (LLMs) for structural code generation with specialized hyper-parameter optimization (HPO) tools. This approach substantially reduces LLM query costs and computational overhead, enabling LLMs to concentrate on generating novel algorithmic structures while maintaining or improving overall heuristic performance across various optimization benchmarks.

Key insights

  • Decoupling the LLM's role in generating novel algorithmic structures from a dedicated HPO tool's role in numerical parameter tuning is crucial for efficiency and cost-effectiveness.
  • A significant portion of the optimization effort in baseline LLM-driven frameworks is implicitly spent by the LLM on inefficient parameter tuning.
  • Specialized HPO provides substantial and consistent performance improvements to LLM-generated algorithms, leading to more robust and higher-quality solutions.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.