arXiv:2611.09302cs.LGNov 2026

Manuscript Offprint

arXiv:2611.09302

A Stochastic Latent Variable Generalization of Joint-Embedding Predictive Architectures

Nikos Giakoumoglou, Paschalis Giakoumoglou, Tania Stathaki

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Joint-Embedding Predictive Architectures (JEPAs) predict the latent embedding of a target signal from a context signal, with an auxiliary variable z conditioning the predictor. Despite its prominent role in the original JEPA blueprint, the content of z has been carried by a fixed deterministic token in every prior instantiation, collapsing the genuinely multi-modal distribution over plausible completions to a point estimate. We present S-JEPA, which realises z as a proper stochastic latent variable for masked image prediction: a learned posterior infers z from context and target during training, while a learned context-conditioned prior approximates the distribution of plausible completions at inference, with no decoders and no reconstruction. In its deterministic limit the objective reduces to the I-JEPA loss in functional form, generalising that objective rather than strictly containing the I-JEPA model. Our central finding is that stochasticity adds capabilities, error-correlated predictive uncertainty and diverse completions, at no cost to representation quality: under matched architectures and schedules S-JEPA improves over the deterministic I-JEPA baseline and exceeds LeJEPA at matched architecture, while additionally producing spatially structured uncertainty maps and semantically diverse completions, neither of which the deterministic predictor produces.

1. Introduction

Self-supervised representation learning has emerged as a promising paradigm for advancing machine intelligence without explicit supervision [19, 67], producing representations that rival or exceed fully-supervised training on many downstream tasks [16, 19, 33, 34, 38, 42, 43]. LeCun [55] introduced Joint-Embedding Predictive Architectures (JEPAs) as a step toward a “world model”. Unlike generative models [8, 43, 66, 71] that reconstruct raw inputs,

Figure

Figure 1. JEPAs are trained to predict the representation of an input y from the representation of another input x. The additional variable z provides the predictor with information about the transformation that computes y from x.

JEPAs predict in latent space: given a context signal, the predictor recovers the representation of a target signal, not raw pixels. Assran et al. [4] instantiated this for vision, showing that predicting masked patch representations from a context block yields semantic embeddings without hand-crafted view augmentations, outperforming reconstruction-based baselines [8, 23, 43] on linear probing; the framework has since been extended to video [5, 13, 62], language [45], and vision-language grounding [17], and endowed with theoretically grounded collapse-prevention objectives [7, 53].

Concretely, a JEPA comprises a context xx-encoder fxf_x and a target yy-encoder fyf_y, producing sx=fx(x)\mathbf{s}_x = f_x(\mathbf{x}) and sy=fy(y)\mathbf{s}_y = f_y(\mathbf{y}), plus a predictor gg that estimates s^y=g(sx,z)\hat{\mathbf{s}}_y = g(\mathbf{s}_x, \mathbf{z}) (Figure 1). Central to LeCun's blueprint [26, 55] is the auxiliary variable z\mathbf{z}, carrying the residual information the context lacks, e.g. scene-level factors, global style, or the semantic content of the masked region. Yet z\mathbf{z} is deterministic in every instantiation: a shared learnable mask token with positional embedding in I-JEPA [4], and its spatiotemporal analogue in V-JEPA [13]. Stochasticity has entered only the positional component, by sampling the mask-token position [9] or conditioning the encoders on window positions [57]; neither models a distribution over what the masked region contains, the role z\mathbf{z} carries in the blueprint.

∗^{*}Corresponding author: nikos@imperial.ac.uk

This gap matters because masked prediction is intrinsically ambiguous. Given “pavement”, a “parked car”, and “open sky”, the hidden region could equally plausibly contain a “fire hydrant”, a “pedestrian”, or a “traffic signal”. Even with perfect context representations the distribution over semantically valid completions is genuinely multi-modal [55], and it remains so once the location of the target is known. A predictor that collapses this distribution to a point estimate discards the space of plausible completions and offers no signal indicating where the context under-determines the target.

We therefore realise z as a proper stochastic latent variable over the content of the masked region, fulfilling the intent of LeCun's original formulation [26, 55], replacing the deterministic predictor with one built on a Conditional Variational Autoencoder (CVAE) [50, 68] operating entirely in representation space. A learned posterior qψ(z∣sx,sy)q_{\psi}(\mathbf{z} \mid \mathbf{s}_{\mathrm{x}}, \mathbf{s}_{\mathrm{y}}) infers z from context and target during training, while a learned prior pθ(z∣sx)p_{\theta}(\mathbf{z} \mid \mathbf{s}_{\mathrm{x}}) anticipates plausible completions from context alone and is used at inference. Training maximises a variational lower bound (ELBO) on the log-likelihood of sy\mathbf{s}_{\mathrm{y}} given sx\mathbf{s}_{\mathrm{x}}, decomposing into a prediction term and a Kullback-Leibler (KL) divergence regulariser (Def. 2), with the reparameterisation trick [50] enabling end-to-end gradient flow through the inference network. Collapsing z to a deterministic code with no access to the target reduces the prediction term to the JEPA loss of Assran et al. [4] in functional form, while the KL regulariser is precisely what prevents the target-conditioned posterior from short-cutting prediction; our formulation is thus a probabilistic generalisation of the I-JEPA objective rather than a strict superset of the I-JEPA model.

Our contributions are as follows. (i) We realise the auxiliary latent variable z in JEPA as a stochastic variable over the content of the masked region for spatial masked image prediction, using a learned context-conditioned prior and no decoders or reconstruction, directly addressing the intent of LeCun's original JEPA blueprint [55]; prior stochastic treatments of z act on its positional component [9, 57], and concurrent variational JEPA work targets sequential control, tabular data, or symmetric view modelling (Section 2), settings distinct from ours. (ii) We derive a principled CVAE-style ELBO for JEPA-style masked prediction, with a learned conditional prior and posterior over z, operating entirely in latent space with no observation-space reconstruction. (iii) We show that the proposed objective recovers the original JEPA loss in functional form as a deterministic special case, providing a clean interpolation between point-estimate and distributional prediction. (iv) We demonstrate that stochasticity adds capabilities, error-correlated predictive uncertainty (Figure 5) and diverse completions (Figure 4), at no cost to representation quality: S-JEPA improves over I-JEPA [4] under matched architectures and

schedules and exceeds LeJEPA [7] at matched architecture on a longer schedule, while additionally producing an error-correlated uncertainty signal and semantically diverse completions that the deterministic predictor does not produce.

References (76)