TL;DR
This paper introduces the Inference-Time Policy Steering (ITPS) framework, a novel method for guiding pre-trained generative robotic policies using real-time human interactions without requiring fine-tuning. ITPS effectively steers policies towards user intent, such as specific goals or trajectory shapes, while mitigating the risk of distribution shift and constraint violations, achieving a better trade-off between alignment and safety.
What Problem Does This Paper Address?
Generative policies, trained on human demonstrations, are powerful for complex, long-horizon robotic tasks. However, once trained, these policies typically operate autonomously during execution. This disconnect limits the ability to guide the policy towards a specific sub-goal or desired trajectory shape when the initial task specification is underspecified or when the environment changes. Simply intervening with naive methods can lead to "distribution shift," where the policy's outputs become unreliable and prone to errors or constraint violations. This paper addresses the challenge of enabling flexible, real-time human guidance of these pre-trained policies during inference without the need for costly retraining or fine-tuning, while ensuring the generated behaviors remain safe and within the learned data distribution.
Methods
The core contribution is the Inference-Time Policy Steering (ITPS) framework. Instead of retraining the policy, ITPS leverages human interactions to bias the sampling process of a frozen, pre-trained generative policy. The framework supports three types of human interactions:
- Point Input: The user specifies a 3D target point in the environment.
- Sketch Input: The user provides a partial trajectory sketch.
- Physical Correction: The user directly manipulates the robot's trajectory.
These interactions are translated into alignment objectives ($\xi(\tau, z)$) that penalize deviations from user intent. The paper then explores six different sampling strategies to incorporate these objectives into the policy's generation process. These strategies range from simple post-hoc ranking and output perturbation to diffusion-specific methods like Guided Diffusion (GD) and their proposed Stochastic Sampling (SS). GD uses alignment gradients to steer the diffusion process, but can lead to distribution shift. SS, on the other hand, uses an annealed MCMC approach to sample from the product of the policy's distribution and the user's objective, effectively balancing alignment with constraint satisfaction.
Datasets
The paper evaluates ITPS on three benchmarks:
- Maze2D: A simulated environment for continuous motion alignment, using a dataset of 4 million navigation steps.
- Block Stacking: A simulated environment for discrete task alignment, using a dataset of 5 million pick-and-place actions.
- Real World Kitchen: A physical environment for discrete task alignment, trained on 60 demonstrations for two tasks (bowl in microwave/sink).
Key Insights and Ideas
- Steering vs. Retraining: The paper convincingly argues for the benefits of steering pre-trained policies at inference time over fine-tuning, especially for multi-task generalist policies, as it avoids the overhead of retraining and preserves the original policy's broad capabilities.
- The Alignment-Constraint Trade-off: A fundamental challenge is that aggressive steering to improve alignment with user intent often leads to a decrease in constraint satisfaction (e.g., collisions). The paper quantifies this trade-off across different methods.
- Stochastic Sampling for Robustness: The proposed Stochastic Sampling (SS) method, particularly when applied to diffusion policies, demonstrates a superior ability to achieve high alignment with user intent while maintaining a high rate of constraint satisfaction, effectively navigating the alignment-constraint trade-off.
- Diffusion Models as a Strong Foundation: Diffusion models, with their inherent ability to capture multimodal distributions, prove to be particularly well-suited for steering with ITPS, allowing for more robust and flexible guidance.
Key Results
- In Maze2D, SS achieved the best alignment with minimal collisions, outperforming other methods like Guided Diffusion and Post-Hoc Ranking.
- In Block Stacking, GD with a modified steering strategy (deactivating steering in later diffusion steps) showed improved alignment while mitigating distribution shift.
- In the Real World Kitchen task, SS improved "Aligned Success" by 21% compared to random rollouts, demonstrating its effectiveness in achieving both user intent and successful execution.
- Qualitative results across all benchmarks visually demonstrate how ITPS can guide policies to follow user-provided sketches and achieve specific task goals.
Limitations and Future Work
The authors acknowledge that their proposed sampling procedure can be computationally expensive. Future work aims to address this by distilling the steering process into an interaction-conditioned policy for faster responses and plans to conduct user studies to further validate the steerability of the system.
Summary updated