Skip to content
derpx06.dev
WritingExplainersNotesAbout
works on my machineit's always DNSship itLGTMTODO: sleepoff by oneread the docsgit push --force-with-lease404: sleep not foundhave you tried turning it off and on againrubber duck says: explain itpremature optimisationworks on my machineit's always DNSship itLGTMTODO: sleepoff by oneread the docsgit push --force-with-lease404: sleep not foundhave you tried turning it off and on againrubber duck says: explain itpremature optimisation

Learning in public.

A student's notebook on system design, distributed systems and databases. Shared as I learn.

ReadWritingExplainersNotesAbout
ElsewhereGitHubLinkedInHugging FaceLeetCode
Say hellomanaskhairnar1511@gmail.com
derpx06
NORMALmain© 2026 Derpx06Pune, Indiatop ↑
Explainers/Research Papers

VL-JEPA explained: an AI that predicts meaning, not pixels

VL-JEPA predicts the meaning of an answer as numbers instead of writing tokens, and beat a token model in a matched test.

Derpx0623 Jan · 6 min read
Contents
The idea in one sentenceHow it worksStep 1: why predict an embedding and not tokens?Step 2: the four partsStep 3: why the model does not collapseStep 4: decoding only when neededWhat the paper foundWhat to be careful aboutSources
0% read · 6 min leftBack to top ↑
On this page0%
Contents
The idea in one sentenceHow it worksStep 1: why predict an embedding and not tokens?Step 2: the four partsStep 3: why the model does not collapseStep 4: decoding only when neededWhat the paper foundWhat to be careful aboutSources

Most AI models that look at video and answer questions write their answer one word-piece (token) at a time. That is slow, and the model also has to learn every way a sentence could be worded. This paper asks a different question: what if the model only predicts the meaning of the answer, as a list of numbers, and turns it into words only when someone needs to read it? That could make models cheaper and fast enough for live video.

Paper

VL-JEPA: Joint Embedding Predictive Architecture for Vision-language. Delong Chen, Mustafa Shukor, Théo Moutakanni, Willy Chung, Jade Yu, Tejaswi Kasarla, Yejin Bang, Allen Bolourchi, Yann LeCun, Pascale Fung (Meta FAIR, HKUST, Sorbonne Université, NYU). arXiv:2512.10942, December 2025 (v2 February 2026). Read it at arxiv.org/abs/2512.10942.

The idea in one sentence

Train the model to predict the embedding of the correct answer instead of the answer's tokens.

An embedding is a list of numbers that stands for the meaning of something. Two sentences with the same meaning get lists that are close together. JEPA means Joint Embedding Predictive Architecture (Yann LeCun is a co-author of this paper): predict in embedding space, not in raw data space such as pixels or words.

How it works

Figure 1 of the VL-JEPA paper: the X-Encoder turns the visual input into S_V, the Predictor uses S_V and the textual query X_Q to predict S_Y-hat, the Y-Encoder turns the textual target Y into S_Y, and a loss L compares them. A Y-Decoder is used only at inference.
Figure 1 of the VL-JEPA paper: the X-Encoder turns the visual input into S_V, the Predictor uses S_V and the textual query X_Q to predict S_Y-hat, the Y-Encoder turns the textual target Y into S_Y, and a loss L compares them. A Y-Decoder is used only at inference.

Step 1: why predict an embedding and not tokens?

Many questions have several right answers. For "What happens if I flip this switch?", both "the lamp is turned off" and "the room will go dark" are fine. As token sequences they share no words, so a token model must learn to put probability on many unrelated sequences. In embedding space the two answers land close together, so the model only has to hit one target area. The paper says this makes learning easier and wastes less effort on wording.

Token spaceTwo correct answers share no tokens, so they look completely different
→
Embedding spaceThe same two answers sit close together, one target to learn

Step 2: the four parts

  • X-Encoder (the video reader): a frozen V-JEPA 2 Vision Transformer (ViT-L, 304M parameters). It turns the video frames into visual embeddings. Frozen means it is not changed during training.
  • Predictor: the last 8 layers of Llama-3.2-1B (490M parameters). It reads the visual embeddings and the text of the question, and outputs one predicted answer embedding.
  • Y-Encoder: EmbeddingGemma-300M. It turns the true answer text into the target embedding. It is used only in training.
  • Y-Decoder: a small text decoder that turns a predicted embedding into words. It is used only when a person needs to read the text.

Both the Predictor and the Y-Encoder end in a projection to a shared space of 1,536 numbers, and that is where the loss is computed. The whole model has 1.6B parameters.

Step 3: why the model does not collapse

If you only reward "predicted embedding close to target embedding", there is a cheat. If the Y-Encoder outputs the same list for every answer, the Predictor can output that same list and the loss is zero. This is called representation collapse: everything maps to one point and nothing is learned.

The paper uses the InfoNCE loss to prevent it. In a batch of examples, each prediction must be most similar to its own target, and less similar to the targets of the other examples. Each similarity score goes through a softmax, which turns scores into probabilities that add up to 1. The loss is minus the log of the probability given to the correct target. The paper notes InfoNCE splits into an alignment part (pull the prediction towards its target) and a uniformity part (push different embeddings in the batch apart). It trains the Predictor and the Y-Encoder together. Other anti-collapse methods exist (such as an exponential moving average Y-Encoder, or a frozen one) and the paper lists them as alternatives it did not use.

Toy example (made-up numbers, temperature 1). A batch has 2 examples. Similarity of prediction i to target j: row 1 is 0.9 and 0.1, row 2 is 0.2 and 0.8.

  • Row 1: softmax gives 0.69 to the correct target, loss = -ln(0.69) = 0.371.
  • Row 2: softmax gives 0.646 to the correct target, loss = 0.437.
  • Average loss: 0.404.

Now suppose collapse: every similarity is 0.9. Each row gives 0.5 to the right target, so the loss is ln 2 = 0.693. Collapse is punished, because the model cannot tell targets apart.

Step 4: decoding only when needed

Because the Predictor outputs a stream of meaning embeddings without writing text, the model can watch live video and run the decoder only when the meaning changes. The paper groups the embedding stream into segments of similar meaning, averages inside each segment, and decodes once per segment.

Frames arrive
Predictor makes embeddings
Group similar embeddings
Decode once per group

A video stream comes in

Step 1 of 4

What the paper found

Controlled comparison. The authors trained a normal token-predicting VLM and VL-JEPA with the same vision encoder, data, batch size and training steps. Only the prediction target differed (embedding vs tokens).

After 15M samples seenVL-JEPAToken-predicting VLM
Zero-shot video captioning (CIDEr, average of 3 datasets)14.87.1
Zero-shot classification (top-5 accuracy, average of 3 benchmarks)41.0%27.2%

VL-JEPA used about half the trainable parameters (0.5B predictor vs a 1B language model). Both models had similar latency when generating text.

Zero-shot classification and retrieval (VL-JEPA BASE, after the first training stage). Best baseline was PE-Core-G.

PE-Core-G44.7%
VL-JEPA BASE52.5%
Average top-1 accuracy over 8 video classification datasets
PE-Core-G58.1
VL-JEPA BASE63.7
Average recall@1 over 8 video retrieval datasets

VL-JEPA was strong on motion-focused benchmarks and weaker on appearance-focused ones such as Kinetics-400. The authors note it had seen far fewer image-text pairs (3.6B vs 86B for PE-Core-G).

Question answering (VL-JEPA SFT, 1.6B). Accuracy was GQA 61.5, TallyQA 69.9, POPE 85.7, POPEv2 86.3. The paper calls this on par with older VLM families such as InstructBLIP and Qwen-VL. Some larger models scored higher on individual tests, for example PaliGemma-3B on GQA (66.6) and TallyQA (76.8).

Selective decoding. Decoding about every 2.85 seconds (0.35 Hz) matched the caption quality of decoding every second (1 Hz), which cuts the number of decoding operations by about 2.85 times.

These results show that, under matched conditions, embedding prediction learned faster than token prediction in this setup. They do not show that VL-JEPA beats strong VLMs in general.

What to be careful about

  • The authors say their goal is not a universal replacement for VLMs. Reasoning, tool use and agentic behaviour are tasks where token-generating VLMs still excel and were not evaluated.
  • The big comparison is one controlled setup (a specific encoder and data). The paper says it did not fully explore scaling parameters and data.
  • The "2.85 times" figure counts decoding operations, not total compute or total speed.
  • The anti-collapse method here is InfoNCE with a trained Y-Encoder. The paper names other options (moving-average or frozen Y-Encoder, VICReg, SIGReg) as untested alternatives.
Key takeaways
  • Token models must learn every wording of an answer; VL-JEPA predicts the answer's embedding, where equal meanings sit close together.
  • Parts: a frozen video encoder, a Predictor, a Y-Encoder for targets, and a small decoder used only at inference.
  • InfoNCE loss stops collapse by making each prediction match its own target better than the others.
  • In a matched test it beat a token VLM with about half the trainable parameters, and selective decoding cut decoding operations by about 2.85 times.

Sources

  • Chen et al., VL-JEPA: Joint Embedding Predictive Architecture for Vision-language, arXiv 2025 (PDF read in full)
ShareXLinkedInEmail
Written by Derpx06A developer who builds AI search tools and the code around them. I explain what I got wrong first, so you can skip it. Spotted a mistake? Tell me — corrections get credited.
Research Papers · 7 minDeepSeek-R1 explained: how it learned to think step by stepResearch Papers · 5 minMamba explained: an alternative to TransformersResearch Papers · 6 minLoRA explained: fine-tune a big AI model cheaplyResearch Papers · 7 minChinchilla explained: how big should an AI model be?
Start here
01Why do AI chatbots make things up?02How does Raft work? Getting computers to agree03Mamba explained: an alternative to Transformers