TD-JEPA: Latent-predictive Representations for Zero-Shot Reinforcement Learning

Marco Bagatella, Matteo Pirotta, Ahmed Touati, Alessandro Lazaric, Andrea Tirinzoni

International Conference on Learning Representations 2026 · Oral

Overview

This talk introduces TD-JEPA, an innovative algorithm designed for zero-shot control in reinforcement learning (RL). Presented by Marco Bagatella on behalf of his co-authors, the core premise of TD-JEPA is to pretrain models on offline datasets, entirely devoid of reward labels, and subsequently enable them to extract optimal policies for arbitrary reward functions directly at test time. This capability addresses a significant challenge in RL: the high cost and complexity associated with reward engineering and extensive online interaction. The algorithm achieves this by leveraging a latent predictive objective, a concept well-established in self-supervised representation learning, but critically adapted here to recover awareness of long-term, policy-dependent dynamics.

Watch on SlidesLive

Visual summary for TD-JEPA: Latent-predictive Representations for Zero-Shot Reinforcement Learning by Marco Bagatella, Matteo Pirotta, Ahmed Touati, Alessandro Lazaric, Andrea Tirinzoni
Visual summary for TD-JEPA: Latent-predictive Representations for Zero-Shot Reinforcement Learning by Marco Bagatella, Matteo Pirotta, Ahmed Touati, Alessandro Lazaric, Andrea Tirinzoni

Key moments

  1. 0:00 Introduction to TD-JEPA for zero-shot reinforcement learning
  2. 2:00 Conditioning predictor on actions and policies for future impact
  3. 3:20 Enabling off-policy learning with Temporal Difference objectives
  4. 4:50 Theoretical equivalence: self-predictive vs. reconstructive objectives
  5. 6:50 Empirical results: TD-JEPA outperforms baselines on diverse tasks
  6. 8:50 Summary: Latent prediction for zero-shot reward optimization
  7. 9:20 Q&A: Linearity of reward functions and feature capacity

TD-JEPA: Latent-predictive Representations for Zero-Shot Reinforcement Learning

Speakers: Marco Bagatella, Matteo Pirotta, Ahmed Touati, Alessandro Lazaric, Andrea Tirinzoni

Conference: ICLR 2026

YouTube: https://slideslive.com/39062166

Overview

This talk introduces TD-JEPA, an innovative algorithm designed for zero-shot control in reinforcement learning (RL). Presented by Marco Bagatella on behalf of his co-authors, the core premise of TD-JEPA is to pretrain models on offline datasets, entirely devoid of reward labels, and subsequently enable them to extract optimal policies for arbitrary reward functions directly at test time. This capability addresses a significant challenge in RL: the high cost and complexity associated with reward engineering and extensive online interaction. The algorithm achieves this by leveraging a latent predictive objective, a concept well-established in self-supervised representation learning, but critically adapted here to recover awareness of long-term, policy-dependent dynamics.

At its heart, TD-JEPA instantiates a Joint Embedding Predictive Architecture (JEPA) to learn representations that are not merely predictive of immediate future states, but crucially, of how actions and specific policies will shape the distant future. This long-term, policy-conditioned prediction is precisely the information required for effective control and policy evaluation. The talk meticulously details the evolution of this objective, starting from a basic JEPA for short-term dynamics, progressively incorporating long-term prediction, policy conditioning, and ultimately, a Temporal Difference (TD) learning mechanism to ensure the algorithm is fully off-policy and can operate effectively with diverse offline datasets.

The significance of TD-JEPA lies in its potential to democratize access to powerful RL capabilities. By eliminating the need for reward labels during pretraining and enabling zero-shot adaptation to new objectives, it drastically reduces the data and engineering overhead typically associated with deploying RL agents. This makes it particularly valuable for applications where reward functions are complex, dynamic, or emerge only at deployment, or where online interaction is costly or unsafe. The work not only presents a robust empirical solution but also offers a strong theoretical foundation, establishing an equivalence between the self-predictive objective and a reconstruction objective, which is shown to capture a multi-linear approximation of the successor measure.

Background

▶ Watch: Introduction to TD-JEPA for zero-shot reinforcement learning (0:00)

The field of reinforcement learning has seen remarkable progress, yet practical deployment often faces formidable challenges, particularly concerning reward function design and data efficiency. Traditional RL paradigms typically assume access to a well-defined reward signal during training, which can be difficult to specify for complex real-world tasks. Furthermore, learning often requires extensive online interaction with the environment, which is costly, time-consuming, and potentially unsafe in many domains. This has spurred significant interest in offline RL, where agents learn from pre-collected, static datasets, and representation learning, which aims to extract meaningful features from raw observations to facilitate downstream tasks.

Prior work in self-supervised representation learning has demonstrated the power of predictive objectives. Architectures like Joint Embedding Predictive Architectures (JEPAs) have shown promise in learning robust representations by predicting future states or transformations of states in a latent space. These methods often involve encoding current and future observations into a shared latent space and training a predictor to map the current state's representation to the future state's representation. However, many of these approaches traditionally focus on short-term, unconditioned predictions, which are insufficient for the nuanced requirements of control. To make informed decisions, an agent needs to understand not just what will happen, but what could happen under different actions and policies, and how these choices impact long-term outcomes.

The problem TD-JEPA tackles is the gap between generic self-supervised representations and those specifically tailored for control. Control requires representations that are aware of long-term, policy-dependent dynamics. That is, they must encode information about the causal impact of actions and policies on future states, extending beyond immediate next steps, and accounting for the cumulative effects over time, often under discounting. Existing methods often struggle to disentangle these policy-dependent dynamics without explicit reward supervision during representation learning. Moreover, the goal of zero-shot control—where a policy can be optimized for any new reward function at test time without further training—remains an ambitious frontier, necessitating representations that are universally useful across a broad spectrum of objectives. TD-JEPA builds upon the strengths of JEPA and temporal difference learning to bridge this gap, offering a novel solution for learning control-centric representations from reward-free offline data.

Key Findings

▶ Watch: Enabling off-policy learning with Temporal Difference objectives (3:20)

TD-JEPA introduces several key findings and contributions that advance the state of zero-shot reinforcement learning and self-supervised representation learning for control:

  1. Latent Predictive Objective for Policy-Dependent Long-Term Dynamics: The core finding is that a carefully designed latent predictive objective, when conditioned on actions and a latent policy parametrization, can effectively learn representations that capture how specific policies influence long-term future states. This goes beyond typical self-supervised methods that predict unconditioned short-term dynamics.
  2. Temporal Difference (TD) Integration for Off-Policy Learning: A crucial innovation is the integration of a TD learning mechanism into the latent predictive objective. By replacing direct future state prediction with a bootstrapped target (current next state representation combined with a discounted prediction from the next state), TD-JEPA becomes fully off-policy and can be trained effectively on arbitrary offline datasets, removing the restrictive requirement for policy-specific trajectory data.
  3. Multi-Task Critic Recovery and Zero-Shot Policy Optimization: The predictor learned by TD-JEPA inherently recovers a form of multi-task critic. For any reward function that is linear in the learned features, this critic can reconstruct the Q-function. This enables a DDPG-style loss to optimize policies for a family of rewards. Crucially, at test time, for a new reward, the corresponding latent conditioning (Z) can be found via simple linear regression, allowing for zero-shot policy extraction without further environment interaction or model retraining.
  4. Theoretical Equivalence to Successor Measure Decomposition: The talk establishes a formal theoretical perspective, demonstrating an equivalence in terms of gradients between TD-JEPA's self-predictive objective and a reconstruction objective. Minimizing this reconstruction loss implies that TD-JEPA captures a low-rank decomposition of the successor measure, which represents the discounted sum of probabilities of visiting future states. Specifically, TD-JEPA recovers a multi-linear approximation of this quantity, providing strong theoretical grounding for its ability to learn relevant control information.
  5. Empirical Superiority Across Diverse Domains: Extensive experiments show that TD-JEPA consistently outperforms established baselines and comparable latent predictive representation methods across a range of environments, including locomotion, manipulation, and navigation tasks. This superior performance is particularly pronounced in visual domains, highlighting its ability to learn robust state representations from pixels.
  6. Importance of Long-Term and Policy-Dependent Information: Ablation studies rigorously confirm that surgically removing components responsible for capturing policy-dependent or long-term dynamics significantly hurts zero-shot performance. This empirically validates the core design principles of TD-JEPA.
  7. Asymmetric Architecture Benefits: While a symmetric architecture (where a single encoder learns representations for both current and future states) is simpler, an asymmetric version training two separate encoders for different roles empirically demonstrates improved performance, offering greater flexibility.
  8. Meaningful Representation Properties: Visualizations (e.g., Grad-CAM) confirm that the learned representations naturally capture a sense of temporal distance within the environment's dynamics. Furthermore, state and goal representations, while sometimes sharing features, often focus on distinct aspects, which is intuitive for decision-making and task description.

Technical Deep Dive

▶ Watch: Theoretical equivalence: self-predictive vs. reconstructive objectives (4:50)

The technical foundation of TD-JEPA evolves from a basic Joint Embedding Predictive Architecture (JEPA), incrementally adding complexity to achieve policy-dependent, long-term, and off-policy representation learning.

The journey begins with the simplest instantiation of JEPA for dynamical systems. Given a transition from a state S to S prime (S'), the approach involves encoding both states into a latent space using an encoder $\phi$. A predictor $P$ is then trained to take the representation of the first state, $\phi(S)$, as input and predict an exponential moving average of the representation of the next state, $\phi(S')$. This is typically achieved with an L2 loss function. This initial setup makes the representation $\phi$ predictive of short-term dynamics.

To achieve long-term dynamics awareness, the target of the prediction is modified. Instead of predicting $\phi(S')$, the predictor is trained to predict $\phi(S+)$, where $S+$ is a future state sampled from the trajectory, with the offset between $S$ and $S+$ drawn from a geometric distribution to account for temporal discounting. This ensures that the learned representations are predictive of events far into the future.

The critical step for control is to make these representations sensitive to actions and policies. This is achieved by adding conditioning to the predictor. The predictor now takes as input $\phi(S)$, an action $A$, and a latent policy parametrization $Z$. The objective becomes to predict $\phi(S+)$ conditioned on $A$ and $Z$. This forces the representations to capture information about how a policy parameterized by $Z$ (and executing action $A$) will impact the future.

A significant hurdle with the long-term, policy-conditioned objective is the data requirement: it needs tuples of (state, action, future state) where the future state is sampled from trajectories induced by each specific policy. This is highly restrictive for offline learning. TD-JEPA overcomes this by introducing a Temporal Difference (TD) learning trick. Instead of directly predicting $\phi(S+)$, a bootstrapped target is used. The predictor now targets $\phi(S') + \gamma P(\phi(S'), A', Z)$, where $\gamma$ is the discount factor and $P(\phi(S'), A', Z)$ is a discounted prediction conditioned on the next state $S'$. This is a standard TD learning objective, but instead of predicting scalar values (like Q-values), it predicts vectors (representations). This modification is pivotal: it removes the need for $S+$ (future states) and means the algorithm only requires simple transition tuples $(S, A, S')$, making it fully off-policy and suitable for diverse offline datasets collected by arbitrary policies.

Once these policy-dependent, long-term representations are learned, the system needs to perform control. The predictor $P(\phi(S), A, Z)$ implicitly recovers a form of multi-task critic. For any reward function that is linear in the features (i.e., $R(S, A) = \mathbf{w}^T \phi(S, A)$ for some weight vector $\mathbf{w}$), the predictor can be used to reconstruct the Q-function. Specifically, the expected discounted sum of future rewards can be approximated. This linearity is a key assumption, but the speaker notes that with sufficient capacity and good training, the learned features can span a wide range of rewards.

To optimize policies, TD-JEPA instantiates another objective for the policy network, reminiscent of DDPG-style loss. For a given latent policy parametrization $Z$, a policy $\pi_Z$ is trained to maximize the predicted Q-value: $\max_{A} P(\phi(S), A, Z)$. By optimizing for enough $Z$s (representing different reward preferences or tasks), the system learns a collection of policies optimal for a family of rewards. At test time, when a new reward function is provided, the corresponding latent representation $Z$ can be found through linear regression on the features, as established by prior work. This $Z$ then conditions the learned policy to act optimally for the new reward in a zero-shot manner.

The theoretical underpinnings of TD-JEPA are significant. The talk shows an equivalence in terms of gradients between the self-predictive objective and a reconstruction objective. Minimizing this reconstruction loss implies that TD-JEPA effectively captures a low-rank decomposition of the successor measure. The successor measure is defined as the discounted sum of probabilities of visiting some state in the future. TD-JEPA specifically recovers a multi-linear approximation to this quantity, where the representations $\phi$ appear twice in a symmetric fashion. While this symmetric decomposition is simpler, the authors also explore an asymmetric version where two distinct encoders are trained to be predictive of each other, providing more flexibility and often better empirical performance.

Experimental Setup & Results

▶ Watch: Summary: Latent prediction for zero-shot reward optimization (8:50)

The empirical evaluation of TD-JEPA focuses on demonstrating its effectiveness in zero-shot control across a variety of challenging environments and data conditions.

Environments: The methods were tested on a diverse set of environments spanning:

  • Locomotion: Tasks requiring agents to move effectively, often from high-dimensional pixel observations.
  • Manipulation: Robotics-inspired tasks involving interaction with objects.
  • Navigation: Tasks where agents must find paths or specific locations.

These environments were evaluated under two observation settings: learning from pixels (high-dimensional visual input) and learning from low-dimensional states (e.g., proprioceptive sensors or ground-truth coordinates). The performance in visual domains was particularly highlighted as a strength of TD-JEPA.

Datasets: As an offline method, TD-JEPA was pretrained on various offline datasets. These datasets varied in their characteristics:

  • Expert vs. Non-expert data: Some datasets contained trajectories from highly skilled agents, while others included suboptimal or random behavior.
  • High vs. Low coverage: Datasets differed in how comprehensively they explored the state-action space, posing challenges for robust representation learning.

The crucial aspect is that these datasets were used for pretraining without any reward labels.

Evaluation Protocol:

  1. Pretraining: TD-JEPA and baselines were pretrained on the chosen offline datasets, learning representations and predictors without access to reward signals.
  2. Inference (Zero-Shot Control): At test time, a new reward function was provided. TD-JEPA then optimized a policy for this reward using the previously learned representations and the closed-form solution (linear regression to find the latent conditioning $Z$) described in the technical deep dive. The performance was measured by the average return achieved by the extracted policy in the environment.

Baselines:

TD-JEPA was compared against:

  • Established baselines: Existing state-of-the-art methods in offline RL or representation learning for control.
  • Ablations/Connections to existing work: The authors also created specific baselines to connect TD-JEPA to existing work on latent predictive representations, allowing for a clearer understanding of the contribution of each component.

Headline Results & Ablations:

  • Overall Superiority: Across the considered domains, TD-JEPA consistently demonstrated generally better performance compared to existing methods. This improvement was particularly notable in visual domains, suggesting that its representation learning mechanism is highly effective at extracting meaningful features from raw pixels for control.
  • Importance of Policy-Dependent and Long-Term Dynamics: A series of ablation studies were conducted where components of the TD-JEPA objective were surgically removed to isolate their contribution. When the objective was modified to account for only short-term dynamics or to lose policy-dependent information, there was a consistent performance degradation in the zero-shot sense across all evaluated domains. This strongly validates the design choices to incorporate both long-term and policy-dependent prediction.
  • Representation Properties:
  • Temporal Distance: Visualizations of the learned representations, such as similarities between predictions and representations in a visual ant maze, showed that they naturally capture a sense of temporal distance in the ground-truth MDP. This indicates that the representations encode information relevant to how far into the future specific states lie.
  • Symmetry vs. Asymmetry: Empirical evaluation of the asymmetric version of TD-JEPA (using two encoders) against the symmetric version showed an overall improvement in performance. While the symmetric version is simpler and uses fewer parameters, the asymmetric design offers greater flexibility that translates to better results.
  • State vs. Goal Representations: Using Grad-CAM visualizations to observe pixel saliency with respect to value estimation, it was shown that state and goal representations, while sometimes overlapping, frequently focus on different features of the input. This makes intuitive sense, as different information is needed for current decision-making (state) versus defining a desired outcome (goal/task).

In summary, the experimental results provide strong evidence for TD-JEPA's ability to learn robust, control-aware representations from reward-free offline data, leading to superior zero-shot policy performance, especially in complex visual environments.

Practical Implications

▶ Watch: Q&A: Linearity of reward functions and feature capacity (9:20)

TD-JEPA offers significant practical implications for various stakeholders in the AI/ML ecosystem, from individual practitioners to large infrastructure teams. Its core contribution lies in reducing the barriers to entry and deployment for complex reinforcement learning systems.

For practitioners and model builders, the most immediate benefit is the ability to perform zero-shot control without the need for explicit reward labels during the representation learning phase. This dramatically simplifies the problem of reward engineering, which is notoriously difficult and time-consuming in real-world applications. Instead of meticulously crafting and tuning reward functions for every new task, practitioners can leverage a pre-trained TD-JEPA model and simply provide a new reward function at inference time, which is then used to find the optimal policy through linear regression on the latent space. This accelerates iteration cycles and enables rapid adaptation to evolving task requirements.

For infrastructure teams and deployers, TD-JEPA's fully off-policy and offline learning capabilities are a game-changer. It means that valuable representations and control policies can be learned from existing, heterogeneous datasets without requiring costly, risky, or time-consuming online interaction with the environment. This is particularly relevant in domains like robotics, autonomous driving, or industrial control, where real-world data collection is expensive and errors can have severe consequences. Infrastructure teams can build and maintain large repositories of diverse offline data, and TD-JEPA can extract value from this data for a multitude of future control tasks. The ability to pretrain offline also implies that compute resources can be utilized more efficiently, potentially in batch processing, rather than requiring continuous, real-time interaction.

Tradeoffs and Limitations:

  1. Linearity of Rewards: A key assumption for the zero-shot mechanism is that new reward functions are linear in the learned features. While the speaker suggests that given enough capacity and good training, the features can theoretically span a wide range of rewards, this remains a practical limitation. Highly non-linear or complex reward functions might not be adequately represented by the learned features, leading to suboptimal policies.
  2. Data Distribution Dependence: Like all offline RL methods, TD-JEPA's performance is inherently tied to the quality and coverage of the offline dataset. If the data does not sufficiently cover the state-action space relevant to a new task, or if it lacks diversity, the learned representations might be inadequate, leading to poor generalization. The method cannot explore actions or states not present in the training data.
  3. Exploration in Online Settings: While TD-JEPA can be applied in online settings, the speaker acknowledges that the problem of exploration becomes critical. How one would explore effectively with such a structured algorithm, particularly to gather new data that improves the long-term, policy-dependent representations, is an open and interesting research question. The current framework is primarily optimized for exploiting pre-existing data.
  4. Computational Cost of Pretraining: While inference is efficient, the pretraining phase, especially for complex visual environments and large models, can still be computationally intensive. However, this is a one-time cost, amortized over many subsequent zero-shot tasks.

Despite these tradeoffs, the ability to learn general-purpose, control-aware representations from reward-free offline data, and then instantly adapt to new objectives, positions TD-JEPA as a powerful tool for accelerating the development and deployment of intelligent agents in a wide array of applications. The open-sourcing of the code further enables wider adoption and research on this promising direction.

Key Takeaways

  • Zero-shot control from reward-free data: TD-JEPA enables learning optimal policies for arbitrary reward functions at test time, after pretraining on offline datasets without any reward labels.
  • Latent predictive objective for control: The algorithm's core is a novel latent predictive objective that learns representations aware of long-term, policy-dependent dynamics, essential for control.
  • Temporal Difference (TD) for off-policy learning: Integrating TD learning makes TD-JEPA fully off-policy, allowing it to leverage diverse, arbitrary offline datasets for pretraining.
  • Multi-task critic and linear reward adaptation: The learned predictor acts as a multi-task critic, allowing for DDPG-style policy optimization and zero-shot adaptation to new, linearly-representable reward functions via simple linear regression.
  • Theoretical foundation in successor measures: TD-JEPA is theoretically equivalent to a reconstruction objective that captures a low-rank, multi-linear approximation of the successor measure, providing strong justification for its efficacy.
  • Empirical excellence in visual domains: The method consistently outperforms baselines, particularly in complex visual environments, demonstrating its robustness and capacity for learning high-quality state representations.

About the Speaker(s)

The talk was presented by Marco Bagatella, who is listed as the primary presenter and one of the co-authors of the TD-JEPA research. He delivered the presentation on behalf of a team of co-authors, including Matteo Pirotta, Ahmed Touati, Alessandro Lazaric, and Andrea Tirinzoni. While specific titles and affiliations were not detailed in the transcript, the depth and technical rigor of the presentation suggest a background in machine learning and reinforcement learning research, likely from an academic or industrial research institution specializing in AI. The collaborative nature of the work, with a list of five co-authors, indicates a significant research effort within the field.

Reviews

→ Top-rated talks at International Conference on Learning Representations 2026

All talks from International Conference on Learning Representations 2026