Skip to main content
QUICK REVIEW

[Paper Review] Weighted Ensemble Self-Supervised Learning

Yangjun Ruan, Saurabh Singh|arXiv (Cornell University)|Nov 18, 2022
Domain Adaptation and Few-Shot LearningComputer Science5 citations
TL;DR

This paper proposes a lightweight, efficient ensemble method for self-supervised learning (SSL) that applies data-dependent weighted cross-entropy losses to multiple projection heads without modifying the representation backbone. By dynamically weighting ensemble heads based on uncertainty or diversity, the method improves downstream performance—especially in few-shot settings—achieving a 3.9 percentage point gain over MSN ViT-B/16 on ImageNet-1K with 1-shot learning.

ABSTRACT

Ensembling has proven to be a powerful technique for boosting model performance, uncertainty estimation, and robustness in supervised learning. Advances in self-supervised learning (SSL) enable leveraging large unlabeled corpora for state-of-the-art few-shot and supervised learning performance. In this paper, we explore how ensemble methods can improve recent SSL techniques by developing a framework that permits data-dependent weighted cross-entropy losses. We refrain from ensembling the representation backbone; this choice yields an efficient ensemble method that incurs a small training cost and requires no architectural changes or computational overhead to downstream evaluation. The effectiveness of our method is demonstrated with two state-of-the-art SSL methods, DINO (Caron et al., 2021) and MSN (Assran et al., 2022). Our method outperforms both in multiple evaluation metrics on ImageNet-1K, particularly in the few-shot setting. We explore several weighting schemes and find that those which increase the diversity of ensemble heads lead to better downstream evaluation results. Thorough experiments yield improved prior art baselines which our method still surpasses; e.g., our overall improvement with MSN ViT-B/16 is 3.9 p.p. for 1-shot learning.

Motivation & Objective

  • To improve self-supervised learning performance through an efficient ensemble method that avoids architectural changes to the representation backbone.
  • To address the underexplored potential of ensembling in SSL by introducing data-dependent weighting schemes for ensemble heads.
  • To demonstrate that increased ensemble diversity through adaptive weighting leads to better downstream generalization.
  • To achieve significant performance gains with minimal training and inference overhead, particularly in low-data regimes like few-shot learning.

Proposed method

  • Develops a framework that trains multiple independent projection heads (ensemble members) alongside a shared representation encoder, without modifying the backbone.
  • Introduces a family of weighted cross-entropy losses where ensemble head weights are dynamically assigned based on teacher predictions (e.g., entropy, variance, or probability-based weighting).
  • Uses unnormalized cross-entropy and unnormalized KL divergence to derive loss functions that are jointly convex and differentiable, enabling stable training.
  • Employs entropy-based weighting (Ent) and variance-based weighting to prioritize uncertain or diverse predictions, enhancing model robustness.
  • Applies the ensemble only during training; the final model uses a single representation encoder with no runtime cost at inference.
  • Uses a weighted loss function: $\mathcal{L}^{\text{Ent}}_n(\theta) = \frac{1}{n}\sum_x \sum_i \text{softmax}_i(-\frac{1}{\gamma}\mathsf{H}[t_{i'}(Y|x)]) \cdot \mathsf{H}^\times[t_i(Y|x), s(Y|\theta_i,x)]$, where attention is given to high-entropy teacher predictions.

Experimental results

Research questions

  • RQ1Can ensembling improve self-supervised learning performance without increasing inference cost or modifying the representation backbone?
  • RQ2How do different data-dependent weighting schemes for ensemble heads affect model diversity and downstream performance?
  • RQ3Does increasing ensemble diversity through adaptive weighting lead to better generalization, especially in few-shot learning?
  • RQ4Can the proposed method surpass state-of-the-art SSL baselines when applied to DINO and MSN?
  • RQ5What is the impact of weighting schemes such as entropy, uniform, and probability-based weighting on representation quality and uncertainty estimation?

Key findings

  • The proposed method achieves a 3.9 percentage point improvement over MSN ViT-B/16 on ImageNet-1K for 1-shot linear evaluation, significantly outperforming the prior state-of-the-art baseline.
  • Ensembling with entropy-based weighting (Ent) yields the best performance, demonstrating that uncertainty-aware weighting enhances model diversity and generalization.
  • The method improves DINO by up to 7.5 percentage points in 1-shot learning, with consistent gains across 1-, 2-, and 5-shot settings.
  • The ablation study shows that weighting schemes promoting diversity (e.g., Ent, Var) lead to better downstream results than uniform or probability-based weighting.
  • The framework achieves these gains with minimal training cost and zero inference overhead, as only a single representation encoder is used at inference.
  • The method surpasses prior art baselines even when they are improved via standard techniques, indicating the effectiveness of the ensemble mechanism itself.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.