TL;DR
When training data suffers from both class imbalance and label noise, standard sample reweighting methods break down because both issues manifest as high classification loss. This paper introduces Neural Architecture Search (NAS) to Meta-Weight-Net (MW-Net), optimizing both the network structure and input features to successfully differentiate between noisy data and rare but clean data.
What Problem Does This Paper Address?
In real-world machine learning, datasets are rarely pristine. Two common headaches are class imbalance (having far fewer examples of some classes than others) and label noise (incorrect training labels).
Sample reweighting is a popular defense mechanism. For instance, Meta-Weight-Net (MW-Net) learns an explicit function to weight samples based on their classification loss. However, a fundamental conflict arises when class imbalance and label noise coexist:
- Label noise requires the model to downweight high-loss samples (assuming they are incorrectly labeled errors).
- Class imbalance requires the model to upweight high-loss samples (since minority classes are harder to learn and yield higher losses).
Because standard MW-Net relies solely on a single loss value as its input and uses a fixed, simplistic multi-layer perceptron (MLP) architecture, it cannot resolve this ambiguity.
Methods
To give the reweighting network more context, the authors propose two key modifications:
- Richer Inputs: They replace the single loss value input with a concatenated vector containing intermediate feature representations from the classifier and the one-hot encoded label.
- Joint Neural Architecture Search (NAS): Because adding high-dimensional features makes a simple fixed network insufficient, they use the Tree-structured Parzen Estimator (TPE) algorithm to jointly optimize the weighting network's depth, width, and the specific classifier layer from which features are extracted.
The search space for the optimization is detailed below:
The optimization runs in a meta-learning loop, utilizing a small, clean, and balanced meta-dataset to evaluate how well a candidate architecture helps the primary classifier perform.
Datasets
The method was evaluated on modified versions of two standard image classification benchmarks:
- CIFAR-10 (50,000 training images, 10 classes)
- CIFAR-100 (50,000 training images, 100 classes)
To simulate complex distribution shifts, the training sets were artificially altered using an Imbalance Factor (IF) of $\beta = 20$ or $\beta = 100$, followed by adding 40% uniform noise (randomly flipping labels to any class) or 40% flip noise (flipping labels to a specific alternative class).
Key Insights and Ideas
- Loss Alone is a Bottleneck: The core "aha" moment is that sample reweighting functions need semantic context. By feeding the weighting network intermediate features alongside the label, the model can learn that a high-loss sample belongs to a rare class rather than being a mislabeled majority-class sample.
- Noise Type Dictates Architecture: The optimal architecture depends heavily on the nature of the noise. Under flip noise (which has structured, predictable label transitions), TPE favored deeper weighting networks (3+ layers) and features from the final blocks of the classifier. Under uniform noise (random transitions), shallower networks (1-2 layers) with a higher number of nodes per layer were preferred.
Key Results
The NAS-optimized MW-Net consistently outperformed both the baseline MW-Net and a fixed "largest possible" architecture across various noise and imbalance configurations:
- CIFAR-10 (IF20 / Flip Noise 40%): The proposed NAS (Arch. and Input) achieved a test accuracy of 77.42%, compared to the baseline's 73.75%.
- CIFAR-10 (IF100 / Uniform Noise 40%): The proposed method achieved 61.41% accuracy, outperforming the baseline's 55.22%.
- CIFAR-100: Performance improvements were also observed here, though the margins were tighter (e.g., 34.41% vs 33.58% on IF20/Flip40).
Analysis of the sample weight distributions confirmed that the NAS-optimized model successfully learned to assign near-zero weights to noisy minority samples while heavily weighting clean minority samples.
Limitations and Future Work
- Diminishing Returns on Harder Tasks: On CIFAR-100 with high imbalance (IF100), the minority classes contain as few as 5 samples. After factoring in 40% noise, only about 3 clean samples remain. In such extreme data-scarce regimes, the performance gap between methods narrows significantly because there is simply not enough data to distinguish noise from signal.
- Computational Overhead: The current implementation trains each candidate architecture from scratch during the search phase. This makes the process computationally expensive and prohibitive for massive datasets.
The authors suggest that integrating weight-sharing or one-shot NAS methods will be a crucial next step to reduce the computational overhead.
Summary updated