NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Beyond Random: Automatic Inner-loop Optimization in Dataset Distillation

Muquan Li, Hang Gou, Dongyang Zhang, Shuang Liang, Xiurui Xie, Deqiang Ouyang, Ke Qin

Introduction

Dataset distillation (DD) aims to synthesize a small, representative dataset from a large-scale source, enabling models to achieve high performance with minimal data. This is typically formulated as a bilevel optimization problem where the "inner loop" involves training a model on synthetic data, and the "outer loop" updates the synthetic data based on validation performance.

However, the inner loop presents a significant computational bottleneck. Standard Backpropagation Through Time (BPTT) is memory-intensive, leading researchers to use Truncated BPTT. Historically, these truncation windows were chosen randomly or fixed, ignoring the specific learning dynamics of neural networks. This paper introduces Automatic Truncated Backpropagation Through Time (AT-BPTT), a framework that replaces random heuristics with dynamic, data-driven optimization.

The AT-BPTT Framework

AT-BPTT is designed to optimize the inner loop by adjusting its truncation strategy based on real-time gradient behavior. The authors observed that neural networks exhibit distinct learning stages: they master simple patterns early on and fine-tune complex features later.

Overview of the AT-BPTT framework, illustrating the dynamic inner-loop optimization, stage transitions, and low-rank Hessian approximation.

The framework consists of several key innovations:

  • Dynamic Truncation Position: The algorithm uses a probabilistic mechanism to select timesteps. It prioritizes "preliminary" steps early in training to capture fundamental patterns and "post" steps later for fine-tuning.
  • Adaptive Window Sizing: By monitoring gradient variation, AT-BPTT expands the truncation window during periods of high learning activity (wildly fluctuating gradients) and shrinks it when gradients stabilize, optimizing resource allocation.
  • Low-Rank Hessian Approximation (LRHA): To mitigate the cost of second-order optimization, the authors employ randomized Singular Value Decomposition (SVD) to approximate the Hessian matrix, significantly reducing memory overhead while maintaining gradient accuracy.
  • Patch-wise Semantic Preservation (PSP): For high-resolution datasets like ImageNet-1K, PSP ensures global structural coherence by distilling images patch-by-patch with a centroid-matching loss.

Experimental Results

AT-BPTT was evaluated across standard vision benchmarks (CIFAR-10/100, Tiny-ImageNet), high-resolution datasets (ImageNet-1K), and text classification tasks (SST-2, MNLI).

Comparison of AT-BPTT against baselines, showing superior accuracy across IPC settings, reduced memory usage, and significant speedup.

The results demonstrate that AT-BPTT achieves state-of-the-art performance, outperforming the previous leading method, RaT-BPTT, by an average of 6.16% in accuracy across vision tasks. Crucially, the method is 3.9× faster and reduces GPU memory consumption by 63%. On the challenging ImageNet-1K dataset with 10 images per class (IPC=10), AT-BPTT reached 30.6% accuracy, proving its scalability to high-resolution, large-scale data that many previous methods could not handle.

Conclusion

By moving beyond random truncation and leveraging the inherent learning dynamics of neural networks, AT-BPTT provides a more efficient and effective path for dataset distillation. The framework's ability to balance accuracy with computational efficiency makes it a powerful tool for scaling distillation to complex, real-world datasets and architectures, including Transformers and high-resolution vision models.

Summary updated

BibTeX
@inproceedings{li2025beyond,
  author = {Muquan Li and Hang Gou and Dongyang Zhang and Shuang Liang and Xiurui Xie and Deqiang Ouyang and Ke Qin},
  title = {{Beyond Random: Automatic Inner-loop Optimization in Dataset Distillation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=dbZo5cLlV9},
}
Figure