Introduction
Imitation Learning (IL) has traditionally relied on the assumption of expert demonstrations—near-perfect examples of task completion. However, in real-world scenarios, obtaining high-quality data is often difficult. Human demonstrations can be suboptimal, and automated collection may include failures. While Learning from Imperfect Demonstrations (LfID) methods attempt to address this by reweighting data based on confidence scores, they typically require labor-intensive manual labeling in the target environment.
This paper introduces Adversarial Confidence Transfer (ACT), a framework designed to learn a confidence predictor in a labeled source environment (e.g., a simulation) and transfer it to an unlabeled target environment (e.g., a real robot). By prioritizing high-quality data and ignoring failures without manual intervention in the target domain, ACT significantly lowers the barrier for training robust robotic policies.
Methodology
The ACT framework addresses the challenge of differing state-action spaces between environments (e.g., a 3-joint arm vs. a 7-joint arm) through a three-stage process:
- Source Training: An encoder ($E^{src}$) and a confidence decoder ($F$) are trained on the source environment using available confidence labels.
- Adversarial Alignment: To map source and target data into a shared latent space, the authors employ Multi-length Partial Trajectory Matching. Unlike point-wise matching, this technique uses discriminators to align sequences of varying lengths ($k=1, \dots, K$), preserving the temporal context and intent of the actions.
- Confidence Transfer: Distribution alignment occurs at both the feature level (latent representations) and the confidence level (predicted scores), ensuring that similar behaviors across domains receive consistent evaluations.
Experimental Evaluation
The researchers evaluated ACT across diverse benchmarks, including MuJoCo tasks (Reacher and Ant) and Franka Panda robot arm simulations. A key test involved Sim-to-Real transfer, where knowledge from a simulated arm was applied to a physical robot performing a shelf-loading task.
Key Results
- Performance Gains: In the MuJoCo "Ant" task, ACT achieved an expected return of 1556.43, significantly outperforming standard GAIL (507.85) and the previous state-of-the-art DCC (1218.59).
- Oracle Proximity: The method's performance closely approached that of an "Oracle" model with access to ground-truth target labels.
- Real-World Efficacy: In sim-to-real experiments, ACT reached a 92.8% success rate on optimal trajectory setups, whereas standard GAIL achieved only 42.8%.
Discussion and Insights
A central finding of this work is that temporal context is critical. Matching single state-action pairs is insufficient because identical poses can occur in both successful and failing trajectories. By matching multi-length trajectories, ACT captures the underlying progress of a task. Furthermore, the inclusion of a confidence-level distribution matching loss ensures the latent space is organized by task success rather than just physical appearance.
Limitations and Future Work
The current approach assumes a relational mapping between environments; if tasks are fundamentally different, transfer may fail. Future work aims to relax these correspondence assumptions and explore more complex, long-horizon tasks where temporal matching becomes even more critical for success.
Summary updated