Code World Models for Parameter Control in Evolutionary Algorithms
Camilo Chac\'on Sartori, Guillem Rodr\'iguez Corominas

TL;DR
This paper introduces Code World Models (CWMs), which are LLM-synthesized Python programs that predict environment dynamics and control evolutionary algorithms effectively, even in complex or deceptive optimization landscapes.
Contribution
The paper extends CWMs to stochastic combinatorial optimization, demonstrating their ability to learn optimizer behavior and control mutation strength without prior optimal trajectories.
Findings
CWM-greedy performs within 6% of optimal on simple problems.
CWM achieves 100% success on deceptive jump problems.
Outperforms baselines on NK-Landscape and DQN in efficiency and success rate.
Abstract
Can an LLM learn how an optimizer behaves -- and use that knowledge to control it? We extend Code World Models (CWMs), LLM-synthesized Python programs that predict environment dynamics, from deterministic games to stochastic combinatorial optimization. Given suboptimal trajectories of -, the LLM synthesizes a simulator of the optimizer's dynamics; greedy planning over this simulator then selects the mutation strength at each step. On \lo{} and \onemax{}, CWM-greedy performs within 6\% of the theoretically optimal policy -- without ever seeing optimal-policy trajectories. On \jump{}, where a deceptive valley causes all adaptive baselines to fail (0\% success rate), CWM-greedy achieves 100\% success rate -- without any collection policy using oracle knowledge of the gap parameter. On the NK-Landscape, where no closed-form model exists, CWM-greedy outperforms…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Multi-Objective Optimization Algorithms · Metaheuristic Optimization Algorithms Research · Evolutionary Algorithms and Applications
