JEPA: Learning What to Predict in Representation Space

3 minute read

Published:

TL;DR: A Joint-Embedding Predictive Architecture learns to predict a target representation from available context. The choice of representation determines which details matter to the prediction problem. This book follows that idea through images, video, robot planning, and language, while keeping three questions separate: what is predicted, what prevents collapse, and how the representation is evaluated.

Start with the target

Intuition first. Watch a cup move behind a book. You may predict that the cup will reappear on the other side without knowing the exact reflection on its surface. A useful predictive model should preserve information needed for that judgement. Whether it actually learns to do so is an experimental question.

JEPA makes the prediction target a learned representation. In I-JEPA, the target describes hidden image regions; in V-JEPA, it describes hidden parts of a video. The word predictive does not require the target to be in the future: a missing patch in the same image is also a prediction problem.

The common pattern

Let \(x\) be visible context, \(y\) the target observation, and \(c\) information such as target position, a question, or an action. A schematic objective is

\[ \begin{aligned} z_x &= f_\theta(x), & z_y &= f_\xi(y),\\ \hat z_y &= g_\phi(z_x,c), & \mathcal L &= D(\hat z_y,z_y)+\lambda\mathcal R. \end{aligned} \]

Here \(D\) measures prediction error, while \(\mathcal R\) stands for an explicit regulariser when the method uses one. This is a reading aid, not a universal implementation: the papers use different losses, encoders, and mechanisms for maintaining informative features.

Prediction and comparison happen in representation spaceContext is encoded and passed through a predictor. A target observation is encoded separately. The two representations are compared; the target pixels are not the prediction output. Context encoderPredictorTarget encoderTarget featuresComparerepresentationsPositions, actions, or questions can condition the predictor.
The shared idea is a prediction task in a learned feature space. The training recipe differs across the papers.

Worked example: a perfect loss can be useless

Take two unrelated images. Suppose both target embeddings equal \((0,0)\), and the predictor always returns \((0,0)\). Their squared prediction errors are both zero. Yet the representation cannot tell the images apart.

This is representation collapse. Measuring prediction error alone cannot establish usefulness when the model also learns the targets. LeJEPA tackles this through distribution regularisation; I-JEPA and V-JEPA use a moving-average target encoder within their training recipes. These mechanisms should be examined together with masking, architecture, and evaluation.

A second failure is subtler. Suppose two scenes differ only in whether a cup is inside a gripper. A representation that erases this distinction may be adequate for identifying the object and inadequate for deciding whether to lift. The downstream task decides which invariances are helpful.

A reading route through the book

ChapterQuestion to carry into the paper
I-JEPAHow do masking and target features shape image learning?
LeJEPAWhy must agreement be paired with a distribution constraint?
V-JEPAWhat changes when the missing information spans time?
V-JEPA 2What additional information makes action-conditioned planning possible?
V-JEPA 2.1Why can good global features still be poor local features?
LeWorldModelHow can visual representations and action-conditioned dynamics be learned together?
VL-JEPAWhen should a predicted meaning be decoded into words?
Audio-JEPAWhich sound information survives masked spectrogram prediction?
LLM-JEPAHow can a representation objective complement token generation?
D-JEPAHow can predicted features condition a generative denoising model?

Reading the evidence

Check whether a result freezes the encoder and trains a small task head, fine-tunes the whole model, or evaluates a complete control system. These measure different capabilities. Also check which labels, captions, actions, and pretrained components enter each stage.

V-JEPA 2 distinguishes action-free video learning from robot interaction post-training. VL-JEPA uses vision-language supervision and a contrastive objective. The JEPA name therefore does not imply that every model is action-aware, label-free, or non-contrastive.

Key Insight: A latent prediction loss is a design choice about what information the model should retain. Its value is established by the distinctions the representation preserves and the tasks it supports.

For the control background, continue into learned model predictive control. The paper-specific chapters above each include the original first page, source links, and a worked explanation.