Multi-Class Classification from Noisy-Similarity-Labeled Data

Songhua Wu, Xiaobo Xia, Tongliang Liu, Bo Han, Mingming Gong, Nannan Wang, Haifeng Liu, Gang NiuarXiv 2020

Abstract

Training multi-class classifiers typically requires large-scale, accurately labeled datasets. However, in many domains, obtaining clean class labels is difficult due to privacy concerns or high annotation costs. This paper presents a novel framework for learning from "noisy similarity" labels—pairwise comparisons indicating whether two instances belong to the same class, which may be incorrect. By modeling the noise through a class transition matrix and leveraging anchor point theory, the proposed Multi-class from Noisy Similarity (MNS) method enables deep neural networks to recover clean classification boundaries. Experimental results on synthetic and real-world datasets demonstrate that MNS significantly outperforms existing baselines, particularly in high-noise regimes.

Introduction

In traditional supervised learning, models rely on explicit labels (e.g., "cat", "dog"). In contrast, similarity-based learning uses pairwise judgments ("Are these the same?"). While easier to collect, these labels are often noisy. Deep neural networks tend to memorize such noise, leading to poor generalization. This work addresses the challenge of training reliable multi-class classifiers using only noisy, pairwise similarity judgments.

Methodology

The core of the proposed approach is the MNS (Multi-class from Noisy Similarity) framework. Instead of treating similarity noise as an isolated issue, the authors model it as a consequence of underlying class-label noise.

The Graphical Model

The framework assumes that for every input $X$, there exists a latent clean class label $Y$. This clean label is corrupted into a noisy label $\bar{Y}$ according to a noise transition matrix $T$, where $T_{ij} = P(\bar{Y}=j | Y=i)$. The observed similarity $\bar{S}$ between two instances is then derived from these noisy labels.

Graphical model of the MNS framework showing the relationship between clean labels, noisy labels, and observed similarities.

Learning Pipeline

The training process involves several key components:

  1. Clean Classifier: A neural network $g(X; \theta)$ predicts the clean class probability distribution $\hat{P}(Y|X)$.
  2. Noise Modeling: The clean prediction is transformed into a noisy class probability $f(X) = T^T g(X)$, representing $\hat{P}(\bar{Y}|X)$.
  3. Similarity Prediction: The similarity between two instances $X_i$ and $X_j$ is estimated as the inner product of their noisy class probabilities: $\hat{\bar{S}}_{ij} = f(X_i)^T f(X_j)$.
  4. Optimization: The model is trained by minimizing a binary cross-entropy loss between the predicted similarity $\hat{\bar{S}}_{ij}$ and the observed noisy similarity label $\bar{S}_{ij}$.
The MNS learning pipeline: from input triplets to similarity loss via a clean classifier and noise transition matrix.

Transition Matrix Estimation

Since $T$ is generally unknown, the authors adapt "anchor point" theory. Anchor points are instances that belong to a specific class with near-certainty. The paper proves that $T$ can be estimated directly from noisy similarity data by identifying these points using a preliminary noisy model, allowing the framework to function without any clean labels.

Experiments and Results

The MNS method was evaluated against state-of-the-art baselines like Meta Classification Learning (MCL) and KLD-based Contrastive Loss (KCL).

Synthetic and Real-World Datasets

Testing was conducted on MNIST, CIFAR-10, and CIFAR-100 with synthetic symmetric noise (20% to 60%). Real-world performance was tested on Clothing1M (1 million images with metadata-derived noise) and Food-101.

Key Findings

  • Robustness to High Noise: MNS maintains high accuracy even under extreme noise. On CIFAR-10 with 60% noise, MNS achieved ~51% accuracy, significantly outperforming MCL (~44%) and KCL (~15%).
  • Real-World Superiority: On Food-101, MNS reached 71.18% accuracy, a substantial improvement over MCL's 48.08%.
  • Estimation Precision: The estimated transition matrices were highly accurate, with error rates as low as 0.06 on MNIST, validating the anchor-point estimation strategy.

Conclusion

The MNS framework provides a theoretically grounded and practically effective solution for multi-class classification using only noisy pairwise similarities. By shifting the focus to modeling class-level noise via a transition matrix, it effectively "undoes" the corruption in the training signal. Future work may explore instance-dependent noise models to further enhance the system's flexibility in complex real-world environments.

Summary updated

BibTeX
@misc{wu2020multi,
  author = {Songhua Wu and Xiaobo Xia and Tongliang Liu and Bo Han and Mingming Gong and Nannan Wang and Haifeng Liu and Gang Niu},
  title = {{Multi-Class Classification from Noisy-Similarity-Labeled Data}},
  year = {2020},
  eprint = {2002.06508},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.06508},
}
Figure