Test Sample Accuracy Scales with Training Sample Density in Neural Networks
Xu Ji, Razvan Pascanu, Devon Hjelm et al. · arXiv (Cornell University) · 2021
Intuitively, one would expect accuracy of a trained neural network's prediction on test samples to correlate with how densely the samples are surrounded by seen training samples in representation space. We find that a bound on empirical training error smoothed across linear activation regions scales inversely with training sample density in representation space. Empirically, we verify this bound is a strong predictor of the inaccuracy of the network's prediction on test samples. For unseen test sets, including those with out-of-distribution samples, ranking test samples by their local region's error bound and discarding samples with the highest bounds raises prediction accuracy by up to 20% in absolute terms for image classification datasets, on average over thresholds.
Cited by 1 works. doi:10.48550/arxiv.2106.08365 Open-access PDF
Authors
References
- A Mathematical Theory of Communication
- A new look at the statistical model identification
- Learning Multiple Layers of Features from Tiny Images
- Reading digits in natural images with unsupervised feature learning
- An optimum character recognition system using decision functions
- On the Number of Linear Regions of Deep Neural Networks
- The information bottleneck method
- A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks
- Foundations of Machine Learning
- A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attacks