M3D: Dataset Condensation by Minimizing Maximum Mean Discrepancy

Hansong Zhang, Shikun Li, Pengju Wang, Dan Zeng, Shiming Ge
12/26/2023
cs.CVcs.LG

Official code: Hansong-Zhang/M3D (26 stars, MIT, last commit 2024-03-02).

Abstract

Training state-of-the-art (SOTA) deep models often requires extensive data, resulting in substantial training and storage costs. To address these challenges, dataset condensation has been developed to learn a small synthetic set that preserves essential information from the original large-scale dataset. Nowadays, optimization-oriented methods have been the primary method in the field of dataset condensation for achieving SOTA results. However, the bi-level optimization process hinders the practical application of such methods to realistic and larger datasets. To enhance condensation efficiency, previous works proposed Distribution-Matching (DM) as an alternative, which significantly reduces the condensation cost. Nonetheless, current DM-based methods still yield less comparable results to SOTA optimization-oriented methods. In this paper, we argue that existing DM-based methods overlook the higher-order alignment of the distributions, which may lead to sub-optimal matching results. Inspired by this, we present a novel DM-based method named M3D for dataset condensation by Minimizing the Maximum Mean Discrepancy between feature representations of the synthetic and real images. By embedding their distributions in a reproducing kernel Hilbert space, we align all orders of moments of the distributions of real and synthetic images, resulting in a more generalized condensed set. Notably, our method even surpasses the SOTA optimization-oriented method IDC on the high-resolution ImageNet dataset. Extensive analysis is conducted to verify the effectiveness of the proposed method. Source codes are available at https://github.com/Hansong-Zhang/M3D.

View on arXivView PDF

Code Implementations(1)

Hansong-Zhang/M3DOfficial100%
MIT

AAAI 2024, M3D: Dataset Condensation by Minimizing Maximum Mean Discrepancy

261PythonDec 12, 20232 years agoMIT

Similar Papers

Cite this paper

@article{zhang2023md,
  title  = {M3D: Dataset Condensation by Minimizing Maximum Mean Discrepancy},
  author = {Hansong Zhang and Shikun Li and Pengju Wang and Dan Zeng and Shiming Ge},
  year   = {2023},
  eprint = {2312.15927},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.15927v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.15927.svg)](https://codeofpaper.com/paper/2312.15927)

Discussion