Skip to main content
QUICK REVIEW

[Paper Review] Sinkhorn Label Allocation: Semi-Supervised Classification via Annealed Self-Training

Kai Sheng Tai, Peter Bailis|arXiv (Cornell University)|Feb 17, 2021
Machine Learning and Data ClassificationComputer Science9 citations
TL;DR

This paper proposes Sinkhorn Label Allocation (SLA), a novel semi-supervised learning method that formulates label assignment as an optimal transport problem between examples and classes using classifier predictions as costs. By leveraging Sinkhorn iteration for efficient approximation and incorporating constraints on class proportions and label mass, SLA improves self-training accuracy, achieving 94.83% mean test accuracy on CIFAR-10 with only 4 labeled examples per class—surpassing FixMatch and matching its performance with 25 labels per class.

ABSTRACT

Self-training is a standard approach to semi-supervised learning where the learner's own predictions on unlabeled data are used as supervision during training. In this paper, we reinterpret this label assignment process as an optimal transportation problem between examples and classes, wherein the cost of assigning an example to a class is mediated by the current predictions of the classifier. This formulation facilitates a practical annealing strategy for label assignment and allows for the inclusion of prior knowledge on class proportions via flexible upper bound constraints. The solutions to these assignment problems can be efficiently approximated using Sinkhorn iteration, thus enabling their use in the inner loop of standard stochastic optimization algorithms. We demonstrate the effectiveness of our algorithm on the CIFAR-10, CIFAR-100, and SVHN datasets in comparison with FixMatch, a state-of-the-art self-training algorithm. Our code is available at https://github.com/stanford-futuredata/sinkhorn-label-allocation.

Motivation & Objective

  • To address the instability of self-training in semi-supervised learning due to noisy label assignments on unlabeled data.
  • To unify common heuristics like confidence thresholding and label annealing within a principled optimization framework.
  • To enable efficient, differentiable label assignment via Sinkhorn iteration for integration into stochastic optimization pipelines.
  • To incorporate prior knowledge on class proportions through flexible upper bound constraints.
  • To improve generalization and robustness in low-shot semi-supervised learning settings.

Proposed method

  • Formulates label assignment as a convex optimal transport problem minimizing total cost $\sum_{ij} Q_{ij} C_{ij}(\theta) $, where $ C_{ij}(\theta) = -\log p_\theta(j|x_i) $.
  • Uses the Sinkhorn-Knopp algorithm to efficiently approximate the solution to the optimal transport problem with entropic regularization.
  • Introduces scaling variables to enforce upper bounds on class proportions, enabling control over label distribution.
  • Applies a label annealing strategy by gradually increasing the total mass of assigned labels over training iterations.
  • Integrates the label assignment step into a self-training loop, using soft labels from the transport solution as pseudo-labels.
  • Supports flexible constraints, including class balancing and upper bounds, to prevent over- or under-representation of classes.

Experimental results

Research questions

  • RQ1Can optimal transport provide a principled and efficient framework for label assignment in self-training?
  • RQ2How does incorporating class proportion constraints affect model generalization in low-shot semi-supervised learning?
  • RQ3Can the annealing of label assignment mass improve training stability and accuracy?
  • RQ4How does SLA compare to state-of-the-art methods like FixMatch under identical settings?
  • RQ5What impact do constraint misspecification and regularization parameters have on SLA's performance?

Key findings

  • SLA achieved a mean test accuracy of 94.83% (±0.32%) on CIFAR-10 with only 4 labeled examples per class, outperforming FixMatch, which achieved 90.10% (±3.00%) under the same setup.
  • With 40 labeled examples per class, SLA achieved a test error of 5.17% with label annealing, compared to 13.67% without it, demonstrating the importance of gradual label assignment.
  • Removing class proportion constraints increased the test error to 9.71% (±5.95%), showing that such constraints significantly improve performance when well-specified.
  • A Sinkhorn regularization parameter $\gamma = 100$ provided the best trade-off between approximation quality and computational cost, achieving 4.94% error on CIFAR-10 with 40 labels.
  • The method effectively simulates label annealing and confidence thresholding heuristics within a unified optimization framework.
  • Empirical analysis revealed that infeasible or misspecified constraints lead to chaotic oscillations in model parameters and scaling variables, suggesting potential for adaptive constraint tuning.

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.