LGAIMLJan 13, 2021

Contrastive Behavioral Similarity Embeddings for Generalization in Reinforcement Learning

arXiv:2101.05265v2192 citations
AI Analysis

This addresses generalization challenges in reinforcement learning for AI systems, presenting a novel approach that is orthogonal to existing methods.

The paper tackles the problem of poor generalization in reinforcement learning by developing a policy similarity metric and contrastive learning method to embed behavioral similarity between states, demonstrating improved generalization on benchmarks including LQR with spurious correlations and Distracting DM Control Suite.

Reinforcement learning methods trained on few environments rarely learn policies that generalize to unseen environments. To improve generalization, we incorporate the inherent sequential structure in reinforcement learning into the representation learning process. This approach is orthogonal to recent approaches, which rarely exploit this structure explicitly. Specifically, we introduce a theoretically motivated policy similarity metric (PSM) for measuring behavioral similarity between states. PSM assigns high similarity to states for which the optimal policies in those states as well as in future states are similar. We also present a contrastive representation learning procedure to embed any state similarity metric, which we instantiate with PSM to obtain policy similarity embeddings (PSEs). We demonstrate that PSEs improve generalization on diverse benchmarks, including LQR with spurious correlations, a jumping task from pixels, and Distracting DM Control Suite.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes