RAIL: Representation-Aligned Imitation Learning for Student-Compatible Teacher Policies
Meraj Mammadov, Pedro Zuidberg Dos Martires, Johannes Andreas Stork
Key points
From the paper's conclusion- Instead, we introduce Representation-Aligned Imitation Learning (RAIL), which addresses the mismatch during teacher training itself.
Abstract
Reinforcement learning (RL) from raw sensory inputs such as images or onboard sensors can be challenging due to high-dimensional observations and sparse rewards. A common strategy is to train a teacher policy with access to privileged state information and then distill it into a student policy that acts from raw inputs alone. However, when the teacher relies on information unavailable to the student, exact imitation may be impossible, creating an irreducible imitation gap. Existing approaches typically mitigate this mismatch through careful reward shaping or additional reinforcement learning on the student policy after the teacher has been trained. Instead, we introduce Representation-Aligned Imitation Learning (RAIL), which addresses the mismatch during teacher training itself. RAIL learns a latent representation shared across teacher and student observations using contrastive learning, and trains the teacher policy directly in this space. Because the teacher policy is constrained to operate on this shared space, it learns behaviors that are reproducible from student observations. This substantially reduces the imitation gap while preserving task performance. Across multiple environments, RAIL outperforms strong baselines without reward modification or post-hoc student fine-tuning, and surpasses direct reinforcement learning from raw observations. The learned representations further enable zero-shot transfer to new tasks through teacher-only training. Project site: https://merajmammadov.com/rail/.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- One Phase Is Enough: Sim-to-Real Transfer with Direct Visual Reinforcement LearningarXiv · 2026
- ReDOA: Real-World Distillation via Observation Alignment for Image-Based Manipulation Policy LearningarXiv · 2026
- From Self-Play RL to Constrained Control: Distilling DiffMPC Students with DAggerarXiv · 2026
- Selective Agent Guidance via Entropy: Learning Autonomous Policies from Imperfect VLM TeachersarXiv · 2026
- WISER-RL: A Wake-Sleep Learning Mechanism for Robot Reinforcement Learning from One DemonstrationarXiv · 2026
- Distilling Visual Agents from Limited Interaction ExperiencearXiv · 2026