Leveraging Hierarchical Feature Sharing for Efficient Dataset Condensation
Haizhong Zheng, Jiachen Sun, Shutong Wu, Bhavya Kailkhura, Zhuoqing Mao, Chaowei Xiao, Atul Prakash
TL;DR
This work addresses data condensation by introducing Hierarchical Memory Network (HMN), a three-tier memory data container that captures dataset-, class-, and instance-level features to synthesize compact training data via data parameterization. HMN uses a uniform decoder and per-class feature extractors to generate synthetic images, enabling efficient information sharing and straightforward instance-level pruning. With batch-based gradient matching, HMN consistently outperforms state-of-the-art baselines across five public datasets under various IPC budgets, while also enabling cross-architecture transferability and continual-learning gains. The authors further propose over-budget condensation with a double-end pruning strategy guided by AUM to reduce redundancy, achieving storage savings with minimal overhead and practical applicability.
Abstract
Given a real-world dataset, data condensation (DC) aims to synthesize a small synthetic dataset that captures the knowledge of a natural dataset while being usable for training models with comparable accuracy. Recent works propose to enhance DC with data parameterization, which condenses data into very compact parameterized data containers instead of images. The intuition behind data parameterization is to encode shared features of images to avoid additional storage costs. In this paper, we recognize that images share common features in a hierarchical way due to the inherent hierarchical structure of the classification system, which is overlooked by current data parameterization methods. To better align DC with this hierarchical nature and encourage more efficient information sharing inside data containers, we propose a novel data parameterization architecture, Hierarchical Memory Network (HMN). HMN stores condensed data in a three-tier structure, representing the dataset-level, class-level, and instance-level features. Another helpful property of the hierarchical architecture is that HMN naturally ensures good independence among images despite achieving information sharing. This enables instance-level pruning for HMN to reduce redundant information, thereby further minimizing redundancy and enhancing performance. We evaluate HMN on five public datasets and show that our proposed method outperforms all baselines.
