Approximating Instance-Dependent Noise via Instance-Confidence Embedding

Yivan Zhang, Masashi Sugiyama

TL;DR

Real-world label noise often depends on individual data points, but estimating a full noise transition matrix for every single example is computationally intractable and prone to high error. The authors introduce Instance-Confidence Embedding (ICE), a lightweight variational approach that assigns each training example a single trainable scalar confidence via an embedding lookup table. ICE effectively softens the impact of corrupt labels during training, boosts multiclass classification accuracy, and cleanly identifies ambiguous or mislabeled samples.

What Problem Does This Paper Address?

In supervised learning, web-scraped or crowdsourced datasets frequently contain incorrect labels. Most noise-tolerant algorithms rely on the class-conditional noise (CCN) assumption—assuming the probability of a label being wrong depends only on the true class, not the input features ($X$).

In reality, label corruption is instance-dependent (IDN): difficult, blurry, or ambiguous instances are much more likely to be mislabeled than clear, prototypical examples. Modeling IDN typically requires learning an instance-specific noise transition matrix $T(x) \in [0, 1]^{K \times K}$. For $K$ classes, predicting a full matrix for every sample introduces massive estimation error—especially when $K$ is large—and standard neural network approximations inadvertently enforce spatial smoothness across inputs, failing to capture the aleatory, point-by-point nature of human labeling errors.

Methods

ICE simplifies the intractable $K \times K$ transition matrix per instance into a single scalar confidence parameter $C \in [0, 1]$ combined with an instance embedding:

  1. Variational Approximation with a Single Scalar ($C$):
    If a model's predicted class-posterior $p = f(X; \phi)$ is confident, estimating the other $K - 1$ columns of the transition matrix has virtually no impact on the outcome. ICE therefore approximates the noisy class-posterior using an argmax-preserving transformation $q = h(p; C)$ where $C=1$ preserves the original prediction ($h(p; 1) = p$) and $C=0$ forces a uniform random guess ($h(p; 0) = \frac{1}{K}$). The authors propose two formulations:

  2. Linear Interpolation (ICE-LIN): $q_i = C p_i + (1 - C) \frac{1}{K}$

  3. Power Transformation / Temperature Scaling (ICE-POW): $q_i \propto p_i^C$ (equivalent to scaling logits by $C$).
  4. Instance-Confidence Embedding:
    Instead of using a separate neural network to predict $C$ from $X$ (which enforces smooth spatial transitions and increases compute), ICE treats each training sample's confidence as an independent, trainable 1D parameter stored in a lookup table (nn.Embedding(N, 1) followed by a sigmoid). This allows $C$ to vary abruptly between adjacent data points in feature space while evolving smoothly over training time via gradient updates.

  5. Loss Function:
    The network weights $\phi$ and instance confidences $\theta$ are trained simultaneously by minimizing standard cross-entropy between the transformed prediction $q$ and the observed label $\tilde{Y}$.

                 +-------------------+
  Feature X  --> | Classifier f(X;φ) | --> p 
                 +-------------------+     \   +----------------------+
                                            -> | Transformation h(p;C)| --> q --> Cross-Entropy Loss
                 +-------------------+     /   +----------------------+             with Label Ỹ
  Index i    --> |  Embedding Table  | --> C 
                 +-------------------+

Datasets

The authors evaluated ICE across both vision and text domains:

  • Synthetic IDN & Random Noise Image Benchmarks: MNIST, Fashion-MNIST, Kuzushiji-MNIST, SVHN, CIFAR-10, and CIFAR-100 (tested under ~52% instance-dependent noise and 50% uniform noise).
  • Real-World Noisy Image Benchmark: Clothing1M (1 million real-world web-crawled noisy images).
  • Text Classification: The GLUE benchmark (CoLA, SST-2, MRPC, QQP, MNLI, QNLI, RTE, WNLI) fine-tuning a pretrained bert-base-cased model.

No new datasets were introduced.

Key Insights and Ideas

  • Prediction Smoothing vs. Label Smoothing: While standard label smoothing linearly mixes the one-hot target label with uniform noise, ICE smooths the model prediction $p$. Making $C$ sample-dependent in standard label smoothing fails because when $C=0$, all supervision signal is discarded.
  • Graceful Scaling with Number of Classes: Transition-matrix estimators (like Noise Adaptation layers) collapse on large label spaces (e.g., $100 \times 100$ parameters in CIFAR-100). Because ICE uses a single scalar per instance, its parameter overhead does not scale with $K$.
  • Gradient Dynamics as Self-Correction: When the model strongly predicts class $A$ but the noisy label is class $B$, the gradient w.r.t. $C$ becomes negative, automatically suppressing the confidence of mislabeled points and preventing the network from overfitting to corrupt labels.
  • Unsupervised Data Auditing: Sorting samples by their learned $C$ values naturally surfaces ambiguous images (e.g., non-prototypical CIFAR animals, ambiguous 4-vs-9 digits) and labeling mistakes in standard text benchmarks (e.g., ungrammatical sentences labeled as acceptable in CoLA).

Key Results

  • Synthetic IDN: On CIFAR-10 with ~52% noise, ICE-LIN and ICE-POW achieved 82.07% and 82.37% test accuracy, respectively, compared to standard Cross-Entropy (74.72%) and instance-adaptation layers (74.71%). On CIFAR-100, ICE-LIN achieved 56.04%, while the full matrix adaptation method deteriorated to 39.18%.
  • Uniform Noise: Under 50% random label noise, ICE maintained superior performance (e.g., CIFAR-10: 82.14% vs. CCE: 68.34%).
  • Text Benchmarks: ICE improved performance on several GLUE tasks without complex sample selection pipelines, notably boosting CoLA from 54.76 to 57.83 Matthews Correlation and MRPC from 82.35% to 85.05% accuracy.
  • Clothing1M: ICE-POW reached 72.67% accuracy, outperforming basic loss-correction baselines like Forward (70.83%) and PTD (71.67%).

Limitations and Future Work

  • No Generalization for $C$: Because confidences are stored in a lookup table indexed by sample IDs, ICE cannot infer the confidence of unseen test or validation instances directly from input features.
  • Memory Scaling: Maintaining an embedding table requires $O(N)$ memory, which, although minor for a 1D scalar, grows linearly with dataset size.
  • Gap to Multi-Stage SOTA Pipelines: On Clothing1M, ICE trailed complex progressive label correction methods such as PLC (74.02%) and CORES$^2$ (73.24%).
  • Future Directions: The authors suggest integrating ICE into active learning, learning-with-rejection frameworks, or hybrid data-cleansing pipelines.

Summary updated

BibTeX
@inproceedings{zhang2022approximating,
  author = {Yivan Zhang and Masashi Sugiyama},
  title = {{Approximating Instance-Dependent Noise via Instance-Confidence Embedding}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=qPzR-M6HY8x},
}
Figure