Abstract
Bootstrap Your Own Variance (BYOV) introduces Bayesian uncertainty estimation to the domain of self-supervised learning (SSL) by integrating the BYOL algorithm with Bayes by Backprop. By treating network weights as probability distributions and optimizing a generalized Evidence Lower Bound (ELBO), BYOV learns robust representations alongside epistemic uncertainty without requiring labels. Our results demonstrate improved model calibration, enhanced robustness to out-of-distribution noise, and superior network pruning via signal-to-noise ratio (SNR) metrics compared to deterministic baselines.
Introduction
In deep learning, understanding a model's confidence—specifically its epistemic uncertainty—is often as critical as its raw predictive power. While Bayesian methods are well-established for supervised learning, the landscape for Self-Supervised Learning (SSL) remains largely deterministic. Popular SSL frameworks like Bootstrap Your Own Latent (BYOL) excel at learning from unlabeled data but provide only point estimates for weights, leaving the model's reliability unquantified. Furthermore, standard Bayesian techniques typically rely on a likelihood function, which is absent in SSL tasks that do not predict explicit labels. BYOV bridges this gap by enabling reliable uncertainty estimates in a label-free environment.
Methodology
BYOV fuses two distinct frameworks: the "negative-free" SSL method BYOL and the variational inference technique Bayes by Backprop (BBB). In this hybrid approach, neural network weights are treated as probability distributions (typically Gaussians) rather than fixed scalars.
To overcome the lack of a traditional likelihood function, BYOV utilizes a Generalized ELBO (Evidence Lower Bound). The standard log-likelihood term is replaced with the BYOL loss (cosine similarity), allowing the model to backpropagate through weight distributions. This optimization minimizes both prediction error and weight complexity via KL divergence. The authors successfully scaled this approach to Vision Transformers (ViT), addressing the significant engineering challenges associated with high-dimensional Bayesian neural networks.
Experimental Setup
The models were rigorously evaluated on ImageNet-1k and an Augmented ImageNet suite. The latter included various corruptions—such as Salt & Pepper noise, Gaussian noise, and Solarization—to assess how uncertainty estimates behave under out-of-distribution stress.
Key Results and Insights
Improved Calibration and Robustness
BYOV significantly outperforms deterministic baselines in terms of reliability. On standard ImageNet, it improved the Expected Calibration Error (ECE) by +2.83% and the Brier score by +1.03%. These gains were even more pronounced under noisy conditions; for instance, under "Salt & Pepper" noise, BYOV showed a +2.4% improvement in test ECE.
Distributional Alignment
A key finding is that the predictive standard deviation produced by BYOV—despite the model never seeing a label—aligns distributionally with uncertainty from supervised Bayesian models. This suggests that BYOV captures fundamental "model doubt" inherent to the data and architecture, independent of the specific downstream task.
SNR-Based Pruning
Traditional network pruning often relies on weight magnitude. However, BYOV enables Signal-to-Noise Ratio (SNR) pruning. By leveraging the learned variance of each weight, the model can identify and remove "noisy" weights that contribute little to representation stability. This method achieved 12% better accuracy than magnitude-based pruning at a 25% sparsity level, proving that learned variance is a critical indicator of parameter utility.
Discussion and Limitations
While BYOV offers superior calibration, it incurs a "Bayesian Tax." The Top-1 accuracy on ImageNet was approximately 0.4% lower than the deterministic BYOL baseline. Additionally, the computational cost is higher due to the need for multiple Monte Carlo draws during inference to estimate uncertainty.
Future research may explore utilizing these uncertainty estimates for active learning—identifying which unlabeled samples would be most beneficial to label—or enhancing out-of-distribution detection in real-world deployment scenarios.
Summary updated