Foreground-Aware Dataset Distillation via Dynamic Patch Selection
Longzhen Li, Guang Li, Ren Togo, Keisuke Maeda, Takahiro Ogawa, Miki Haseyama
TL;DR
The paper tackles the high cost and limited realism of traditional dataset distillation by introducing a foreground-aware pipeline that uses Grounded SAM2 to compute per-image foreground occupancy and category-wise thresholds. It then dynamically decides, on a per-image basis, whether to crop to a single informative patch or resize to preserve foreground-rich regions, followed by a ranking and synthesis step that produces soft-label distilled images. Across CIFAR-10/100, ImageNette, and ImageWoof, with ConvNet and ResNet-18 backbones, the method consistently outperforms baselines, demonstrating improved retention of task-relevant information and robustness to image composition. The approach offers a lightweight, patch-based alternative with strong scalability and applicability to diverse datasets and architectures, paving the way for more efficient distillation without costly optimization loops.
Abstract
In this paper, we propose a foreground-aware dataset distillation method that enhances patch selection in a content-adaptive manner. With the rising computational cost of training large-scale deep models, dataset distillation has emerged as a promising approach for constructing compact synthetic datasets that retain the knowledge of their large original counterparts. However, traditional optimization-based methods often suffer from high computational overhead, memory constraints, and the generation of unrealistic, noise-like images with limited architectural generalization. Recent non-optimization methods alleviate some of these issues by constructing distilled data from real image patches, but the used rigid patch selection strategies can still discard critical information about the main objects. To solve this problem, we first leverage Grounded SAM2 to identify foreground objects and compute per-image foreground occupancy, from which we derive a category-wise patch decision threshold. Guided by these thresholds, we design a dynamic patch selection strategy that, for each image, either selects the most informative patch from multiple candidates or directly resizes the full image when the foreground dominates. This dual-path mechanism preserves more key information about the main objects while reducing redundant background content. Extensive experiments on multiple benchmarks show that the proposed method consistently improves distillation performance over existing approaches, producing more informative and representative distilled datasets and enhancing robustness across different architectures and image compositions.
