Hyperbolic Dataset Distillation

Wenyuan Li, Guang Li, Keisuke Maeda, Takahiro Ogawa, Miki Haseyama

Abstract

Dataset distillation aims to compress large-scale datasets into small synthetic sets while preserving training performance. Traditional methods often treat data samples as independent entities in Euclidean space, ignoring their inherent hierarchical structures. This paper proposes Hyperbolic Dataset Distillation (HDD), which leverages the negative curvature of hyperbolic space to naturally capture data hierarchies. By matching the Fréchet means of real and synthetic datasets in Lorentz hyperbolic space, HDD prioritizes core prototype samples over noisy outliers. Experimental results across multiple benchmarks show that HDD significantly improves distillation accuracy and cross-architecture generalization with minimal computational overhead.

Introduction

As deep learning models grow, the massive datasets required to train them create severe storage and computational bottlenecks. Dataset distillation tackles this by synthesizing a microscopic dataset (e.g., 10 images per class) that can train a model to nearly the same accuracy as the full dataset.

A popular approach is Distribution Matching (DM), which aligns the feature distributions of synthetic and original datasets. However, existing DM methods operate in flat Euclidean space, treating all images as equally important. In reality, datasets possess a hidden hierarchical structure: a perfectly centered, well-lit image acts as a "root" prototype, while blurry or occluded samples are noisy "leaf" nodes. By treating all samples equally, Euclidean DM dilutes the importance of core prototypes, leading to suboptimal distillation.

Hierarchical data structure and its embedding into Lorentz hyperbolic space.

Methods

To capture this hidden hierarchy, the authors introduce Hyperbolic Dataset Distillation (HDD). Instead of matching distributions in flat space, HDD moves the process to a non-Euclidean realm.

  1. Hyperbolic Embedding: Features extracted by a neural network are mapped into the Lorentz hyperbolic space using an exponential map. Hyperbolic space is characterized by negative curvature, where volume expands exponentially with distance, making it mathematically ideal for embedding tree-like structures.
  2. Centroid Matching: In this hyperbolic space, the algorithm calculates the Riemannian (Fréchet) mean—the geometric centroid—for both the real and synthetic datasets.
  3. Optimization: The distillation loss is defined as the Lorentzian hyperbolic (geodesic) distance between these two centroids.
Overview of the Hyperbolic Dataset Distillation (HDD) framework compared to Euclidean distribution matching.

Because of the unique geometry of hyperbolic space, samples closer to the origin (prototypes) naturally exert a stronger gravitational pull on the centroid than samples further away (noisy leaves). This implicitly forces the synthetic dataset to focus on the most representative features of a class.

Experimental Results

The authors evaluated HDD across standard benchmarks including Fashion-MNIST, SVHN, CIFAR-10/100, TinyImageNet, and ImageWoof.

Key Performance Gains

Adding HDD to Improved Distribution Matching (IDM) yields significant gains. On CIFAR-10 with 10 Images Per Class (IPC), IDM+HDD achieves 61.3% accuracy, a +4.0% improvement over the base IDM. On CIFAR-100 (IPC=1), it reaches 25.3% (+3.2%). Furthermore, synthetic datasets generated with HDD demonstrate superior cross-architecture generalization, transferring more effectively to unseen models like ResNet18.

Geometry as an Inductive Bias

HDD serves as a geometric upgrade that requires no manual labeling of prototypes. To validate the importance of hierarchy, the authors sorted the original dataset by hyperbolic radius and found that they could discard the outer 80% (the "leaf" nodes) and still maintain distillation performance using only the inner 20%. This confirms that lower-level prototype samples carry the vast majority of the useful signal.

Discussion and Future Work

HDD is a highly efficient, plug-and-play upgrade. The transition to hyperbolic math adds negligible GPU memory overhead and only a slight runtime increase. While the "20% pruning rule" highlights the dominance of prototypes, the authors noted that extreme pruning (e.g., keeping only 5%) degrades performance, suggesting that even noisy leaf samples contribute necessary diversity.

Future research may involve adapting more complex distribution metrics, such as KL divergence or Wasserstein distance, into hyperbolic space to further enhance non-Euclidean dataset distillation.

Summary updated

BibTeX
@inproceedings{li2025hyperbolic,
  author = {Wenyuan Li and Guang Li and Keisuke Maeda and Takahiro Ogawa and Miki Haseyama},
  title = {{Hyperbolic Dataset Distillation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=tIA46eoqhn},
}
Figure