NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On-Line Policy Iteration with Trajectory-Driven Policy Generation

Yuchao Li, Fei Chen, Yingke Li, Chuchu Fan, Dimitri BertsekasarXiv 2026

TL;DR

This paper introduces an on-line policy iteration method designed for repetitive tasks with a fixed initial state, such as robotic path planning and discrete optimization. By leveraging a "consistent generator" to train successive neural network policies using data from a single trajectory, the algorithm guarantees monotonic cost improvement while remaining fast enough for real-time operation.

What Problem Does This Paper Address?

Many real-world control and optimization problems—like a drone repeatedly taking off from the same pad, a robotic arm performing factory maneuvers, or multi-dimensional assignment tasks—feature a fixed initial state but massive state spaces.

Solving these problems exactly using classical Dynamic Programming (DP) is computationally impossible due to the "curse of dimensionality." Policy Iteration (PI) is a powerful alternative, but it typically requires evaluating and improving policies across all possible states, making it an offline-only approach. The authors tackle a key question: Can we perform multiple policy improvements on-line, focusing only on the states actually encountered during operation, while still guaranteeing that each new policy is strictly better than the last?

Methods

The authors propose On-Line Policy Iteration with Trajectory-Driven Policy Generation. The core workflow consists of three repeating steps:

  1. Trajectory-Driven Updates: Starting from a fixed initial state and a base policy, the algorithm computes an improved trajectory by performing a local minimization (rollout) at each step along the path.
  2. Policy Generator ($G$): The algorithm uses a generator function (often parameterized as a neural network trained via supervised learning) to learn a new policy based on data sampled around this single improved trajectory.
  3. The Consistency Condition: To guarantee that the newly trained policy inherits the trajectory's improvements, the authors introduce a mathematical consistency condition. The generator must produce a policy that exactly replicates the tail of the trajectory it was trained on.

Key Variants

  • Multiagent/Simplified On-Line PI: For continuous control spaces where full minimization is too slow for real-time use, the authors introduce a coordinate-wise discretization approach. By optimizing control dimensions sequentially ("one agent at a time"), computation scales linearly rather than exponentially with control dimensions.
  • Stochastic Variants: The paper extends the theory to stochastic generators, where policies are sampled from a probability distribution. This helps the algorithm step away from poor local policies.

Datasets

The algorithm was evaluated using simulated environments rather than static datasets:

  1. Multidimensional Assignment Problem: A combinatorial integer programming benchmark with varying layers ($N = 4$ to $12$) and nodes ($m = 3$ to $6$).
  2. 3D Drone Path Planning: Single and multi-drone (up to 4 drones) obstacle avoidance scenarios featuring dense environments with 12, 16, or 24 obstacles.
  3. Robotic Arm Path Planning: A simulated 7-degree-of-freedom Franka Emika Robot arm navigating around spherical obstacles to reach a designated goal region.

Key Insights and Ideas

  • Local vs. Global Improvement: You don't need a policy to be better everywhere to be useful. For repetitive tasks, ensuring monotonic improvement solely at the fixed initial state is sufficient and computationally viable.
  • The Danger of Inconsistency: If a neural network learns a policy from a trajectory but fails to precisely replicate the actions along that exact trajectory, the policy iteration can actually degrade performance.
Inconsistent Generator Example
  • Decomposition for Speed: Treating multi-dimensional continuous controls as separate sequential "agents" provides massive computational savings without breaking the cost-improvement guarantees.

Key Results

  • Combinatorial Optimization: For small-scale assignment problems, the on-line PI method matched exact brute-force solutions but took only ~2 milliseconds compared to up to 3 seconds for brute force. On larger scales where brute force failed entirely, it consistently found cost-improving solutions in under 70 milliseconds.
  • Drone Path Planning: Multiagent on-line PI successfully reduced the optimality gap and safely navigated drones through dense obstacle fields. Parallel processing brought per-stage computation times down significantly (e.g., from ~34ms to ~9.8ms per stage in the hardest 24-obstacle scenario), well below the real-time budget of 250ms.
  • Robustness over LMPC: When compared against Learning Model Predictive Control (LMPC), the proposed method achieved significantly larger cost reductions when initialized with a poor base policy. For instance, in a 3-drone scenario, on-line PI reduced the path cost to 914.8 after two iterations, whereas LMPC only achieved a cost of 6835.5.

Limitations and Future Work

  • Fixed Initial State Dependency: The monotonic improvement guarantee is strictly tied to starting from the exact same initial state $x_0$. If the system encounters a perturbed initial state, the mathematical guarantees do not automatically hold.
  • Model Dependency: The current framework assumes an exact system model ($fk$) is available to simulate trajectories during the rollout phase.
  • Future Directions: The authors note that an interesting subject for further research is testing the robustness of this framework in the absence of an exact system model (i.e., integrating model-free reinforcement learning techniques).

Summary updated

BibTeX
@misc{li2026line,
  author = {Yuchao Li and Fei Chen and Yingke Li and Chuchu Fan and Dimitri Bertsekas},
  title = {{On-Line Policy Iteration with Trajectory-Driven Policy Generation}},
  year = {2026},
  eprint = {2604.15004},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.15004},
}
Figure