Mask-Aware Execution for Efficient JEPA Training

mask-aware-execution-for-efficient-jepa-training

Mask-Aware Execution for Efficient JEPA Training

[Submitted on 19 Sep 2026 (v1), last revised 19 Oct 2026 (this version, v2)]

View PDF HTML (experimental)

Abstract:Joint Embedding Predictive Architectures (JEPAs) are becoming a core representation-learning primitive and a building block for latent world models across vision, video, audio, brain dynamics, and time series. Despite (potential of) wide deployment, current JEPA training pipelines are inefficient: each input is executed through multiple mask-specific branches, with redundant target-side work, and memory-bound token routing. These costs grow with the number of masks and limit GPU efficiency. We present M-JEPA, a mask-aware execution architecture that restructures JEPA training without changing the learning objective. M-JEPA separates mask-independent computation from mask-dependent routing, enabling shared context encoder execution, fused token routing and slicing with backward support, sparse target encoder execution over the union of target tokens, and masked patch embedding for sparse inputs. The resulting pipeline preserves training semantics while reducing computation, memory traffic, and synchronization overhead. We implement M-JEPA for five JEPA variants and evaluate it on NVIDIA A100 GPUs. Compared against the state-of-the-art baselines, M-JEPA achieves up to 1.7x end-to-end training speedup for 2-10 masks. Separately, with masked patch embedding, 4.75x patch-embedding speedup at high sparsity. These results show that execution restructuring, rather than changes to the JEPA objective, is a key lever for efficient JEPA training.

Submission history

From: Md Musfiqur Rahman Sanim [view email]
[v1] Sat, 19 Sep 2026 01:07:25 UTC (11,898 KB)
[v2] Mon, 19 Oct 2026 00:43:55 UTC (11,898 KB)