Abstract
Dataset pruning aims to construct a coreset capable of achieving performance comparable to the original, full dataset. Most existing dataset pruning methods rely on snapshot-based criteria to identify representative samples, often resulting in poor generalization across various pruning and cross-architecture scenarios. Recent studies have addressed this issue by expanding the scope of training dynamics considered, including factors such as forgetting event and probability change, typically using an averaging approach. However, these works struggle to integrate a broader range of training dynamics without overlooking well-generalized samples, which may not be sufficiently highlighted in an averaging manner. In this study, we propose a novel dataset pruning method termed as Temporal Dual-Depth Scoring (TDDS), to tackle this problem. TDDS utilizes a dual-depth strategy to achieve a balance between incorporating extensive training dynamics and identifying representative samples for dataset pruning. In the first depth, we estimate the series of each sample's individual contributions spanning the training progress, ensuring comprehensive integration of training dynamics. In the second depth, we focus on the variability of the sample-wise contributions identified in the first depth to highlight well-generalized samples. Extensive experiments conducted on CIFAR and ImageNet datasets verify the superiority of TDDS over previous SOTA methods. Specifically on CIFAR-100, our method achieves 54.51% accuracy with only 10% training data, surpassing random selection by 7.83% and other comparison methods by at least 12.69%.
Introduction
Training deep neural networks (DNNs) on massive datasets is financially and environmentally prohibitive. To mitigate these costs, dataset pruning seeks to identify a small, representative subset—a "coreset"—that preserves the performance of the full dataset. Despite significant progress, current pruning methods often suffer from two critical limitations: Snapshot Bias and the Averaging Trap.
Snapshot bias occurs when sample importance is evaluated at a fixed point in time (e.g., after a specific number of epochs). Because sample importance fluctuates throughout the training process, a coreset selected early in training may fail to capture the features necessary for late-stage convergence, and vice versa. The "averaging trap" refers to the tendency of temporal methods to simply average scores over time. This approach often smooths out crucial stage-specific dynamics, potentially overlooking "well-generalized" samples that provide unique information during specific phases of learning.
Methodology: Temporal Dual-Depth Scoring (TDDS)
To address these challenges, we introduce Temporal Dual-Depth Scoring (TDDS). TDDS employs a two-layered strategy to capture the full "story" of each data point's contribution to the model's learning trajectory.
Inner Level: Contribution Estimation
Instead of computing computationally expensive per-sample gradients, the inner level approximates a sample’s contribution by analyzing the loss difference between adjacent epochs. A key innovation here is the use of KL-divergence rather than standard Cross-Entropy. KL-divergence allows the score to capture "dark knowledge"—the subtle information embedded in the probability distributions assigned to non-target classes. This provides a more nuanced view of how a sample influences the model's internal representations.
Outer Level: Variability Analysis
Rather than averaging the contributions identified in the first depth, the outer level focuses on the variability (variance) of these scores over a moving window. High variance indicates a sample that provides critical, stage-specific information. By prioritizing samples with high contribution variability, TDDS identifies data points that are vital for robust feature learning across different stages of training.
To ensure scalability for large-scale datasets like ImageNet-1K, TDDS utilizes an Exponential Moving Average (EMA) strategy. This allows the system to track temporal dynamics efficiently without the need to store every individual prediction from every epoch, significantly reducing memory overhead.
Experimental Results
We evaluated TDDS on standard benchmarks, including CIFAR-10, CIFAR-100, and ImageNet-1K, across a variety of architectures such as ResNet, VGG, MobileNet-v2, and Swin Transformer.
Performance and Robustness
As shown in the results table, TDDS consistently outperforms state-of-the-art (SOTA) methods like Moderate, Forgetting, and EL2N. The performance gap is most pronounced under aggressive pruning conditions. For instance, on CIFAR-100 with a 90% pruning rate (retaining only 10% of the data), TDDS achieved 54.51% accuracy, surpassing the next best baseline by 12.69%.
Key insights from our experiments include:
- Cross-Architecture Generalization: Coresets selected using a ResNet-18 model remained highly effective when used to train different architectures, such as ShuffleNet or MobileNet, demonstrating the robustness of the selected samples.
- Noise Resilience: TDDS proved more resilient to label noise. When 20% of the training labels were corrupted, TDDS maintained significantly higher accuracy than competing methods.
- Batch Size Dynamics: We observed that when pruning aggressively, utilizing a smaller batch size during coreset training helps prevent overfitting and improves final performance.
Conclusion and Future Work
TDDS demonstrates that the temporal variability of a sample's contribution is a powerful signal for dataset pruning. By moving beyond static snapshots and simple averages, TDDS constructs coresets that generalize better across architectures and pruning rates.
While highly effective, TDDS currently requires an initial "spanning" run on the full dataset to collect temporal scores. Future research could explore online pruning methods that identify important samples on-the-fly. Additionally, extending this temporal variance approach to other domains, such as Large Language Models (LLMs) and Generative AI, presents a promising avenue for reducing the computational burden of modern AI.
Summary updated