TL;DR
Active learning, which intelligently selects data for labeling, often fails catastrophically on datasets with mixed noise levels (heteroskedasticity). This paper introduces LHD, a novel active learning algorithm that leverages model representation changes to identify and select cleaner data, significantly outperforming existing methods, especially when combined with a simple fine-tuning strategy.
What Problem Does This Paper Address?
In active learning, the goal is to efficiently train models by strategically selecting the most informative unlabeled data points to be labeled. A common heuristic is to pick data points where the model is most uncertain. While effective for clean, homogeneous datasets, this approach breaks down when data comes from multiple sources with varying degrees of label noise or "heteroskedasticity." Imagine a scenario where some data is reliably labeled, but other data is inherently noisy or even randomly labeled. Uncertainty-based active learning can get stuck picking these noisy, uninformative examples, leading to poor model performance. This paper addresses this critical failure mode by investigating why it happens and proposing solutions.
Methods
The authors propose two main strategies to combat the failure of active learning on heteroskedastic distributions:
- LHD (Leveraging Representation Change): This novel algorithm measures how much a model's internal representations (specifically, its loss and hidden states) change over training for each data point. The intuition is that noisy examples quickly converge to a bad solution and show little change, while clean, difficult examples will show more significant changes as the model learns them correctly. LHD samples points with larger representation changes, effectively filtering out noisy data and prioritizing informative, clean examples.
- Fine-tuning: A simple semi-supervised fine-tuning step is introduced. This involves training the model on highly confident predictions from the unlabeled pool, using augmented data. This process helps the model learn more robust feature representations, particularly from clean examples, and further improves the performance of any active learning algorithm.
The paper also introduces a theoretical analysis to explain why uncertainty-based methods fail, providing a generalization bound that highlights the negative impact of noise.
Datasets
The paper uses two standard benchmark datasets:
- CIFAR-10: A dataset of 60,000 colored images across 10 classes.
- SVHN (Street View House Numbers): A dataset of 93,289 images of house numbers (digits 0-9).
To create heteroskedastic benchmarks, the authors introduce noisy data points to these datasets in three ways:
- Noisy-Blank: Solid black images with random labels.
- Noisy-Diverse: Randomly colored images with random labels from a subset of classes.
- Noisy-Class: Examples from a specific class with random labels.
These benchmarks are designed to be challenging yet predictable based on features, distinguishing them from simple IID label noise.
Key Insights and Ideas
- Uncertainty is a double-edged sword: While useful for clean data, relying solely on model uncertainty can be disastrous when faced with noisy or mixed-quality data.
- Noisy data converges fast and poorly: Examples with random labels quickly lead the model to a suboptimal state, exhibiting minimal changes in loss and internal representations during training.
- Representation change as a signal: The degree to which a model's internal state changes for a data point is a powerful indicator of its cleanliness and informativeness.
- Fine-tuning is a universal boost: A simple fine-tuning step significantly improves the performance of all tested active learning algorithms, especially those that can leverage cleaner data.
- LHD + Fine-tuning is a winning combo: Combining LHD's ability to identify informative examples with the robustness gained from fine-tuning leads to state-of-the-art performance on heteroskedastic distributions.
Key Results
- Catastrophic failure of uncertainty-based methods: On heteroskedastic benchmarks, methods like Least Confidence (CONF) and Margin Sampling (MARG) performed worse than random sampling.
- Diversity-based methods improve: Algorithms like CORESET and BADGE, which focus on data diversity, showed better performance.
- LHD shows comparable performance to diversity methods: Without fine-tuning, LHD performed on par with other diversity-focused methods.
- Significant gains with fine-tuning: All methods saw substantial accuracy improvements when fine-tuning was applied.
- LHD + Fine-tuning dominates: The proposed LHD algorithm, when combined with fine-tuning, achieved the highest classification accuracies across all heteroskedastic settings on both CIFAR-10 and SVHN. For example, on CIFAR-10 Noisy-Blank, LHD+FT reached 75.78% accuracy, compared to ~59% for other fine-tuned methods.
- Efficiency: LHD with fine-tuning was also found to be faster than other diversity-based methods like BADGE and CORESET.
Limitations and Future Work
- Dataset realism: The authors acknowledge that their introduced heteroskedastic benchmarks are simplistic and suggest future work on generating more realistic datasets.
- Generalization of LHD: While LHD shows promise, further exploration of its theoretical properties and applicability to a wider range of heteroskedastic scenarios would be beneficial.
- Exploring data distribution variations: The paper emphasizes the need for active learning algorithms that are robust to various data distributions, as the IID assumption often doesn't hold in real-world scenarios.
Summary updated