Cross-Trajectory Representation Learning for Zero-Shot Generalization in RL
Bogdan Mazoure, Ahmed M. Ahmed, R. Devon Hjelm, Andrey Kolobov, Patrick MacAlpine
Abstract
A highly desirable property of a reinforcement learning (RL) agent -and a major difficulty for deep RL approaches -is the ability to generalize policies learned on a few tasks over a high-dimensional observation space to similar tasks not seen during training. Many promising approaches to this challenge consider RL as a process of training two functions simultaneously: a complex nonlinear encoder that maps high-dimensional observations to a latent representation space, and a simple linear policy over this space. We posit that a superior encoder for zero-shot generalization in RL can be trained by using solely an auxiliary SSL objective if the training process encourages the encoder to map behaviorally similar observations to similar representations, as reward-based signal can cause overfitting in the encoder (Raileanu and Fergus, 2021) . We propose Cross Trajectory Representation Learning (CTRL), a method that runs within an RL agent and conditions its encoder to recognize behavioral similarity in observations by applying a novel SSL objective to pairs of trajectories from the agent's policies. CTRL can be viewed as having the same effect as inducing a pseudo-bisimulation metric but, crucially, avoids the use of rewards and associated overfitting risks. Our experiments 1 ablate various components of CTRL and demonstrate that in combination with PPO it achieves better generalization performance on the challenging Procgen benchmark suite (Cobbe et al., 2020) .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Improving Zero-Shot Generalization in Offline Reinforcement Learning using Generalized Similarity Functions cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
- Improving Zero-Shot Generalization in Offline Reinforcement Learning using Generalized Similarity Functions cites CURL: Contrastive Unsupervised Representations for Reinforcement Learning
- Improving Zero-Shot Generalization in Offline Reinforcement Learning using Generalized Similarity Functions cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Procedural generalization by planning with self-supervised world models cites A Simple Framework for Contrastive Learning of Visual Representations
- Unsupervised Learning of Visual Features by Contrasting Cluster Assignments cites A Simple Framework for Contrastive Learning of Visual Representations
- Unsupervised Learning of Visual Features by Contrasting Cluster Assignments cites Self-labelling via simultaneous clustering and representation learning
- Rethinking Value Function Learning for Generalization in Reinforcement Learning cites Procedural generalization by planning with self-supervised world models
- CURL: Contrastive Unsupervised Representations for Reinforcement Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Understanding and Addressing the Pitfalls of Bisimulation-based Representations in Offline Reinforcement Learning cites CURL: Contrastive Unsupervised Representations for Reinforcement Learning
- Look where you look! Saliency-guided Q-networks for generalization in visual Reinforcement Learning cites CURL: Contrastive Unsupervised Representations for Reinforcement Learning
- Look where you look! Saliency-guided Q-networks for generalization in visual Reinforcement Learning cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
Cited by top-tier papers10
- Look where you look! Saliency-guided Q-networks for generalization in visual Reinforcement LearningDavid Bertoin, Adil Zouitine, Mehdi Zouitine, Emmanuel RachelsonNeurIPS 2022 · 67 citations
- Procedural generalization by planning with self-supervised world modelsAnkesh Anand, Jacob C. Walker, Yazhe Li, Eszter Vértes et al.ICLR 2022 · 34 citations
- Improving Zero-Shot Generalization in Offline Reinforcement Learning using Generalized Similarity FunctionsBogdan Mazoure, Ilya Kostrikov, Ofir Nachum, Jonathan TompsonNeurIPS 2022 · 29 citations
- Rethinking Value Function Learning for Generalization in Reinforcement LearningSeungyong Moon, JunYeong Lee, Hyun Oh SongNeurIPS 2022 · 17 citations
- Understanding and Addressing the Pitfalls of Bisimulation-based Representations in Offline Reinforcement LearningHongyu Zang, Xin Li, Leiji Zhang, Yang Liu et al.NeurIPS 2023 · 15 citations
Builds on23
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
- Unsupervised Learning of Visual Features by Contrasting Cluster AssignmentsMathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal et al.NeurIPS 2020 · 5,249 citations
- CURL: Contrastive Unsupervised Representations for Reinforcement LearningMichael Laskin, Aravind Srinivas, Pieter AbbeelICML 2020 · 1,261 citations
- Self-labelling via simultaneous clustering and representation learningYuki Markus Asano, Christian Rupprecht, Andrea VedaldiICLR 2020 · 873 citations
Related papers
- Saliency-Guided Representation with Consistency Policy Learning for Visual Unsupervised Reinforcement LearningJingbo Sun, Qichao Zhang, Songjun Tu, Xing Fang et al.CVPR 2026 · 1 citation
- Contrastive Behavioral Similarity Embeddings for Generalization in Reinforcement LearningRishabh Agarwal, Marlos C. Machado, Pablo Samuel Castro, Marc G. BellemareICLR 2021 · 27 citations
- AnyMorph: Learning Transferable Polices By Inferring Agent MorphologyBrandon Trabucco, Mariano Phielipp, Glen BersethICML 2022 · 37 citations
- Learning Generalizable Representations for Reinforcement Learning via Adaptive Meta-learner of Behavioral SimilaritiesJianda Chen, Sinno Jialin PanICLR 2022 · 6 citations
- Contrastive Learning as Goal-Conditioned Reinforcement LearningBenjamin Eysenbach, Tianjun Zhang, Sergey Levine, Ruslan SalakhutdinovNeurIPS 2022 · 331 citations
