Foreground-Aware Dataset Distillation via Dual-Path Patch Selection
Organizations: Graduate School of Information Science and Technology, Hokkaido University, N-14, W-9, Kita-Ku, Sapporo, 060-0814, Japan · Faculty of Information Science and Technology, Hokkaido University, N-14, W-9, Kita-Ku, Sapporo, 060-0814, Japan
Abstract
In this paper, we propose a foreground-aware dataset distillation method that performs content-adaptive dual-path patch selection. 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 knowledge from large original datasets. Although optimization-based methods can achieve strong performance, they often incur considerable computational and memory costs and may produce synthetic images that generalize poorly across architectures. Recent non-optimization-based methods alleviate these limitations by constructing distilled images from real-image patches. However, their inflexible patch-construction strategies may either retain redundant background content or discard important foreground structures. To address this issue, we propose a foreground-aware dataset distillation framework with content-adaptive dual-path patch selection. We first use Grounded SAM2 to estimate the foreground occupancy of each image and derive category-specific routing thresholds from the corresponding class-wise distributions. Each image is routed to one of two complementary paths: the candidate-crop selection path for images with relatively sparse foregrounds, or the direct transformation path for images with relatively dominant foregrounds. This dual-path mechanism balances foreground concentration and preservation, reducing redundant background content while retaining the structural integrity of foreground objects at the dataset level. Experiments on CIFAR-10, CIFAR-100, ImageNette, and ImageWoof with two network architectures and three distillation budgets demonstrate that the proposed method outperforms the baseline method RDED in nearly all evaluated settings.
Figures & tables
| Dataset | ImageNette | ImageWoof | CIFAR-10 | |||||||
| IPC | 1 | 10 | 50 | 1 | 10 | 50 | 1 | 10 | 50 | |
| ResNet-18 | Random | |||||||||
| CDA | ||||||||||
| G-VBSM | ||||||||||
| DWA | ||||||||||
| SRe 2 L | ||||||||||
| Dataset | CIFAR-100 | |||
| IPC | 1 | 10 | 50 | |
| ResNet-18 | SRe 2 L | |||
| RDED | ||||
| Ours | ||||
| ConvNet | MTT | |||
| IDM | ||||
| Dataset | |||
| ImageNette | |||
| ImageWoof | |||
| CIFAR-10 |
| Transformation | IPC = 1 | IPC = 10 | IPC = 50 |
| Squash | |||
| CenterCrop | |||
| RandomSquare | |||
| RRC |
| Routing Strategy | IPC = 1 | IPC = 10 | IPC = 50 |
| AllCrop | |||
| AllTransform | |||
| RandomRoute | |||
| Ours |
| Dataset | IPC | Foreground | RDED | Ours | Val |
| ImageNette | 1 | 28.3 min | 18.1 s | 15.2 s | 18.3 s |
| 10 | 6.8 s | 4.8 s | 88.6 s | ||
| 50 | 6.9 s | 4.9 s | 177.4 s | ||
| ImageWoof | 1 | 27.6 min | 17.1 s | 14.0 s | 15.8 s |
| 10 | 6.2 s | 4.6 s | 86.7 s | ||
| 50 | 6.4 s | 4.8 s | 176.1 s |
Dataset Distillation
Dataset distillation compresses training data into a small synthetic or selected set that retains the information needed to train useful models.
See all 67 papers