A new paper explores using foundational large language models (LLMs) to automate hyperparameter optimization (HPO), a process that typically relies on manual approaches in limited-budget settings. The authors developed a methodology where LLMs suggest hyperparameter configurations based on dataset and model descriptions, which are then iteratively refined according to model performance.

  • Empirical evaluations on standard benchmarks show that within constrained search budgets, LLMs can match or outperform traditional HPO methods like Bayesian optimization across different models.
  • The approach treats the code specifying the model as a hyperparameter, allowing the LLM to output it directly for greater flexibility than existing HPO approaches.

This work suggests that LLMs can serve as effective alternatives to traditional optimization techniques when computational resources are limited.