Abstract
Dataset condensation (DC) aims to synthesize a small number of informative samples that can represent a large-scale dataset, facilitating efficient model training and deployment. However, traditional DC methods produce fixed-size sets that suffer from the "subset degradation problem"—a significant loss in performance when only a portion of the condensed set is utilized. This paper introduces Multisize Dataset Condensation (MDC), a novel framework that generates nested synthetic datasets where every subset is optimized for representativeness. By employing an Adaptive Subset Loss and a Most Learnable Subset (MLS) selection strategy, MDC achieves a 94.8% reduction in training time compared to iterative condensation while improving accuracy on small subsets by up to 27.78%.
1. Introduction
The proliferation of on-device AI requires training models on resource-constrained hardware. Dataset condensation (DC) has emerged as a solution, shrinking massive datasets like ImageNet into a few images per class (IPC). Despite its success, current DC methods lack flexibility. They are typically optimized for a specific budget (e.g., IPC 10). If a device's available memory fluctuates, requiring a reduction to IPC 5, simply taking a subset of the IPC 10 set leads to "subset degradation." In these scenarios, the subset performs significantly worse than a dataset specifically condensed for that smaller size.
To address this, we propose Multisize Dataset Condensation (MDC). MDC treats the condensation of multiple sizes as a joint optimization problem, creating a "nested" structure where smaller, high-performing datasets are contained within larger ones.
2. Methodology
MDC replaces the need for multiple independent condensation runs with a single, unified process. The framework is built upon four pillars:
2.1 Adaptive Subset Loss
Standard DC optimizes the full synthetic set as a collective. MDC introduces an additional loss term specifically for subsets. This ensures that even if the full set is not used, the chosen subset remains a "distilled" and self-sufficient representation of the original data distribution.
2.2 Most Learnable Subset (MLS) Selection
Optimizing every possible subset size in every iteration is computationally prohibitive. MDC introduces the MLS strategy, which adaptively identifies the subset size showing the highest rate of improvement (learning progress). Extra supervision is then focused on this subset, ensuring efficient convergence across the nested hierarchy.
2.3 Feature Distance Proxy
To maintain high training speeds, MDC utilizes "Feature Distance"—calculating the Mean Squared Error (MSE) between the feature maps of synthetic and real images. This avoids the heavy computational overhead of "Gradient Matching" or "Trajectory Matching" used in previous state-of-the-art methods.
2.4 MLS Freezing
As the optimization progresses from smaller to larger subsets, there is a risk that updates for the larger set might "corrupt" the refined features of the smaller subsets. MDC employs a freezing mechanism that locks the parameters of smaller subsets once they have reached a stability threshold, allowing the algorithm to focus on the remaining budget without losing prior gains.
3. Experimental Evaluation
The researchers validated MDC across several standard benchmarks, including SVHN, CIFAR-10, CIFAR-100, and ImageNet-10. To test the robustness of the condensed data, experiments were conducted across multiple architectures, including ConvNet, ResNet, and DenseNet.
3.1 Accuracy and Subset Performance
MDC consistently outperformed traditional baselines. On CIFAR-10, MDC achieved an average accuracy increase of 5.22% to 6.40% across various subset sizes. The most dramatic improvements were seen in the smallest subsets; for IPC 1, MDC improved accuracy by 27.78% on SVHN and 22.17% on CIFAR-10 compared to naive subset selection from a larger condensed set.
3.2 Computational Efficiency
By consolidating multiple condensation tasks into one and using a feature distance proxy, MDC is remarkably efficient. It reached performance parity with the state-of-the-art (IDC) in just 0.6 hours, compared to the 11.5 hours required by the original iterative approach—a 94.8% reduction in training time.
4. Discussion and Conclusion
MDC solves the rigidity of traditional dataset condensation by ensuring that "one size can fit many." By creating nested synthetic sets, it enables flexible deployment on devices with fluctuating resources while significantly reducing the carbon footprint of the condensation process itself.
While MDC introduces a slight "flexibility tax"—where the absolute peak accuracy of the largest set may be marginally lower than a single-size optimized set—the gains in versatility and efficiency far outweigh this trade-off for practical applications. Future work will explore class-specific condensation budgets and more sophisticated metrics for subset selection to further bridge the performance gap.
Summary updated