Generalized Kernel Inducing Points by Duality Gap for Dataset Distillation

Tatsuya Aoyama, Hanting Yang, Hiroyuki Hanada, Satoshi Akahane, Tomonari Tanaka, Yoshito Okura, Yu Inatsu, Noriaki Hashimoto, Taro Murayama, Lee Hanju, Shinya Kojima, Ichiro TakeuchiarXiv 2025 · DOI

TL;DR

This paper introduces DGKIP, a novel method for dataset distillation that avoids computationally expensive bi-level optimization by leveraging duality theory. DGKIP extends the capabilities of existing Kernel Inducing Points (KIP) methods to handle a wider range of loss functions beyond squared loss, making it more applicable to classification tasks.

What Problem Does This Paper Address?

Dataset distillation aims to create smaller, synthetic datasets that retain the essential information of larger original datasets. This is crucial for reducing storage and computational costs in machine learning, enabling applications like efficient continual learning and privacy preservation. However, most existing dataset distillation methods are formulated as bi-level optimization problems. This involves an outer loop for generating synthetic data and an inner loop for training a model on this data, leading to significant computational bottlenecks and training instabilities. While the Kernel Inducing Points (KIP) method offers a way to avoid bi-level optimization, it's limited to squared loss functions and doesn't directly apply to classification tasks where cross-entropy or hinge loss are more suitable. This paper addresses the need for a dataset distillation method that is computationally efficient, avoids bi-level optimization, and is broadly applicable to various loss functions, especially for classification.

Methods

The core innovation of DGKIP lies in its use of the Duality Gap (DG) from convex optimization. Instead of directly optimizing the synthetic dataset to minimize the classification error of a model trained on it (which leads to bi-level optimization), DGKIP aims to minimize an upper bound on the difference between the model parameters trained on the original dataset ($\theta_0$) and those trained on the synthetic dataset ($\theta_S$). This upper bound is directly related to the duality gap.

Here's a breakdown of the approach:

  • Leveraging Duality Theory: The paper formulates the problem in terms of primal and dual optimization. The duality gap quantifies how close a current solution is to the optimal solution.
  • Avoiding Bi-level Optimization: By minimizing the duality gap with respect to the synthetic dataset $S$, DGKIP effectively minimizes the parameter deviation between $\theta_0$ and $\theta_S$ without needing to solve the inner-loop optimization problem. This transforms the problem into a single-level optimization.
  • Generalizing KIP: The original KIP method is limited to squared loss. DGKIP extends this by using the duality gap, which can be formulated for a broader class of convex loss functions, including cross-entropy and hinge loss, making it suitable for classification tasks.
  • Theoretical Guarantees: The paper provides theoretical analysis, including upper bounds on parameter deviation and prediction consistency, offering insights into the method's robustness.

Datasets

The paper evaluates DGKIP on the following standard benchmark datasets:

  • MNIST
  • CIFAR-10
  • Fashion-MNIST

These datasets are used for training and evaluating the performance of the distilled models.

Key Insights and Ideas

  • Duality Gap as a Bridge: The duality gap elegantly connects the optimization of the synthetic dataset to the minimization of parameter deviation. This is a powerful insight that bypasses the need for complex bi-level optimization.
  • Loss Function Flexibility: The ability to generalize beyond squared loss is a significant advancement. This makes dataset distillation practical for a much wider range of machine learning tasks, especially classification.
  • Efficiency and Scalability: By avoiding the iterative nature of bi-level optimization, DGKIP offers substantial computational savings, making it more scalable for large datasets and models.
  • Parameter Deviation as a Proxy: Minimizing the parameter deviation between models trained on original and synthetic data is shown to be an effective proxy for minimizing test error, providing a theoretical justification for the approach.

Key Results

  • Competitive Accuracy: DGKIP-SVM and DGKIP-LR achieve competitive test accuracies comparable to existing methods on MNIST, CIFAR-10, and Fashion-MNIST, even with varying synthetic dataset sizes (1, 10, 50 images per class).
  • Significant Speedup: DGKIP variants demonstrate remarkably low computational overhead and training times compared to other methods, especially as the number of synthetic images per class increases. For instance, on CIFAR-10 with 50 IPC, DGKIP-LR shows a training time of 0.026s, significantly faster than some other methods.
  • Parameter Deviation Reduction: Experiments show that minimizing the duality gap directly leads to a reduction in parameter deviation, which in turn correlates with increased test accuracy.
  • Cross-Model Transferability: Distilled datasets generated by DGKIP can be effectively used to train models of different architectures (e.g., SVM-distilled data for LR training, and vice-versa), indicating that the distilled datasets preserve essential information across model types.

Limitations and Future Work

  • Convex Loss Function Dependency: The current formulation of DGKIP relies on the assumption of convex loss functions. While it extends beyond squared loss to cross-entropy and hinge loss, its direct applicability to non-convex loss functions might require further investigation.
  • Choice of Kernel: The performance of DGKIP is influenced by the choice of kernel, particularly when applied to deep learning models via kernel approximations like NNGP. The paper uses NNGP random features for scalability, but the impact of different kernel choices or approximations could be explored further.
  • Multiclass Classification: While the paper mentions that DGKIP can be combined with models supporting multiclass classification, the experimental results primarily focus on binary classification. Extending and evaluating DGKIP for multiclass scenarios would be a natural next step.
  • Hyperparameter Tuning: The paper mentions setting the regularization parameter $\lambda$ based on the number of samples. Further research into optimal hyperparameter selection strategies for DGKIP could enhance its performance.

Summary updated

BibTeX
@misc{aoyama2025generalized,
  author = {Tatsuya Aoyama and Hanting Yang and Hiroyuki Hanada and Satoshi Akahane and Tomonari Tanaka and Yoshito Okura and Yu Inatsu and Noriaki Hashimoto and Taro Murayama and Lee Hanju and Shinya Kojima and Ichiro Takeuchi},
  title = {{Generalized Kernel Inducing Points by Duality Gap for Dataset Distillation}},
  year = {2025},
  eprint = {2502.12607},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.12607},
}
Figure