Abstract
Self-supervised learning (SSL) models like DINO and DINOv2 have achieved state-of-the-art performance in computer vision but rely on complex, often brittle training pipelines to avoid representation collapse. These pipelines involve asymmetric teacher-student networks, centering operations, and temperature-scaled softmaxes. This paper introduces SimDINO and SimDINOv2, which replace these architectural "hacks" with a simple, explicit coding rate regularization term. This term penalizes low covariance in feature batches, forcing the model to utilize the full representation space. The resulting models are easier to train, more robust to hyperparameter variations, and outperform their predecessors on various downstream tasks, including ImageNet classification and dense prediction.
Introduction
In contrastive self-supervised learning, models are trained to output similar representations for different augmented views of the same image. A major challenge is representation collapse, where the model cheats by mapping every image to the exact same feature vector. To avoid this, state-of-the-art models like DINO and DINOv2 use a convoluted mix of implicit tricks: asymmetric teacher-student networks, exponential moving averages (EMA) for weights, centering operations, and temperature-scaled softmaxes. These empirically motivated design choices make the training pipeline unstable and sensitive to architectural changes. The authors propose that these complexities are merely proxies for preventing collapse and can be replaced with a direct mathematical objective.
Methods
The proposed SimDINO and SimDINOv2 frameworks drastically simplify the original DINO architectures. The authors remove the massive "DINO heads" (weight-normalized linear layers), centering operations, and temperature schedules. Instead of comparing probability distributions via cross-entropy, they compute the squared Euclidean distance between the normalized feature vectors of the teacher and student networks.
To prevent the features from collapsing into a single point, they add an explicit regularization term to the loss function based on the coding rate. This term penalizes low covariance in the batch of feature vectors. By forcing the covariance matrix of the features to be large, the model is forced to spread its representations across the available feature space. For SimDINOv2, this simplification is applied to both the global image token and the patch-level tokens used in masked modeling.
Key Insights and Ideas
- Complexity as a Proxy for Diversity: The intricate dance of EMA schedules, centering, and temperature tuning in DINO is essentially a complicated, implicit way to prevent representation collapse. By explicitly penalizing collapse using the coding rate, these architectural gymnastics become unnecessary.
- Principled Optimization: Directly regularizing the covariance of features creates a smoother optimization landscape. This reduces the sensitivity to hyperparameters like learning rate and batch size, which are notoriously difficult to tune in standard SSL frameworks. SimDINO scales seamlessly from ViT-Base to ViT-Large using identical hyperparameters, whereas original DINO often diverges in such transitions.
- Decoupling Teacher-Student Dynamics: Because coding rate regularization provides an explicit force against collapse, the authors found that SimDINO can maintain non-trivial representations even without the teacher-student EMA setup. While the EMA still provides a performance boost, its role as a primary stabilizer against collapse is superseded by the new loss term.
Key Results
SimDINO and SimDINOv2 offer a Pareto improvement over their predecessors, being both simpler to implement and more performant:
- ImageNet-1K Classification: Training a ViT-Base for 100 epochs, SimDINO achieves 74.9% k-NN accuracy compared to DINO's 72.9%. SimDINOv2 (ViT-Large) reaches 81.1% vs DINOv2's 80.8%.
- Dense Prediction Tasks: SimDINOv2 significantly outperforms DINOv2 on semantic segmentation. On ADE20K using a ViT-Base, SimDINOv2 achieves a 36.9 mIoU, a massive +4.4 improvement over DINOv2's 32.5 mIoU.
- Training Stability: SimDINO proves more effective on smaller datasets like COCO, where the lack of massive batch statistics typically destabilizes standard DINO training. It also scales more reliably to larger architectures without requiring specialized hyperparameter tuning.
Limitations and Future Work
While the authors removed many hyperparameters, they introduced a new one: $\gamma$, which controls the strength of the coding rate penalty. Although they provide a mathematical heuristic to scale it, it still requires initial tuning. Future work includes applying this philosophy to other modalities and conducting a more rigorous theoretical analysis of the geometric properties of SSL global optima enabled by this cleaner objective function.
Summary updated