DMT-JEPA: Discriminative Masked Targets for Joint-Embedding Predictive Architecture
Shentong Mo, Sukmin Yun
TL;DR
DMT-JEPA addresses the limited local semantics in embedding-space masked modeling by introducing discriminative latent targets constructed from semantically similar neighboring patches. It employs Masked Semantic Neighboring to select neighbors and a Local Aggregation Target with cross-attention to produce dense latent targets, optimized via an L2 loss between predicted and target representations. Empirically, it outperforms I-JEPA and MAE across dense prediction tasks (ADE20K, COCO, DAVIS) and strengthens ImageNet classification performance, demonstrating improved local-semantic understanding without sacrificing efficiency. The method yields more interpretable attention maps and illustrates the value of latent-space discriminative targets for robust self-supervised learning and downstream transfer.
Abstract
The joint-embedding predictive architecture (JEPA) recently has shown impressive results in extracting visual representations from unlabeled imagery under a masking strategy. However, we reveal its disadvantages, notably its insufficient understanding of local semantics. This deficiency originates from masked modeling in the embedding space, resulting in a reduction of discriminative power and can even lead to the neglect of critical local semantics. To bridge this gap, we introduce DMT-JEPA, a novel masked modeling objective rooted in JEPA, specifically designed to generate discriminative latent targets from neighboring information. Our key idea is simple: we consider a set of semantically similar neighboring patches as a target of a masked patch. To be specific, the proposed DMT-JEPA (a) computes feature similarities between each masked patch and its corresponding neighboring patches to select patches having semantically meaningful relations, and (b) employs lightweight cross-attention heads to aggregate features of neighboring patches as the masked targets. Consequently, DMT-JEPA demonstrates strong discriminative power, offering benefits across a diverse spectrum of downstream tasks. Through extensive experiments, we demonstrate our effectiveness across various visual benchmarks, including ImageNet-1K image classification, ADE20K semantic segmentation, and COCO object detection tasks. Code is available at: \url{https://github.com/DMTJEPA/DMTJEPA}.
