Action-Conditional Self-Prediction (BYOL-AC)
- The paper introduces BYOL-AC, which conditions on future actions to improve state representations in reinforcement learning.
- It provides an exact ODE analysis and a variance decomposition that link policy-marginalized and action-conditional objectives with convergence guarantees.
- Empirical results across linear and deep RL settings demonstrate BYOL-AC’s superior performance in Q-function fitting and latent dynamics modeling.
Action-Conditional Self-Prediction (BYOL-AC) is a framework for representation learning in reinforcement learning (RL), situated within self-predictive learning paradigms. BYOL-AC extends bootstrap-based objectives by explicitly conditioning on future actions, rather than marginalizing over the agent’s action distribution. This modification yields improved state representations optimized for both model-based and model-free RL, enabling more precise dynamics modeling and value estimation in environments with complex, action-dependent transitions (Khetarpal et al., 2024).
1. Objective Function and Formalism
Let denote a finite state space with states represented one-hot as , and the finite action set. For a fixed sampling distribution over , a policy , and per-action transition matrices , the goal is to learn a -dimensional embedding matrix and per-action predictors .
The BYOL-AC loss is the expected squared prediction error in embedding space:
where denotes the stop-gradient operator. The loss enforces that, for each , the transformed embedding predicts the embedding of the successor state .
2. Continuous-Time ODE and Solution Characterization
BYOL-AC admits an exact continuous-time ODE characterization under simplifying assumptions: (i) orthonormal initialization and maintenance of , (ii) uniform , (iii) symmetric , (iv) uniform , and (v) shared eigenvectors among . The learning proceeds on two timescales:
- Inner loop: For fixed , each is set to its least-squares optimal solution, .
- Outer loop: evolves via the semi-gradient:
This ODE admits the following properties:
- Non-collapse: is maintained for all .
- Lyapunov function: is strictly increasing along ODE trajectories except at critical points, guaranteeing convergence.
- Stationary points: Local maximizers span the top- eigenspace of , aligning the learned representation with high-variance, action-sensitive dynamical modes.
3. Variance Identity and Connections to Policy-Marginalized Objectives
The action-conditional BYOL-AC formulation contrasts with its policy-marginalized counterpart, BYOL-, which replaces explicit -conditioning with an expected transition operator . The two are connected by a variance decomposition:
where the diagonal term captures mean dynamics and the variance term quantifies diversity across actions in the same eigenbasis. Consequently, BYOL-AC representations are optimized for directions critical under the policy-averaged operator and those with large across-action variance. This identity underlies the introduction of the "variance-like" action-conditional objective (BYOL-VAR), whose fixed points relate to principal "advantage" directions, as further formalized in model-free interpretations.
4. Model-Based and Model-Free Interpretations
The BYOL-AC trace objective admits both model-based and model-free interpretations:
- Model-based (low-rank transition fitting): Maximizing is equivalent to minimizing
for constant , i.e., fitting each with a rank- factorization. This situates BYOL-AC as learning a -dimensional linear model of action-conditional dynamics, potentially advantageous for latent-space planning.
- Model-free (value, Q, and advantage fitting): For states equipped with i.i.d. isotropic Gaussian rewards (), minimizing the BYOL objectives yields minimum MSE projections of value-like functions onto the -span:
- BYOL- fits one-step values:
- BYOL-AC fits one-step Q-functions: average over of
- Variance objective fits one-step advantage functions.
This duality clarifies the relationship between action awareness in the objective and the learned latent features' suitability for different RL signal decompositions.
5. Empirical Evaluation
Empirical comparisons cover both linear function approximation and deep RL environments:
- Linear setting: Over 100 random symmetric MDPs (), BYOL-AC, BYOL-, and BYOL-VAR representations minimize their respective trace objectives and best fit Q, value, and advantage functions in MSE.
- Deep RL benchmarks: On four Minigrid tasks with an on-policy V-MPO agent (augmented by each auxiliary loss) and on CartPole, MountainCar, Acrobot with DQN plus BYOL- or BYOL-AC auxiliary losses, the action-conditional (BYOL-AC) variant matches or outperforms BYOL-. In contrast, the variance objective performs poorly for control tasks.
- Ablations: Variation of prediction horizon and policy noise indicates that action-conditional prediction with BYOL-AC yields more robust and task-relevant features compared to policy-marginalized objectives.
A summary of the correspondence between objectives and RL signals:
| Objective | Optimizes | Best fits |
|---|---|---|
| BYOL- | Value function | |
| BYOL-AC | Q-function | |
| BYOL-VAR | Advantage function |
6. Significance and Theoretical Implications
BYOL-AC constitutes an extension of self-predictive representation learning to account for action-conditional dynamics, bridging the gap between theoretical analyses grounded in policy-marginalized assumptions and practical implementations in deep RL. The ODE theory specifies the geometry of fixed points (as principal subspaces of expected ), supports convergence guarantees, and links the approach to well-known decompositions in RL. The variance decomposition clarifies the benefit of action conditioning: features can capture task-relevant, action-specific structure overlooked by value-centric, policy-averaged approaches. Empirically, BYOL-AC outperforms policy-marginalized and variance-focused analogues in both low- and high-dimensional control environments (Khetarpal et al., 2024).