Optimal Sample Selection Through Uncertainty Estimation and Its Application in Deep Learning

Yong Lin, Chen Liu, Chenlu Ye, Qing Lian, Yuan Yao, Tong ZhangOpenReview 2023 · DOI

Abstract

Training modern deep learning models is a resource-intensive process, constrained by both the high cost of human labeling and the computational burden of processing massive datasets. This paper introduces COPS (unCertainty based OPtimal Sub-sampling), a theoretically grounded approach to data selection. By deriving an optimal sampling strategy for linear models and adapting it for deep learning through logit-based uncertainty estimation and a robust "clipping" mechanism, the authors provide a method that consistently outperforms standard heuristics in both Active Learning and Coreset Selection tasks.

Introduction

The success of deep learning is largely attributed to the availability of large-scale datasets. However, this reliance creates two primary bottlenecks: the labeling cost associated with Active Learning (AL) and the computational cost of training on massive labeled datasets (Coreset Selection). To mitigate these costs, researchers seek to identify the most informative samples—those that provide the greatest improvement to model performance per unit of data.

While existing methods often rely on intuitive heuristics, such as selecting samples with the highest entropy or lowest confidence, they frequently lack theoretical guarantees or become computationally prohibitive when applied to high-dimensional neural networks. COPS addresses these challenges by bridging the gap between theoretical optimality and practical deep learning applications.

Methodology

Theoretical Foundation

The researchers began by analyzing Linear Softmax Regression. Through mathematical derivation, they identified the sampling ratio that minimizes the expected loss of a model. Their findings indicate that the optimal probability of selecting a specific sample is proportional to the product of its prediction error and its uncertainty.

The COPS Framework

To translate these theoretical insights into the domain of Deep Learning, the authors developed the COPS framework, which consists of two primary components:

  1. Uncertainty Estimation via Logit Covariance: Calculating inverse covariance matrices for high-dimensional feature spaces is computationally expensive. COPS simplifies this by estimating uncertainty through the covariance of output logits. This is achieved using a small ensemble of "probe" models—independently trained on a small data subset—to capture the variance in model predictions.
  2. The "Clip" Fix (COPS-clip): A critical discovery in this research is that pure uncertainty-based sampling often fails in real-world scenarios due to model misspecification. Standard uncertainty metrics tend to over-select outliers from low-density regions, which can degrade training stability. To counter this, the authors introduced a threshold ($\alpha$) to cap maximum sampling weights. This "clipping" strategy prevents the model from over-focusing on extreme outliers while maintaining priority for informative, high-uncertainty data.

Experimental Setup

The effectiveness of COPS was validated across a diverse range of benchmarks and architectures:

  • Computer Vision: CIFAR10, CIFAR100, SVHN, and subsets of Places365.
  • Natural Language Processing: IMDB movie reviews using GRU-based networks.
  • Robustness Testing: CIFAR10-N, which contains real-world human-annotated label noise.
  • Architectures: ResNet20, ResNet56, MobileNetV2, and DenseNet121.

Key Insights and Results

Superior Performance and Efficiency

COPS-clip consistently outperformed uniform sampling and established baselines such as BADGE, Margin, and Least Confidence. The method demonstrated remarkable efficiency, often achieving near-full-dataset accuracy using only a fraction of the total samples (e.g., reaching peak performance with only 3,000 samples out of 40,000 on CIFAR10).

Robustness to Label Noise

In experiments involving the noisy CIFAR10-N dataset, COPS-clip showed a significant advantage over "vanilla" uncertainty methods. While standard methods often mistakenly prioritized noisy labels (interpreting noise as high-value uncertainty), the clipping mechanism ensured the model remained robust against such perturbations.

Architecture Agnosticism

The success of COPS across ResNets, MobileNets, and GRUs suggests that logit-based uncertainty estimation is a generalizable property of modern neural architectures, making the method widely applicable across different domains.

Limitations and Future Work

Despite its performance, COPS introduces certain trade-offs. The requirement to train an ensemble of "probe" models incurs an initial computational cost, though techniques like Monte Carlo Dropout may mitigate this. Additionally, the clipping threshold $\alpha$ introduces a new hyperparameter that may require tuning for specific datasets. Finally, while the method is supported by Neural Tangent Kernel (NTK) theory, a purely non-linear theoretical derivation remains a goal for future research.

Conclusion

COPS represents a significant step forward in making data selection for deep learning more principled and efficient. By combining theoretical optimality with practical safeguards against outliers, it provides a robust framework for reducing the costs of training state-of-the-art models without sacrificing accuracy.

Summary updated

BibTeX
@misc{lin2023optimal,
  author = {Yong Lin and Chen Liu and Chenlu Ye and Qing Lian and Yuan Yao and Tong Zhang},
  title = {{Optimal Sample Selection Through Uncertainty Estimation and Its Application in Deep Learning}},
  year = {2023},
  eprint = {2309.02476},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.02476},
}
Figure