Abstract
Large language models (LLMs) have demonstrated remarkable capabilities in natural language and multimodal domains. By fine-tuning multimodal LLMs with temporal annotations from well-annotated datasets, e.g., dense video captioning datasets, their temporal understanding capacity in video-language tasks can be obtained. However, there is a notable lack of untrimmed audio-visual video datasets with precise temporal annotations for events. This deficiency hinders LLMs from learning the alignment between time, audio-visual events, and text tokens, thus impairing their ability to temporally localize audio-visual events in videos. To address this gap, we introduce PU-VALOR, a comprehensive audio-visual dataset comprising over 114,000 pseudo-untrimmed videos with detailed temporal annotations. PU-VALOR is derived from the large-scale but coarse-annotated audio-visual dataset VALOR, through a subtle method involving event-based video clustering, random temporal scaling, and permutation. By fine-tuning a multimodal LLM on PU-VALOR, we developed AVicuna, a model capable of aligning audio-visual events with temporal intervals and corresponding text tokens. AVicuna excels in temporal localization and time-aware dialogue capabilities. Our experiments demonstrate that AVicuna effectively handles temporal understanding in audio-visual videos and achieves state-of-the-art performance on open-ended video QA, audio-visual QA, and audio-visual event dense localization tasks.
Introduction
While Multimodal Large Language Models (MLLMs) have become adept at describing static images and short video clips, they often struggle with "untrimmed" videos—long, continuous recordings containing multiple, distinct events. Most existing training datasets consist of short, "trimmed" clips, which prevents models from learning the boundaries between events or synchronizing auditory cues with visual ones. This research addresses two primary challenges: the scarcity of precisely annotated untrimmed audio-visual data and the difficulty of fusing audio and video tokens to preserve their temporal relationships.
The PU-VALOR Dataset Pipeline
To overcome the data bottleneck, the researchers developed PU-VALOR (Pseudo-Untrimmed VALOR), a synthetic dataset of over 114,000 video-caption pairs. Instead of manual annotation, the pipeline "stitches" high-quality trimmed clips from the VALOR-32K dataset into longer, complex sequences.
- Clustering: Text embeddings of captions group semantically similar clips (e.g., various clips of trains).
- Scaling & Permutation: Clip durations are randomly scaled and their order shuffled to create varied "pseudo-untrimmed" videos.
- Automatic Annotation: Since the original clip lengths and order are known, the system automatically generates perfect ground-truth timestamp annotations for the resulting long-form video.
The AVicuna Model Architecture
AVicuna is built upon a Vicuna-7B backbone, enhanced with a specialized Audio-Visual Token Interleaver (AVTI). Unlike models that append audio tokens after video tokens, the AVTI systematically interleaves them. This ensures that for every temporal segment, the LLM receives synchronized visual and auditory information.
The model undergoes a Four-Stage Fine-Tuning process:
- Stage I & II: Image-text and audio-text alignment.
- Stage III: Time-Event Alignment using the PU-VALOR dataset to teach temporal localization.
- Stage IV: General instruction tuning for conversational capabilities.
Key Results and Insights
AVicuna achieves state-of-the-art (SOTA) performance across several benchmarks:
- Temporal Localization: On the UnAV-100 benchmark for Audio-Visual Event Dense Localization (AVEDL), AVicuna achieved a mean Average Precision (mAP) of 60.3, far exceeding previous LLM-based models like Video-LLaMA (12.4).
- Audio-Visual QA: It set new records on AVSD (53.1) and MUSIC-QA (49.6), demonstrating that superior temporal understanding directly translates to better general reasoning.
- Interleaving Rate: The study found that an Audio-Interleaving Rate (AIR) of approximately 25% is optimal; too much audio data can confuse the model, while too little degrades synchronization.
Conclusion and Future Work
AVicuna proves that synthetic "pseudo-untrimmed" data is a powerful tool for teaching models about temporal boundaries. While the model excels at knowing when events occur, future work will focus on improving spatial comprehension (knowing where in the frame an event happens) and increasing temporal resolution for ultra-long video sequences.
Summary updated