Abstract
Mask-JEPA is a novel self-supervised learning (SSL) framework designed to pre-train entire mask classification architectures (MCA), such as Mask2Former, rather than just their backbones. By treating the transformer decoder as a feature predictor and incorporating a denoising task, it enables models to learn intricate object boundaries and semantics from unlabeled data. This approach leads to significant performance gains in universal image segmentation, particularly in low-data regimes.
Introduction
While self-supervised learning has revolutionized the training of image backbones, the specialized "heads" of segmentation models—specifically Mask Classification Architectures (MCA)—are often initialized randomly or trained from scratch. MCAs typically consist of a backbone, a pixel decoder for high-resolution features, and a transformer decoder for mask and class prediction. Labeling data for instance or panoptic segmentation is labor-intensive, creating a bottleneck for training these complex decoders. Mask-JEPA addresses this gap by providing a mechanism to pre-train the entire segmentation pipeline without human labels.
Methodology
Mask-JEPA adapts the Joint-Embedding Predictive Architecture (JEPA) specifically for the segmentation task. The framework utilizes an "online" network and a "target" network, where the target is an exponential moving average of the online network.
The core innovation lies in recasting the MCA’s transformer decoder as the JEPA "predictor." It takes masked features from the pixel decoder and attempts to reconstruct the unmasked features produced by the target network. This process is supplemented by dual denoising tasks:
- Masked Feature Reconstruction: The model learns global semantics by filling in missing regions in the feature map.
- Gaussian Noise Denoising: By adding Gaussian noise to the input image and requiring the pixel decoder to denoise it at high resolution, the model is forced to focus on fine details and sharp object edges.
This architecture-agnostic approach allows weights learned on one MCA setup to be transferred to others in the same family, such as MP-Former or OneFormer.
Experimental Results
The model was pre-trained on ImageNet-1K without labels and evaluated on challenging datasets including ADE20K, Cityscapes, and COCO 2017.
Quantitative Performance
Mask-JEPA demonstrates substantial improvements over standard training baselines. On the ADE20K dataset, the framework improved Panoptic Quality (PQ) by 1.8 points for ResNet-50 and boosted mIoU by 2.8 points for Swin-Tiny backbones.
Low-Data Efficiency
The framework is particularly effective when labels are scarce. In experiments using only 1% of ADE20K labels, Mask-JEPA significantly outperformed the baseline, indicating that its pre-trained representations capture meaningful semantic and structural information.
Qualitative Analysis
Visualizations using k-means clustering on features reveal that even prior to fine-tuning, the Mask-JEPA pixel decoder can distinguish between different objects and define clear boundaries. This contrasts with randomly initialized decoders, which produce noisy outputs.
Discussion and Future Work
While Mask-JEPA shows strong results, improvements on MS COCO were less pronounced than on ADE20K, suggesting a need for larger pre-training datasets like ImageNet-21K. Additionally, the current SSL phase does not specifically optimize "object queries." Future work will explore the use of pseudo-labels to initialize these queries. Despite these areas for growth, Mask-JEPA remains highly efficient, requiring significantly fewer GPU hours than generative SSL methods while providing a robust path for pre-training complex segmentation architectures.
Summary updated