Skip to main content
QUICK REVIEW

[Paper Review] Efficient Dataset Distillation Using Random Feature Approximation

Noel Loo, Ramin Hasani|arXiv (Cornell University)|Oct 21, 2022
Gaussian Processes and Bayesian InferenceComputer Science19 citations
TL;DR

This paper proposes RFAD, a fast and accurate dataset distillation method that uses random feature approximation of the Neural Network Gaussian Process (NNGP) kernel to reduce computational complexity from O(|S|²) to O(|S|), achieving over 100-fold speedup over the state-of-the-art KIP method while maintaining competitive accuracy on large-scale datasets like CIFAR-10 and CelebA.

ABSTRACT

Dataset distillation compresses large datasets into smaller synthetic coresets which retain performance with the aim of reducing the storage and computational burden of processing the entire dataset. Today's best-performing algorithm, extit{Kernel Inducing Points} (KIP), which makes use of the correspondence between infinite-width neural networks and kernel-ridge regression, is prohibitively slow due to the exact computation of the neural tangent kernel matrix, scaling $O(|S|^2)$, with $|S|$ being the coreset size. To improve this, we propose a novel algorithm that uses a random feature approximation (RFA) of the Neural Network Gaussian Process (NNGP) kernel, which reduces the kernel matrix computation to $O(|S|)$. Our algorithm provides at least a 100-fold speedup over KIP and can run on a single GPU. Our new method, termed an RFA Distillation (RFAD), performs competitively with KIP and other dataset condensation algorithms in accuracy over a range of large-scale datasets, both in kernel regression and finite-width network training. We demonstrate the effectiveness of our approach on tasks involving model interpretability and privacy preservation.

Motivation & Objective

  • Address the high computational cost of state-of-the-art dataset distillation methods like KIP, which scale quadratically with coreset size.
  • Enable efficient, scalable dataset distillation suitable for real-world applications such as model interpretability and privacy-preserving machine learning.
  • Develop a method that maintains high performance while drastically reducing training time through kernel approximation.
  • Explore the feasibility of using synthetic, distilled datasets for tasks requiring data privacy and interpretability.
  • Provide a practical alternative to exact neural tangent kernel computation that remains accurate and efficient for finite-width networks.

Proposed method

  • Use random feature approximation (RFA) of the Neural Network Gaussian Process (NNGP) kernel to replace the exact computation of the Neural Tangent Kernel (NTK) in KIP.
  • Leverage random neural networks to instantiate the NNGP kernel approximation, reducing the time complexity of kernel matrix computation from O(|S|²) to O(|S|).
  • Apply gradient-based optimization to learn synthetic coreset images that minimize the loss on the approximated kernel-ridge regression objective.
  • Introduce RFAD ρ, a variant that injects random noise into a fraction ρ of pixels during distillation to enhance privacy properties.
  • Use Platt loss instead of MSE loss to mitigate overfitting in low-compression-ratio settings.
  • Ensure compatibility with instance norm layers by training random networks with instance norm, enabling transfer to finite networks using the same normalization.

Experimental results

Research questions

  • RQ1Can a random feature approximation of the NNGP kernel significantly reduce the computational cost of dataset distillation without sacrificing accuracy?
  • RQ2How does the performance of the proposed RFAD method compare to KIP and other state-of-the-art dataset distillation algorithms across diverse datasets and network architectures?
  • RQ3To what extent can RFAD support privacy-preserving machine learning through noise injection in the distilled data?
  • RQ4Can RFAD be used effectively for model interpretability by generating synthetic, representative data points?
  • RQ5What are the limitations of RFAD in terms of generalization across models with and without instance normalization?

Key findings

  • RFAD achieves over 100-fold speedup compared to KIP while maintaining or exceeding its accuracy on CIFAR-10, with training time reduced from hours to minutes on a single GPU.
  • On CIFAR-10, RFAD achieves 40.6% accuracy with only one image per class and 90% pixel corruption (ρ = 0.9), significantly outperforming the natural baseline of 16.1%.
  • For CelebA binary classification, RFAD attains 81% accuracy with just two images (one per class) and 95% pixel corruption, demonstrating strong robustness to noise.
  • The distilled images under RFAD ρ become visually indistinguishable from noise at high corruption ratios (e.g., ρ = 0.95), indicating strong privacy preservation.
  • RFAD ρ ensures that distilled data remains far from real data points in L₂ norm when the true data distribution assigns low probability to white noise, enhancing data privacy.
  • RFAD shows overfitting in simple datasets like MNIST or with high compression ratios (e.g., 10 images per class in CIFAR-100), suggesting Platt loss is preferable in such settings to avoid overfitting to the training set.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.