Class-wise Autoencoders Measure Classification Difficulty And Detect Label Mistakes
Jacob Marks, Brent A. Griffin, Jason J. Corso
TL;DR
The paper addresses the challenge of assessing classification dataset difficulty and identifying label issues without heavy model training by introducing Reconstruction Error Ratios (RERs). It trains one shallow autoencoder per class on foundation-model features and uses per-class reconstruction errors to form ratios that quantify sample- and dataset-level difficulty, while decomposing this difficulty into finite-sample and Bayes/decision-boundary contributions. Across 19 visual datasets, RERs correlate strongly with state-of-the-art error rates and enable competitive mislabel detection, even under various noise types, with efficient, scalable computation. The framework is shown to be domain-agnostic and applicable to data pruning, data collection, reannotation, and model selection, with an accompanying open-source implementation.
Abstract
We introduce a new framework for analyzing classification datasets based on the ratios of reconstruction errors between autoencoders trained on individual classes. This analysis framework enables efficient characterization of datasets on the sample, class, and entire dataset levels. We define reconstruction error ratios (RERs) that probe classification difficulty and allow its decomposition into (1) finite sample size and (2) Bayes error and decision-boundary complexity. Through systematic study across 19 popular visual datasets, we find that our RER-based dataset difficulty probe strongly correlates with error rate for state-of-the-art (SOTA) classification models. By interpreting sample-level classification difficulty as a label mistakenness score, we further find that RERs achieve SOTA performance on mislabel detection tasks on hard datasets under symmetric and asymmetric label noise. Our code is publicly available at https://github.com/voxel51/reconstruction-error-ratios.
