Introduction
Dataset pruning is a critical technique in modern machine learning, aimed at identifying the most informative samples within massive datasets. By training models on a curated subset, researchers can significantly reduce computational costs without sacrificing performance. However, while pruning is well-established for image classification, it remains a formidable challenge for instance segmentation. This difficulty stems from three primary factors: the pixel-level complexity of mask annotations, extreme scale variability among objects, and significant class imbalance in real-world data.
Furthermore, traditional pruning methods often fall victim to the "Pruning Paradox." To calculate the importance of a sample, these methods typically require training a "proxy" model on the entire dataset first. This pre-training phase often consumes more time and resources than the pruning process is intended to save, undermining the core motivation for dataset reduction.
The TFDP Framework
To address these challenges, this paper introduces Training-Free Dataset Pruning (TFDP). Unlike traditional approaches that rely on model uncertainty or error metrics, TFDP determines sample importance based solely on the geometric properties of ground-truth annotations. This shift from model-dependent to data-dependent scoring eliminates the need for preliminary training, offering a truly efficient alternative.
Geometric Complexity Metrics
The core of TFDP lies in the Shape Complexity Score (SCS). The authors hypothesize that objects with intricate, jagged, or complex boundaries are inherently more difficult for models to learn than those with simple, smooth shapes. The SCS quantifies this difficulty using the perimeter-to-area ratio of object masks.
To ensure the metric is robust across diverse datasets, the authors refined the SCS into two specialized versions:
- Scale-Invariant SCS (SI-SCS): Because smaller objects naturally possess higher perimeter-to-area ratios, a raw SCS would unfairly prioritize tiny objects. SI-SCS normalizes the score by comparing each shape to a circle—the shape with the minimum possible perimeter for a given area—ensuring that complexity is measured independently of scale.
- Class-Balanced SCS (CB-SCS): Real-world datasets like MS COCO are often dominated by common categories (e.g., "person"). To prevent the algorithm from discarding rare but vital classes, CB-SCS normalizes instance scores within each category. This ensures that a complex example of a rare class is preserved even if its absolute complexity is lower than an average example of a common class.
Aggregation Strategy
To move from instance-level scores to image-level selection, the framework averages pixel-level scores to determine an instance score (mitigating area bias) and then sums these instance scores to generate a final ranking for each image in the dataset.
Experimental Evaluation
The TFDP method was evaluated across three benchmark datasets: PASCAL VOC 2012, Cityscapes (urban scenes), and MS COCO (large-scale general objects). The experiments tested the method's ability to generalize across different architectures, including convolutional neural networks like Mask R-CNN and Transformer-based models like QueryInst.
Performance and Efficiency
The results demonstrate that TFDP effectively resolves the Pruning Paradox. On the MS COCO dataset, TFDP completed the ranking process in just 0.014 hours (approximately 50 seconds). In comparison, model-based methods like EL2N and Entropy-based pruning required 12.37 and 21.16 hours, respectively. This represents a staggering 1349× speedup in the pruning phase.
In terms of accuracy, TFDP consistently outperformed adapted classification baselines. When pruning 50% of the COCO dataset, TFDP achieved an AP50 of 53.4%, surpassing other methods by 1.7% to 2.2%. Remarkably, a model trained on only 80% of the data selected by TFDP matched the performance of a model trained on the full 100% dataset, proving that high-quality data selection can replace sheer volume.
Conclusion and Future Directions
TFDP establishes that the geometric complexity of annotations is a highly effective, model-independent proxy for learning difficulty in instance segmentation. By removing the requirement for model training during the scoring phase, TFDP makes large-scale dataset pruning practical and accessible.
While highly effective, the method's reliance on ground-truth quality suggests that noisy or coarse annotations could impact performance. Future research may extend this training-free philosophy to video instance segmentation, utilizing temporal motion patterns, or incorporate multi-modal analysis to refine semantic importance beyond geometric complexity.
Summary updated