Live data from Hacker News

Can LLMs Beat Classical Hyperparameter Optimization Algorithms?

arxiv.org

21–25 of 25 posts

Re: Can LLMs Beat Classical Hyperparameter Optimization Algorithms?

#21
Methodological flaw.

On Centaur (hybrid LLM + classic HPO) the LLM is only called to give its opinion a fraction r=0.3 of the time (the remaining is plain HPO). But that means that:

A) the compute used by Centaur is not directly comparable to the compute of the other methods. Centaur had the advantage the r was itself hyperparam-optimized with a cost that is not budgeted on the main graph. Centaur cheated by getting free compute under the table.

B) it's not even clear that the advantage of choosing r=0.3 is real and not noise. If you look at Figure 11, it's not clear that the stuff in between 0.1 and 0.5 isn't noise. It could well be noise. And if you believe the variation is noise and fit a line or a parabola to smooth out the noise, you'd conclude that the optimal is don't use an LLM, so it's not clear that the LLM contribution is even positive.

C) another reason why the LLM contribution doesn't look positive: again on Figure 11, how do you explain that r=0.8 is horrible? If the LLM is principled in some way, if it can reason through "I see such and such therefore I try such and such" then asking it more would mean that it can experiment more and exclude bad regions faster. And if there's no input for it to give, it could just accept "I'll use the optimizer's suggestion this time" over and over. Hybrid should always be strictly better than just classic, but in reality this is more false the larger the r.

Overall, I don't think the conclusion follows from the paper. However, as humans the idea that "reasoning + classic HPO should be classic HPO" is very appealing. I also like the idea of exposing the opimizer internals to the LLM.

Re: Can LLMs Beat Classical Hyperparameter Optimization Algorithms?

#22
Author here. Appreciate the interest in this line of work! Just wanted to share an extension of this work:

since the paper, I've extended the evaluation to more models (including newer Opus releases) and more seeds, and I'm posting ongoing results in a live tracker:

https://ferreirafabio.github.io/autoresearch-automl/#tab=tra...

TLDR so far: the centaur (LLM + classical optimizer) still wins.

Re: Can LLMs Beat Classical Hyperparameter Optimization Algorithms?

#23

Methodological flaw. On Centaur (hybrid LLM + classic HPO) the LLM is only called to give its opinion a fraction r=0.3 of the time (the remaining is plain HPO). But that means that: A) the compute used by Centaur is not directly comparable to the compute of the other methods. Centaur had the advantage the r was itself hyperparam-optimized with a cost that is not budgeted on the main graph. Centaur cheated by getting…

[flagged]

Re: Can LLMs Beat Classical Hyperparameter Optimization Algorithms?

#24

Author here. Appreciate the interest in this line of work! Just wanted to share an extension of this work: since the paper, I've extended the evaluation to more models (including newer Opus releases) and more seeds, and I'm posting ongoing results in a live tracker: https://ferreirafabio.github.io/autoresearch-automl/#tab=tra... TLDR so far: the centaur (LLM + classical optimizer) still wins.

Hi, I'd be curious to hear your response: https://news.ycombinator.com/item?id=48473993

Re: Can LLMs Beat Classical Hyperparameter Optimization Algorithms?

#25
post #17

Earlier quoted context omitted.

So a more zachtronics style scoreboard that separates the different optimizable metrics?

I'm not familiar with this -- is it in one of their games in particular?

hey, already responded
Post reply on HN