Tree sampling gives language models feedback on algorithm ideas
In an arXiv preprint, Rui Zhang and colleagues introduced Algorithm Tree Policy Optimization, a reinforcement learning method for automated algorithm design with language models. The method generates several executable implementations of each idea and uses their evaluation results to judge both the idea and the individual implementations. The authors reported improvements when they added the method to FunSearch, EoH, and OpenEvolve, compared with the original versions. They also reported that the learned policy transferred to held-out problem instances and other search methods within the same algorithm design task. The source code is available on GitHub.
Why it matters
Evaluating several implementations gives the model feedback on an idea based on more than one attempt at coding it.
Sources
- PrimaryarXiv · Artificial IntelligenceSource date ·
Written by AIToolMaps from the source above and checked against it sentence by sentence.