Temporal Saliency-Guided Distillation: A Scalable Framework for Distilling Video Datasets

Xulin Gu, Xinhao Zhong, Zhixing Wei, Yimin Zhou, Shuoyang Sun, Bin Chen, Hongpeng Wang, Yuan Luo · Submission to ICLR 2026 · Rejected

TL;DR

Distilling video datasets into compact synthetic samples has long been bottlenecked by prohibitive compute costs and the loss of temporal dynamics. This paper introduces an efficient uni-level video dataset distillation framework powered by a Temporal Saliency-Guided Filter (TSGF). By decoupling model training from data synthesis and using smoothed inter-frame differences to protect key motion cues during optimization and augmentation, the method achieves state-of-the-art accuracy across major benchmarks while cutting distillation time from dozens of hours to just a couple.

What Problem Does This Paper Address?

Dataset distillation (DD) compresses massive training sets into a small number of synthetic instances while retaining the training utility of the original data. While DD works well for images, scaling to video datasets presents two major roadblocks:

  1. Computational Explosion: Videos add a temporal dimension, turning standard bi-level optimization (iteratively updating neural nets and dataset pixels) computationally impractical in terms of both GPU memory and wall-clock training time.
  2. Loss of Motion Dynamics: Existing video DD frameworks (like VDSD and IDTD) rely on complex two-stage pipelines—distilling static frames first, then interpolating videos and matching temporal features. These stages often present conflicting objectives. Conversely, naively optimizing every frame treats them as isolated images, washing out fine-grained motion signatures and causing temporal homogenization.

Methods

The authors re-engineer video dataset distillation through a decoupled, uni-level framework consisting of three main stages:

[Pre-trained Model θ_T] ---> [TSGF-Guided Synthesis x_S] ---> [TSGF-Guided Augmentation] ---> [Distilled Dataset S]
  • Uni-Level Optimization: Rather than alternately unrolling training loops, a teacher video classifier ($\theta_T$) is pre-trained once on the real dataset. Synthetic videos are then directly optimized using a combination of classification loss and batch normalization (BN) statistical matching (aligning synthetic feature means and variances with the teacher's running statistics).
  • Temporal Saliency-Guided Filter (TSGF):
  • Saliency Calculation: Computes inter-frame differences $d_i = \frac{1}{2}(|f_{i+1} - f_i| + |f_i - f_{i-1}|)$ and applies a temporal smoothing window to suppress camera jitter, yielding a per-frame saliency score $s_i$.
  • Temporally Guided Video Optimization ($\text{TSGF}_O$): Over-optimizing frames with rapid motion destroys their dynamic cues. The framework computes an adaptive gradient mask $M = \frac{\max(\epsilon - s, 0)}{\max(s) - \min(s)}$ that scales down gradient updates for highly salient frames. Crucially, it modulates only gradient magnitude, preserving gradient direction.
  • Temporally Guided Video Augmentation ($\text{TSGF}_A$): Standard spatial mixup degrades temporal coherence. During downstream evaluation, the authors apply VideoMix exclusively to non-salient (background/static) frames where $s_i \le \epsilon$, protecting critical action frames from corruption.

Datasets

The authors evaluate their approach against standard video action recognition benchmarks:

  • Light-weight Datasets: MiniUCF (a 16-frame, $112\times112$ subset of UCF101) and HMDB51 (16 frames, $112\times112$).
  • Large-scale Datasets: Kinetics-400 (8 frames, $64\times64$) and Something-Something V2 (SSv2) (8 frames, $64\times64$, which focuses heavily on fine-grained temporal and object interactions).
  • Downstream Video Tasks: Evaluated on 50Salads for Temporal Action Segmentation (TAS).
  • Architecture Note: The proxy model used for distillation is MiniC3D; cross-architecture generalization is tested on ConvNet3D, CNN+GRU, and CNN+LSTM. No new datasets were introduced.

Key Insights and Ideas

  • Decoupled Uni-Level Distillation Tames Video Compute: Moving away from bi-level trajectory/gradient matching eliminates the massive memory overhead of backpropagating through multiple video forward passes, making video distillation practical on standard consumer GPUs (e.g., RTX 3090).
  • Saliency as a Regularization Shield: High-motion frames contain the core discriminative action cues. Constraining their optimization degrees prevents statistical over-fitting and keeps the generated motion natural.
  • Selective Augmentation Protects Temporal Semantics: Standard augmentations (CutMix, MixUp) tear apart inter-frame continuity. Selectively applying augmentations solely to low-saliency frames injects diversity without scrambling the action identity.
  • Gradient Magnitude vs. Direction: Allowing the saliency mask to flip the gradient sign (modulating direction) causes catastrophic drops in accuracy (e.g., plunging from 54.8% to 29.6% on MiniUCF IPC=5). The mask must strictly act as a magnitude dampener.

Key Results

  • MiniUCF: Achieves 39.2% (IPC=1) and 54.8% (IPC=5) top-1 accuracy, outperforming the previous state-of-the-art (IDTD at 33.3% for IPC=5) by +21.5%.
  • HMDB51: Reaches 20.2% at IPC=5 (vs. IDTD's 16.2%), rapidly closing in on the full-dataset baseline performance of 28.6%.
  • Large-Scale Sets: On SSv2 (IPC=5), attains 15.2% top-5 accuracy (+5.7% over IDTD). On Kinetics-400 (IPC=5), attains 13.4% top-5 accuracy.
  • Efficiency: Distillation finishes in under 2.5 hours using around 10 GB of GPU memory, whereas MTT and VDSD demand between 12 to 22 hours and up to 30 GB of VRAM.
  • Downstream TAS: On 50Salads, outperforms mean/coreset selection across accuracy (73.2%), edit score (56.3), and segmental F1 scores.

Limitations and Future Work

  • Teacher Performance Bottleneck: Because the framework relies on teacher-guided statistical alignment, synthetic data quality is closely coupled to teacher quality (e.g., teacher performance on full Kinetics-400 was modest at 22.4%, limiting distilled accuracy).
  • Performance Gap under Extreme Compression: At IPC=1 or IPC=5 on complex, large-scale benchmarks (Kinetics-400, SSv2), compression ratios are below 1%, leaving absolute accuracy relatively low compared to full training.
  • Frame-Count Sensitivity: When input length drops to 1–2 frames, the method loses its temporal advantage and degenerates toward standard image DD.

Summary updated

BibTeX
@misc{gu2025temporal,
  author = {Xulin Gu and Xinhao Zhong and Zhixing Wei and Yimin Zhou and Shuoyang Sun and Bin Chen and Hongpeng Wang and Yuan Luo},
  title = {{Temporal Saliency-Guided Distillation: A Scalable Framework for Distilling Video Datasets}},
  year = {2025},
  eprint = {2505.20694},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.20694},
}
Figure