Closed-Form Linear-Probe Dataset Distillation for Pre-trained Vision Models
Bincheng Peng ⋅ Guang Li ⋅ Ping Liu ⋅ Takahiro Ogawa ⋅ Miki Haseyama
Abstract
Dataset distillation compresses a large training set into a small synthetic set that preserves downstream training utility. While most existing methods target training networks from scratch, modern visual transfer learning often uses frozen pre-trained encoders followed by lightweight linear probing. Existing distillation methods for this setting either rely on linear-probe gradient matching or use kernel and feature-regression formulations originally designed for from-scratch training. Frozen-feature linear probing admits a closed-form solution determined directly by the pre-trained features themselves, with no infinite-width approximation and no inner-loop trajectory. We propose Closed-Form Linear-Probe Dataset Distillation (CLP-DD), a bilevel formulation that computes the linear probe induced by the synthetic set with a sample-space kernel ridge solver. The synthetic images are then updated by evaluating this induced classifier on real features through a temperature-scaled softmax cross-entropy, where the classifier columns act as learned class anchors in feature space. We further show that the choice of outer objective is decisive: replacing the class-anchor objective with a standard MSE outer loss reduces average accuracy by 2.9 percentage points on ImageNet-100. On ImageNet-100 with four pre-trained backbones, CLP-DD substantially improves over LGM without DSA and approaches LGM with DSA at a fraction of the computational cost. On ImageNet-1K, CLP-DD achieves accuracy comparable to LGM with DSA; profiling with DINOv2 at IPC$=$1 shows roughly $14\times$ faster optimization and less than one-eighth of the peak GPU memory. The code is available at \url{https://github.com/Guang000/CLP-DD}.
Successful Page Load