Skip to main content
QUICK REVIEW

[Paper Review] OpenMatch: Open-set Consistency Regularization for Semi-supervised Learning with Outliers

Kuniaki Saito, Donghyun Kim|arXiv (Cornell University)|May 28, 2021
Domain Adaptation and Few-Shot LearningComputer Science45 references23 citations
TL;DR

OpenMatch proposes a novel open-set semi-supervised learning framework that combines one-vs-all (OVA) outlier detection with soft consistency regularization to improve robustness against unlabeled outliers. By training an OVA classifier to distinguish inliers from outliers and applying a novel open-set soft-consistency loss, OpenMatch achieves state-of-the-art performance, reducing error rate to 10.4% on CIFAR10 with 300 labeled examples and outperforming fully supervised models in detecting unseen outliers.

ABSTRACT

Semi-supervised learning (SSL) is an effective means to leverage unlabeled data to improve a model's performance. Typical SSL methods like FixMatch assume that labeled and unlabeled data share the same label space. However, in practice, unlabeled data can contain categories unseen in the labeled set, i.e., outliers, which can significantly harm the performance of SSL algorithms. To address this problem, we propose a novel Open-set Semi-Supervised Learning (OSSL) approach called OpenMatch. Learning representations of inliers while rejecting outliers is essential for the success of OSSL. To this end, OpenMatch unifies FixMatch with novelty detection based on one-vs-all (OVA) classifiers. The OVA-classifier outputs the confidence score of a sample being an inlier, providing a threshold to detect outliers. Another key contribution is an open-set soft-consistency regularization loss, which enhances the smoothness of the OVA-classifier with respect to input transformations and greatly improves outlier detection. OpenMatch achieves state-of-the-art performance on three datasets, and even outperforms a fully supervised model in detecting outliers unseen in unlabeled data on CIFAR10.

Motivation & Objective

  • To address the limitation of standard semi-supervised learning (SSL) methods that assume identical label spaces between labeled and unlabeled data, which fails when unlabeled data contain novel categories (outliers).
  • To develop a robust open-set semi-supervised learning (OSSL) framework that can correctly classify inliers while detecting and rejecting outliers without requiring labeled outlier data.
  • To improve outlier detection in OSSL by learning smooth, consistent representations through a novel soft consistency regularization loss.
  • To unify the strengths of FixMatch and OVA-based novelty detection into a single end-to-end framework that maintains high accuracy on inliers and superior outlier detection.

Proposed method

  • Introduces a one-vs-all (OVA) classifier for each known class, where a sample is classified as an outlier if all OVA classifiers reject it, enabling unsupervised outlier detection.
  • Proposes an open-set soft-consistency regularization (SOCR) loss that minimizes the distance between the outlier detector’s logits on two augmented views of the same input, promoting smoothness in the outlier detection function.
  • Applies FixMatch’s consistency training only to unlabeled samples classified as inliers by the OVA detector, ensuring pseudo-labeling is applied only to reliable samples.
  • Uses a threshold on the OVA confidence scores to distinguish inliers from outliers, avoiding reliance on heuristic methods like Otsu’s thresholding.
  • Employs a multi-head architecture where the main head performs classification and the OVA head performs outlier detection, both trained jointly with shared feature encoders.
  • Optimizes the model using a combination of FixMatch’s cross-entropy loss, the SOCR loss, and a weighted loss for OVA outlier detection, enabling joint learning of inlier classification and outlier rejection.

Experimental results

Research questions

  • RQ1Can a semi-supervised learning framework effectively detect and reject outliers in unlabeled data when the label space of the unlabeled data includes novel categories not seen in the labeled set?
  • RQ2How can consistency regularization be adapted for open-set settings where outliers lack corresponding labeled examples and cannot be pseudo-labeled?
  • RQ3Does combining OVA-based outlier detection with soft consistency regularization improve both inlier classification accuracy and outlier detection performance compared to existing OSSL methods?
  • RQ4Can a model trained with limited labeled data and noisy unlabeled data containing outliers outperform a fully supervised model in detecting previously unseen outlier categories?

Key findings

  • OpenMatch achieves a 10.4% error rate on CIFAR10 with only 300 labeled examples per class, significantly outperforming the previous SOTA of 20.3% under the same setting.
  • On ImageNet-30 with 10% of the training data labeled, OpenMatch achieves a mean accuracy of 87.1%, surpassing FixMatch (83.0%) and MTC (74.2%).
  • In detecting outliers unseen during training, OpenMatch achieves a 3.4% higher AUROC than a fully supervised model trained on all inlier data, demonstrating superior generalization to novel categories.
  • The proposed open-set soft-consistency regularization (SOCR) loss significantly improves outlier detection performance by encouraging smoothness in the OVA classifier’s output under data augmentation.
  • The framework maintains high inlier classification accuracy while effectively rejecting outliers, even when the outliers are visually similar to inliers or were not present in the unlabeled training set.
  • Ablation studies confirm that both the OVA outlier detector and the SOCR loss are essential components, with each contributing significantly to the overall performance gain.

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.