Papers › DejaVid: Encoder-Agnostic Learned Temporal Matching for Video Classification

DejaVid: Encoder-Agnostic Learned Temporal Matching for Video Classification

1 Jan 2025CVPR 2025 3archive 2025-07-28

Darryl Ho, Samuel Madden

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 (TSE). A TSE naturally preserves temporal order and accommodates variable video durations. We then learn per-timestep, per-feature weights over the encoded TSE 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 https://github.com/darrylho/DejaVid.

PaperPDFConference PDFCode

Code

darrylho/dejavid officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Action ClassificationAction RecognitionFeature ImportanceTime Series AlignmentVideo Classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Action Classification Kinetics-400 DejaVid Acc@1 89.1 #19 of 207 Archive leaderboard report
Action Classification Kinetics-400 DejaVid Acc@5 98.2 #19 of 207 Archive leaderboard report
Action Recognition HMDB-51 DejaVid Average accuracy of 3 splits 88.6 #2 of 77 Archive leaderboard report
Action Recognition Something-Something V2 DejaVid Top-1 Accuracy 77.2 #2 of 123 Archive leaderboard report
Action Recognition Something-Something V2 DejaVid Top-5 Accuracy 96.3 #2 of 123 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections