Skip to main content
QUICK REVIEW

[Paper Review] RETRIEVE: Coreset Selection for Efficient and Robust Semi-Supervised Learning

Krishnateja Killamsetty, Xujiang Zhao|arXiv (Cornell University)|Jun 14, 2021
Domain Adaptation and Few-Shot LearningComputer Science56 references17 citations
TL;DR

This paper proposes RETRIEVE, a coreset selection framework that accelerates and improves robustness in semi-supervised learning by selecting a representative subset of unlabeled data. By solving a mixed discrete-continuous bi-level optimization problem using gradient alignment and approximate submodularity, RETRIEVE achieves up to 5× speedup over state-of-the-art robust SSL methods while maintaining or improving accuracy, especially under distribution shift and class imbalance.

ABSTRACT

Semi-supervised learning (SSL) algorithms have had great success in recent years in limited labeled data regimes. However, the current state-of-the-art SSL algorithms are computationally expensive and entail significant compute time and energy requirements. This can prove to be a huge limitation for many smaller companies and academic groups. Our main insight is that training on a subset of unlabeled data instead of entire unlabeled data enables the current SSL algorithms to converge faster, significantly reducing computational costs. In this work, we propose RETRIEVE, a coreset selection framework for efficient and robust semi-supervised learning. RETRIEVE selects the coreset by solving a mixed discrete-continuous bi-level optimization problem such that the selected coreset minimizes the labeled set loss. We use a one-step gradient approximation and show that the discrete optimization problem is approximately submodular, enabling simple greedy algorithms to obtain the coreset. We empirically demonstrate on several real-world datasets that existing SSL algorithms like VAT, Mean-Teacher, FixMatch, when used with RETRIEVE, achieve a) faster training times, b) better performance when unlabeled data consists of Out-of-Distribution (OOD) data and imbalance. More specifically, we show that with minimal accuracy degradation, RETRIEVE achieves a speedup of around $3 imes$ in the traditional SSL setting and achieves a speedup of $5 imes$ compared to state-of-the-art (SOTA) robust SSL algorithms in the case of imbalance and OOD data. RETRIEVE is available as a part of the CORDS toolkit: https://github.com/decile-team/cords.

Motivation & Objective

  • To reduce the high computational cost and long training times of state-of-the-art semi-supervised learning (SSL) algorithms, especially in resource-constrained settings.
  • To improve robustness of SSL models when unlabeled data contains out-of-distribution (OOD) samples or class imbalance.
  • To enable faster hyperparameter tuning and energy-efficient training by reducing the size of the unlabeled dataset without sacrificing model performance.
  • To develop a coreset selection method that minimizes labeled set loss while maintaining distributional alignment with the labeled data.

Proposed method

  • RETRIEVE formulates coreset selection as a mixed discrete-continuous bi-level optimization problem to minimize the loss on the labeled set.
  • It uses a one-step gradient approximation to make the discrete optimization tractable and leverages the approximate submodularity of the objective function.
  • The method selects unlabeled data points whose gradients are most aligned with those of the labeled data, promoting both fast convergence and distribution matching.
  • It employs a greedy algorithm based on the approximate submodular structure to efficiently select the coreset.
  • The framework is integrated with existing SSL algorithms like VAT, Mean-Teacher, and FixMatch, enabling plug-and-play acceleration.
  • The coreset selection process is computationally lightweight and runs before the main SSL training loop.

Experimental results

Research questions

  • RQ1Can coreset selection significantly reduce training time in semi-supervised learning without degrading model performance?
  • RQ2How does coreset selection improve robustness when the unlabeled data contains OOD samples or class imbalance?
  • RQ3Can the coreset selection framework be efficiently combined with existing SOTA SSL algorithms to achieve faster convergence?
  • RQ4Does the coreset selection method maintain or improve performance compared to robust SSL baselines under distribution shift?

Key findings

  • RETRIEVE achieves a 3× speedup over standard SSL methods like FixMatch on clean data, with only a 0.7% accuracy drop.
  • In the presence of OOD data and class imbalance, RETRIEVE achieves a 5× speedup over the state-of-the-art robust SSL method DS3L while outperforming it in accuracy.
  • On CIFAR-10 with 50% class imbalance, RETRIEVE improves accuracy by 1.5% over DS3L and achieves 78.86% top-1 accuracy with 17.3 hours of training time.
  • For MNIST OOD with 50% OOD ratio, RETRIEVE achieves 95.85% accuracy in just 1.37 hours, outperforming DS3L in both speed and accuracy.
  • Standard deviation across three runs is consistently lower for RETRIEVE than for DS3L and other baselines, indicating improved training stability.
  • RETRIEVE reduces CO2 emissions and energy consumption by drastically cutting training time, supporting Green-AI goals.

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.