A Unifying Framework for Action-Conditional Self-Predictive Reinforcement Learning

Khimya Khetarpal, Zhaohan Daniel Guo, Bernardo Avila Pires, Yunhao Tang, Clare Lyle, Mark Rowland, Nicolas Heess, Diana L Borsa, Arthur Guez, Will Dabney

Abstract

Learning a good representation is a crucial challenge for reinforcement learning (RL) agents. Self-predictive algorithms jointly learn a latent representation and dynamics model by bootstrapping from future latent representations (BYOL). Recent work has developed theoretical insights into these algorithms by studying a continuous-time ODE model in the case of a fixed policy (BYOL-$\Pi$); this assumption is at odds with practical implementations, which explicitly condition their predictions on future actions. In this work, we take a step towards bridging the gap between theory and practice by analyzing an action-conditional self-predictive objective (BYOL-AC) using the ODE framework. Interestingly, we uncover that BYOL-$\Pi$ and BYOL-AC are related through the lens of variance. We unify the study of these objectives through two complementary lenses; a model-based perspective, where each objective is related to low-rank approximation of certain dynamics, and a model-free perspective, which relates the objectives to modified value, Q-value, and Advantage functions. This mismatch with the true value functions leads to the empirical observation (in both linear and deep RL experiments) that BYOL-$\Pi$ and BYOL-AC are either very similar in performance across many tasks or task-dependent.

Introduction

Representation learning is fundamental to the success of reinforcement learning (RL), enabling agents to extract meaningful features from high-dimensional observations. A prominent class of methods, inspired by Bootstrap Your Own Latent (BYOL), learns representations by predicting future latent states. However, a significant gap exists between theoretical analysis and practical application. Theoretical studies often focus on BYOL-$\Pi$, which assumes a fixed policy and averages over actions. In contrast, practical implementations utilize BYOL-AC, which conditions predictions on specific actions. This work aims to bridge this gap by providing a unifying theoretical framework for action-conditional self-predictive RL.

Theoretical Framework: The ODE Lens

To analyze the learning dynamics of these objectives, we employ an Ordinary Differential Equation (ODE) framework in a continuous-time limit. This approach allows for a precise characterization of the learned representation $\Phi$ at convergence. We present two unifying perspectives:

  1. Model-Based Perspective: We demonstrate that BYOL-$\Pi$, BYOL-AC, and a novel variance-based objective (BYOL-VAR) correspond to finding low-rank approximations of different transition dynamics: the average transition $T^\pi$, per-action transitions $T_a$, and the residual dynamics $T_a - T^\pi$, respectively.
  2. Model-Free Perspective: These objectives are shown to be equivalent to fitting "modified" versions of the state-value function ($V$), the action-value function ($Q$), and the advantage function ($A$).

The Variance Relation

A key theoretical insight is the additive relationship between these objectives. BYOL-AC can be decomposed into BYOL-$\Pi$ and a variance term, BYOL-VAR. While BYOL-$\Pi$ captures features relevant to the average transition, BYOL-AC incorporates additional features that distinguish between different actions.

The additive relationship between BYOL-Π and BYOL-VAR forming the BYOL-AC objective.

Empirical Analysis and Spectral Capture

The proposed theory predicts that BYOL-AC captures the top eigenvectors of per-action transition matrices, whereas BYOL-$\Pi$ captures those of the average transition matrix. We validated these predictions across various environments, including linear MDPs, classic control tasks, and Minigrid.

Spectral capture comparison: BYOL-Π, BYOL-VAR, and BYOL-AC capture distinct components of the eigenvalue spectrum.

In linear settings, BYOL-$\Pi$ and BYOL-AC often exhibit similar performance in fitting value functions. In deep RL experiments (e.g., Minigrid), BYOL-AC generally outperforms BYOL-$\Pi$, though the performance gap is frequently smaller than expected. This is attributed to the "Modified Value Function Trap": both algorithms fit versions of value functions that include a projected reward term, creating a common bottleneck.

Conclusion

This work unifies the theory of fixed-policy and action-conditional self-predictive RL. By identifying the variance relation and the modified value function mismatch, we provide a clearer understanding of why these algorithms behave similarly in many contexts. While current analysis relies on assumptions like symmetric dynamics, it lays the groundwork for future exploration into hierarchical RL and specialized advantage-learning auxiliary tasks.

Summary updated

BibTeX
@inproceedings{khetarpal2025unifying,
  author = {Khimya Khetarpal and Zhaohan Daniel Guo and Bernardo Avila Pires and Yunhao Tang and Clare Lyle and Mark Rowland and Nicolas Heess and Diana L Borsa and Arthur Guez and Will Dabney},
  title = {{A Unifying Framework for Action-Conditional Self-Predictive Reinforcement Learning}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=5DypCUsMg4},
}
Figure