Papers
Topics
Authors
Recent
Search
2000 character limit reached

Action-Conditional Self-Prediction (BYOL-AC)

Updated 11 March 2026
  • 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 XX denote a finite state space with states represented one-hot as xRXx \in \mathbb{R}^{|X|}, and AA the finite action set. For a fixed sampling distribution dXd_X over XX, a policy π(x)\pi(\cdot|x), and per-action transition matrices TaRX×XT_a \in \mathbb{R}^{|X| \times |X|}, the goal is to learn a kk-dimensional embedding matrix ΦRX×k\Phi \in \mathbb{R}^{|X| \times k} and per-action predictors PaRk×kP_a \in \mathbb{R}^{k \times k}.

The BYOL-AC loss is the expected squared prediction error in embedding space:

minΦ,{Pa}ExdX,aπ(x),yTa(x)PaTΦTxsg(ΦTy)22,\min_{\Phi,\,\{P_a\}} \mathbb{E}_{x\sim d_X,\,a\sim\pi(\cdot|x),\,y\sim T_a(\cdot|x)} \left\| P_a^T \Phi^T x - \mathrm{sg}(\Phi^T y) \right\|_2^2,

where sg()\mathrm{sg}(\cdot) denotes the stop-gradient operator. The loss enforces that, for each (x,a)(x, a), the transformed embedding PaTΦTxP_a^T \Phi^T x predicts the embedding of the successor state ΦTy\Phi^T y.

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 Φ\Phi, (ii) uniform dXd_X, (iii) symmetric TaT_a, (iv) uniform π\pi, and (v) shared eigenvectors among TaT_a. The learning proceeds on two timescales:

  • Inner loop: For fixed Φ\Phi, each PaP_a is set to its least-squares optimal solution, Pa=ΦTTaΦP_a^* = \Phi^T T_a \Phi.
  • Outer loop: Φ\Phi evolves via the semi-gradient:

Φ˙=(IΦΦT)2AXaTaΦΦTTaΦ.\dot{\Phi} = (I - \Phi\Phi^T)\frac{2}{|A||X|} \sum_a T_a\Phi\Phi^T T_a\Phi.

This ODE admits the following properties:

  • Non-collapse: ΦTΦ=I\Phi^T \Phi = I is maintained for all tt.
  • Lyapunov function: fBYOLAC(Φ)=1AaTr(ΦTTaΦΦTTaΦ)f_{\mathrm{BYOL-AC}}(\Phi) = \frac{1}{|A|}\sum_a \mathrm{Tr}(\Phi^T T_a \Phi \Phi^T T_a \Phi) is strictly increasing along ODE trajectories except at critical points, guaranteeing convergence.
  • Stationary points: Local maximizers Φ\Phi^* span the top-kk eigenspace of 1AaTa2\frac{1}{|A|} \sum_a T_a^2, 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-Π\Pi, which replaces explicit aa-conditioning with an expected transition operator Tπ=Ea[Ta]T^\pi = \mathbb{E}_a [T_a]. The two are connected by a variance decomposition:

1AaTa2=(Tπ)2+Varac,\frac{1}{|A|}\sum_a T_a^2 = (T^\pi)^2 + \mathrm{Var}_{ac},

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 fBYOLACf_{\mathrm{BYOL-AC}} is equivalent to minimizing

min(Pa)1AaTaΦPaΦTF2+C\min_{(P_a)} \frac{1}{|A|} \sum_a \| T_a - \Phi P_a \Phi^T \|_F^2 + C

for constant CC, i.e., fitting each TaT_a with a rank-kk factorization. This situates BYOL-AC as learning a kk-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 RR (E[RRT]=I/X\mathbb{E}[RR^T]=I/|X|), minimizing the BYOL objectives yields minimum MSE projections of value-like functions onto the Φ\Phi-span:
    • BYOL-Π\Pi fBYOLΠf_{\mathrm{BYOL-\Pi}} fits one-step values: minθ,ωE[TπRΦθ2+TπΦΦTRΦω2]\min_{\theta,\omega}\mathbb{E}\left[ \| T^\pi R-\Phi\theta \|^2 + \| T^\pi \Phi\Phi^T R - \Phi\omega \|^2 \right]
    • BYOL-AC fBYOLACf_{\mathrm{BYOL-AC}} fits one-step Q-functions: average over aa of minθa,ωa(TaRΦθa2+TaΦΦTRΦωa2)\min_{\theta_a,\omega_a}\left(\|T_a R-\Phi\theta_a\|^2 + \|T_a\Phi\Phi^T R-\Phi\omega_a\|^2\right)
    • 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 (X=10,A=4,k=4|X|=10, |A|=4, k=4), BYOL-AC, BYOL-Π\Pi, 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-Π\Pi or BYOL-AC auxiliary losses, the action-conditional (BYOL-AC) variant matches or outperforms BYOL-Π\Pi. 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-Π\Pi (Tπ)2(T^\pi)^2 Value function
BYOL-AC Ea[Ta2]\mathbb{E}_a[T_a^2] Q-function
BYOL-VAR Varac\text{Var}_{ac} 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 Ta2T_a^2), 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).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Action-Conditional Self-Prediction (BYOL-AC).