Provable and Efficient Dataset Distillation for Kernel Ridge Regression
Yilan Chen, Wei Huang, Lily Weng
Abstract
Deep learning models are now trained on increasingly larger datasets, making it crucial to reduce computational costs and improve data quality. Dataset distillation aims to distill a large dataset into a small synthesized dataset such that models trained on it can achieve similar performance to those trained on the original dataset. While there have been many empirical efforts to improve dataset distillation algorithms, a thorough theoretical analysis and provable, efficient algorithms are still lacking. In this paper, by focusing on dataset distillation for kernel ridge regression (KRR), we show that one data point per class is already necessary and sufficient to recover the original model's performance in many settings. For linear ridge regression and KRR with surjective feature mappings, we provide necessary and sufficient conditions for the distilled dataset to recover the original model's parameters. For KRR with injective feature mappings of deep neural networks, we show that while one data point per class is not sufficient in general, k +1 data points can be sufficient for deep linear neural networks, where k is the number of classes. Our theoretical results enable directly constructing analytical solutions for distilled datasets, resulting in a provable and efficient dataset distillation algorithm for KRR. We verify our theory experimentally and show that our algorithm outperforms previous work such as KIP while being significantly more efficient, e.g. 15840× faster on CIFAR-100. Our code is available at GitHub. In this paper, by focusing on dataset distillation for kernel ridge regression (KRR), we show that one data point per class is already necessary and sufficient to recover the original model's performance in many settings, which is far less than n or p data points needed in prior works [9, 21] . Besides, our analysis is more general than prior works [9, 21] and can handle more and different models, including invertible neural networks, fully-connected neural networks (FCNN), Convolutional neural networks (CNN), and Random Fourier Features (RFF). Table 1 compares our theoretical results with previous analysis. We summarize our contributions as follows. • In Sec. 4.1 and 5, for linear ridge regression (LRR) and KRR with surjective feature mappings, we show that one distilled data point per class is necessary and sufficient to recover the original model's parameters and provide necessary and sufficient conditions for such distilled datasets. In addition, we show how to find distilled data that is close to real data in Sec. 4.2. • In Sec. 5.2, for KRR with injective feature mappings of deep neural networks (NNs), we show that one data point per class is in general not sufficient to recover the original model's parameters. However, k + 1 data points can be sufficient for deep linear NNs, where k is the number of classes. • Our theoretical results enable us to directly construct analytical solutions for the distilled datasets, resulting in a provable and efficient dataset distillation algorithm for KRR in Algorithm 1. We verify our theory experimentally and show that our algorithm outperforms previous SOTA dataset distillation algorithm KIP [25] while being significantly more efficient, e.g. 15840× faster on CIFAR-100. • In Sec.6, we show our theoretical results can be used for several applications. First, it can be used as necessary or sufficient conditions for KIP-type algorithms to converge to a global minimum even if the loss function is highly non-convex. Second, our distilled dataset for KRR can provably preserve the privacy of the original dataset while having a performance guarantee. Related works Dataset distillation. Dataset distillation aims to distill a large dataset into a small synthesized dataset such that models trained on it can achieve similar performance to those trained on the original dataset. Previous approaches can be mainly divided into four categories [29]: 1) Meta-model Matching: this category formulates the problem as a bilevel optimization problem and maximize the performance of the model trained on the distilled dataset [34] . Some recent works such as KIP [24, 25] , FRePo [40], RFAD [17], and RCIG [18] approximate the inner loop optimization of training neural networks by
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Dataset Distillation Efficiently Encodes Low-Dimensional Representations from Gradient-Based Learning of Non-Linear Tasks cites Dataset Condensation with Differentiable Siamese Augmentation
- Dataset Distillation Efficiently Encodes Low-Dimensional Representations from Gradient-Based Learning of Non-Linear Tasks cites Dataset Condensation with Gradient Matching
- Dataset Distillation Efficiently Encodes Low-Dimensional Representations from Gradient-Based Learning of Non-Linear Tasks cites Dataset Meta-Learning from Kernel Ridge-Regression
- Dataset Distillation Efficiently Encodes Low-Dimensional Representations from Gradient-Based Learning of Non-Linear Tasks cites Dataset Distillation with Infinitely Wide Convolutional Networks
- Dataset Distillation Efficiently Encodes Low-Dimensional Representations from Gradient-Based Learning of Non-Linear Tasks cites Dataset Distillation using Neural Feature Regression
- Dataset Condensation with Differentiable Siamese Augmentation cites Dataset Condensation with Gradient Matching
- Dataset Condensation with Differentiable Siamese Augmentation cites Dataset Meta-Learning from Kernel Ridge-Regression
- Emphasizing Discriminative Features for Dataset Distillation in Complex Scenarios cites Dataset Condensation with Differentiable Siamese Augmentation
- Emphasizing Discriminative Features for Dataset Distillation in Complex Scenarios cites Dataset Condensation with Gradient Matching
- Emphasizing Discriminative Features for Dataset Distillation in Complex Scenarios cites Dataset Meta-Learning from Kernel Ridge-Regression
- Emphasizing Discriminative Features for Dataset Distillation in Complex Scenarios cites Dataset Distillation with Infinitely Wide Convolutional Networks
- Emphasizing Discriminative Features for Dataset Distillation in Complex Scenarios cites Dataset Distillation using Neural Feature Regression
- Unlocking Dataset Distillation with Diffusion Models cites Dataset Condensation with Gradient Matching
- Dataset Meta-Learning from Kernel Ridge-Regression cites Dataset Condensation with Gradient Matching
- Algorithmic Guarantees for Distilling Supervised and Offline RL Datasets cites Dataset Condensation with Differentiable Siamese Augmentation
- Algorithmic Guarantees for Distilling Supervised and Offline RL Datasets cites Dataset Condensation with Gradient Matching
- Algorithmic Guarantees for Distilling Supervised and Offline RL Datasets cites Dataset Meta-Learning from Kernel Ridge-Regression
- Dataset Distillation with Infinitely Wide Convolutional Networks cites Dataset Condensation with Differentiable Siamese Augmentation
- Dataset Distillation with Infinitely Wide Convolutional Networks cites Dataset Condensation with Gradient Matching
- Dataset Distillation with Infinitely Wide Convolutional Networks cites Dataset Meta-Learning from Kernel Ridge-Regression
- Efficient Multimodal Dataset Distillation via Generative Models cites Dataset Condensation with Gradient Matching
- Efficient Multimodal Dataset Distillation via Generative Models cites Emphasizing Discriminative Features for Dataset Distillation in Complex Scenarios
- Efficient Multimodal Dataset Distillation via Generative Models cites Dataset Meta-Learning from Kernel Ridge-Regression
- Efficient Multimodal Dataset Distillation via Generative Models cites Dataset Distillation with Infinitely Wide Convolutional Networks
- Efficient Multimodal Dataset Distillation via Generative Models cites Dataset Distillation using Neural Feature Regression
- Dataset Distillation using Neural Feature Regression cites Dataset Condensation with Differentiable Siamese Augmentation
- Dataset Distillation using Neural Feature Regression cites Dataset Condensation with Gradient Matching
- Dataset Distillation using Neural Feature Regression cites Dataset Meta-Learning from Kernel Ridge-Regression
Cited by top-tier papers6
- Unlocking Dataset Distillation with Diffusion ModelsBrian B. Moser, Federico Raue, Sebastian Palacio, Stanislav Frolov et al.NeurIPS 2025 · 23 citations
- Efficient Multimodal Dataset Distillation via Generative ModelsZhenghao Zhao, Haoxuan Wang, Junyi Wu, Yuzhang Shang et al.NeurIPS 2025 · 7 citations
- Dataset Distillation Efficiently Encodes Low-Dimensional Representations from Gradient-Based Learning of Non-Linear TasksYuri Kinoshita, Naoki Nishikawa, Taro ToyoizumiICML 2026
- Emphasizing Discriminative Features for Dataset Distillation in Complex ScenariosKai Wang, Zekai Li, Zhi-Qi Cheng, Samir Khaki et al.CVPR 2025
- Algorithmic Guarantees for Distilling Supervised and Offline RL DatasetsAaryan Gupta, Rishi Saket, Aravindan RaghuveerICLR 2026
Builds on18
- Dataset Condensation with Gradient MatchingBo Zhao, Konda Reddy Mopuri, Hakan BilenICLR 2021 · 684 citations
- Dataset Condensation with Differentiable Siamese AugmentationBo Zhao, Hakan BilenICML 2021 · 390 citations
- Dataset Distillation with Infinitely Wide Convolutional NetworksTimothy Nguyen, Roman Novak, Lechao Xiao, Jaehoon LeeNeurIPS 2021 · 313 citations
- Dataset Meta-Learning from Kernel Ridge-RegressionTimothy Nguyen, Zhourong Chen, Jaehoon LeeICLR 2021 · 307 citations
- Dataset Distillation using Neural Feature RegressionYongchao Zhou, Ehsan Nezhadarya, Jimmy BaNeurIPS 2022 · 234 citations
Related papers
- On the Size and Approximation Error of Distilled DatasetsAlaa Maalouf, Murad Tukan, Noel Loo, Ramin M. Hasani et al.NeurIPS 2023 · 2 citations
- Efficient Dataset Distillation using Random Feature ApproximationNoel Loo, Ramin M. Hasani, Alexander Amini, Daniela RusNeurIPS 2022 · 156 citations
- Towards Understanding Ensemble Distillation in Federated LearningSejun Park, Kihun Hong, Ganguk HwangICML 2023 · 9 citations
- Kernel Ridge Regression-Based Graph Dataset DistillationZhe Xu, Yuzhong Chen, Menghai Pan, Huiyuan Chen et al.KDD 2023 · 37 citations
- MGDD: A Meta Generator for Fast Dataset DistillationSonghua Liu, Xinchao WangNeurIPS 2023 · 13 citations
