[Paper Review] Remember the Past: Distilling Datasets into Addressable Memories for Neural Networks
The paper proposes a memory-based dataset distillation approach where a shared set of bases (memories) is combined via learnable addressing to synthesize training data, enabling compression independent of the number of classes and enabling strong continual learning performance.
We propose an algorithm that compresses the critical information of a large dataset into compact addressable memories. These memories can then be recalled to quickly re-train a neural network and recover the performance (instead of storing and re-training on the full original dataset). Building upon the dataset distillation framework, we make a key observation that a shared common representation allows for more efficient and effective distillation. Concretely, we learn a set of bases (aka ``memories'') which are shared between classes and combined through learned flexible addressing functions to generate a diverse set of training examples. This leads to several benefits: 1) the size of compressed data does not necessarily grow linearly with the number of classes; 2) an overall higher compression rate with more effective distillation is achieved; and 3) more generalized queries are allowed beyond recalling the original classes. We demonstrate state-of-the-art results on the dataset distillation task across six benchmarks, including up to 16.5% and 9.7% in retained accuracy improvement when distilling CIFAR10 and CIFAR100 respectively. We then leverage our framework to perform continual learning, achieving state-of-the-art results on four benchmarks, with 23.2% accuracy improvement on MANY. The code is released on our project webpage https://github.com/princetonvisualai/RememberThePast-DatasetDistillation.
Motivation & Objective
- Motivate compression of large datasets into compact memories that preserve retraining performance.
- Propose a memory-addressing formulation that uses shared bases across classes to improve compression.
- Demonstrate that back-propagation through time with momentum and long unrolls yields state-of-the-art distillation results.
- Show that the framework generalizes to continual learning and to flexible query types beyond discrete labels.
Proposed method
- Represent the dataset with a set of bases M = {b1,...,bK} stored in memory.
- Use a learnable addressing function A(y) to linearly combine bases into synthetic data x' for each query y.
- Define x' using equation x'^{T} = y^{T} A_i [b1;...;bK]^T to generate r samples per y.
- Train the memories and addressing via a bi-level optimization with back-propagation through time (BPTT).
- In inner loops, perform SGD with momentum and long unrolls (e.g., 150–200 steps) to produce informative gradients.
- Allow generalized, non-class-discrete queries for synthetic data generation.
Experimental results
Research questions
- RQ1Can a shared memory representation across classes improve dataset distillation compression rates?
- RQ2Does a memory-addressing formulation enable flexible (non-one-hot) queries for distillation and improve retraining performance?
- RQ3How do optimization choices in BPTT (momentum, unroll length) affect distillation compared to single-step gradient methods?
- RQ4What is the method’s effectiveness in continual learning and memory-based recall scenarios?
Key findings
- Achieves state-of-the-art results on six dataset distillation benchmarks, e.g., CIFAR10 at 66.4% recovered accuracy with 1 image per class.
- Also achieves 66.4% on CIFAR10 and 34.0% on TinyImageNet under various budgets, demonstrating strong compression performance.
- Demonstrates strong continual learning gains with a simple “compress-then-recall” approach, e.g., 23.2% retained accuracy improvement on MANY.
- Shows information sharing across classes via a common memory representation, enabling better compression than class-specific memories.
- BPTT with momentum and long unrolls substantially improves performance over prior gradient-matching baselines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.