NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning with noisy labels using low-dimensional model trajectory

Vasu Singla, Shuchin Aeron, Toshiaki Koike-Akino, Kieran Parsons, Matthew Brand, Ye WangDistShift @ NeurIPS 2022

TL;DR

This paper explores how to improve deep learning model performance when training data has noisy labels by leveraging low-dimensional model trajectories. They find that existing methods are sensitive to early stopping and propose using more robust PCA variants (Robust PCA and Sparse PCA) to estimate these trajectories, leading to better generalization and reduced sensitivity to hyperparameter choices.

What Problem Does This Paper Address?

Training deep neural networks (DNNs) often requires massive, meticulously labeled datasets. However, in many real-world applications, obtaining such high-quality labels is prohibitively expensive or difficult. This leads to the use of datasets with "noisy labels," where some labels are incorrect. DNNs are known to have a tendency to first learn clean data and then "memorize" the noisy labels, which severely degrades their generalization performance.

A common strategy to combat this is "early stopping," where training is halted before the model fully memorizes the noisy labels. More recently, researchers have observed that DNN training trajectories can be effectively represented in a low-dimensional subspace, often found using Principal Component Analysis (PCA). Combining early stopping with training within these low-dimensional subspaces has shown promise. However, the authors of this paper identify two key issues: the sensitivity of these methods to the precise early stopping point and the question of whether standard PCA is the optimal way to find these low-dimensional subspaces when dealing with noisy data.

Methods

The paper builds upon the Dynamic Linear Dimensionality Reduction (DLDR) framework, which involves two main stages:

  1. Subspace Sampling: The training trajectory of a DNN (i.e., the sequence of model parameters over epochs) is recorded. PCA is then applied to this trajectory to identify a low-dimensional subspace that captures most of the variance.
  2. Subspace Training: A new DNN is trained from scratch, but its parameter updates are constrained to lie within the previously identified low-dimensional subspace.

The core novelty of this work lies in replacing the standard PCA for subspace estimation with more robust variants:

  • Robust PCA: Standard PCA is sensitive to outliers, which can be analogous to the gradients from noisy labels. Robust PCA is designed to be less susceptible to such outliers, potentially leading to a more stable subspace estimate.
  • Sparse PCA: This variant introduces a sparsity constraint on the principal components. The intuition is that only a subset of network weights might be critical for generalization. By encouraging sparsity, Sparse PCA can act as a form of regularization, potentially making it more resilient to noisy labels and less sensitive to the exact subspace dimensionality.

The authors implement these variants using existing solvers and compare their performance against standard PCA and baseline SGD methods.

Datasets

The experiments were conducted on the CIFAR-10 dataset. The authors introduced different types of synthetic label noise to simulate real-world scenarios:

  • Symmetric Noise: Labels from each class are randomly reassigned to any other class with equal probability.
  • Pairflip Noise: Labels from each class are flipped to its "adjacent" class. This is noted as being more easily learned early by DNNs than symmetric noise.
  • CIFAR10-N (Worst Subset): This is a real-world noisy dataset derived from human annotations. The "worst" subset is used, which combines noisy labels from three independent annotators, resulting in approximately 40% noise. This type of noise is also noted as being learned early.

Key Insights and Ideas

  • Sensitivity of Prior Methods: The paper highlights that the effectiveness of previous methods combining early stopping and PCA-based subspaces is highly dependent on the chosen early stopping epoch. This sensitivity can limit their practical utility, especially with challenging noise types.
  • Robustness of PCA Variants: The core idea is that standard PCA, by maximizing variance, might be misled by noisy labels. Robust PCA and Sparse PCA offer alternative ways to find subspaces that are less influenced by these noisy gradients.
  • Sparse PCA as a Promising Regularizer: Sparse PCA, in particular, shows promise as it can act as a form of regularization by effectively limiting the number of parameters that can be updated within the subspace. This aligns with the idea that only a subset of parameters is crucial for generalization.
  • Subspace Dimensionality Matters, But Sparsity is Key: While the subspace dimensionality is a regularization mechanism, the choice of subspace estimation technique (like Sparse PCA) appears to be more critical for robust performance across different noise types and early stopping points.

Key Results

  • Sparse PCA Outperforms PCA: Across various synthetic and real-world noisy datasets (Pairflip, Symmetric, CIFAR10-N Worst), Sparse PCA consistently achieved higher test accuracy than standard PCA.
  • Reduced Sensitivity to Early Stopping: Sparse PCA was observed to be significantly less sensitive to the choice of early stopping epoch compared to standard PCA. This means it can provide good performance over a wider range of stopping points.
  • Competitive with SGD Best: In many cases, Sparse PCA not only outperformed standard PCA but also achieved comparable or better results than the "SGD Best" baseline (which represents the best performance achieved by standard SGD with optimal early stopping).
  • Robust PCA's Mixed Performance: Robust PCA showed some improvement in sensitivity to early stopping compared to PCA, but its overall performance was not as consistently strong as Sparse PCA.
  • Challenging Noises: Sparse PCA showed particular benefits on "learned early" noise types like Pairflip and CIFAR10-N Worst, where standard PCA and even optimal SGD struggled more.

Limitations and Future Work

  • Hyperparameter Sensitivity: While Sparse PCA is less sensitive to early stopping, the sparsity level for each eigenvector is still a hyperparameter that needs to be chosen. The paper mentions using a sparsity level of 90% for eigenvectors.
  • Robust PCA Performance: The paper notes that Robust PCA did not always outperform PCA and sometimes performed worse on symmetric noise.
  • Future Work: The authors suggest further exploration of other PCA variants with interesting properties. They also hope their work will inspire more theoretical and empirical studies on exploiting low-dimensional subspaces for noisy label training. The paper also mentions conducting additional experiments varying subspace dimension, which are detailed in an appendix.

Summary updated

BibTeX
@inproceedings{singla2022learning,
  author = {Vasu Singla and Shuchin Aeron and Toshiaki Koike-Akino and Kieran Parsons and Matthew Brand and Ye Wang},
  title = {{Learning with noisy labels using low-dimensional model trajectory}},
  booktitle = {DistShift @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=QI64E1iz3G},
}
Figure