Abstract
Behavior Cloning (BC) is a fundamental approach for training robot visuomotor policies, yet it remains highly susceptible to covariate shift. Small execution errors often lead robots into out-of-distribution (OOD) states where the policy lacks recovery behavior, resulting in task failure. We introduce Latent Policy Barrier (LPB), a framework that ensures policies "stay in-distribution" by decoupling task execution from recovery. LPB utilizes a learned latent dynamics model to detect distribution drift and applies gradient-based steering to nudge the robot back toward the expert manifold. Our results across simulation and real-world benchmarks demonstrate that LPB significantly enhances robustness and success rates, particularly in low-data regimes, without requiring additional human intervention.
Introduction
In robot learning, the standard paradigm of Behavior Cloning often fails because models are trained only on "perfect" expert demonstrations. When a robot encounters a state slightly outside this narrow expert distribution, errors compound, leading to inevitable failure. Traditional solutions like DAgger attempt to expand the training distribution through manual human corrections, which is both labor-intensive and difficult to scale.
LPB offers a different approach: instead of making the distribution larger, we make the policy robust by keeping it within the existing expert distribution. By treating the expert manifold as a "safe set," we can implement a barrier-like mechanism in the latent space to maintain task alignment.
Methodology
LPB consists of two decoupled modules: a Base Diffusion Policy and a Visual Latent Dynamics Model.
Training Phase
The Base Diffusion Policy is trained solely on high-quality expert data. To learn recovery without human labels, we train a Visual Latent Dynamics Model on a mixture of expert data and "exploratory rollouts"—data generated by the robot's own imperfect intermediate checkpoints. This allows the dynamics model to understand the consequences of deviations from the expert path.
Inference Phase and Steering
At each timestep during inference, LPB calculates a Latent OOD Score ($\delta$), representing the distance between the current state's embedding and its nearest neighbor in the expert dataset.
If the OOD score exceeds a certain threshold, the system invokes Inference-Time Steering. It uses the dynamics model to look ahead and calculate the gradient of the OOD score with respect to proposed actions. This gradient is used to "nudge" the diffusion policy's denoising process, favoring actions that lead back toward the expert manifold.
Experimental Results
LPB was evaluated on several challenging benchmarks, including Push-T, Robomimic, and Libero10, as well as real-world assembly tasks.
Performance and Sample Efficiency
In low-data scenarios (using only 20% of expert demonstrations), LPB consistently outperformed standard BC baselines. For example, in the Robomimic "Tool Hang" task, LPB achieved a 0.39 success rate, compared to the base policy's 0.27.
Robustness to Noise and Real-World Recovery
LPB demonstrated extreme robustness to external perturbations. When Gaussian noise was injected into robot actions, LPB's performance degraded significantly slower than baselines. In real-world "Cup Arrangement" tests, LPB successfully handled OOD starting positions where the robot initially could not see the target objects. While the base policy failed (30% success), LPB detected the OOD state and steered the robot to a position where it could locate the objects, achieving an 85% success rate.
Conclusion
Latent Policy Barrier provides a robust, plug-and-play framework for improving robot visuomotor policies. By leveraging latent dynamics to stay within the expert distribution, LPB avoids the pitfalls of covariate shift without the need for costly human-in-the-loop data collection. Future research will explore extending this steering mechanism to longer horizons and multi-task generalization.
Summary updated