TL;DR
LAVITI is a new pre-training framework that aligns language, video, and time in long-form, untrimmed videos. By treating video-language alignment as a "set prediction" problem and using explicit temporal embeddings, it achieves state-of-the-art results on action recognition and enables zero-shot natural language queries while remaining remarkably compute-efficient.
What Problem Does This Paper Address?
Most current video-language pre-training (VLP) models suffer from a "short-sighted" perspective. Because processing raw video is computationally expensive, models like EgoVLP or LaViLa typically only look at 8 to 16 frames at a time. This creates a massive bottleneck for understanding long-form, untrimmed videos (like a 15-minute head-mounted camera recording) where context and timing are everything.
Furthermore, these models often treat time implicitly—simply as the order of frames. They lack a mechanism to reason about when an event occurs relative to the whole video. The authors of LAVITI set out to build a model that can handle thousands of frames efficiently and reason about temporal boundaries explicitly.
Methods
LAVITI (Language Video Time) introduces several novel components to bridge the gap between pixels, words, and timestamps:
- Post-Temporal Feature Extraction: Instead of training an end-to-end video backbone, the authors use a frozen CLIP (ViT-H-14) to extract features for every frame. These features are stored, allowing the model to "see" up to 1,000 frames at once during training without crashing the GPU memory.
- Relative Temporal Embeddings (TE): The model uses learnable embeddings to represent timestamps. These are interpolated to match the video length, allowing the model to map specific moments to a relative position in time (e.g., "this happened at 20% of the way through the video").
- Set Prediction via Transformer Decoder: Borrowing an idea from object detection (DETR), LAVITI uses "moment queries." A transformer decoder takes these queries and predicts a set of moments, each consisting of a visual embedding and a start/end timestamp.
- Bipartite Matching & Contrastive Loss: During training, the model uses the Hungarian algorithm to match its predicted moments to the ground-truth narrations provided in the dataset. It then uses a Sigmoid contrastive loss (similar to SigLIP) to pull the correct language, video, and time representations together in the embedding space.
Datasets
- Pre-training: Ego4D, a massive dataset of daily-life egocentric (first-person) videos.
- Evaluation (Action Recognition): CharadesEgo, used for both zero-shot (ZS) and fine-tuning (FT) benchmarks.
- Evaluation (Localization): Ego4D NLQ (Natural Language Query), used to test the model's ability to find specific moments in a video based on a text prompt without any additional training.
Key Insights and Ideas
- Time as a First-Class Citizen: By predicting temporal embeddings ($T$) alongside visual ones ($V$), the model learns that "opening a door" isn't just a visual pattern, but an event with a specific duration and location in a sequence.
- Efficiency is a Feature: Because it uses frozen features and a 1D convolutional layer to compress temporal tokens, LAVITI can be trained on a single node of 8 NVIDIA RTX-3090 GPUs in just one day. This is significantly more accessible than many "foundation" models that require massive clusters.
- Zero-Shot "Where is...?" Capability: Because the model is trained to predict timestamps, it can perform Natural Language Query (NLQ) tasks out of the box. You can ask the model a question, and it can point to the specific frames in a long video that answer it, even though it wasn't explicitly trained on "question-answering" data.
Key Results
- State-of-the-Art Action Recognition: On the CharadesEgo benchmark, LAVITI achieved 34.5 mAP in zero-shot settings, outperforming GPT4Ego (31.5) and LAVILA (28.9).
- Fine-tuning Superiority: When fine-tuned, it reached 38.0 mAP, a significant jump over previous leaders.
- Long-Form Reasoning: The model successfully processed sequences of 1,000 frames, whereas previous state-of-the-art models were often capped at 16 frames.
- Zero-Shot NLQ: The model demonstrated a baseline ability to localize moments (e.g., R@1 at IoU=0.3 of 2.50) without any NLQ-specific training or annotations.
Limitations and Future Work
While LAVITI shows great promise in zero-shot localization, its performance on the NLQ task is still "preliminary" and lower than models specifically supervised for that task. The authors acknowledge this and plan to explore more complex episodic memory tasks, such as Moment Query (MQ), in the future.
Additionally, the reliance on frozen CLIP features means the model's "vision" is limited by what CLIP already knows; it cannot learn new low-level visual features specific to the video domain during the pre-training phase.
Summary updated