Iterative Deployment Improves Planning Skills in LLMs

Augusto B. Corrêa, Yoav Gelberg, Luckeciano C. Melo, Ilia Shumailov, André Grahl Pereira, Yarin GalarXiv 2025 · DOI · arXiv

Abstract

Large Language Models (LLMs) frequently struggle with classical planning tasks requiring multi-step logical reasoning. This paper explores "Iterative Deployment," a cycle where an LLM is repeatedly fine-tuned on its own successful, validated outputs. We demonstrate that this process acts as an implicit form of Reinforcement Learning, allowing models to significantly improve performance and solve increasingly complex, long-horizon problems without hand-crafted reward functions. Across three planning domains, fifth-generation models more than doubled the performance of their base counterparts.

Introduction

While LLMs excel at text generation, "classical planning"—tasks like rearranging blocks or navigating complex environments—remains a significant challenge. Traditional methods to improve these skills rely on expensive human-expert data or complex Reinforcement Learning (RL) with engineered rewards. Furthermore, the risk of "model collapse" looms when training on AI-generated data. This research investigates whether a curated iterative deployment cycle can instead lead to performance gains, effectively allowing models to "bootstrap" their way to better planning.

Methodology: The Iterative Deployment Loop

The core of this approach is a recursive fine-tuning process. An LLM is deployed on a set of tasks, and its outputs are passed through an external validator. Only valid, successful plans are retained. To encourage efficiency, if multiple valid plans exist for a single task, the shortest one is selected. The model is then fine-tuned on this curated dataset, becoming the base for the next generation.

The Iterative Deployment process: a loop of deployment, validation, curation, and fine-tuning.

The authors mathematically demonstrate that this Supervised Fine-Tuning (SFT) on curated traces is equivalent to the REINFORCE algorithm with an implicit binary reward (1 for valid, 0 for invalid).

Experimental Setup

The method was tested on 1,000 unique tasks across three domains from the International Planning Competition (IPC 2023):

  • Blocksworld: Stack manipulation and rearrangement.
  • Rovers: Planetary exploration, navigation, and sample collection.
  • Sokoban: Grid-based box-pushing puzzles.

Key Results and Analysis

The iterative process yielded substantial performance improvements across all domains. By the fifth generation, the models solved significantly more tasks than the initial base model.

Number of solved tasks across three domains, comparing the base model with generations 1, 2, and 5.

Performance Gains and Generalization

  • Dramatic Improvement: The Rovers domain saw the most significant gain, with a 401% increase in solved tasks by the fifth generation.
  • Emergent Complexity: Models didn't just improve on known tasks; they learned to solve much longer plans. In Blocksworld, the fifth generation frequently solved tasks requiring 35 steps, whereas the base model rarely succeeded beyond 20 steps.
  • Data Efficiency: Curation proved vital. A model trained on just 356 curated traces significantly outperformed one trained on over 4,000 uncurated traces, highlighting that quality is more important than quantity in self-improvement loops.

Discussion and Safety Implications

The success of this method suggests that curation is a powerful antidote to model collapse. By filtering for quality, the model learns from its own "revealed preferences." However, this introduces a safety concern: the "opaque" implicit reward. Because the model improves based on whatever the validator accepts, it may develop unintended shortcuts or behaviors that conflict with explicit safety training. The authors suggest that monitoring these implicit reward functions is a priority for AI safety.

Conclusion

Iterative deployment offers a scalable path for improving LLM reasoning and planning. By leveraging automated validation and curation, models can autonomously discover the building blocks of complex problem-solving. Future work must address the scalability of validators for subjective tasks and the long-term stability of these implicitly learned behaviors.

Summary updated

Abstract

We show that iterative deployment of large language models (LLMs), each fine-tuned on data carefully curated by users from the previous models' deployment, can significantly change the properties of the resultant models. By testing this mechanism on various planning domains, we observe substantial improvements in planning skills, with later models displaying emergent generalization by discovering much longer plans than the initial models. We then provide theoretical analysis showing that iterative deployment effectively implements reinforcement learning (RL) training in the outer-loop (i.e. not as part of intentional model training), with an implicit reward function. The connection to RL has two important implications: first, for the field of AI safety, as the reward function entailed by repeated deployment is not defined explicitly, and could have unexpected implications to the properties of future model deployments. Second, the mechanism highlighted here can be viewed as an alternative training regime to explicit RL, relying on data curation rather than explicit rewards.
BibTeX
@misc{correa2025iterative,
  author = {Augusto B. Corrêa and Yoav Gelberg and Luckeciano C. Melo and Ilia Shumailov and André Grahl Pereira and Yarin Gal},
  title = {{Iterative Deployment Improves Planning Skills in LLMs}},
  year = {2025},
  eprint = {2512.24940},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.24940},
}
Figure