Introduction
Real-time video processing on edge devices remains a significant challenge due to the high computational cost of state-of-the-art deep learning models. While efficient architectures exist, they often compromise accuracy. A common strategy to mitigate this is feature propagation, where expensive models process only key-frames, and features are propagated to subsequent frames using optical flow. However, optical flow estimation is itself computationally intensive, often negating the efficiency gains when paired with modern, optimized backbones.
The Delta Distillation Framework
The authors propose Delta Distillation, a framework that leverages temporal redundancy without explicit motion alignment. Instead of a student model attempting to replicate the full feature state ($z_t$) of a teacher model, it learns to predict the transition or "delta" ($\Delta z_t = z_t - z_{t-1}$) between consecutive frames.
During inference, a heavy teacher model processes a key-frame to establish a baseline. For the subsequent $T$ frames, a lightweight student model iteratively predicts and adds deltas to the previous features. This approach is effective because temporal deltas are typically lower-rank and sparser than full features, making them easier for a small network to learn effectively.
Student Architectures and Optimization
The framework explores two primary student designs to maximize efficiency:
- Linear Blocks: These utilize spatial factorization, decomposing standard 2D convolutions into sequences of 1D kernels (e.g., $k \times 1$ and $1 \times k$). This significantly reduces the number of parameters and operations.
- Non-linear Blocks: These employ residual blocks with reduced channel counts or spatial resolutions.
To ensure optimal performance, the authors used a Gumbel-softmax based architecture search to automatically determine which blocks should be compressed and which should remain "heavy" to maintain accuracy.
Experimental Evaluation
The method was evaluated on two major benchmarks:
- ImageNet VID: Used for video object detection containing 30 categories.
- Cityscapes: Used for urban semantic segmentation. For Cityscapes, pseudo-annotations were generated for intermediate frames to facilitate training, as annotations are typically provided for only one frame per sequence.
Key Insights
- Learning Transitions is Easier: Temporal variations are simpler to model than static features. A minimal network can successfully learn how representations shift even if it lacks the capacity to recognize objects from scratch.
- Implicit Motion Handling: By processing the difference between frames ($\Delta x$), the student implicitly learns motion patterns, bypassing the need for expensive optical flow engines.
- Temporal Regularization: Delta Distillation acts as a regularizer for the teacher. To make deltas easier for the student to learn, the teacher is incentivized to produce smoother, more temporally consistent representations, reducing visual "flickering."
Results and Performance
Delta Distillation achieves a superior accuracy-vs-efficiency trade-off across tasks:
- Object Detection: On ImageNet VID, applying the method to Faster-RCNN (ResNet-101) reduced computation from 149.1 GFLOPs to 29.2 GFLOPs (~5x reduction) with only a 1% drop in mAP (74.5% to 73.5%).
- Semantic Segmentation: For DDRNet-23-slim, computation was halved (36.6 to 17.9 GFLOPs) while accuracy slightly improved (76.1% to 76.2% mIoU) due to improved temporal consistency.
- Consistency: The Temporal Consistency (TC) metric improved by 2.6 points on Cityscapes, indicating more stable predictions over time.
Limitations and Future Work
Despite its success, the method faces challenges with drift. As errors in delta predictions accumulate over time, the teacher must periodically "refresh" the features. Accuracy begins to decline when the sequence length ($T$) exceeds 10 frames. Additionally, while the framework is theoretically task-agnostic, its application to more complex temporal tasks like action recognition or video depth estimation remains a subject for future research.
Summary updated