D-JEPA: Combining Feature Prediction with Generative Denoising
Published:
Dengsheng Chen, Jie Hu, Xiaoming Wei, and Enhua Wu
Read the paper (PDF)
A useful feature does not specify every detail
Intuition first. Visible image regions may suggest that a hidden region contains fabric without determining its exact texture. A predicted feature can describe the context for a distribution of plausible completions. A generative model then supplies a way to sample one.
Chen et al. build D-JEPA around this separation. A context encoder and feature predictor estimate representations at masked positions. A conditional denoising network models continuous tokens using those predictions. Feature matching and generative denoising are trained together; the paper also explores a flow-matching alternative.
Keep the token and its predicted representation separate
Let \(x_i\) denote an input token and \(z_i\) the context-derived feature used to condition its generation. In the ImageNet implementation, input tokens come from a pretrained VAE, so both quantities live in latent spaces with different jobs. Official implementation.
For a noise-prediction formulation,
\(\epsilon\) is Gaussian noise, \(t\) is diffusion time, and \(\mathcal L_p\) matches predicted features to target-encoder features. The paper’s formulation specifies the feature loss and the two objectives. Diffusion time here is a noise level, not a video’s physical timestamp.
Worked example: reconstruct one noisy coordinate
Take a scalar clean token \(x=2\), sampled noise \(\epsilon=-1\), and \(\bar\alpha_t=0.64\). Its corrupted value is
If the denoiser predicts \(\hat\epsilon=-0.8\), its squared noise error is \((-1+0.8)^2=0.04\). An estimate of the clean coordinate is
An exact noise prediction would recover 2 in this idealised calculation. This is one training example at one noise level; it is not the complete reverse sampling procedure.
The conditioning feature \(z_i\) helps distinguish which clean values are plausible in context. It is not itself the sampled noise or the clean token being recovered.
Sampling has two kinds of progress
The model gradually fills sets of masked token positions. Within a selected position, a conditional generative procedure produces the continuous token value. Filling additional positions supplies new context for subsequent predictions.
Consequently, the number of outer token-filling iterations and the number of denoising evaluations are different quantities. Compare both when interpreting generation cost. A smaller prediction network does not, by itself, establish lower end-to-end latency.
Compare the output required by the task
For an image generator, evaluate visual quality, diversity, conditioning, and computational cost. For a representation learner, evaluate what downstream predictors can extract from its features. Those measurements are related but not interchangeable.
A generated sample can look plausible while differing from an original hidden region, since multiple completions may be valid. Conversely, a useful representation may omit detail needed for faithful reconstruction. This makes the choice of evaluation especially important when comparing D-JEPA with I-JEPA.
Compare LLM-JEPA for another combination of representation prediction and a generative training objective.
References
- Chen, D., Hu, J., Wei, X., & Wu, E. Denoising with a Joint-Embedding Predictive Architecture. ICLR 2025.
- Authors’ D-JEPA implementation.
