Investigating the Impact of Hard Samples on Accuracy Reveals In-class Data Imbalance
Pawel Pukowski, Haiping Lu
TL;DR
The paper challenges the reliance on test accuracy as the sole AutoML metric by revealing in-class data imbalance caused by the distribution of hard versus easy samples. It generalizes the inversion-point framework from binary to multiclass via the radii of class manifolds $R^2_i(t)$ and an ensemble of $100$ fully connected networks to identify per-class hard samples, enabling dataset-wide straggler sets. A benchmarking procedure comparing straggler-, confidence-, and energy-based hard-sample identifiers is proposed, showing that hard-sample distribution can significantly alter perceived generalization and that training on hard samples can improve hard-test performance more than easy-test performance. The work advocates broader, sample-complexity-aware evaluation criteria in AutoML, acknowledges limitations of the manifold-based approach, and invites future research into nuanced data practices for more robust model evaluation.
Abstract
In the AutoML domain, test accuracy is heralded as the quintessential metric for evaluating model efficacy, underpinning a wide array of applications from neural architecture search to hyperparameter optimization. However, the reliability of test accuracy as the primary performance metric has been called into question, notably through research highlighting how label noise can obscure the true ranking of state-of-the-art models. We venture beyond, along another perspective where the existence of hard samples within datasets casts further doubt on the generalization capabilities inferred from test accuracy alone. Our investigation reveals that the distribution of hard samples between training and test sets affects the difficulty levels of those sets, thereby influencing the perceived generalization capability of models. We unveil two distinct generalization pathways-toward easy and hard samples-highlighting the complexity of achieving balanced model evaluation. Finally, we propose a benchmarking procedure for comparing hard sample identification methods, facilitating the advancement of more nuanced approaches in this area. Our primary goal is not to propose a definitive solution but to highlight the limitations of relying primarily on test accuracy as an evaluation metric, even when working with balanced datasets, by introducing the in-class data imbalance problem. By doing so, we aim to stimulate a critical discussion within the research community and open new avenues for research that consider a broader spectrum of model evaluation criteria. The anonymous code is available at https://github.com/PawPuk/CurvBIM blueunder the GPL-3.0 license.
