Introduction
Masked Auto-encoders (MAE) have established a powerful paradigm for self-supervised learning in Vision Transformers (ViTs). By masking a significant portion of an image and tasking the model with reconstructing the missing patches, MAE encourages the learning of deep, high-level visual representations. While this approach has seen immense success with large-scale models like ViT-Base and ViT-Large, it has historically failed to scale down to "lightweight" architectures (e.g., ViT-Tiny) suitable for edge devices.
Previously, the research community attributed this failure to the limited capacity of small models, leading to a reliance on computationally expensive Knowledge Distillation (KD) techniques where a pre-trained "teacher" model guides a smaller "student." This paper challenges that assumption, identifying a fundamental training objective failure called "semantic aliasing" and proposing a teacher-free solution: NoR-MAE (Neighbor-Repelling MAE).
The Semantic Aliasing Bottleneck
The authors discover that lightweight models suffer from an inability to distinguish a visible patch from its immediate spatial neighbors. In these models, the embeddings for a patch and its Closest Neighbor Patch (CNP)—the neighbor with the highest cosine similarity—often collapse into a single "semantic centroid."
As illustrated in Figure 1, while a large model (ViT-Base) naturally separates these local features in the embedding space, a small model (ViT-Tiny) fails to do so. This high similarity acts as a "shortcut" during the reconstruction task; the model can simply copy features from adjacent visible patches rather than learning the complex semantic structures required for robust visual understanding. This phenomenon effectively caps the performance of vanilla MAE on small architectures.
NoR-MAE: Neighbor-Repelling Masked Auto-encoders
To overcome semantic aliasing, the researchers introduce NoR-MAE, which explicitly penalizes the similarity between a patch and its closest neighbor. This forces the model to decorrelate local features and learn sharper, more discriminative representations without requiring any external teacher model.
The NoR-MAE pipeline (Figure 5) involves several key steps:
- CNP Identification: For every unmasked (visible) patch, the algorithm identifies its most similar spatial neighbor.
- Siamese Encoding: The model processes both the visible patches and their corresponding CNPs through the same encoder and decoder.
- Neighbor-Repelling Loss ($L_{NoR}$): Inspired by the Barlow Twins objective, the model computes a cross-correlation matrix between the embeddings of the visible patches and their CNPs. By penalizing the off-diagonal terms of this matrix, the model is forced to "repel" the embeddings of neighbors.
This approach adds negligible training overhead (approximately 2%) but fundamentally changes what the lightweight model learns, forcing it to recognize subtle semantic differences that were previously blurred.
Experimental Evaluation
NoR-MAE was evaluated on ImageNet-1K and ImageNet-100, as well as a suite of 10 downstream transfer learning tasks. The results demonstrate a significant performance leap over standard MAE:
- ImageNet-1K: ViT-Tiny trained with NoR-MAE achieved 70.24% top-1 accuracy, a +3.64% improvement over the vanilla MAE baseline (66.6%).
- ImageNet-100: The model achieved 78.26%, representing a massive +7.22% jump.
- Efficiency: Compared to state-of-the-art distillation methods like DMAE, NoR-MAE achieved superior accuracy while requiring 50% less training cost and significantly lower GPU memory usage.
- Downstream Tasks: On the ADE20K segmentation task, NoR-MAE improved the mIoU by 7.0% over the baseline, proving that the learned features are highly transferable and robust.
Conclusion
NoR-MAE demonstrates that the primary bottleneck for lightweight MAE is not a lack of model capacity, but a specific failure in local feature discrimination. By treating closest neighbors as harmful shortcuts and explicitly repelling their embeddings, lightweight models can achieve state-of-the-art performance from scratch. This work paves the way for more efficient self-supervised learning on edge devices and suggests that similar "neighbor-repelling" strategies could be beneficial in other modalities like audio or video.
Summary updated