Improving Model Classification by Optimizing the Training Dataset

Morad Tukan, Loay Mualem, Eitan Netzer, Liran SigalatarXiv 2025 · OpenReview

Abstract

In the era of data-centric AI, the ability to curate high-quality training data is as crucial as model design. Coresets offer a principled approach to data reduction, enabling efficient learning on large datasets through importance sampling. However, conventional sensitivity-based coreset construction often falls short in optimizing for classification performance metrics, e.g., $F1$ score, focusing instead on loss approximation. In this work, we present a systematic framework for tuning the coreset generation process to enhance downstream classification quality. Our method introduces new tunable parameters—including deterministic sampling, class-wise allocation, and refinement via active sampling, beyond traditional sensitivity scores. Through extensive experiments on diverse datasets and classifiers, we demonstrate that tuned coresets can significantly outperform both vanilla coresets and full dataset training on key classification metrics, offering an effective path towards better and more efficient model training.

Introduction

In the era of "Data-Centric AI," the bottleneck for many machine learning tasks is shifting from model architecture to the quality and scale of training data. Coresets have emerged as a popular solution for data reduction, using "sensitivity scores" to identify and weight the most important points in a dataset. This allows models to be trained on a fraction of the original data without significant loss in theoretical fidelity.

However, traditional coreset construction is primarily designed to approximate the loss function of the full dataset. While mathematically sound for optimization, this does not always translate to high-quality classification performance on metrics that practitioners care about, such as the F1-score or balanced accuracy. Standard sampling often ignores class imbalances or over-samples redundant high-sensitivity points, leading to a loss of diversity and degraded performance on "hard" examples. This paper introduces a systematic framework to move beyond "vanilla" coresets toward "tuned" coresets optimized for downstream classification metrics.

Methodology

The proposed framework introduces four primary enhancements to the standard coreset pipeline:

  1. Deterministic Sampling: Instead of purely probabilistic importance sampling, where high-sensitivity points might be sampled multiple times, the top-tier "most informative" points are included deterministically (exactly once). This prevents redundancy and preserves diversity.
  2. Flexible Weight Handling: The framework introduces three strategies (keep, inv, prop) to rebalance the weights of deterministic versus probabilistic samples, ensuring the coreset remains a faithful representation of the original distribution while emphasizing informative regions.
  3. Class-Wise Sample Allocation: Rather than simply mirroring the class distribution of the full dataset, which can starve minority classes in imbalanced scenarios, the authors use a grid-search approach to find the optimal ratio of samples per class for the target metric.
  4. Active Sampling Refinement: This iterative process trains a model on a coreset, identifies "hard" points from the remaining data pool that the model is uncertain about, and adds them to the coreset. This continues until a performance threshold is reached, effectively "patching" the holes in the coreset's knowledge.

Experimental Evaluation

The framework was evaluated on a diverse range of binary classification benchmarks, including tabular census data (Adult), bioinformatics (CodRNA), physics (Hepmass), and highly imbalanced fraud detection datasets (IEEE Fraud, CreditCard). The researchers tested these coresets across multiple classifiers, including Logistic Regression, SVM, and XGBoost.

Key Results

  • Metric Improvement: Tuned coresets consistently outperformed vanilla versions by at least 3% in F1-score across validation and test sets for linear models.
  • Cross-Model Effectiveness: The authors demonstrated that a coreset designed for Logistic Regression is also effective for Decision Tree Classifiers (XGBoost). On the Hepmass dataset, a tuned coreset consisting of only 5% of the data beat the full dataset's F1-score (64.13% vs 64.08%).
  • The "Less is More" Paradox: In several experiments, the tuned coreset achieved higher F1-scores than training on the full dataset. For instance, on the Credit Card dataset, the method achieved an F1-score of 87.57%, significantly higher than the 86.34% achieved by the full dataset. This suggests that a well-tuned coreset acts as a form of "data cleaning," focusing the model on the decision boundary while ignoring noise or redundancy.

Conclusion and Future Work

The most significant insight of this work is that loss approximation does not equal classification quality. Tuning for specific metrics requires a departure from traditional sensitivity-based sampling. While the current method relies on grid search for parameter tuning—which can be computationally demanding—it proves that curated subsets can be superior to massive, raw datasets.

Future research will focus on extending this framework to multi-class datasets and exploring meta-learning or reinforcement learning to automate the selection of optimal coreset parameters, potentially removing the need for manual grid searches.

Summary updated

BibTeX
@misc{tukan2025improving,
  author = {Morad Tukan and Loay Mualem and Eitan Netzer and Liran Sigalat},
  title = {{Improving Model Classification by Optimizing the Training Dataset}},
  year = {2025},
  eprint = {2507.16729},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.16729},
}
Figure