Manuscript Offprint
arXiv:2611.09302A Stochastic Latent Variable Generalization of Joint-Embedding Predictive Architectures
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 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 -encoder and a target -encoder , producing and , plus a predictor that estimates (Figure 1). Central to LeCun's blueprint [26, 55] is the auxiliary variable , carrying the residual information the context lacks, e.g. scene-level factors, global style, or the semantic content of the masked region. Yet 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 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 infers z from context and target during training, while a learned prior anticipates plausible completions from context alone and is used at inference. Training maximises a variational lower bound (ELBO) on the log-likelihood of given , 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.
2.1. Joint-Embedding Predictive Architectures
JEPAs [26, 55] predict missing information from context in latent rather than pixel space. I-JEPA [4] is the canonical image instantiation: a context encoder processes visible patches and a narrow predictor, conditioned on positional mask tokens, predicts the representations of target blocks computed by an EMA target encoder. The framework has been extended to video [5, 13, 62], joint motion and content [12], language [45], vision-language grounding [17], and heterogeneous tabular data [69], and connected to contrastive learning [61]. In all of these, the auxiliary variable z is treated as a fixed deterministic signal. Two works make part of it stochastic, both acting on its positional component: Bar et al. [9] draw the mask-token positional embedding from a Gaussian with a learned covariance shared across tokens and images, and Littwin et al. [57] condition each encoder on the positions of the opposing window. Neither introduces a posterior over the target, a context-conditioned prior, or a distribution over the content of the masked region. Since the two mechanisms act on different arguments of they are complementary to ours rather than competing; we compare in Appendix F.
2.2. Collapse Prevention and Distributional Regularisation
Standard JEPA implementations rely on EMA updates [38] of the target encoder [4, 13], which prevent trivial solutions but offer no explicit control over the distributional properties of embeddings [35]. VICReg [10] penalises feature-wise variance collapse and cross-dimension covariance, and Drozdov et al. [30] apply variance-covariance penalties within JEPA; Balestriero and LeCun [7] prove that an isotropic Gaussian is the minimax-optimal embedding distribution for downstream probing and enforce it via SIGReg, eliminating EMA and all training heuristics, and Kuang et al. [53] extend this with a sliced two-sample loss for explicit sparsity control. In S-JEPA, target-information leakage through the predictor is controlled by the KL term of the CVAE-style ELBO, which acts as an information bottleneck on z and prevents it from becoming a degenerate free variable. This addresses a distinct failure mode acting on a distinct object: the KL bounds the information z carries about (Lemma 1) but places no constraint on the encoder outputs, so the EMA target encoder is retained for the context-target pair, consistent with I-JEPA [4], and we do not claim it is made redundant.
2.3. Probabilistic Prediction in Latent Space
The VAE [50] and CVAE [68] provide the ELBO and reparameterisation machinery we build on, while world-model research has emphasised stochastic latent dynamics for planning [39]. The prior-posterior asymmetry we adopt has a precedent there: Hafner et al. [40] pair a learned transition prior with an observation-conditioned posterior precisely to represent multiple futures, but close the loop through a pixel decoder (Appendix F.7); distributional embeddings in retrieval [25, 63] attach uncertainty to an observed input rather than a withheld region (Appendix F.8). Two concurrent works introduce probabilistic objectives into JEPAs but differ substantially from ours: Huang [46] target sequential prediction over future latent states with a fixed Gaussian prior, and Gögl and Yau [37] formulate JEPA as a full generative model with observation-space decoders and reconstruction terms. S-JEPA differs on three axes: (i) it addresses spatial masked image prediction, (ii) it employs a context-conditioned learned prior , and (iii) it contains no decoders or reconstruction objective, the CVAE operating purely in representation space and preserving the non-generative character of JEPA [4, 55]. A detailed analytical comparison is given in Appendix F.
3. Methodology
We first review the JEPA framework and its deterministic predictor (Section 3.1), then derive the S-JEPA objective by introducing z as a stochastic latent variable via a CVAE operating in representation space (Section 3.2).
3.1. Preliminaries: Joint-Embedding Predictive Architectures
In JEPAs [55], a system learns to predict the representation of one view of the data from the representation of another, rather than reconstructing the raw input signal (Figure 1). A JEPA consists of a context -encoder , a target -encoder , and a predictor . Given a context observation and a target observation , the model computes , , and , where is an auxiliary variable that provides the predictor with additional information to facilitate prediction. The training objective minimises the distance between the predicted and actual target representations in embedding space [4].
Definition 1: I-JEPA
(I-JEPA)
where denotes the stop-gradient operation, which blocks gradients from flowing into the target encoder.
It is the deterministic treatment of the content of z in Def. 1, described in Section 1, that we now relax.

Figure 2. S-JEPA overview. The posterior network infers from both context and target representations; the prior network infers from context alone. The sampled is injected into the predictor to produce . No arrows return to observation space: S-JEPA is non-generative by design.
3.2. Stochastic Prediction in Representation Space
We began by asking a simple structural question: if the predictive embedding steps in JEPA were interpreted as the variational posteriors of a coupled VAE [50, 68], what probabilistic model would give rise to those posteriors? This viewpoint naturally leads to a novel reinterpretation of JEPA within a probabilistic latent-variable framework. Concretely, we replace the deterministic z with a stochastic latent variable and introduce a learned prior and posterior over it, both operating purely in representation space, preserving the non-generative character of JEPA throughout. We refer to the resulting model as S-JEPA (Stochastic Joint Embedding Predictive Architecture). The overall structure is illustrated in Figure 2.
Objective and factorisation. Our goal is to model the conditional distribution in representation space, i.e., the distribution over target patch representations given the context representation of the same image. Even with full context, the masked regions retain genuine uncertainty due to occlusion, texture variability, and semantic ambiguity [55]. We introduce as a per-image latent variable that accounts for this residual uncertainty, giving the joint:
where is a learned context-conditioned prior parameterised by , and is the likelihood defined through the predictor . The marginal likelihood of the target representation given context is:
which is intractable for a learned neural predictor . We instead maximise a variational lower bound.
Context-conditioned prior. The prior conditions on the context representation alone, and must learn to anticipate the distribution of plausible target completions from visible patches without access to the target. We parameterise it as a diagonal Gaussian:
where and are learned functions of . At inference, is sampled from this prior since the target representation is unavailable.
Approximate posterior. During training, we introduce an approximate posterior that additionally conditions on the target representation , allowing it to infer the latent code that best explains the observed target given the context:
At inference the posterior is unavailable and z is drawn from the prior instead. The prior must therefore learn to match the aggregate distribution of posteriors across the training data, driving it to internalise the statistics of plausible completions conditioned on context alone (see Appendix A.6).
Evidence lower bound. Introducing the approximate posterior and applying Jensen's inequality to the concave log:
This is the CVAE ELBO [68] in representation space (Prop. 1, Appendix A.1). The first term drives accurate prediction of given and ; the second term regularises toward the context-conditioned prior, preventing the posterior from encoding information inaccessible at inference. The bound is tight if and only if equals the true posterior (see Appendix A.1.1).
Gaussian likelihood and MSE reduction. We assume a fixed-variance isotropic Gaussian likelihood:
where is a fixed observation-noise parameter. Expanding the log-density and taking the expectation under yields (Prop. 2, Appendix A.2):
where is a constant independent of , , (here denotes the dimensionality of ). Minimising the negative ELBO with respect to is therefore equivalent to minimising the scaled MSE plus the KL term. The KL divergence between the two diagonal Gaussians is computed in closed form (Prop. 3, Appendix A.3):
Sampling is performed via the reparameterisation trick [50], with , which allows gradient flow through the stochastic node. Absorbing the constant into a single hyperparameter that controls the relative strength of the KL regulariser (Appendix A.2.1), we obtain the final S-JEPA training objective:
Definition 2: Stochastic JEPA
(S-JEPA)
where is the stop-gradient of Def. 1, retained on the EMA target encoder, and controls the information bottleneck on . Setting recovers the exact (scaled) negative ELBO; treating as a free hyperparameter yields a -VAE-style objective [44].
The posterior conditions on , so gradients reach but not .
When z is collapsed to a deterministic code that does not access the target, reduces to the I-JEPA objective of Def. 1 in functional form, recovering the deterministic baseline as a special case of S-JEPA (Thm. 1, Appendix A.4); the I-JEPA mask token is target-independent whereas is not, so the recovery is of the loss form rather than the specific parameterisation.
4. Implementation Details
We use a vision transformer [29] with patch size at resolution in two configurations: ViT-B/16 and ViT-L/16. The target encoder is an EMA copy of the context encoder with momentum linearly scheduled from 0.996 to 1.0. The predictor is a standard Transformer of depth 6 for ViT-B and 12 for ViT-L, embedding dimension 384, 12 heads, and MLP ratio 4; context tokens are projected into the predictor dimension, z is prepended as a prefix token, and learnable mask tokens are appended for each target position before a final projection back to the encoder dimension. Both the prior and posterior are 2-layer GELU MLPs mapping to a diagonal Gaussian over . We use the multi-block masking strategy of Assran et al. [4] for S-JEPA: a single context block with scale (0.85, 1.0) and unit aspect ratio, and 4 target blocks with scale (0.15, 0.20) and aspect ratio (0.75, 1.5), with any overlap between the context and target blocks removed; we adopt multi-block to match I-JEPA [4], holding the pretext task fixed across the two predictors. We train with AdamW [58], batch size 2048 for ViT-B/16 and 1024 for ViT-L/16, on 4 A100 GPUs with bfloat16, warming the learning rate from to over 40 epochs then cosine-decaying to , with weight decay cosine-scheduled from 0.04 to 0.4, for 600 epochs on ImageNet-1K [27]. Pretraining and evaluation details are in Appendix B; all ablations are in Appendix C.
5. Experiments
We evaluate S-JEPA on image classification (Section 5.1), low-level vision (Section 5.2), qualitative analysis of encoder and predictor behaviour (Sections 5.3 and 5.4), and the computational cost of stochasticity (Section 5.5). Main-paper benchmark results use a single run; appendix ablations average three pretraining seeds.
5.1. Image Classification
To assess the learned features for high-level semantic recognition without hand-crafted data augmentations, we conduct a series of benchmarks on ImageNet-1K [27].
ImageNet linear evaluation. We assess frozen feature quality by training a linear classifier on global average-pooled encoder outputs following Assran et al. [4]. Results in Table 1 show that S-JEPA surpasses I-JEPA at both backbone scales and exceeds reconstruction-based baselines [6, 43] trained for substantially longer. At matched architecture it also exceeds LeJEPA [7] without multi-view augmentations, at its total encoder tokens (Appendix F.3).
ImageNet low-shot evaluation. We evaluate label efficiency by fine-tuning the full pretrained model on 1% of ImageNet-1K labels (12 to 13 images per class), following the low-shot fine-tuning protocol of Assran et al. [4], which adapts the setup of He et al. [43]. Results in Table 2 show that S-JEPA improves over I-JEPA by more than a
Table 1. ImageNet linear evaluation. Top-1 linear probing accuracy on frozen features.
| Method | Arch. | Epochs | Top-1 |
|---|---|---|---|
| Methods without view data augmentations | |||
| data2vec [6] | ViT-L/16 | 1600 | 77.3 |
| ViT-B/16 | 1600 | 68.0 | |
| MAE [43] | ViT-L/16 | 1600 | 76.0 |
| ViT-H/14 | 1600 | 77.2 | |
| I-JEPA [4] | ViT-B/16 | 600 | 72.9 |
| ViT-L/16 | 600 | 77.5 | |
| ViT-H/14 | 300 | 79.3 | |
| S-JEPA (ours) | ViT-B/16 | 600 | 73.5 |
| ViT-L/16 | 600 | 78.3 | |
| Methods using extra view data augmentations | |||
| LeJEPA [7] | ViT-L/16 | 100 | 77.1 |
| ViT-H/14 | 100 | 79.0 | |
| iBOT [81] | ViT-B/16 | 400 | 79.5 |
| DINO [16] | ViT-B/16 | 100 | 78.2 |
| ViT-B/8 | 300 | 80.1 | |
| MSN [2] | ViT-L/7 | 300 | 80.7 |
| SimCLR v2 [20] | RN152 (2×) | 800 | 79.1 |
Table 2. ImageNet low-shot evaluation. Top-1 accuracy with 1% of ImageNet-1K labels, using full fine-tuning.
| Method | Arch. | Epochs | Top-1 |
|---|---|---|---|
| Methods without view data augmentations | |||
| data2vec [6] | ViT-L/16 | 1600 | 73.3 |
| ViT-L/16 | 1600 | 67.1 | |
| MAE [43] | ViT-H/14 | 1600 | 71.5 |
| ViT-B/16 | 600 | 68.9 | |
| I-JEPA [4] | ViT-L/16 | 600 | 69.4 |
| ViT-H/14 | 300 | 73.3 | |
| S-JEPA (ours) | ViT-B/16 | 600 | 70.1 |
| ViT-L/16 | 600 | 70.8 | |
| Methods using extra view data augmentations | |||
| iBOT [81] | ViT-B/16 | 400 | 69.7 |
| DINO [16] | ViT-S/16 | 100 | 60.3 |
| SimCLR v2 [20] | RN152 (2×) | 800 | 70.2 |
Our reproduction under the same protocol.
point at both backbone scales, and exceeds methods relying on multi-crop augmentation [81]. Modelling the distribution of latent completions is particularly valuable in this regime, where scarcity of labels places a premium on the richness of pretrained features.
Table 3. Transfer classification. Top-1 linear probing accuracy on CIFAR-100, Places205, and iNaturalist 2018.
| Method | Arch. | Cifar100 | Places205 | iNat18 |
|---|---|---|---|---|
| Methods without view data augmentations | ||||
| data2vec [6] | ViT-L/16 | 59.6 | 36.9 | 10.9 |
| MAE [43] | ViT-H/14 | 77.3 | 55.0 | 32.9 |
| ViT-B/16 | 69.2 | 53.4 | 43.4 | |
| I-JEPA [4] | ViT-L/16 | 83.6 | 56.5 | 48.4 |
| ViT-H/14 | 87.5 | 58.4 | 47.6 | |
| S-JEPA (ours) | ViT-B/16 | 70.0 | 54.3 | 43.2 |
| ViT-L/16 | 85.2 | 57.1 | 44.3 | |
| Methods using extra view data augmentations | ||||
| DINO [16] | ViT-B/8 | 84.9 | 57.9 | 55.9 |
| iBOT [81] | ViT-L/16 | 88.3 | 60.4 | 57.3 |
From [9], under the same evaluation protocol.
Table 4. Transfer low-level tasks. Accuracy on object counting (Clevr/Count) and depth prediction (Clevr/Dist).
| Method | Arch. | Clevr/Count | Clevr/Dist |
|---|---|---|---|
| Methods without view data augmentations | |||
| data2vec [6] | ViT-L/16 | 72.7 | 53.0 |
| MAE [43] | ViT-H/14 | 90.5 | 72.4 |
| ViT-B/16 | 82.2 | 70.7 | |
| I-JEPA [4] | ViT-L/16 | 85.6 | 71.2 |
| ViT-H/14 | 86.7 | 72.4 | |
| S-JEPA (ours) | ViT-B/16 | 83.1 | 71.6 |
| ViT-L/16 | 89.4 | 73.8 | |
| Methods using extra view data augmentations | |||
| DINO [16] | ViT-B/8 | 86.6 | 53.4 |
| iBOT [81] | ViT-L/16 | 85.7 | 62.8 |
Transfer learning. To assess feature universality beyond ImageNet, we perform linear-probe transfer to CIFAR-100 [52], Places205 [80], and iNaturalist 2018 [72]. These datasets span coarse object categories, scene recognition, and fine-grained species classification. Results are in Table 3. S-JEPA improves over I-JEPA on object and scene recognition at both scales, while I-JEPA leads on iNaturalist 2018. With a ViT-L/16 backbone it surpasses MAE [43] and data2vec [6] and approaches I-JEPA's larger ViT-H/14 despite being smaller, narrowing the gap with the best view-invariance methods [16, 81].
5.2. Low-Level Vision Tasks
We evaluate the encoder's ability to capture fine-grained spatial and structural information via linear-probe transfer to object counting and depth prediction on CLEVR [48].
These tasks require preserving low-level geometric cues such as object multiplicity and relative distance, which methods enforcing view-invariance typically discard. Results are in Table 4. S-JEPA improves over I-JEPA on both tasks at both backbone scales. This suggests that modelling the distribution of masked-region completions encourages the encoder to retain geometric structure a point-estimate predictor would suppress.
5.3. Encoder Visualisation
A hallmark of successful self-supervised learning is the emergence of semantically meaningful structure without supervision [16]. We apply PCA to patch tokens and project the first three principal components onto RGB channels, and separately visualise self-attention averaged over all query positions (no [cls] token), for three ViT-B/16 encoders trained with different objectives: MAE [43], I-JEPA [4], and S-JEPA. As shown in Figure 3, all three objectives recover coherent object and background structure in the PCA projection, with maps that align with object boundaries and part-level structure. The two predictive objectives differ from the reconstruction objective in where they attend: I-JEPA and S-JEPA concentrate attention on the primary object and on fine detail without any localisation supervision, analogous to the emergent foreground segmentation in DINO [16], whereas the attention of the pixel-reconstruction objective is markedly more diffuse.
5.4. Predictor Visualisation
We visualise two complementary aspects of the stochastic predictor: the diversity of pixel-space completions across independent latent draws, and the spatial structure of predictive uncertainty at inference.
Stochastic completions. We adapt the RCDM protocol of Assran et al. [4]: a lightweight diffusion decoder [14] trained on frozen S-JEPA predictor representations maps outputs back to pixel space. Five draws each yield a distinct predictor output decoded with a fixed noise seed, so variation originates entirely from the latent code. As shown in Figure 4, completions of structurally ambiguous regions vary in object identity and local configuration, which a deterministic predictor cannot produce by construction. Mean pairwise LPIPS [79] between decoded draws is roughly four times higher over ambiguous regions than over visually determined ones such as sky or grass, confirming that allocates variability where the visible context genuinely under-determines the target rather than emitting uniform noise. This is consistent with context-dependent predictive diversity: genuinely ambiguous content yields diverse, semantically coherent completions, while visually determined content collapses to a single plausible outcome regardless of which is drawn.

Figure 3. PCA and attention visualisations of encoder features. Each row shows the original image, the PCA projection (first three principal components of block-4 patch representations, foreground-masked, mapped to RGB), and the self-attention map (block 8, head 11, averaged over all query positions), across three ViT-B/16 encoders trained with different objectives (MAE [43], I-JEPA [4], and S-JEPA). All methods recover coherent object/background structure in the PCA projection; the predictive objectives (I-JEPA, S-JEPA) additionally show attention concentrated on the primary object, in contrast to the more diffuse attention of the pixel-reconstruction objective (MAE). Neither map is supervised by any localisation signal: both emerge purely from the pretraining objective. Additional examples with more baselines are in Appendix Figures D.1 and D.2.

Figure 4. Stochastic predictor completions via RCDM. Each row shows a masked input and five completions, each from a distinct draw decoded via a lightweight diffusion decoder [14] trained on frozen S-JEPA predictor representations. Samples vary in object identity and configuration, reflecting genuine uncertainty over the masked region encoded in . Decoding uses a fixed noise seed across all five draws, so pixel-level variation reflects only the sampled latent and not decoder-side stochasticity.

Figure 5. Uncertainty and error maps. : predictive variance (Eq. (9), , full image as context) for I-JEPA, whose deterministic predictor gives everywhere, and S-JEPA (ViT-B/16). Error: squared distance of the mean S-JEPA prediction to the target, each -patch block masked in turn. The I-JEPA column carries no information about the underlying image, since its flat colour reflects only the normalisation; S-JEPA's , by contrast, consistently concentrates on the animal or object rather than the background.
Patch-level uncertainty maps. For each patch position , we draw prior samples and compute per-patch predictive variance:
Values are reshaped, bilinearly upsampled to image resolution, and normalised per image; for I-JEPA, everywhere, shown in Figure 5 as a flat map. We compare S-JEPA's with prediction error, computed by masking each -patch block in turn and measuring the squared distance between the mean prediction and its target. S-JEPA places uncertainty around occlusions, object interiors, and semantic boundaries, with lower variance over uniform regions (Figure 5). This suggests that the stochastic predictor captures meaningful, spatially structured ambiguity rather than simply injecting uniform noise. Under the pretraining masks (Appendix D.2), correlates with error across pooled patches (Spearman , ViT-B/16), but only weakly within images (mean , positive in 76% of images). Thus, indicates prediction difficulty but does not reliably localise error. Raw predictions are under-dispersed, potentially because excludes the observation-noise term of Equation (6); scalar recalibration reduces ECE from 0.18 to 0.07 (Appendix F.9). The maps require only predictor passes after one encoder pass, with no labels or extra training.
5.5. Cost of Stochasticity
At inference S-JEPA evaluates only the context encoder, the prior , and the predictor; the posterior is used during training and discarded thereafter, so the sole addition over I-JEPA is a 2-layer MLP producing the parameters of a 128-dimensional diagonal Gaussian. This amounts to a parameter increase, with FLOPs and single-pass wall-clock latency both within measurement noise of the baseline (ViT-B/16). The capabilities of Section 5.4 are inexpensive but not free: uncertainty maps need predictor passes per encoder pass, and completions a separately trained diffusion decoder, neither requiring labels or backbone retraining.
6. Conclusion
We presented S-JEPA, which realises the auxiliary variable in JEPAs as a stochastic latent over the content of the masked region, with a learned context-conditioned prior and no reconstruction. A CVAE operating purely in representation space replaces I-JEPA's deterministic predictor with a probabilistic model whose objective recovers the I-JEPA loss as a deterministic special case. Under matched architectures and schedules, S-JEPA improves over I-JEPA on linear probing, low-shot, and most transfer tasks, exceeds LeJEPA at matched architecture on a longer schedule, produces error-correlated uncertainty maps at negligible cost, and generates diverse completions. Two limitations remain. is a single per-image latent rather than a per-target-region one and our largest backbone is ViT-L/16.
Acknowledgements
We acknowledge the computational resources and support provided by the Imperial College Research Computing Service (http://doi.org/10.14469/hpc/2232), which enabled our experiments.
References
[1] Mahmoud Assran, Mathilde Caron, Ishan Misra, Piotr Bojanowski, Armand Joulin, Nicolas Ballas, and Michael Rabbat. Semi-Supervised Learning of Visual Features by Non-Parametrically Predicting View Assignments with Support Samples. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2021. 24
[2] Mahmoud Assran, Mathilde Caron, Ishan Misra, Piotr Bojanowski, Florian Bordes, Pascal Vincent, Armand Joulin, Michael Rabbat, and Nicolas Ballas. Masked Siamese Networks for Label-Efficient Learning. In Proceedings of the European Conference on Computer Vision (ECCV), 2022. 5, 19, 20, 21, 22, 24, 30, 31
[3] Mahmoud Assran, Randall Balestriero, Quentin Duval, Florian Bordes, Ishan Misra, Piotr Bojanowski, Pascal Vincent, Michael Rabbat, and Nicolas Ballas. The Hidden Uniform Cluster Prior in Self-Supervised Learning. In International Conference on Learning Representations (ICLR), 2023. 24
[4] Mahmoud Assran, Quentin Duval, Ishan Misra, Piotr Bojanowski, Pascal Vincent, Michael Rabbat, Yann LeCun, and Nicolas Ballas. Self-Supervised Learning from Images with a Joint-Embedding Predictive Architecture. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 15619–15629, 2023. 1, 2, 3, 5, 6, 7, 17, 19, 20, 21, 22, 23, 24, 29, 30, 31
[5] Mido Assran, Adrien Bardes, David Fan, Quentin Garrido, Russell Howes, Mojtaba Komeili, Matthew Muckley, Ammar Rizvi, Claire Roberts, Koustuv Sinha, Artem Zholus, Sergio Arnaud, Abha Gejji, Ada Martin, Francois Robert Hogan, Daniel Dugas, Piotr Bojanowski, Vasil Khalidov, Patrick Labatut, Francisco Massa, Marc Szafraniec, Kapil Krishnakumar, Yong Li, Xiaodong Ma, Sarath Chandar, Franziska Meier, Yann LeCun, Michael Rabbat, and Nicolas Ballas. V-JEPA 2: Self-Supervised Video Models Enable Understanding, Prediction and Planning, 2025. 1, 2
[6] Alexei Baevski, Wei-Ning Hsu, Qiantong Xu, Arun Babu, Jiatao Gu, and Michael Auli. data2vec: A General Framework for Self-Supervised Learning in Speech, Vision and Language, 2022. 5, 6, 24
[7] Randall Balestriero and Yann LeCun. LeJEPA: Provable and Scalable Self-Supervised Learning without the Heuristics, 2025. 1, 2, 5, 25
[8] Hangbo Bao, Li Dong, Songhao Piao, and Furu Wei. BEiT: BERT Pre-Training of Image Transformers, 2021. 1, 21, 24
[9] Amir Bar, Florian Bordes, Assaf Shocher, Mido Assran, Pascal Vincent, Nicolas Ballas, Trevor Darrell, Amir Globerson, and Yann Lecun. Stochastic Positional Embeddings Improve Masked Image Modeling. In Proceedings of the International Conference on Machine Learning (ICML), pages
2944–2958. PMLR, 2024. Conference dates: 21–27 Jul. 1, 2, 6, 24
[10] Adrien Bardes, Jean Ponce, and Yann LeCun. VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learning, 2021. 2, 24
[11] Adrien Bardes, Jean Ponce, and Yann LeCun. VICRegL: Self-Supervised Learning of Local Visual Features, 2022. 24
[12] Adrien Bardes, Jean Ponce, and Yann LeCun. MC-JEPA: A Joint-Embedding Predictive Architecture for Self-Supervised Learning of Motion and Content Features, 2023. 2
[13] Adrien Bardes, Quentin Garrido, Jean Ponce, Xinlei Chen, Michael Rabbat, Yann LeCun, Mahmoud Assran, and Nicolas Ballas. Revisiting Feature Prediction for Learning Visual Representations from Video, 2024. 1, 2
[14] Florian Bordes, Randall Balestriero, and Pascal Vincent. High Fidelity Visualization of What Your Self-Supervised Representation Knows About. Transactions on Machine Learning Research, 2022. 6, 7
[15] Samuel R Bowman, Luke Vilnis, Oriol Vinyals, Andrew M Dai, Rafal Jozefowicz, and Samy Bengio. Generating Sentences from a Continuous Space. In Proceedings of the Conference on Computational Natural Language Learning (CoNLL), pages 10–21. Association for Computational Linguistics (ACL), 2016. 24, 29
[16] Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging Properties in Self-Supervised Vision Transformers, 2021. 1, 5, 6, 19, 20, 21, 22, 24, 30, 31
[17] Delong Chen, Mustafa Shukor, Théo Moutakanni, Willy Chung, Lei Yu, Tejaswi Kasarla, Allen Bolourchi, Yann LeCun, and Pascale Fung. VL-JEPA: Joint Embedding Predictive Architecture for Vision-Language. In International Conference on Learning Representations (ICLR), 2026. 1, 2
[18] Mark Chen, Alec Radford, Rewon Child, Jeffrey Wu, Heewoo Jun, David Luan, and Ilya Sutskever. Generative Pretraining from Pixels. In Proceedings of the International Conference on Machine Learning (ICML), pages 1691–1703. PMLR, 2020. 24
[19] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A Simple Framework for Contrastive Learning of Visual Representations, 2020. 1, 24
[20] Ting Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi, and Geoffrey Hinton. Big Self-Supervised Models Are Strong Semi-Supervised Learners, 2020. 5
[21] Xinlei Chen and Kaiming He. Exploring Simple Siamese Representation Learning, 2020. 24
[22] Xinlei Chen, Haoqi Fan, Ross Girshick, and Kaiming He. Improved Baselines with Momentum Contrastive Learning, 2020. 24
[23] Xiaokang Chen, Mingyu Ding, Xiaodi Wang, Ying Xin, Shentong Mo, Yunhao Wang, Shumin Han, Ping Luo, Gang Zeng, and Jingdong Wang. Context Autoencoder for Self-Supervised Representation Learning, 2022. 1
[24] Yubei Chen, Adrien Bardes, Zengyi Li, and Yann LeCun. Intra-Instance VICReg: Bag of Self-Supervised Image Patch Embedding, 2022. 24
[25] Sanghyuk Chun, Seong Joon Oh, Rafael Sampaio de Rezende, Yannis Kalantidis, and Diane Larlus. Probabilistic Embeddings for Cross-Modal Retrieval, 2021. 3, 28
[26] Anna Dawid and Yann LeCun. Introduction to Latent Variable Energy-Based Models: A Path Towards Autonomous Machine Intelligence, 2023. 1, 2
[27] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Fei-Fei Li. ImageNet: A Large-Scale Hierarchical Image Database. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pages 248–255, 2009. 5, 20
[28] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-Training of Deep Bidirectional Transformers for Language Understanding, 2018. 21
[29] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. In International Conference on Learning Representations (ICLR), 2021. 4, 19
[30] Katrina Drozdov, Ravid Shwartz-Ziv, and Yann LeCun. Video Representation Learning with Joint-Embedding Predictive Architectures, 2024. 2
[31] Alaaeldin El-Nouby, Gautier Izacard, Hugo Touvron, Ivan Laptev, Hervé Jegou, and Edouard Grave. Are Large-Scale Datasets Necessary for Self-Supervised Pre-Training?, 2021. 24
[32] Yarin Gal and Zoubin Ghahramani. Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learning, 2016. 28
[33] Nikos Giakoumoglou, Tania Stathaki, and Athanasios Gkeliias. A Review on Discriminative Self-Supervised Learning Methods in Computer Vision, 2025. 1
[34] Nikos Giakoumoglou, Andreas Floros, Kleanthis-Marios Papadopoulos, and Tania Stathaki. ViTAMINS: An Empirical Study of Training Self-Supervised Vision Transformers with Synthetic Hard Negatives, 2026. 1
[35] Nikos Giakoumoglou, Paschalis Giakoumoglou, and Tania Stathaki. Three Necessary Principles for Self-Supervised Visual Representation Learning, 2026. 2
[36] Spyros Gidaris, Andrei Bursuc, Nikos Komodakis, Patrick Pérez, and Matthieu Cord. Learning Representations by Predicting Bags of Visual Words. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 6928–6938, 2020. 24
[37] Moritz Gögl and Christopher Yau. Var-JEPA: A Variational Formulation of the Joint-Embedding Predictive Architecture - Bridging Predictive and Generative Self-Supervised Learning, 2026. 3, 26
[38] Jean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec, Pierre H. Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Daniel Guo, Mohammad Gheshlaghi Azar, Bilal Piot, Koray Kavukcuoglu, Rémi Munos, and Michal Valko. Bootstrap Your Own Latent: A New Approach to Self-Supervised Learning, 2020. 1, 2, 19, 24
[39] David Ha and Jürgen Schmidhuber. World Models. Zenodo, 2018. 3, 24
[40] Danijar Hafner, Timothy Lillicrap, Ian Fischer, Ruben Villegas, David Ha, Honglak Lee, and James Davidson. Learning Latent Dynamics for Planning from Pixels, 2019. 3, 27
[41] Danijar Hafner, Timothy Lillicrap, Jimmy Ba, and Mohammad Norouzi. Dream to Control: Learning Behaviors by Latent Imagination, 2020. 27
[42] Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum Contrast for Unsupervised Visual Representation Learning, 2019. 1, 24
[43] Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dollár, and Ross Girshick. Masked Autoencoders Are Scalable Vision Learners. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022. 1, 5, 6, 7, 20, 21, 22, 24, 30, 31
[44] Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. Beta-VAE: Learning Basic Visual Concepts with a Constrained Variational Framework. In International Conference on Learning Representations (ICLR), 2017. 4, 15
[45] Hai Huang, Yann LeCun, and Randall Balestriero. LLM-JEPA: Large Language Models Meet Joint Embedding Predictive Architectures. In International Conference on Learning Representations (ICLR), 2026. 1, 2
[46] Yongchao Huang. VJEPA: Variational Joint Embedding Predictive Architectures as Probabilistic World Models, 2026. 3, 26
[47] Olivier J. Hénaff, Aravind Srinivas, Jeffrey De Fauw, Ali Razavi, Carl Doersch, S. M. Ali Eslami, and Aaron van den Oord. Data-Efficient Image Recognition with Contrastive Predictive Coding. In Proceedings of the International Conference on Machine Learning (ICML), pages 4182–4192. PMLR, 2020. 24
[48] Justin Johnson, Bharath Hariharan, Laurens van der Maaten, Li Fei-Fei, C. Lawrence Zitnick, and Ross Girshick. CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoning, 2016. 6, 20
[49] Alex Kendall and Yarin Gal. What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?, 2017. 28
[50] Diederik P Kingma and Max Welling. Auto-Encoding Variational Bayes, 2013. 2, 3, 4, 16, 24
[51] Diederik P. Kingma, Tim Salimans, Rafal Jozefowicz, Xi Chen, Ilya Sutskever, and Max Welling. Improving Variational Inference with Inverse Autoregressive Flow, 2016. 29
[52] Alex Krizhevsky. Learning Multiple Layers of Features from Tiny Images. Technical report, University of Toronto, 2009. 6, 20
[53] Yilun Kuang, Yash Dagade, Tim G. J. Rudner, Randall Balestriero, and Yann LeCun. Rectified LpJEPA: Joint-Embedding Predictive Architectures with Sparse and Maximum-Entropy Representations, 2026. 1, 2
[54] Balaji Lakshminarayanan, Alexander Pritzel, and Charles Blundell. Simple and Scalable Predictive Uncertainty Estimation Using Deep Ensembles, 2017. 28
[55] Yann LeCun. A Path Towards Autonomous Machine Intelligence. OpenReview preprint, 2022. Version 0.9.2, 2022-06-27. 1, 2, 3, 24
[56] Ralph Linsker. Self-Organization in a Perceptual Network. Computer, 21(3):105–117, 1988. 24
[57] Etai Littwin, Vimal Thilak, and Anand Gopalakrishnan. Enhancing JEPAs with Spatial Conditioning: Robust and Efficient Representation Learning, 2024. 1, 2, 25
[58] Ilya Loshchilov and Frank Hutter. Decoupled Weight Decay Regularization, 2017. 5, 20
[59] James Lucas, George Tucker, Roger Grosse, and Mohammad Norouzi. Don't Blame the ELBO! A Linear VAE Perspective on Posterior Collapse, 2019. 29
[60] Yi Ma, Doris Tsao, and Heung-Yeung Shum. On the Principles of Parsimony and Self-Consistency for the Emergence of Intelligence, 2022. 24
[61] Shentong Mo and Shengbang Tong. Connecting Joint-Embedding Predictive Architecture with Contrastive Self-Supervised Learning. In Advances in Neural Information Processing Systems (NeurIPS), pages 2348–2377, 2024. 2
[62] Lorenzo Mur-Labadia, Matthew Muckley, Amir Bar, Mahmoud Assran, Koustuv Sinha, Michael Rabbat, Yann LeCun, Nicolas Ballas, and Adrien Bardes. V-JEPA 2.1: Unlocking Dense Features in Video Self-Supervised Learning, 2026. 1, 2
[63] Seong Joon Oh, Kevin Murphy, Jiyan Pan, Joseph Roth, Florian Schroff, and Andrew Gallagher. Modeling Uncertainty with Hedged Instance Embedding, 2019. 3, 28
[64] Amin Oji and Paul W. Fieguth. Joint Embedding Variational Bayes. Transactions on Machine Learning Research, 2026. 27
[65] Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation Learning with Contrastive Predictive Coding, 2018. 24
[66] Niki Parmar, Ashish Vaswani, Jakob Uszkoreit, Łukasz Kaiser, Noam Shazeer, Alexander Ku, and Dustin Tran. Image Transformer, 2018. 1
[67] Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving Language Understanding by Generative Pre-Training. Technical report, OpenAI, 2018. 1
[68] Kihyuk Sohn, Honglak Lee, and Xinchen Yan. Learning Structured Output Representation Using Deep Conditional Generative Models. In Advances in Neural Information Processing Systems (NIPS). Curran Associates, Inc., 2015. 2, 3, 4, 24
[69] Hugo Thimonier, José Lucas De Melo Costa, Fabrice Popineau, Arpad Rimmel, and Bich-Liën Doan. T-JEPA: Augmentation-Free Self-Supervised Learning for Tabular Data, 2024. 2
[70] Jakub M. Tomczak and Max Welling. VAE with a Vamp-Prior, 2018. 29
[71] Aäron Van Den Oord, Nal Kalchbrenner, and Koray Kavukcuoglu. Pixel Recurrent Neural Networks. In Proceedings of the International Conference on Machine Learning (ICML), pages 1747–1756. PMLR, 2016. 1
[72] Grant Van Horn, Oisin Mac Aodha, Yang Song, Yin Cui, Chen Sun, Alex Shepard, Hartwig Adam, Pietro Perona, and Serge Belongie. The iNaturalist Species Classification and Detection Dataset. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 8769–8778, 2018. 6, 20
[73] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is All You Need. In Advances in Neural Information Processing Systems (NIPS), pages 5998–6008, 2017. 19
[74] Pascal Vincent, Hugo Larochelle, Isabelle Lajoie, Yoshua Bengio, and Pierre-Antoine Manzagol. Stacked Denoising Autoencoders: Learning Useful Representations in a Deep Network with a Local Denoising Criterion. Journal of Machine Learning Research, 11(110):3371–3408, 2010. 24
[75] Chen Wei, Haoqi Fan, Saining Xie, Chao-Yuan Wu, Alan Yuille, and Christoph Feichtenhofer. Masked Feature Prediction for Self-Supervised Visual Pre-Training, 2021. 24
[76] Zhirong Wu, Yuanjun Xiong, Stella X Yu, and Dahua Lin. Unsupervised Feature Learning via Non-Parametric Instance Discrimination. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 3733–3742, 2018. 24
[77] Yang You, Igor Gitman, and Boris Ginsburg. Large Batch Training of Convolutional Networks, 2017. 20
[78] Jure Zbontar, Li Jing, Ishan Misra, Yann LeCun, and Stéphane Deny. Barlow Twins: Self-Supervised Learning via Redundancy Reduction, 2021. 24
[79] Richard Zhang, Phillip Isola, Alexei A. Efros, Eli Shechtman, and Oliver Wang. The Unreasonable Effectiveness of Deep Features as a Perceptual Metric, 2018. 6
[80] Bolei Zhou, Agata Lapedriza, Jianxiong Xiao, Antonio Torralba, and Aude Oliva. Learning Deep Features for Scene Recognition Using Places Database. In Advances in Neural Information Processing Systems (NIPS), 2014. 6, 20
[81] Jinghao Zhou, Chen Wei, Huiyu Wang, Wei Shen, Cihang Xie, Alan Yuille, and Tao Kong. iBOT: Image BERT Pre-Training with Online Tokenizer. In International Conference on Learning Representations (ICLR), 2022. 5, 6, 22, 24, 30, 31
A Stochastic Latent Variable Generalization of Joint-Embedding Predictive Architectures
Supplementary Material
A. Proofs
We collect here the full proofs of all formal statements made in Section 3, together with supplementary remarks. Throughout, we write , , and for the context representation, target representation, and latent variable respectively, and use the shorthand and where the conditioning is clear from context. The likelihood is parameterised by the predictor , and denotes the dimensionality of the target representation . As in Definition 2, the stop-gradient is applied to the target representation wherever it enters the prediction term; we suppress it in the derivations below, where it plays no role, and reinstate it explicitly whenever the S-JEPA objective itself is written out.
A.1. Proof of Proposition 1: ELBO Lower Bound
Proposition 1: ELBO Lower Bound
Let be any prior over conditioned on , let be any approximate posterior, and let parameterise the likelihood . Then:
with equality if and only if almost everywhere, where denotes the true posterior under the generative model.
Proof. We begin from the marginal log-likelihood. By the law of total probability, the marginal likelihood of given is:
Taking the logarithm:
We now introduce the approximate posterior by multiplying and dividing inside the integral:
Since log is concave, Jensen's inequality ( for ) gives:
Expanding the logarithm of the ratio:
where the last line uses the definition . This establishes Eq. (A.1).
Tightness condition. Jensen's inequality is tight if and only if the random variable inside the expectation is constant -almost everywhere:
for some constant . Integrating both sides over under :
On the other hand, integrating the numerator:
Therefore , and rearranging the equality condition gives:
By Bayes' theorem, the right-hand side is precisely the true posterior:
Hence equality in the ELBO holds if and only if almost everywhere.
A.1.1. Remark: ELBO Gap Decomposition
An alternative derivation makes the approximation gap explicit. Since does not depend on , we may write it as an expectation under any distribution over :
By Bayes' theorem, , so:
Multiplying and dividing inside the logarithm by :
Since , we recover . The gap quantifies how far the learned posterior is from the true posterior; it vanishes (and the ELBO becomes tight) precisely when almost everywhere.
A.2. Proof of Proposition 2: Gaussian Likelihood Reduction
Proposition 2: Gaussian Likelihood Reduction
Let with fixed. Then:
and the negative ELBO equals, up to the additive constant :
Proof. The probability density function of a -dimensional isotropic Gaussian with mean and variance is:
Taking the logarithm:
Setting :
Negating:
Taking the expectation under :
where the constant passes through the expectation unchanged since it does not depend on z. This establishes Eq. (A.22).
Substituting into the negative ELBO:
which yields Eq. (A.23).
A.2.1. Remark: Connection to -VAE and the Role of
The negative ELBO in Eq. (A.23) can be written as:
Multiplying through by (which does not change the location of the optimum):
Comparing with the S-JEPA objective in Definition 2, in which the stop-gradient is applied to the target representation:
we see that the choice
recovers exactly the scaled negative ELBO, corresponding to the exact variational lower bound under the Gaussian likelihood assumption. When is treated as a free hyperparameter independent of :
• weakens the KL regulariser relative to the exact bound, allowing z to carry more target-specific information at the cost of a looser bound and potential posterior-prior mismatch at inference time.
• strengthens the bottleneck beyond what the exact bound prescribes, forcing z to encode only coarse-grained information and encouraging the predictor to rely more heavily on alone.
This is the same trade-off as in -VAE [44], but operating entirely in representation space rather than observation space.
A.3. Proof of Proposition 3: Closed-Form KL Divergence
Proposition 3: Closed-Form KL Divergence
Let and be two diagonal Gaussian distributions over . Then:
Proof. Since both distributions have diagonal covariance matrices, the KL divergence factorises into a sum of independent univariate KL divergences:
It therefore suffices to derive the univariate case. Let and . By definition:
The log-densities of the two univariate Gaussians are:
Taking the difference:
Taking the expectation under , and using the identities:
we obtain:
Summing over and substituting and :
which is Eq. (A.38).
A.3.1. Remark: Special Case with Standard Normal Prior
When the prior is the standard normal , i.e., and for all , Proposition 3 simplifies. Each term in the sum becomes:
yielding the well-known identity [50]:
Equivalently, writing as it often appears in the VAE objective:
In S-JEPA the prior is context-conditioned with learned and , so the full expression of Proposition 3 is required. We include this special case for completeness and to highlight the connection to the standard VAE objective. We note finally where the Gaussian assumption enters. Prop. 1 holds for any prior and any approximate posterior, and Prop. 2 requires only that the likelihood be isotropic Gaussian; the diagonal-Gaussian family is assumed only for the closed form of Prop. 3 and for the reparameterisation used in practice, so richer families are substitutable without altering the bound (Section F.10).
A.4. Proof of Theorem 1: I-JEPA Recovery
Theorem 1: I-JEPA Recovery
Let so that the posterior concentrates at , and let remain bounded away from zero. Then setting in Eq. (S-JEPA) recovers the I-JEPA objective of Definition 1 in functional form:
Proof. We analyse each term in separately.
Step 1: Prediction term. The prediction loss is:
As , the Gaussian posterior converges weakly to the Dirac measure centred at . By the defining property of the Dirac delta:
Therefore:
Step 2: KL term. From Proposition 3, the KL divergence is:
As with bounded away from zero:
The dominant term is , so:
However, the loss multiplies this divergent quantity by . The formal argument proceeds by first fixing , which zeroes out the regulariser for all values of :
and then taking in the prediction term. The order of operations is: set first, then take the limit .
Step 3: Combined. Under the two conditions and :
Step 4: Equivalence to I-JEPA. Since is a deterministic function of , this is precisely the I-JEPA objective of Definition 1 with playing the role of the deterministic auxiliary variable. The stop-gradient on the target encoder output is retained exactly as in Definition 2, consistent with I-JEPA [4].
Note that in I-JEPA, the auxiliary variable is a shared learnable mask token with positional embeddings (independent of ), whereas in the deterministic limit of S-JEPA, is image-specific. The recovery is at the level of the loss functional form , not the specific parameterisation of the auxiliary input.
A.5. Proof of Lemma 1: KL as Information Bottleneck
Lemma 1: KL as Information Bottleneck
The expected KL divergence in the S-JEPA objective upper-bounds the conditional mutual information between and given under :
Hence bounds how much information about is encoded in z beyond what is already explained by .
Proof. Step 1: Definition of conditional mutual information. Under the joint distribution induced by , the conditional mutual information is defined as:
where the aggregate posterior is the marginal obtained by averaging the posterior over all targets given context:
Step 2: Variational upper bound. For any reference distribution , we claim:
To see this, consider the difference for a fixed :
Note that the integrand does not depend on . Taking the expectation over :
where the last inequality follows from the non-negativity of KL divergence. This establishes Eq. (A.67).
Step 3: Choosing . Setting and taking the outer expectation over :
(A.77)
(A.78)
Step 4: Interpretation. Since the regularisation term in the S-JEPA objective is , and this upper-bounds , minimising constrains the target-specific information that can carry beyond what is predictable from the context via the prior. Larger imposes a tighter bottleneck, forcing to discard fine-grained target details; smaller allows to encode richer target-specific information at the cost of potential posterior-prior mismatch at test time.
A.6. Remark: Prior Learning via Aggregate Posterior Matching
Since appears only in the KL term , optimising with respect to the prior parameters alone is equivalent to:
We now show that the optimal prior, for a fixed posterior , equals the aggregate posterior. For a given , define the aggregate posterior:
For any candidate , we decompose the expected KL:
The first term is independent of . The second term is non-negative and equals zero if and only if almost everywhere. Therefore the unique minimiser is:
At convergence, the learned prior therefore approximates the full distribution over latent codes that arise when the target is observed, internalising the statistics of all plausible completions from the visible context. This is the mechanism by which sampled from the prior at inference time still carries meaningful information about the distribution of masked content.
B. Implementation Details
B.1. Pretraining
Encoder. We use vision transformer [29] architectures for the context encoder, target encoder, and predictor, following Assran et al. [4]. The context and target encoders correspond to standard ViT architectures: ViT-B/16 (embedding dimension 768, depth 12, 12 heads) and ViT-L/16 (embedding dimension 1024, depth 24, 16 heads), both operating at resolution . We do not use a [cls] token; the target encoder output is average-pooled to produce a global image representation. The target encoder weights are initialised identically to the context encoder and subsequently updated via exponential moving average [38] with momentum linearly scheduled from 0.996 to 1.0 throughout pretraining [2, 16].
Predictor. The predictor is a narrow vision transformer with embedding dimension 384, 12 attention heads, and MLP ratio 4, following the lightweight predictor design of Assran et al. [4]; its depth is 6 for ViT-B/16 and 12 for ViT-L/16, matching the backbone-dependent predictor depth of Assran et al. [4]. Context encoder tokens are linearly projected into the predictor dimension, and sine-cosine positional embeddings [73] are added. For S-JEPA, is linearly projected to the predictor dimension and prepended as a single prefix token. Learnable mask tokens with sine-cosine positional embeddings are appended for each target position, and a final linear layer projects back to the encoder dimension. Both the prior and posterior are 2-layer MLPs with GELU activations, mapping to the parameters of a diagonal Gaussian over .
Masking. We use the multi-block masking strategy of Assran et al. [4] as the default for S-JEPA. We sample 4 possibly overlapping target block masks with random scale in the range (0.15, 0.2) and aspect ratio in the range (0.75, 1.5). We sample 1 context block mask with random scale in the range (0.85, 1.0) and unit aspect ratio. We subsequently eliminate any regions in the context block mask that overlap with any of the 4 target block masks. The context block mask and target block masks are sampled independently for each image in the mini-batch.
Optimisation. We use AdamW [58] with batch size of 2048 for ViT-B/16 and 1024 for ViT-L/16 on 4 A100 GPUs with bfloat16 mixed precision. The learning rate is warmed up linearly from to over 40 epochs, then decayed via cosine schedule to . Weight decay follows a cosine schedule from 0.04 to 0.4 [2, 16]. The KL weight is linearly warmed up from 0 to over the first 30% of training, with no free-bits floor (). We train for 600 epochs on ImageNet-1K [27].
B.2. Downstream Tasks
Linear evaluation. We follow the linear evaluation protocol of Assran et al. [4] that adapts the setup of [43]. We freeze the encoder and use the average-pooled patch representation of the last layer. Following Assran et al. [4], He et al. [43], we use the LARS [77] optimizer with batch size 4096 and train the linear classifier for 50 epochs with a learning rate decayed step-wise by a factor of 10 every 15 epochs, sweeping reference learning rates and weight decay values . No augmentations beyond random resized crop and horizontal flip are applied. For transfer to CIFAR-100 [52], Places205 [80], iNaturalist 2018 [72], CLEVR/Count and CLEVR/Dist [48], we use -regularised logistic regression on frozen average-pooled features, following Assran et al. [4]. For CLEVR tasks we use only center crop and horizontal flip to preserve object count and depth cues.
Low-shot evaluation. We follow the low-shot fine-tuning protocol of Assran et al. [4], adapting the fine-tuning setup of He et al. [43]. We fine-tune the full model for 50 epochs on the ImageNet-1K subset using AdamW with cosine learning rate decay, batch size 512, layer-wise learning rate decay of 0.75, and label smoothing of 0.1. We use RandAugment data augmentations but do not apply mixup, cutmix, random erasing, or drop path, following Assran et al. [4]. We use learning rate for both backbones, with weight decay for ViT-B/16 and for ViT-L/16.
B.3. Visualization
We describe the protocols used to visualise encoder features and assess the spatial structure and calibration of predictive uncertainty.
PCA. We extract block-4 patch features from ViT-B/16 encoders at resolution without gradients and -normalise each patch. A one-component PCA over the patch grid is thresholded at its median to select foreground patches. We fit a three-component PCA on this subset and project all patches onto that basis. Each channel is clipped at the 1st and 99th percentiles, rescaled to , and bilinearly upsampled to image resolution to form an RGB map.
Attention. We extract self-attention from block 8, head 11, of ViT-B/16 encoders at resolution and average over query positions to measure the attention received by each patch, without a [cls] token. The map is normalised to per image and rendered with the inferno colormap.
Uncertainty. We compute (Equation (9)) from 50 prior draws with the full image as context. Error maps mask each -patch block (stride 3), measure mean squared error between the mean prediction and the layer-normalised target over embedding dimensions, and average overlapping blocks. Maps are normalised to , upsampled, and overlaid using inferno with . Quantitative evaluation uses pretraining multi-block masks and the same error definition: pooled and within-image Spearman correlations use 3000 ImageNet-1K validation images with ; the sample-count sweep uses 300 images with independently seeded draws. Calibration uses per-coordinate Gaussian predictions estimated from samples. We compute as the mean absolute difference between nominal levels and observed target coverage below the corresponding one-sided quantiles. A scalar temperature rescales predictive standard deviations, fitted by maximum likelihood on 500 images and evaluated on a disjoint 500-image split against a constant-variance baseline with the same mean.
C. Ablation Study
We study S-JEPA on ImageNet-100 using ViT-B/16 trained for 400 epochs with batch size 512, varying one setting at a time. The default predictor has depth 6 and width 384, with , with a linear warmup fraction of 0.3, and no free bits. We evaluate frozen average-pooled features using k-NN with k=20 and cosine distance [16], and -regularised logistic regression on single center crops [2]. Results average three independent pretraining seeds. Matched I-JEPA runs use the same optimiser, schedule, batch size, and training duration.
C.1. Predictor Architecture
We vary the latent dimension, predictor depth, and predictor width (Tables C.1a to C.1c). The latent dimension gives the best results on both metrics; increasing it to 256 or 512 does not improve performance. Shallower predictors improve k-NN accuracy, but depth 6 gives the strongest logistic regression result, showing that the preferred depth depends on the evaluation. Narrower predictors also improve k-NN, while width 192 achieves the highest logistic regression accuracy, slightly above width 384. We retain depth 6 and width 384 to match the I-JEPA baseline rather than selecting a separately tuned architecture for S-JEPA. The contrasting trends in the two metrics also caution against treating a single predictor setting as optimal for every downstream evaluation.
C.2. KL Regularisation
We vary the KL weight , its warmup fraction, and the free-bits threshold (Tables C.1d to C.1f). The default gives the strongest results; remains close, while larger weights reduce both metrics. A warmup fraction of 0.3 gives the best results; applying the final KL weight from the start performs worst, and warming up over the full schedule also underperforms. Free bits do not consistently improve both metrics: increases k-NN accuracy but reduces logistic regression accuracy, and larger thresholds degrade both. We therefore use a warmup fraction of 0.3 and ; background on free bits is given in Appendix F.11.
C.3. Masking Strategy
We compare five masking strategies (Table C.2): random drops individual patches at a fixed ratio, as in MAE [43]; grid uses a fixed strided context with uniformly spaced targets; rasterized assigns three image quadrants as targets; block masks a single large rectangle following BERT/BEiT-style masking [8, 28]; and multi-block samples four target rectangles from a larger context block, as in I-JEPA [4]. The block strategy performs best, followed by multi-block. We retain multi-block to match I-JEPA and hold the prediction task fixed. Relative gains depend on masking: S-JEPA improves both metrics under multi-block, random, and rasterized, while I-JEPA is stronger under grid; under block the methods have similar k-NN accuracy and S-JEPA improves logistic regression accuracy (Table C.3). The results therefore support gains under shared masking settings rather than a uniform advantage across all strategies.
C.4. Fair Comparison with I-JEPA [4]
To distinguish the effect of the stochastic predictor from architectural and training choices, we retrain I-JEPA across the same predictor-depth, predictor-width, and masking sweeps under the matched protocol above (Table C.3). S-JEPA improves both metrics at most tested settings, including predictor depths 6–12 and widths 192–768. I-JEPA remains stronger with depths 2 and 4, width 96, and grid masking. Thus, the gains are not universal, and some differences are small relative to seed variation. We keep settings shared between methods and do not separately tune masking, so each comparison isolates the predictor under the same task.
C.5. Role of EMA and Stop-Gradient
We remove EMA by sharing weights between the context and target branches, then additionally remove stop-gradient (Table C.4). Alongside accuracy, effective rank on validation encoder features indicates how broadly the representation spans feature space. Without EMA, both methods lose accuracy and effective rank, with a larger drop for I-JEPA. S-JEPA retains more feature diversity in this setting, but removing stop-gradient as well reduces both methods to near-chance accuracy and very low effective rank. The stochastic predictor therefore does not remove the need for the target-encoder safeguards, and we retain both in the default configuration. Effective rank complements accuracy here: its decline shows that removing these safeguards changes the feature distribution as well as downstream performance. The remaining diversity without EMA should therefore be interpreted as greater robustness in this ablation, rather than evidence that EMA can be discarded without a cost.
Table C.1. Ablation study of S-JEPA on ImageNet-100, ViT-B/16, 400 epochs, batch size 512. We report k-NN top-1 and logistic regression top-1 accuracy (%). We highlight the default hyperparameter.
| (a) Predictor depth. | ||
|---|---|---|
| pred_depth | knn | logistic |
| 2 | 50.9 | 61.5 |
| 4 | 41.6 | 61.3 |
| 6 | 38.7 | 63.9 |
| 8 | 28.3 | 56.4 |
| 12 | 26.1 | 54.3 |
| (b) Predictor width. | ||
|---|---|---|
| pred_width | knn | logistic |
| 96 | 47.9 | 61.9 |
| 192 | 47.8 | 64.1 |
| 384 | 38.7 | 63.9 |
| 504 | 36.2 | 62.7 |
| 768 | 30.8 | 59.9 |
| (c) Latent dimension . | ||
|---|---|---|
| latent_dim | knn | logistic |
| 32 | 32.5 | 61.4 |
| 64 | 29.9 | 57.8 |
| 128 | 38.7 | 63.9 |
| 256 | 29.6 | 59.5 |
| 512 | 35.6 | 62.3 |
(d) KL weight .
| kl_beta_final | knn | logistic |
|---|---|---|
| 0.001 | 34.9 | 59.9 |
| 0.010 | 38.7 | 63.9 |
| 0.050 | 38.0 | 62.9 |
| 0.100 | 34.1 | 55.3 |
| 1.000 | 30.2 | 44.6 |
(e) KL warmup fraction.
| kl_warmup_frac | knn | logistic |
|---|---|---|
| 0.00 | 26.6 | 54.9 |
| 0.10 | 29.0 | 56.4 |
| 0.20 | 29.9 | 57.0 |
| 0.30 | 38.7 | 63.9 |
| 1.00 | 33.8 | 59.4 |
(f) Free-bits threshold .
| kl_free_bits | knn | logistic |
|---|---|---|
| 0.000 | 38.7 | 63.9 |
| 0.001 | 40.1 | 63.4 |
| 0.010 | 35.5 | 61.7 |
| 0.100 | 25.2 | 52.5 |
| 0.500 | 30.0 | 57.7 |
Table C.2. Masking strategy ablation of S-JEPA on ImageNet-100, ViT-B/16, 400 epochs, S-JEPA. We report k-NN top-1 and logistic regression top-1 accuracy (%). We highlight the default strategy.
| Mask | Targets | Context | |||||
|---|---|---|---|---|---|---|---|
| Type | Freq. | Selection | Type | Avg. Ratio* | knn | logistic | |
| grid | Strided | 1 | Fixed uniform | Grid(stride=2) | 0.25 | 26.9 | 38.2 |
| random | Random(0.6) | 1 | Random patches | Complement | 0.40 | 36.9 | 54.6 |
| rasterized | Quadrant | 3 | Fixed quadrant | Complement | 0.25 | 27.5 | 50.1 |
| block | Block(0.6) | 1 | Random rectangle | Complement | 0.40 | 58.4 | 67.9 |
| multi-block | Block(0.15,0.2) | 4 | Random rectangle | Block(0.85,1.0)×Complement | 0.25 | 38.7 | 63.9 |
*Avg. Ratio is the average number of patches in the context block relative to the total number of patches in the image.
Table C.3. Ablation study of I-JEPA on ImageNet-100, ViT-B/16, 400 epochs, batch size 512. We report k-NN top-1 and logistic regression top-1 accuracy (%), along with at the same hyperparameter value. We highlight the default hyperparameter.
(a) Predictor depth.
| pred_depth | knn | logistic | ||
|---|---|---|---|---|
| 2 | 53.9 | -3.0 | 63.8 | -2.3 |
| 4 | 43.0 | -1.4 | 62.5 | -1.2 |
| 6 | 36.1 | +2.6 | 61.1 | +2.8 |
| 8 | 26.6 | +1.7 | 54.3 | +2.1 |
| 12 | 24.5 | +1.6 | 49.7 | +4.6 |
(b) Predictor width.
| pred_width | knn | logistic | ||
|---|---|---|---|---|
| 96 | 49.5 | -1.6 | 62.3 | -0.4 |
| 192 | 47.2 | +0.6 | 64.0 | +0.1 |
| 384 | 36.1 | +2.6 | 61.1 | +2.8 |
| 504 | 29.0 | +7.2 | 56.8 | +5.9 |
| 768 | 26.6 | +4.2 | 55.5 | +4.4 |
(c) Masking strategy.
| Mask | knn | logistic | ||
|---|---|---|---|---|
| grid | 29.0 | -2.1 | 45.9 | -7.7 |
| random | 36.6 | +0.3 | 49.0 | +5.6 |
| rasterized | 22.8 | +4.7 | 45.4 | +4.7 |
| block | 58.7 | -0.3 | 66.1 | +1.8 |
| multi-block | 36.1 | +2.6 | 61.1 | +2.8 |
D. Additional Experiments
D.1. Encoder Visualisations
Figures D.1 and D.2 compare S-JEPA with publicly released ViT-B/16 checkpoints on six images using the protocols in Appendix B.3. PCA highlights object and background structure, while attention maps show the regions attended to by a fixed head. We compare against DINO [16], iBOT [81], MAE [43], MSN [2], and I-JEPA [4], covering view-invariance, pixel-reconstruction, and predictive pretraining objectives. Each row uses the same input image across methods to facilitate direct comparison of their spatial feature structure.
Table C.4. Role of EMA and stop-gradient (sg). ImageNet-100, ViT-B/16, 400 epochs. Effective rank is a collapse diagnostic computed on -normalised encoder features over the validation set; low values indicate representation collapse independently of accuracy. We highlight the default configuration.
| Method | EMA | sg | knn | logistic | eff. rank |
|---|---|---|---|---|---|
| I-JEPA [4] | ✗ | ✗ | 1.1 | 1.3 | 8 |
| ✗ | ✓ | 12.2 | 21.3 | 35 | |
| ✓ | ✓ | 36.1 | 61.1 | 187 | |
| S-JEPA (ours) | ✗ | ✗ | 1.1 | 1.2 | 6 |
| ✗ | ✓ | 22.4 | 41.7 | 76 | |
| ✓ | ✓ | 38.7 | 63.9 | 201 |
Table D.1. Uncertainty quality of ViT-B/16 under the pretraining masks. Spearman correlations between and error on 3000 validation images (); calibration on 500 held-out images (), with the temperature fit on a disjoint split. NLL in parentheses: constant-variance baseline with the same mean. I-JEPA has .
| S-JEPA | I-JEPA | |
|---|---|---|
| Pooled Spearman | 0.327 | – |
| Within-image Spearman (mean) | 0.161 | – |
| Images with within-image | 76% | – |
| ECE, raw | 0.180 | 0.237 |
| ECE, after | 0.068 | – |
| NLL after | 0.63 (0.98) | – |
Table D.2. Sample count. Pooled Spearman between and error, and ECE (Appendix B.3), of S-JEPA ViT-B/16 against the number of prior draws , on 300 validation images under the pretraining masks; each row is reseeded. I-JEPA has .
| Spearman | ECE | |
|---|---|---|
| 5 | 0.300 | 0.184 |
| 10 | 0.272 | 0.182 |
| 25 | 0.289 | 0.181 |
| 50 | 0.279 | 0.181 |
| I-JEPA | – | 0.237 |
D.2. Uncertainty Analysis
Under pretraining masks, correlates with prediction error across pooled patches (Spearman ), but the mean within-image correlation is weaker (, positive in 76% of images; Table D.1). Under the visualisation protocol, mean within-image correlation is only 0.08 across 412 images. Thus, indicates prediction difficulty across predictions but is not a reliable localiser of error within an image; the quantitative conclusions rely on masked evaluation.
Raw predictions are underdispersed, with ECE compared with 0.237 for deterministic I-JEPA. Scalar recalibration reduces this to 0.068 and gives a lower NLL than the constant-variance baseline (0.63 versus 0.98), indicating useful variation beyond the overall uncertainty scale (Table D.1). Increasing the sample count from 5 to 50 produces little change in calibration and no consistent improvement in correlation (Table D.2). All protocols are described in Appendix B.3.
E. Broader Related Work
E.1. Joint-Embedding Architectures
Self-supervised learning of visual representations with joint-embedding architectures is an active line of research [2, 10, 16, 19, 21, 22, 38, 42, 76, 81]. These approaches train a pair of encoders to produce similar embeddings for two or more views of the same image. To avoid degenerate solutions, popular methods use explicit regularisation [1, 10, 16, 19] or architectural constraints such as stop-gradient [21], momentum encoders [38], or asymmetric prediction heads [6, 21, 38]. Regularisation-based approaches typically maximise the volume of space occupied by the representations, motivated by the InfoMax principle [56, 60], often coupled with independence or low-dimensionality constraints [10, 78]. Despite their proliferation, such approaches have been criticised for not discriminating between semantically meaningful information and noise [3], and are typically biased towards global image representations, limiting applicability to dense prediction tasks [11, 24, 36].
E.2. Masked Prediction
An orthogonal line of work learns representations by masking parts of the input and predicting the hidden content [74]. Autoregressive and denoising models predict missing inputs at the pixel level [18, 43] or at the patch token level using a learned tokeniser [8, 75]. While these methods demonstrate impressive scalability, they typically learn features at a lower level of semantic abstraction compared to joint-embedding approaches [2]. More recently, approaches combining joint-embedding and reconstruction objectives have been proposed [31, 81], adding local patch-level reconstruction losses to invariance-based pretraining to improve dense prediction performance. I-JEPA [4] departs from both paradigms by predicting in latent space rather than pixel space, yielding semantically richer representations without hand-crafted augmentations. Our work extends I-JEPA by replacing the deterministic predictor with a principled stochastic latent-variable model, directly fulfilling the intent of LeCun's original JEPA blueprint [55].
E.3. Contrastive Predictive Coding
Contrastive predictive coding [65] is closely related to masked prediction, using a contrastive objective to encourage patch representations to be predictive of neighbouring patches [47]. In contrast to these contrastive approaches, S-JEPA is non-contrastive and does not discriminate between image patches; the goal is to predict the representations of target blocks from a context block via a stochastic predictor conditioned on the latent variable z.
E.4. Probabilistic and World Models
The VAE [50] and CVAE [68] provide the foundational framework for stochastic latent-variable inference used in S-JEPA. World-model research has emphasised learning latent dynamics for prediction and planning [15, 39], motivating the use of stochastic latent variables to model multi-modal future distributions. Our work brings this perspective into the masked image prediction setting, operating entirely in representation space without any reconstruction objective, preserving the non-generative character of JEPA [4, 55].
F. Discussion
This appendix positions S-JEPA against the works closest to it on each axis of its design space: the treatment of z (Sections F.1 and F.2), the JEPA objective itself (Section F.3), concurrent variational formulations of JEPA (Sections F.4 to F.6), latent dynamics models (Section F.7), probabilistic embeddings (Section F.8), alternative sources of predictive uncertainty (Section F.9), learned priors in variational inference (Section F.10), and posterior collapse (Section F.11). No prior or concurrent work combines a stochastic content-level z, a context-conditioned learned prior, and the absence of any decoder, which is the combination S-JEPA introduces.
F.1. Comparison with Prior Work of Bar et al. [9]
Bar et al. [9] observe that masked prediction requires the right content at the right location, and that the location is itself uncertain: from a partial view of a dog one may infer that a tail is present without being able to place it. They therefore make the positional embedding of each mask token a random variable, drawn from a Gaussian centred at the deterministic embedding with a learned low-rank covariance.
Definition 3: Stochastic Positional Embeddings (StoP)
For mask token with deterministic positional embedding ,
(StoP)
with learned and shared across all mask tokens and all images. Context tokens keep deterministic positions, the prediction loss is that of Def. 1, and there is no posterior, no ELBO, and no conditional prior.
This is why we scope our claim to the content of rather than asserting that has been deterministic in every prior instantiation (Sections 1 and 2). StoP randomises where is queried; S-JEPA models what the occluded region contains. Three structural differences follow. First, the source of the distribution: is a single global parameter, whereas and are functions of the image and can therefore express that one image is ambiguous where another is determined. Second, the training signal: StoP has no target-conditioned inference network, so nothing ties the injected noise to the actual content of the masked region, whereas is trained to explain and the KL term is what prevents it short-cutting prediction (Lemma 1). Third, the behaviour at inference: perturbing positions changes the query, whereas drawing produces distinct semantic completions of the same query, which is what makes the uncertainty maps and completions of Figures 5 and 4 possible at all. The two mechanisms act on different arguments of and are complementary rather than competing; a predictor stochastic in both position and content is a natural extension of either.
F.2. Comparison with Prior Work of Littwin et al. [57]
Littwin et al. [57] address the same difficulty from the opposite direction. Because information in natural images has a strong spatial bias, the feasibility of predicting a target window from a context window depends on their relative positions, and encoders that see only their own window cannot adapt to this. They therefore condition each encoder on the positions of the opposing window.
Definition 4: Spatial Conditioning
With and the positions of the context and target windows,
(Spatial Conditioning)
so that each encoder can modulate the features it emits according to the window it is asked to predict from or to. The predictor, the auxiliary variable, and the loss are those of Def. 1.
The relationship is one of division of labour rather than overlap. Spatial conditioning acts on the encoders and changes what and contain; S-JEPA leaves the encoders untouched and changes what conditions the predictor beyond . More importantly, the two remove different residues of uncertainty. Conditioning on window positions removes the uncertainty that arises because the encoder does not know the geometry of the prediction problem, which is information the model could in principle have been given. It cannot remove the uncertainty that remains once the geometry is known, since the content of an occluded region is under-determined by the visible context however well the layout is understood. That irreducible component is what is introduced to carry, and conditional encoders and a stochastic latent are therefore composable.
F.3. Comparison with LeJEPA of Balestriero and LeCun [7]
In LeCun's JEPA blueprint the predictor maps , where captures the residual uncertainty about the target that is not deductible from the source. This construction presupposes an information asymmetry: in masked or temporal prediction the source is a partial observation, many target embeddings are consistent with a given , and is what parameterises the resulting multimodality. Balestriero and LeCun [7] eliminate this asymmetry, replacing prediction with a pure invariance objective over symmetric augmentations and handling collapse through an explicit distributional regulariser rather than architectural heuristics.
Definition 5: LeJEPA
Given views of sample with embeddings and centroid ,
(LeJEPA)
regularised by SIGReg, which drives the embedding distribution toward by characteristic-function matching along random one-dimensional projections. There is no predictor and no auxiliary variable.
S-JEPA is not a competing instantiation of the same objective but a model of structure that LeJEPA removes by construction. Because all views are symmetric augmentations of the same image and no information gap separates them, the mapping from any view to the target centroid is deterministic; were an auxiliary variable to be injected into such a mapping, the optimal solution under Def. 5 would be to ignore it entirely. A structured latent with a KL regulariser therefore has no role to play: the anti-collapse function it would serve in a conditional VAE framing is discharged instead by SIGReg. LeJEPA trades the generative, multimodal structure of the full JEPA blueprint for a simpler invariance-plus-distributional-matching objective, which makes both unnecessary and degenerate under its loss landscape. The two methods are therefore best read as occupying different points in the design space rather than as strict alternatives, and the empirical comparison we report in Section 5 should be read as a comparison of the representations each objective produces at a given architecture, not as evidence that one objective subsumes the other. Note that LeJEPA is a multi-view objective in the sense of Def. 5: each image contributes views, in the standard configuration two global crops at and six local crops at , and every one of them passes through a gradient-bearing encoder. A single LeJEPA epoch therefore pushes 608 encoder tokens per image against roughly 245 for S-JEPA, a factor of 2.5, and as many gradient-bearing tokens, since our target encoder is EMA-updated and only the context block carries gradients. Over the full schedules of Table 1 (600 vs. 100 epochs), S-JEPA processes as many encoder tokens as LeJEPA, while LeJEPA processes as many gradient-bearing tokens.
F.4. Comparison with Concurrent Work of Gögl and Yau [37]
Gögl and Yau [37] argue that the separation between JEPA and probabilistic generative modelling is largely rhetorical rather than structural, since the coupled encoder–predictor design mirrors the variational posteriors and learned conditional priors that arise from variational inference applied to a class of coupled latent-variable models. They reverse-engineer a probabilistic model whose ELBO yields the JEPA predictor, make that latent structure explicit through a single bound, and instantiate it for tabular data.
Definition 6: Var-JEPA
A single ELBO over a coupled latent-variable model in which the encoder embeddings are the generative objects and the predictor is interpreted as a decoder,
(Var-JEPA)
with observation-space decoders and reconstruction terms retained deliberately, on the grounds that reconstruction regularises the latents toward encoding predictive information.
S-JEPA shares the variational perspective but differs in three respects. First, the setting: Var-JEPA is instantiated on tabular data and treats the embeddings themselves as the generative objects, while S-JEPA addresses spatial masked image prediction, where multimodality is not a modelling convenience but a property of the task, since many distinct completions of an occluded region are semantically valid. Second, the role of the latent variable: in Var-JEPA the latent code is obtained by reverse-engineering a generative model whose ELBO recovers an existing predictor, so functions as an interpretive device for a fixed architecture; in S-JEPA, is an explicit stochastic variable injected into the predictor at training time, with a learned context-conditioned prior used to draw samples at inference. Third, and most importantly, the direction of travel: Var-JEPA introduces observation-space generative structure in order to bridge JEPA and generative modelling, which is its stated goal, whereas S-JEPA deliberately moves the other way, keeping the CVAE entirely at the level of representations with no decoders and no reconstruction, so that the non-generative character of JEPA is preserved by design.
F.5. Comparison with Concurrent Work of Huang [46]
Huang [46] introduce a probabilistic generalisation that learns a predictive distribution over future latent states via a variational objective. The motivation is stochastic sequential control: the resulting model is connected to predictive state represen-tations and Bayesian filtering, and its representations are shown to serve as sufficient information states for optimal control without pixel reconstruction.
Definition 7: VJEPA
For latent states and a horizon step ,
(VJEPA)
where the prior over is a fixed isotropic Gaussian rather than a learned function of the conditioning state.
S-JEPA differs on all three axes that define its design space. First, the task: VJEPA addresses temporal, sequential prediction in a control setting, while S-JEPA addresses spatial masked image prediction. Second, the prior: VJEPA uses a fixed , whereas S-JEPA employs a context-conditioned learned prior trained to anticipate the distribution of plausible completions from visible patches alone. This distinction is not cosmetic. A fixed prior samples from an uninformed distribution at inference and therefore cannot express that one image is ambiguous where another is determined; it also changes the geometry of the objective, since the KL can then be reduced only by drawing each posterior toward a common uninformative distribution, whereas a learned prior can instead move toward the posteriors it must match (Section A.6). Third, the role of : in VJEPA it captures temporal uncertainty over future states for planning, whereas in S-JEPA it captures spatial semantic ambiguity over an occluded region, which is what gives rise to the patch-level uncertainty maps and the diverse completions of Figures 5 and 4.
F.6. Comparison with Concurrent Work of Oji and Fieguth [64]
Oji and Fieguth [64] introduce a reconstruction-free non-contrastive framework that places a latent-variable model directly on paired encoder embeddings. They maximise a symmetric conditional ELBO whose likelihood is a heavy-tailed Student- distribution on a polar decomposition of the target embedding, separating directional agreement from magnitude consistency, with an amortised inference network whose feature-wise posterior variances are shared with the likelihood scale to capture anisotropic uncertainty.
Definition 8: VJE
For embeddings produced by the same encoder from two augmented views,
(VJE)
with a Student- likelihood on the polar decomposition of . There is no predictor, no masking, and no context-target asymmetry.
The surface similarity, operation in representation space under a variational ELBO with no pixel reconstruction, conceals a fundamental architectural difference. VJE is symmetric: both views pass through the same encoder and the bound is maximised symmetrically over the pair, so the latent variable models the shared embedding uncertainty of two augmentations of the same image. S-JEPA is asymmetric: is conditioned on the context representation through the prior and parameterises the distribution over semantically valid completions of a region that was never observed, which is a different quantity from view-level embedding uncertainty. The two methods therefore address different problems with different inductive structures, VJE being positioned as a probabilistic alternative to BYOL and VICReg-style invariance learning while S-JEPA is positioned as a stochastic extension of I-JEPA-style masked prediction.
F.7. Relation to Latent Dynamics Models of Hafner et al. [40, 41]
The closest structural precedent for the prior–posterior asymmetry we adopt lies outside self-supervised vision, in latent-dynamics world models. Hafner et al. [40] split the latent state into deterministic and stochastic components precisely so that the model can represent multiple futures rather than a single rollout, and train a transition prior that predicts the next state from the previous one alongside a filtering posterior that additionally observes the incoming frame. Hafner et al. [41] extend this to behaviour learning by imagining trajectories in the learned latent space.
Definition 9: Recurrent State-Space Model (RSSM)
With deterministic path , stochastic state , and observation , the model couples
(RSSM)
trained by maximising a variational bound in which the observation model reconstructs the raw frame .
We adopt the same asymmetry, with playing the role of the transition prior and that of the filtering posterior, and for the same reason: the prior must learn to anticipate what the posterior sees, which is what makes prior samples meaningful at inference. The difference is the third component. The RSSM closes the loop through an observation model that reconstructs pixels, which is what supplies its learning signal and what makes it a generative model; S-JEPA has no such term, and the prediction signal arrives entirely from the frozen target representation . Our bound is consequently on rather than on an observation likelihood, and the quantity modelled is semantic content in a learned embedding space rather than sensory reconstruction. The setting differs as well: latent-dynamics models resolve uncertainty over time in a controlled environment, whereas the ambiguity S-JEPA addresses is spatial and static, present in a single image with no subsequent observation to disambiguate it.
F.8. Relation to Probabilistic Embeddings of Oh et al. [63] and Chun et al. [25]
Representing an embedding as a distribution rather than a point has an established history in metric learning and retrieval. Oh et al. [63] map each input to a random variable trained under the variational information bottleneck and obtain a per-example uncertainty. Chun et al. [25] make the argument in the cross-modal setting, observing that deterministic functions cannot represent one-to-many correspondences between images and captions, and that a distributional embedding both improves retrieval and yields interpretable uncertainty.
Definition 10: Probabilistic Embedding (HIB, PCME)
An input is mapped not to a point but to a distribution over the embedding space,
(PE)
with matching performed in expectation over samples and interpreted as the ambiguity of the observed input .
We share with this line the position that a point estimate is inadequate when the mapping is genuinely one-to-many. The distinction is what the distribution is over. In probabilistic embeddings the uncertainty attaches to an input the model has seen, and expresses that itself is blurred, occluded, or polysemous. In S-JEPA the input is not ambiguous at all: the context patches are clean and fully observed, and the uncertainty attaches to a region that was deliberately withheld. The distribution is therefore predictive rather than perceptual, defined over completions of something absent rather than interpretations of something present, and it is conditioned on the visible context through a prior that must anticipate targets it never sees. This is also why the uncertainty is spatially resolved in our setting, varying across positions within a single image, whereas a probabilistic embedding assigns a single uncertainty to the input as a whole.
F.9. Alternative Sources of Predictive Uncertainty
A deterministic I-JEPA predictor yields everywhere, but it does not follow that no deterministic architecture can produce a per-patch uncertainty signal, and we state the comparison precisely rather than categorically. Three standard mechanisms apply to a JEPA predictor with no latent variable: Monte Carlo dropout [32], which interprets test-time dropout as approximate Bayesian inference; deep ensembles [54], which take the variance across independently trained predictors; and a heteroscedastic output head [49], which regresses a per-patch variance directly alongside the mean.
Definition 11: Deterministic Uncertainty Baselines
For a predictor and patch , a per-patch variance can be obtained as
(Deterministic Uncertainty)
with independent dropout masks, independently trained predictors, and a learned variance head. None requires a latent variable.
The distinction we draw is therefore not that S-JEPA produces a variance where these cannot, but what the variance is about and what else it yields. Dropout and ensembles measure epistemic uncertainty, reducible with more data and not tracking the intrinsic ambiguity of the masked region, and ensembles require independent pretraining runs. A heteroscedastic head is the strongest of the three, capturing aleatoric uncertainty per patch, but emits a scalar variance with no distribution over completions. In S-JEPA the uncertainty arises from the same latent that generates the completions of Figure 4, which is why the two capabilities follow from a single mechanism rather than from two separate additions to the architecture.
F.10. Relation to Learned Priors of Tomczak and Welling [70]
The result established in Section A.6, that the optimal prior for a fixed posterior is the aggregate posterior, is the conditional analogue of a known result rather than a new one. Tomczak and Welling [70] identify the aggregated posterior as the prior that maximises the VAE ELBO, connect it to the information bottleneck, and observe that using it directly overfits, which motivates approximating it by a mixture of posteriors evaluated at a small number of learnable pseudo-inputs.
Definition 12: Optimal Prior and the VampPrior
For a fixed posterior , the ELBO-maximising prior over the dataset is the aggregated posterior
(Vamp)
with learnable pseudo-inputs and .
We claim neither the result nor the observation that it bears on posterior collapse. What is specific to S-JEPA is the conditional form and its structural consequence. Our aggregation is not over the dataset but over the targets consistent with a given context, , so the optimal prior is a different distribution for every image and encodes the set of plausible completions of that image specifically. This is also why the pseudo-input approximation is unnecessary here: the prior is amortised as a function of by a small network rather than represented as an explicit mixture, so the overfitting that motivates the VampPrior does not arise in the same form. The mechanism this makes available, reducing the divergence by moving the prior toward the posteriors rather than by drawing every posterior onto a common uninformative distribution, is precisely what a fixed prior forecloses. The optimum of Section A.6 is a mixture, which a diagonal Gaussian prior approximates rather than represents, so the multimodality in Figure 4 arises from the predictor's nonlinear map of a unimodal latent; a mixture prior or a flow posterior would represent it directly.
F.11. Posterior Collapse and Free Bits of Kingma et al. [51]
Posterior collapse [15, 59] is a well-known failure mode of VAE-style objectives, in which the posterior converges to the prior and the latent variable carries no information beyond what the prior already encodes. Kingma et al. [51] address it with free bits, which reserve a minimum KL budget for every latent dimension by detaching gradients for any dimension whose divergence falls below a threshold, guaranteeing that no single dimension is permitted to switch off.
Definition 13: Posterior Collapse and Free Bits
The latent collapses when for almost all , in which case by Lemma 1 and the predictor is functionally deterministic. Free-bits regularisation enforces a per-dimension lower bound :
(FB)
We do not adopt this mechanism, for structural rather than empirical reasons. In a standard VAE the decoder is the only path from z to the output, so forcing dimensions active necessarily improves reconstruction and free bits aligns with the objective. In S-JEPA the predictor also sees , a strong alternative route to the target, so forcing to carry more than the predictor finds useful injects noise rather than structure. What keeps informative is instead the context-conditioned prior of Section F.10: since the optimal prior is the aggregate posterior, the divergence can be reduced by moving toward the posteriors rather than collapsing them, and no per-dimension floor is required. We therefore adopt the plain objective of Def. 2 as the default. Note that Def. 13 concerns collapse of the latent, distinct from that of the representation discussed in Section 2: the KL bounds the information carries about and prevents it acting as a shortcut, but constrains nothing about the encoder outputs, which is why the EMA target encoder is retained as in I-JEPA [4].

Figure D.1. PCA visualisations of encoder features (ViT-B/16). Each row shows the original image followed by the PCA projection of patch features for DINO [16] (400 epochs), iBOT [81] (400 epochs), MAE [43] (1600 epochs), MSN [2] (600 epochs), I-JEPA [4] (600 epochs) and S-JEPA (600 epochs), all ViT-B/16 encoders pretrained on ImageNet-1K. All baseline visualisations are reproduced from publicly released checkpoints.

Figure D.2. Attention visualisations of encoder features (ViT-B/16). Each row shows the original image followed by the self-attention map for DINO [16] (400 epochs), iBOT [81] (400 epochs), MAE [43] (1600 epochs), MSN [2] (600 epochs), I-JEPA [4] (600 epochs) and S-JEPA (600 epochs), all ViT-B/16 encoders pretrained on ImageNet-1K. All baseline visualisations are reproduced from publicly released checkpoints.