Abstract
Deep learning models are traditionally data-hungry, yet real-world datasets often contain significant redundancy. This paper introduces two novel metrics, Data SI and GradNorm, to quantify the value of individual images during training. By adaptively selecting only the most informative samples—sometimes as little as 18% of the original dataset—the authors demonstrate that models can achieve equivalent or improved accuracy with significantly reduced computational overhead. The approach is validated across natural and medical imaging datasets, proving its efficacy in identifying and pruning redundant data.
Introduction
In many real-world scenarios, particularly medical imaging, gathering and labeling massive datasets is both expensive and time-consuming. Paradoxically, much of this data is redundant; for instance, a medical dataset might contain thousands of nearly identical "normal" scans that contribute very little to a model's learning after the initial training phase. Existing data selection methods often rely on simple heuristics or are limited to small-scale "toy" datasets. This research proposes a principled, gradient-based framework to identify samples that actively drive parameter updates versus those that represent "noise" or "filler."
Methodology
The core of the proposed framework lies in two primary metrics for data valuation:
- Data SI (Synaptic Intelligence): Inspired by continual learning techniques, this metric measures a sample's contribution to the change in model loss by analyzing layer-wise parameter updates.
- GradNorm: This measures the magnitude of the gradient for a specific sample. Low GradNorm indicates the model has already mastered the sample, while excessively high GradNorm often points to noisy or mislabeled data.
The authors implement these metrics through three distinct algorithms:
- Online Clustering: Employs K-Means to group samples based on Data SI features, discarding large clusters that show zero influence.
- Online Grouping: Selects samples within a "sweet spot" of GradNorm values to avoid both redundant and noisy samples.
- Frequency-based Coreset Construction: An offline method that identifies consistently valuable samples across training runs to create optimized subsets for future use.
To ensure stable optimization when training on these reduced subsets, a Learning Rate Adjustment strategy is employed, scaling the learning rate proportionally to the subset size.
Experimental Setup
The approach was evaluated on a diverse set of benchmarks:
- CIFAR-10: Standard natural image classification.
- MIT Indoor Scenes: 67 categories of indoor environments.
- Kvasir Capsule: A clinical medical dataset comprising over 47,000 frames from video capsule endoscopies.
- ISIC 2019: Over 25,000 dermoscopic images for skin cancer classification.
Analysis and Insights
A key finding of this research is the emergence of the "Origin Cluster." As models train, a vast majority of data samples begin to cluster near the axis origin in the Data SI feature space, indicating they no longer contribute to the model's weight updates.
Further insights include:
- Soft Start Strategy: Training is most effective when starting with a larger data portion and gradually decreasing the subset size as the model matures.
- Layer-wise Importance: Data selection must be sensitive to architecture; BatchNorm and final classification layers often require more adaptation than intermediate convolutional layers.
- The Goldilocks Zone: The most valuable samples for GradNorm are neither the easiest nor the hardest, but those in a middle range that avoids outliers and noise.
Results
The proposed methods demonstrated significant efficiency gains:
- Data Efficiency: Online selection maintained full-set accuracy while using only 19% to 59% of the data per epoch.
- Coreset Performance: Offline coresets (18% to 30% of original size) outperformed standard baselines like DeepFool.
- Medical Impact: On the ISIC 2019 dataset, the GradNorm method improved balanced accuracy to 62.5% (from 57.8% on the full set) by pruning redundant "normal" samples and allowing the model to focus on difficult minority classes.
- Generalizability: Success was consistent across architectures including ResNet, EfficientNetV2, and Vision Transformers (ViT).
Conclusion
While highly effective for multi-class image classification, future work is needed to adapt these metrics for complex tasks like object detection or segmentation. Additionally, while the empirical results are robust, further theoretical exploration of convergence properties and optimization of the selection phase's computational overhead will be beneficial for broader deployment.
Summary updated