Skip to main content
QUICK REVIEW

[Paper Review] More Than Meets The Eye: Semi-supervised Learning Under Non-IID Data

Calderon-Ramirez, Saul, Luis Oala|arXiv (Cornell University)|Apr 20, 2021
Domain Adaptation and Few-Shot LearningComputer Science22 references5 citations
TL;DR

This paper challenges the common practice of semantic data set matching in semi-supervised learning (SSDL) under non-IID data, demonstrating that such heuristics can degrade performance even for state-of-the-art models like MixMatch. It proposes using density-based dissimilarity measures in the feature space of a pre-trained ImageNet classifier as a more reliable, quantitative criterion for selecting unlabelled data, validated through extensive experiments and a publicly available simulation sandbox.

ABSTRACT

A common heuristic in semi-supervised deep learning (SSDL) is to select unlabelled data based on a notion of semantic similarity to the labelled data. For example, labelled images of numbers should be paired with unlabelled images of numbers instead of, say, unlabelled images of cars. We refer to this practice as semantic data set matching. In this work, we demonstrate the limits of semantic data set matching. We show that it can sometimes even degrade the performance for a state of the art SSDL algorithm. We present and make available a comprehensive simulation sandbox, called non-IID-SSDL, for stress testing an SSDL algorithm under different degrees of distribution mismatch between the labelled and unlabelled data sets. In addition, we demonstrate that simple density based dissimilarity measures in the feature space of a generic classifier offer a promising and more reliable quantitative matching criterion to select unlabelled data before SSDL training.

Motivation & Objective

  • To investigate the impact of distribution mismatch between labelled and unlabelled data on semi-supervised learning (SSDL) performance.
  • To evaluate the reliability of semantic matching heuristics—such as matching data by class or category—for selecting unlabelled data in non-IID settings.
  • To develop and validate a quantitative, feature-space-based criterion for unlabelled data selection that outperforms semantic heuristics.
  • To provide a comprehensive, reproducible simulation sandbox, non-IID-SSDL, for stress-testing SSDL algorithms under varying degrees of distribution shift.
  • To demonstrate that simple dissimilarity measures in deep feature space can yield more robust performance than human-annotated semantic categories in data selection.

Proposed method

  • Developed a flexible simulation sandbox, non-IID-SSDL, with five degrees of freedom: base in-distribution data, OOD data type, OOD data source, proportion of OOD data, and number of labelled samples.
  • Used MixMatch, a state-of-the-art SSDL algorithm, as the primary model for evaluation across diverse data distribution mismatches.
  • Proposed a quantitative data selection criterion based on Minkowski distances (ℓ₁ and ℓ₂), Jensen-Shannon divergence, and correlation-based dissimilarity in the feature space of a pre-trained Wide-ResNet on ImageNet.
  • Computed dissimilarity measures on sub-samples of data to ensure computational feasibility and validated statistical significance using Wilcoxon signed-rank tests.
  • Conducted qualitative analysis by comparing feature distributions across data sets and performed 10 independent runs per configuration to report mean accuracy and variance.
  • Released all code, scripts, and data for reproducibility via a public GitHub repository.

Experimental results

Research questions

  • RQ1Does semantic matching—using human-defined categories like 'animals' vs. 'vehicles'—reliably improve SSDL performance when there is distribution shift between labelled and unlabelled data?
  • RQ2How does the performance of MixMatch, a state-of-the-art SSDL model, degrade under increasing levels of distribution mismatch between labelled and unlabelled data?
  • RQ3Can density-based dissimilarity measures in the deep feature space of a pre-trained classifier serve as a more reliable and quantitative alternative to semantic matching for unlabelled data selection?
  • RQ4Are the observed dissimilarity measures statistically significant and consistent across different data set configurations and experimental runs?
  • RQ5To what extent does the choice of unlabelled data, based on semantic vs. feature-space criteria, affect final model accuracy in non-IID settings?

Key findings

  • Semantic matching heuristics can degrade MixMatch performance: for example, when using FashionMNIST as labelled data and SVHN as unlabelled data with 100% OOD data, accuracy dropped to 0.540±0.105 under semantic matching, compared to 0.794±0.056 with the proposed feature-space method.
  • The proposed feature-space dissimilarity measure (e.g., ℓ₂ distance) consistently outperformed semantic matching across all data set combinations, with the highest accuracy of 0.794±0.056 achieved when selecting unlabelled data based on ℓ₂ distance from the labelled data in the feature space.
  • Statistical tests (Wilcoxon) confirmed that dissimilarity measures were meaningful, with p-values < 0.05 for most comparisons, indicating that the observed differences in feature distributions were not due to chance.
  • Even when data sets were semantically similar (e.g., MNIST and SVHN), the feature-space distance was low (e.g., dℓ₂ = 0.011±0.006), suggesting that semantic similarity does not always align with feature-space proximity.
  • The feature-space dissimilarity measures showed strong correlation with model performance: lower distances generally led to higher accuracy, indicating their predictive power for effective data selection.
  • The non-IID-SSDL sandbox revealed that performance degradation was not monotonic—some OOD data sources improved performance under certain configurations, highlighting the complexity of distribution shift in SSDL.

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.