TL;DR
Self-Predictive Representations (SPR) is a novel framework that dramatically boosts the data efficiency of Reinforcement Learning (RL) agents. By forcing an agent to predict its own future latent states and maintaining consistency across different augmented views of an observation, SPR achieves a new state-of-the-art on the Atari 100k benchmark—surpassing human expert scores on 7 games with only two hours of simulated experience.
The Sample Efficiency Gap
Deep Reinforcement Learning has achieved legendary status by conquering complex games like Go, StarCraft, and Dota 2. However, these victories usually come at a massive cost: data. Standard agents often require the equivalent of tens of thousands of years of play to reach peak performance.
In the real world, we don't have the luxury of infinite data. Collecting interaction data for physical robots or medical systems is expensive, slow, and sometimes dangerous. The authors tackle this "sample efficiency" gap, asking: How can we train an agent to understand its environment and make good decisions using only a tiny fraction of the usual data?
Methods: Self-Predictive Representations
To solve this, the authors introduce Self-Predictive Representations (SPR), which augments a standard RL algorithm (Data-Efficient Rainbow) with a self-supervised objective.
The core architecture operates entirely in latent space, avoiding the computational waste of predicting exact future pixels, and consists of four main components:
- Online and Target Encoders: The agent uses an "online" encoder to process current observations. It also maintains a "target" encoder, which is a slowly moving average (EMA) of the online encoder's weights. Inspired by vision models like BYOL, this setup helps prevent the agent's internal representations from collapsing into a useless, constant state.
- Latent Transition Model: Instead of predicting future visual frames, the agent uses a transition model to predict future latent representations based on its chosen actions.
- Temporal Prediction: The agent is trained to ensure that its predicted future states (from the transition model) match the actual future states (processed by the target encoder) up to $K=5$ steps ahead.
- Data Augmentation: The model applies random shifts and color jitters to the input images. It forces the agent to produce similar representations for different "views" of the same state, making the learned features more robust.
Key Insights
- Prediction is a Powerful Teacher: Even without a reward signal, learning to predict "what happens next" helps the agent build a much better internal map of the game dynamics.
- No Negatives Needed: Unlike contrastive methods (like CURL) that require comparing a state against many "negative" examples, SPR uses the EMA target network. This makes it more stable and less dependent on large batch sizes.
- The Power of Combined Augmentation: While data augmentation is standard in vision, it is even more effective when combined with temporal prediction. Forcing the model to be consistent across both time and visual transformations creates a highly robust learning signal.
Key Results
The researchers evaluated SPR on the Atari 100k benchmark, which limits the agent to exactly 100,000 environment steps (roughly two hours of real-time play). They tested across 26 different Atari games, comparing against previous heavyweights like SimPLe, CURL, and DrQ.
- State-of-the-Art: SPR achieved a median human-normalized score of 0.415, representing a 55% relative improvement over the previous best method (DrQ).
- Superhuman Performance: Despite the extreme data limit, SPR outperformed human experts on 7 out of 26 games, including Boxing, Krull, and Road Runner.
- Robustness: Even when data augmentation was disabled (SPR no aug.), the method still outperformed all prior baselines, proving that the temporal prediction objective itself is a massive contributor to success.
- Computational Efficiency: Training SPR is relatively fast. While some model-based methods can take weeks to train, SPR completes its 100k step run in about 4.6 hours on a single GPU.
Limitations and Future Work
While SPR is a significant leap forward for data efficiency, the authors note a few areas for future exploration:
- Planning: Currently, the transition model is only used to train the encoder. It isn't used during active gameplay to look ahead and plan moves (similar to MuZero). Integrating SPR with lookahead planning could yield a potent combination.
- Multi-task Learning: The current study focuses on single-game performance. Future work could explore if SPR helps agents generalize across multiple different environments or tasks simultaneously.
- Unlabeled Data: Because the SPR objective is self-supervised and independent of environmental rewards, it could potentially be used to pre-train agents on large libraries of gameplay videos before they ever interact with the environment.
Summary updated