Abstract
In this paper, we propose a novel probabilistic self-supervised learning via Scoring Rule Minimization (ProSMIN), which leverages the power of probabilistic models to enhance representation quality and mitigate collapsing representations. Our proposed approach involves two neural networks; the online network and the target network, which collaborate and learn the diverse distribution of representations from each other through knowledge distillation. By presenting the input samples in two augmented formats, the online network is trained to predict the target network representation of the same sample under a different augmented view. The two networks are trained via our new loss function based on proper scoring rules. We provide a theoretical justification for ProSMIN's convergence, demonstrating the strict propriety of its modified scoring rule. This insight validates the method's optimization process and contributes to its robustness and effectiveness in improving representation quality. We evaluate our probabilistic model on various downstream tasks, such as in-distribution generalization, out-of-distribution detection, dataset corruption, low-shot learning, and transfer learning. Our method achieves superior accuracy and calibration, surpassing the self-supervised baseline in a wide range of experiments on large-scale datasets like ImageNet-O and ImageNet-C, ProSMIN demonstrates its scalability and real-world applicability.
Introduction
Self-supervised learning (SSL) has revolutionized representation learning by enabling models to learn from vast amounts of unlabeled data. Traditional SSL methods typically rely on deterministic "point predictions," where the model learns to map different views of the same image to similar points in a latent space. However, this approach faces two significant challenges: representation collapse, where the model outputs a constant vector for all inputs, and a lack of uncertainty quantification, which is critical for high-stakes applications like healthcare or autonomous driving.
To address these issues, we introduce ProSMIN (Probabilistic Scoring Rule Minimization), a novel SSL framework that shifts from deterministic to probabilistic representations. By training models to predict a distribution of representations using proper scoring rules, ProSMIN effectively prevents collapse and produces features that are both accurate and exceptionally well-calibrated.
Methods
ProSMIN utilizes a dual-network architecture consisting of an online network and a target network. The online network is trained to predict the representation of a sample from the target network under a different augmented view.
Key components of the ProSMIN method include:
- Probabilistic Representations: Instead of predicting a single point, the online network outputs parameters (mean $\mu$ and variance $\sigma$) for a multivariate normal distribution.
- Proper Scoring Rules: The loss function $J(\theta)$ is based on proper scoring rules (specifically the Energy Score and Kernel Score). In statistics, a scoring rule is "proper" if its expected value is minimized only when the predicted distribution perfectly matches the true distribution of the data.
- Reparameterization Trick: This technique allows for differentiable sampling from the predicted distribution, enabling end-to-end training via backpropagation.
- Self-Distillation: The target network's weights are updated as an Exponential Moving Average (EMA) of the online network's weights, providing a stable "teacher" target that evolves over time.
Experimental Results
The model was pretrained on the ImageNet-1k dataset and evaluated across various downstream tasks. ProSMIN demonstrates that probabilistic modeling can enhance both performance and reliability without sacrificing accuracy.
Key Findings:
- Superior Accuracy: On ImageNet-1k linear evaluation, ProSMIN achieved a Top-1 accuracy of 78.4%, outperforming established baselines like DINO (76.8%) and i-BOT (77.9%).
- State-of-the-Art Calibration: The model achieved an Expected Calibration Error (ECE) of 0.006, which is significantly lower (better) than DINO (0.015) and MOCO-V3 (0.027). This indicates that the model's confidence scores are highly reliable.
- Inherent Anti-Collapse: The requirement to minimize a proper scoring rule over a distribution naturally incentivizes the model to explore a diverse range of representations, mitigating the risk of collapse without requiring complex contrastive negative samples.
- Robustness: ProSMIN showed superior performance in Out-of-Distribution (OOD) detection (ImageNet-O) and handling corrupted data (ImageNet-C), proving its effectiveness in real-world scenarios where data may be noisy or unfamiliar.
Conclusion and Future Work
ProSMIN represents a significant step forward in SSL by integrating probabilistic reasoning into the learning objective. While it offers superior calibration and robustness, it does involve a higher computational cost, requiring approximately 98 hours of training compared to ~73 hours for deterministic baselines. Future work will explore more efficient sampling methods and broader applications in areas like density estimation and image retrieval. By focusing on calibration and strict propriety, ProSMIN provides a mathematically grounded path toward more trustworthy and robust self-supervised models.
Summary updated