Code to Control: Synthesizing Parameterized Reactive Controllers
On the map: World models → Latent dynamics models and model-based RL
Abstract (arXiv)
Recent LLM-based approaches to control either invoke a language model to select actions or synthesize world models that require planning at every decision, introducing latency that can limit real-time use. We introduce Code to Control, an approach that synthesizes Python controllers which execute directly as policies. Code to Control separates program structure from parameters. An LLM synthesizes the controller structure, while derivative-free search fits its parameters for continuous control using feedback from the environment. Once learned, the resulting controllers require neither LLM inference nor planning at decision time, enabling real-time gameplay and, under our timing protocol, faster action selection than a PPO policy. Across a suite of Atari games, Flappy Bird, and MuJoCo tasks, Code to Control outperforms planning-based program synthesis methods, remains competitive with deep reinforcement learning while using fewer environment interactions, transfers across substantial changes in environment dynamics, and scales to complex locomotion tasks.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Latent dynamics models and model-based RL, one of 11 directions in World models. Builds on 4 of its 20 references that are in the map. First posted on arXiv 30 Sep 2026.
Builds on
4 of 20 references.
References · 4
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2017Evolution Strategies as a Scalable Alternative to Reinforcement Learningcited by 574
- 2026Learning Abstractions for Hierarchical Planning in Program-Synthesis Agentscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Code Evolution for Control: Synthesizing Policies via LLM-Driven Evolutionary Search
- 2026PlayTrain: An Efficient Reinforcement Learning Framework for LLM-Generated Adaptable JavaScript Games
- 2026Player-1: Learning to Play from Synthetic Experience
- 2022Code as Policies: Language Model Programs for Embodied Control
- 2026Synthesizing Reactive Character Behaviors for Continuous Games via Programmatic Policy Search
- 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning
- 2025Learning Game-Playing Agents with Generative Code Optimization
- 2026When are LLMs Sufficient Policy Optimizers for Sequential RL Tasks?