Policy Contrastive Decoding for Robotic Foundation Models
Shihan Wu, Xu Luo, Ji Zhang, Junlin Xie, Jingkuan Song, Heng Tao Shen, Lianli Gao
TL;DR
This work tackles the generalization gap of robotic foundation models by identifying reliance on spurious correlations in pre-training data. It introduces Policy Contrastive Decoding (PCD), a training-free, plug-in method that reinforces object-focused cues by contrasting action distributions from original versus object-masked observations, supported by Track2Mask for automatic masking and KDE-based Probabilistic Modeling (KDE-PM) for diffusion-based policies. Empirically, PCD yields substantial gains across 15 tasks and three policies in simulation (up to 50.6% for OpenVLA, 29.7% for Octo, 8.9% for $\pi_0$) and real-world (108% average improvement) settings, with manageable but non-negligible inference-time overhead. The approach demonstrates strong generalization benefits and practical applicability, while highlighting avenues for efficiency improvements and future training-time mitigation of spurious correlations.
Abstract
Robotic foundation models, or generalist robot policies, hold immense potential to enable flexible, general-purpose and dexterous robotic systems. Despite their advancements, our empirical experiments reveal that existing robot policies are prone to learning spurious correlations from pre-training trajectories, adversely affecting their generalization capabilities beyond the training data. To tackle this, we propose a novel Policy Contrastive Decoding (PCD) approach, which redirects the robot policy's focus toward object-relevant visual clues by contrasting action probability distributions derived from original and object-masked visual inputs. As a training-free method, our PCD can be used as a plugin to improve different types of robot policies without needing to finetune or access model weights. We conduct extensive experiments on top of three open-source robot policies, including the autoregressive policy OpenVLA and the diffusion-based policies Octo and $π_0$. The obtained results in both simulation and real-world environments prove PCD's flexibility and effectiveness, e.g., PCD enhances the state-of-the-art policy $π_0$ by 8.9% in the simulation environment and by 108% in the real-world environment. Code and demos are publicly available at: https://Koorye.github.io/proj/PCD.
