Beyond Policy Optimization: A Data Curation Flywheel for Sparse-Reward Long-Horizon Planning

Yutong Wang, Pengliang Ji, Kaixin Li, Baolong Bi, Tao Feng, Guillaume SartorettiarXiv 2025 · DOI

Abstract

This paper introduces BPO, a three-stage data curation framework designed to enhance the long-horizon planning capabilities of 8B-parameter Large Language Models (LLMs). Traditional reinforcement learning often struggles with sparse rewards and credit assignment in interactive environments. BPO addresses these challenges through a "data curation flywheel" consisting of bootstrapping with Planning Quaternions, complexity-stratified curriculum synthesis, and iterative reward-gated refinement. Our results demonstrate that BPO achieves a new state-of-the-art average success rate of 88.16% across ALFWorld, ScienceWorld, and WebShop, outperforming significantly larger models while maintaining high token efficiency.

Introduction

While "System 2" reasoning—explicit, step-by-step thinking—has significantly improved LLM performance in static domains like mathematics, applying it to agentic planning remains difficult. In interactive environments, agents must navigate many steps to reach a goal, facing two primary hurdles:

  1. The Credit Assignment Problem: Rewards in interactive tasks are often sparse (e.g., a binary success/failure at the end of a 50-step sequence). Traditional reinforcement learning (RL) struggles to identify which specific actions led to failure, resulting in unstable training.
  2. Reasoning Overhead: Generating a full Chain-of-Thought (CoT) at every step can quickly exceed context windows, leading to increased compute costs and the loss of critical early-trajectory information.

The BPO Framework

The authors propose BPO, a framework that prioritizes iterative data refinement over traditional RL gradients. The process is organized into three distinct stages:

Stage 1: Bootstrapping and Planning Quaternions

BPO introduces the Planning Quaternion $(o_t, e_t, p_t, a_t)$, a data structure comprising the observation, a full reasoning trace, a distilled "short" planning thought, and the final action. Through a Long-Short CoT Fusion strategy, the model generates a detailed reasoning trace to decide its next move, but only the distilled summary is retained in the conversation history. This keeps the context lean while preserving high-level intent.

Stage 2: Extrapolation via Curriculum Synthesis

To improve robustness, a teacher model (e.g., GPT-4o) generates synthetic, out-of-distribution (OOD) tasks. These tasks are organized into a complexity-stratified curriculum (Easy → Medium → Hard) based on trajectory length. This prevents the model from being overwhelmed by high-difficulty tasks early in the training process.

Stage 3: Refinement through Reward-Gated Sampling

Rather than employing complex RL algorithms like PPO or GRPO, BPO utilizes rejection sampling. The agent generates multiple attempts for a task; only successful trajectories, verified by the environment's sparse reward, are kept to fine-tune the next iteration of the model.

The BPO framework consists of three stages: Bootstrapping, Extrapolation, and Refinement.

Experimental Evaluation

The framework was evaluated on three diverse interactive benchmarks:

  • ALFWorld: Text-based household task simulation.
  • ScienceWorld: Elementary science experiments requiring long-horizon planning.
  • WebShop: A simulated e-commerce environment for multi-step navigation and purchasing.

Key Results

BPO, utilizing a Llama-3.1-8B base, achieved an average success rate of 88.16% across all benchmarks, surpassing the previous state-of-the-art (MPO) by over 6 percentage points. Notably, the framework is remarkably token-efficient; on ScienceWorld, it outperformed DeepSeek-R1 while using only 112 tokens per step compared to DeepSeek's 620 tokens.

Comparative performance of BPO against base models and other fine-tuning methods across ALFWorld, ScienceWorld, and WebShop.

Discussion and Conclusion

A primary insight of this work is that data curation often outperforms policy optimization in sparse-reward settings. The authors found that advanced RL algorithms like GRPO actually degraded performance compared to BPO's rejection sampling approach. By treating rewards as binary filters for high-quality data, BPO creates a "virtuous cycle" where the model internalizes successful strategies discovered through exploration.

Future work will look toward extending this data flywheel to multi-modal domains and addressing the computational cost of the sampling phase during training. However, as it stands, BPO provides a highly efficient and model-agnostic path toward superior agentic planning.

Summary updated

BibTeX
@misc{wang2025beyond,
  author = {Yutong Wang and Pengliang Ji and Kaixin Li and Baolong Bi and Tao Feng and Guillaume Sartoretti},
  title = {{Beyond Policy Optimization: A Data Curation Flywheel for Sparse-Reward Long-Horizon Planning}},
  year = {2025},
  eprint = {2508.03018},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.03018},
}
Figure