Introduction
Long Video Temporal Grounding (LVTG) is a critical task in computer vision, requiring models to pinpoint specific events within videos that can span minutes or hours based on natural language queries. As video archives grow, the computational burden of processing these long-form videos has become a significant bottleneck.
Traditional state-of-the-art (SOTA) methods typically employ a "brute force" approach: segmenting the entire video into short clips and passing every single one through a heavy, pre-trained "expert" video encoder like VideoMAE. While effective for accuracy, this method is computationally expensive and impractical for real-time applications such as live surveillance or content recommendation. The researchers behind DeCafNet observe that most clips in a long video are irrelevant to a specific query; processing the entire video with a high-capacity encoder is, therefore, a massive waste of resources.
The DeCafNet Architecture
To address these inefficiencies, DeCafNet introduces a "delegate-and-conquer" framework that splits the workload between two specialized components: a lightweight Sidekick and a heavy Expert.
1. The Sidekick Encoder ($\Psi_D$)
This is a highly efficient, slimmed-down video transformer. By utilizing spatio-temporal convolutional pooling and temporal interpolation, the Sidekick processes data approximately 31 times faster and uses 22 times less memory than the Expert. Its primary role is twofold: extracting dense, low-resolution features for the entire video and generating a saliency map to predict which segments are most likely to contain the answer to the text query.
2. The Expert Encoder ($\Psi_E$)
Instead of processing the whole video, the heavy-duty Expert encoder is only invoked for the top-$c\%$ (typically 30% to 50%) most salient clips identified by the Sidekick. This targeted processing significantly reduces the total computational footprint.
3. DeCaf-Grounder and Feature Fusion
The "brain" of the system is the DeCaf-Grounder, which integrates the outputs of both encoders. It employs Query-Aware Temporal Aggregation to fuse the dense, low-resolution features from the Sidekick with the sparse, high-resolution features from the Expert. This ensures that the model maintains global temporal context while benefiting from local high-fidelity details.
To refine the results, a Multi-Scale Temporal Refinement module—a feature pyramid—synchronizes information across different temporal resolutions. This allows the model to precisely predict the start and end timestamps of the target event. The system is trained using a dual-loss approach: Saliency Loss to guide the Sidekick in identifying relevant clips, and Distillation Loss to encourage the Sidekick’s features to approximate the high-quality representations of the Expert.
Experimental Results
DeCafNet was evaluated on several challenging benchmarks, including Ego4D-NLQ (egocentric videos), Ego4D-Goalstep (procedural videos), and MAD (massive-scale movie descriptions).
Efficiency and Performance
The results demonstrate a remarkable shift in the efficiency-accuracy trade-off. On the Ego4D-NLQ dataset, DeCafNet achieved a 47% reduction in TFLOPs and a 51% reduction in inference time compared to previous leading methods.
Surprisingly, despite processing fewer clips with the Expert encoder, DeCafNet set new SOTA records. On Ego4D-NLQ, it improved Mean Recall (AVG) from 23.14 to 24.44. This suggests that the Sidekick acts as an effective noise filter, allowing the model to focus on relevant information without being distracted by irrelevant background data. The model also proved robust under stress tests, maintaining high performance despite reduced lighting, blurring, or pixel occlusion.
Conclusion
DeCafNet proves that high-resolution processing of every video frame is not a prerequisite for high-performance temporal grounding. By delegating the initial search to a fast component and conquering the details with an expert, the model achieves superior efficiency and accuracy.
While DeCafNet marks a significant step forward, challenges remain regarding query ambiguity. In scenarios where multiple similar actions occur, models still struggle to distinguish the specific instance requested by the user. Future research will likely focus on improving grounding modules to handle multi-instance ambiguities and refining language modeling to better capture user intent.
Summary updated