NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bootstrapped Representations in Reinforcement Learning

Charline Le Lan, Stephen Tu, Mark Rowland, Anna Harutyunyan, Rishabh Agarwal, Marc G Bellemare, Will Dabney

Introduction

In deep reinforcement learning (RL), agents require rich, informative state representations to navigate large or continuous environments. Because training an agent end-to-end solely on a sparse environmental reward often fails to produce these optimal representations, practitioners frequently rely on "auxiliary tasks." These tasks force the agent to predict secondary targets—like future states or random pseudo-rewards (known as cumulants)—to help shape the neural network's hidden layers into useful, generalized features.

Today, the method of choice for training these auxiliary predictions is bootstrapping, specifically Temporal Difference (TD) learning. However, a significant theoretical gap exists: we do not fully understand what specific mathematical features TD learning captures in this context, nor do we know how these bootstrapped features differ from those learned by supervised approaches like Monte Carlo (MC) rollouts. This paper provides a rigorous theoretical characterization of the state representations learned by TD learning and uses these insights to design better auxiliary learning rules.

The Mechanics of Auxiliary Tasks

Auxiliary Task Architecture

To open the black box of bootstrapped representation learning, the authors model the representation learning process as a continuous-time dynamical system. This allows them to analyze the critical points of the TD loss function and mathematically compare the representations learned by TD, Monte Carlo (MC), and residual gradient algorithms when predicting the expected return of various cumulants.

Based on these proofs, the paper also analyzes what makes a "good" cumulant for TD versus MC, including an in-depth look at random cumulants, which are a popular heuristic in modern RL.

Key Insights: TD vs. MC Representations

The theoretical analysis yields several surprising insights regarding how different algorithms shape state representations:

  • Fundamentally Different Features: The paper's most significant finding is that TD and MC learn fundamentally different things. When training auxiliary tasks, Monte Carlo methods learn the top-$d$ left singular vectors of the successor representation. In contrast, TD learning converges to the top-$d$ real invariant subspace of the transition matrix.
  • TD's Convergence Quirk: Because TD seeks invariant subspaces, it can actually fail to converge if the environment's transition matrix has complex eigenvalues and lacks a real top-$d$ invariant subspace. In such cases, the learned representation will continuously rotate.
  • Algorithm-Cumulant Mismatch: To obtain optimal representations for policy evaluation, the choice of cumulants (the auxiliary targets) must match the learning algorithm. Cumulants that are optimal for MC are not necessarily optimal for TD.
  • Not All Random Cumulants Are Equal: While random cumulants are a popular trick, their effectiveness depends heavily on their mathematical properties. For TD learning, orthogonal random cumulants perform significantly better than standard Gaussian ones.

Empirical Results

The authors validated their theoretical findings across several environments, including synthetic MDPs (randomly generated transition matrices with 50 states), the classic Four Rooms gridworld, and the continuous Mountain Car domain.

Training Dynamics of TD vs Supervised Methods
  • Theory Confirmed: In synthetic MDPs, empirical tracking of subspace distances during training showed that TD and MC (supervised) diverge to their respective predicted subspaces. Interestingly, in symmetric MDPs, the theory predicts TD and MC will learn the exact same representation, which the experiments perfectly confirmed.
  • Faster Downstream Learning: Armed with their theoretical insights, the authors introduced environment-aware cumulants, such as ExactSVD and Clustering Contrastive Representations (CCR). In the Four Rooms and Mountain Car domains, offline pre-training with these structured cumulants drastically sped up online DQN learning compared to using standard random normal cumulants or training a DQN from scratch.

Limitations and Future Work

The primary limitation of the theoretical analysis is its reliance on a tabular assumption. The proofs assume tabular updates, meaning there is no generalization between states when updating features—an assumption that is not strictly true when representations are parameterized by deep neural networks.

Looking forward, the authors suggest extending their continuous-time dynamical system analysis to fully parameterized neural networks. They also highlight the need to scale up the newly introduced representation learning methods (like CCR) to larger, more complex environments, such as pixel-based games.

Summary updated

BibTeX
@inproceedings{lan2023bootstrapped,
  author = {Charline Le Lan and Stephen Tu and Mark Rowland and Anna Harutyunyan and Rishabh Agarwal and Marc G Bellemare and Will Dabney},
  title = {{Bootstrapped Representations in Reinforcement Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=QFhYahlGNZ},
}
Figure