A Computation-Efficient Method of Measuring Dataset Quality based on the Coverage of the Dataset

Beomjun Kim, Jaehwan Kim, Kangyeon Kim, Sunwoo Kim, Heejin AhnAISTATS 2025

Abstract

Evaluating dataset quality is an essential task, as the performance of artificial intelligence (AI) systems heavily depends on it. A traditional method for evaluating dataset quality involves training an AI model on the dataset and testing it on a separate test set. However, this approach requires significant computational time. In this paper, we propose a computationally efficient method for quantifying dataset quality. Specifically, our method measures how well the dataset covers the input probability distribution, ensuring that a high-quality dataset minimizes out-of-distribution inputs. We present a GPU-accelerated algorithm for approximately implementing the proposed method. We highlight three applications of our approach. First, it can evaluate the impact of data management practices, such as data cleaning and core set selection. We experimentally demonstrate that the quality assessment provided by our method strongly correlates with the traditional approach, achieving an $R^2 \geq 0.985$ in most cases while being 60-1200 times faster. Second, it can monitor the quality of continuously growing datasets with computation time proportional to the added data size. Finally, our method can estimate the performance of traditional methods for large datasets.

Introduction

In the era of "Data-Centric AI," the quality of a dataset is often more critical than the complexity of the model architecture. However, determining if a dataset is "good" usually requires training a neural network from scratch and testing it—a process that is computationally expensive and scales poorly with dataset size. This becomes a major bottleneck in scenarios such as data cleaning, monitoring streaming data, and selecting core sets from massive pools of data. This paper, presented at AISTATS 2025, introduces a novel framework for evaluating dataset quality without the need for the "train-and-test" cycle.

Methods

The core idea of the proposed framework is $\zeta$-coverage. Conceptually, a dataset has good coverage if every possible point in the input distribution is "close" to at least one point in the training set.

Conceptual illustration of $\zeta$-coverage in the input space $\Omega$.

To calculate distances meaningfully, data is projected into a feature space using a pre-trained model (e.g., EfficientNet for images or an LSTM for text). The quality function ($q$) maps a dataset to a value between 0 and 1 using an arccot transformation of the coverage radius. To handle "long-tail" distributions, the authors introduce $\epsilon$-quasi-coverage, which requires covering $1-\epsilon$ of the distribution. A GPU-accelerated algorithm is used to find minimum distances between training points and a "trusted" test set, which serves as a representative sample of the true distribution.

Results

The method was validated using CIFAR-10 (image) and IMDB (text) benchmarks. The authors manipulated these datasets by injecting label errors, adding Gaussian noise, and creating incomplete versions to test if the metric could track quality drops.

Linear correlation between the proposed quality metric and actual test accuracy across various experimental conditions.

As shown in Figure 4, the researchers found a remarkably strong linear relationship between the coverage metric and final test accuracy, with the correlation ($R^2$) consistently above 0.985. This linearity allows for predicting the performance of a model trained on a massive dataset using only small samples (e.g., 0.8% or 4% of the data).

In terms of efficiency, the proposed method achieved speedups of 60x to 1200x over traditional methods. For example, on a CIFAR-10 label error task, evaluation time was reduced from approximately 2700 seconds to just 21 seconds. Furthermore, because the metric relies on minimum distances, calculating the quality of a growing dataset only requires evaluating newly added points, making it ideal for real-time production data streams.

Conclusion

The proposed coverage-based metric provides a high-fidelity, computationally efficient alternative to the traditional train-and-test cycle for dataset quality assessment. While the metric depends on the quality of the feature extractor and currently focuses on label-wise constraints, its additive efficiency and predictive power make it a robust tool for modern data management. Future work will explore its application to highly imbalanced or non-i.i.d. real-world data.

Summary updated

BibTeX
@inproceedings{kim2025computation,
  author = {Beomjun Kim and Jaehwan Kim and Kangyeon Kim and Sunwoo Kim and Heejin Ahn},
  title = {{A Computation-Efficient Method of Measuring Dataset Quality based on the Coverage of the Dataset}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=cEsJBwP9xw},
}
Figure