News for hackers. Stuff that matters.
Re:Large Language Models as Optimizers by sshh12 on Friday September 08, 2023 @01:54PM (#37437002)
For anyone interested I've been working a very similar idea of LLMs for blackbox optimization: https://github.com/sshh12/llm_optimize
Re:Large Language Models as Optimizers by sytelus on Friday September 08, 2023 @03:12PM (#37438045)
This is very nicely done and much more clear to follow than the paper. One question: Does LLM get to evaluate the code using tool or guess the return value of f(x)?
Re:Large Language Models as Optimizers by sshh12 on Friday September 08, 2023 @03:23PM (#37438199)
Thanks! The LLM only sees the result of f(x). So like in the code writing example, the code is actually executed with `eval()`.
Re:Large Language Models as Optimizers by lachlan_gray on Friday September 08, 2023 @04:04PM (#37438722)
This is awesome. I was working on something similar (but got distracted) except my strategy was evolutionary. The idea was that the LLM had to figure out what it’s optimizing for itself.

I find that as soon as an LLM has an explicit definition of what it’s doing, the exploration/exploitation ratio swerves into exploitation and it gets stuck