cs.LGApr 6, 2026

Batch Loss Score for Dynamic Data Pruning

Authors: Qing Zhou, Bingxuan Zhao, Tao Yang, Hongyuan Zhang, Junyu Gao, Qi Wang

Organizations: Northwestern Polytechnical University · The University of Hong Kong

Abstract

Dynamic data pruning accelerates deep learning by selectively omitting less informative samples during training. While per-sample loss is a common importance metric, obtaining it can be challenging or infeasible for complex models or loss functions, often requiring significant implementation effort. This work proposes the Batch Loss Score (BLS), a computationally efficient alternative using an Exponential Moving Average (EMA) of readily available batch losses to assign scores to individual samples. We frame the batch loss, from the perspective of a single sample, as a noisy measurement of its scaled individual loss, with noise originating from stochastic batch composition. It is formally shown that the EMA mechanism functions as a first-order low-pass filter, attenuating high-frequency batch composition noise. This yields a score approximating the smoothed and persistent contribution of the individual sample to the loss, providing a theoretical grounding for BLS as a proxy for sample importance. BLS demonstrates remarkable code integration simplicity (three-line injection) and readily adapts existing per-sample loss-based methods (one-line proxy). Its effectiveness is demonstrated by enhancing two such methods to losslessly prune 20%-50% of samples across 14 datasets, 11 tasks and 18 models, highlighting its utility and broad applicability, especially for complex scenarios where per-sample loss is difficult to access. Code is available at https://github.com/mrazhou/BLS.

Figures & tables

Explore similar work

CardsList
  1. Beyond Loss Values: Robust Dynamic Pruning via Loss Trajectory Alignment

    Apr 8, 2026Huaiyuan Qin, Muli Yang, Gabriel James Goenawan +5Dataset PruningLearning with Noisy Labels

  2. OrderDP: A Theoretically Guaranteed Lossless Dynamic Data Pruning Framework

    Jun 7, 2026Chenhan Jin, Shengze Xu, Qingsong Wang +3Dataset PruningData-Efficient Learning

  3. Data Pruning: Redundant, Problematic, and Interdependent Samples

    Jun 20, 2026Leon Freese, Marthinus W. TheunissenDataset PruningTraining Data Selection