RCAP: Robust, Class-Aware, Probabilistic Dynamic Dataset Pruning

Atif Hassan, Swanand Khare, Jiaul H. Paik
6/10/2026
cs.LG

Official code: atif-hassan/RCAP-dynamic-dataset-pruning (6 stars, Apache-2.0, last commit 2026-01-08).

Abstract

Dynamic data pruning techniques aim to reduce computational cost while minimizing information loss by periodically selecting representative subsets of input data during model training. However, existing methods often struggle to maintain strong worst-group accuracy, particularly at high pruning rates, across balanced and imbalanced datasets. To address this challenge, we propose RCAP, a Robust, Class-Aware, Probabilistic dynamic dataset pruning algorithm for classification tasks. RCAP applies a closed-form solution to estimate the fraction of samples to be included in the training subset for each individual class. This fraction is adaptively adjusted in every epoch using class-wise aggregated loss. Thereafter, it employs an adaptive sampling strategy that prioritizes samples having high loss for populating the class-wise subsets. We evaluate RCAP on six diverse datasets ranging from class-balanced to highly imbalanced using five distinct models across three training paradigms: training from scratch, transfer learning, and fine-tuning. Our approach consistently outperforms state-of-the-art dataset pruning methods, achieving superior worst-group accuracy at all pruning rates. Remarkably, with only $10\%$ data, RCAP delivers $>1\%$ improvement in performance on class-imbalanced datasets compared to full data training while providing an average $8.69\times$ speedup. The code can be accessed at https://github.com/atif-hassan/RCAP-dynamic-dataset-pruning

View on arXivView PDF

Code Implementations(1)

Apache-2.0

DataCull is a modular, light-weight data pruning library containing many dataset pruning (coreset selection) algorithm including the official Implementation of the paper, titled, RCAP: Robust, Class-Aware, Probab ilistic Dynamic Dataset Pruning

60PythonJun 11, 20259 months agoApache-2.0
coresetcoreset-selectioncoresetsdata-pruningdeep-learning+5 more

Similar Papers

Cite this paper

@article{hassan2026rcap,
  title  = {RCAP: Robust, Class-Aware, Probabilistic Dynamic Dataset Pruning},
  author = {Atif Hassan and Swanand Khare and Jiaul H. Paik},
  year   = {2026},
  eprint = {2606.11761},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.11761v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.11761.svg)](https://codeofpaper.com/paper/2606.11761)

Discussion