Introduction
While Large Language Models (LLMs) have demonstrated remarkable proficiency in processing text, images, and audio, they frequently struggle with fine-grained temporal grounding. This limitation manifests as an inability to precisely pinpoint when an event occurs or to correlate specific auditory cues with visual actions (e.g., identifying what happens immediately after a specific sound). Current multimodal models often treat video as a simple sequence of frames and audio as a disjointed stream, failing to capture the causal and temporal dependencies between modalities. This is largely attributed to the lack of datasets featuring time-aligned cross-modal transitions and the constraints of standard positional embeddings in handling absolute time.
To address these challenges, we introduce OMCAT (Omni Context Aware Transformer), a model designed to master fine-grained temporal reasoning across audio and video through architectural innovations and a specialized training dataset.
Methodology
Architectural Innovations
OMCAT incorporates two primary technical advancements to enhance temporal awareness:
- Rotary Time Embedding (RoTE): An evolution of Rotary Positional Embeddings (RoPE), RoTE utilizes absolute timestamps in seconds rather than discrete indices to determine rotation angles. This allows the model to perceive the actual duration between events, providing robustness against varying frame rates.
- Interleaving Time Tokens (ITT): These are learnable embeddings representing specific time intervals, interleaved directly into the audio and visual feature sequences to provide explicit temporal anchors.
Three-Stage Training Pipeline
The model follows a rigorous training regime:
- Stage I (Alignment): Adaptors are trained to map frozen visual (CLIP) and audio (ImageBind) features into the text space of a Vicuna-7B LLM.
- Stage II (Instruction Tuning): The model is fine-tuned on a diverse mix of multimodal datasets to improve general instruction-following capabilities.
- Stage III (OCTAV-Specific): Final tuning is performed on the newly introduced OCTAV dataset to sharpen temporal reasoning and grounding.
The OCTAV Dataset
A core contribution of this work is OCTAV (Omni Context and Temporal Audio Video), a dataset specifically engineered to teach models about event transitions. It consists of two components:
- OCTAV-ST (Single-Turn): Approximately 127k unique videos where specific sounds are injected into silent segments, requiring the model to describe events relative to those sounds.
- OCTAV-MT (Multi-Turn): Roughly 25k dialogues involving multiple sound events, challenging the model to disambiguate user queries and maintain temporal context over several turns.
Key Results and Insights
OMCAT establishes a new state-of-the-art (SOTA) across several benchmarks, demonstrating the efficacy of absolute time modeling:
- AVQA: Achieved 90.2% accuracy, a significant improvement over Video LLaMA's 81.0%.
- Music-AVQA: Reached 73.8% in fine-tuned settings and 51.2% in zero-shot settings.
- OCTAV Benchmark: On the Youcook2 subset, OMCAT achieved 16.9% accuracy, whereas previous models like GroundingGPT reached only 1.2%.
Ablation studies confirmed that absolute time matters; using seconds (RoTE) instead of frame indices provides a substantial boost in accuracy. Furthermore, the use of synthetic data—injecting sounds at precise timestamps—proved highly effective for teaching the model cross-modal synergy, which successfully transferred to natural, "in-the-wild" videos.
Limitations and Future Work
Despite its success, OMCAT faces challenges in real-world complexity. Current training data uses non-overlapping sounds, whereas natural environments are often acoustically messy and ambiguous. Additionally, while RoTE improves temporal modeling, the reliance on a frame-based visual encoder (CLIP) suggests that a native video-based encoder capturing motion might further enhance performance. Finally, scaling this level of fine-grained reasoning to long-form video (minutes to hours) remains a primary objective for future research.
Summary updated