Paper Reading AI Learner

DejaVid: Encoder-Agnostic Learned Temporal Matching for Video Classification

2025-06-14 17:39:03
Darryl Ho, Samuel Madden

Abstract

In recent years, large transformer-based video encoder models have greatly advanced state-of-the-art performance on video classification tasks. However, these large models typically process videos by averaging embedding outputs from multiple clips over time to produce fixed-length representations. This approach fails to account for a variety of time-related features, such as variable video durations, chronological order of events, and temporal variance in feature significance. While methods for temporal modeling do exist, they often require significant architectural changes and expensive retraining, making them impractical for off-the-shelf, fine-tuned large encoders. To overcome these limitations, we propose DejaVid, an encoder-agnostic method that enhances model performance without the need for retraining or altering the architecture. Our framework converts a video into a variable-length temporal sequence of embeddings, which we call a multivariate time series (MTS). An MTS naturally preserves temporal order and accommodates variable video durations. We then learn per-timestep, per-feature weights over the encoded MTS frames, allowing us to account for variations in feature importance over time. We introduce a new neural network architecture inspired by traditional time series alignment algorithms for this learning task. Our evaluation demonstrates that DejaVid substantially improves the performance of a state-of-the-art large encoder, achieving leading Top-1 accuracy of 77.2% on Something-Something V2, 89.1% on Kinetics-400, and 88.6% on HMDB51, while adding fewer than 1.8% additional learnable parameters and requiring less than 3 hours of training time. Our code is available at this https URL.

Abstract (translated)

近年来,基于大规模变压器的视频编码模型在视频分类任务中取得了显著的进步。然而,这些大型模型通常通过从多个片段中平均嵌入输出来处理视频,并生成固定长度的表示,这种方法未能考虑到多种时间相关特征,如不同视频时长、事件发生的顺序以及随时间变化的功能重要性差异。虽然存在一些用于时间建模的方法,但它们往往需要对架构进行重大调整和昂贵的重新训练,这使得这些方法对于现成的微调大型编码器来说不切实际。 为克服这些限制,我们提出了DejaVid——一种无需重新训练或修改架构即可提升模型性能的编码无关方法。我们的框架将视频转换为包含多变量时间序列(MTS)的可变长度的时间序列嵌入形式,这种格式自然保留了时间顺序并适应不同的视频时长。接下来,我们在编码后的MTS帧上学习每时刻、每个特征的权重,从而能够考虑随时间变化的功能重要性差异。为了执行这一学习任务,我们引入了一种受传统时间序列对齐算法启发的新神经网络架构。 我们的评估表明,DejaVid显著提升了最先进的大型编码器的表现,在Something-Something V2上实现了77.2%的领先Top-1准确率,在Kinetics-400上为89.1%,在HMDB51上达到88.6%,同时仅增加了不到1.8%的可学习参数,并且训练时间少于3小时。我们的代码可以在提供的链接中获取。

URL

https://arxiv.org/abs/2506.12585

PDF

https://arxiv.org/pdf/2506.12585.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot