Empowering LLMs with Pseudo-Untrimmed Videos for Audio-Visual Temporal Understanding

Yunlong Tang, Daiki Shimada, Jing Bi, Mingqian Feng, Hang Hua, Chenliang Xu

TL;DR

This paper introduces PU-VALOR, a novel dataset of pseudo-untrimmed audio-visual videos with precise temporal annotations, to address the scarcity of such data for training large language models (LLMs). They also present AVicuna, an LLM fine-tuned on this dataset, which achieves state-of-the-art performance in audio-visual temporal understanding tasks like video QA and event localization.

What Problem Does This Paper Address?

Large Language Models (LLMs) have shown impressive capabilities in understanding various modalities, but their temporal understanding in videos, especially audio-visual ones, remains a challenge. This is largely due to a lack of large-scale datasets with fine-grained temporal annotations for audio-visual events in untrimmed videos. Existing datasets are often trimmed or lack precise timestamp information, hindering LLMs from learning the crucial alignment between temporal cues, audio-visual events, and textual descriptions. This limitation prevents them from accurately localizing events within videos and understanding dynamic, multimodal content.

Methods

The authors propose a two-pronged approach:

  1. PU-VALOR Dataset Creation:
    • They start with the existing VALOR-32K dataset, which contains trimmed audio-visual videos with captions.
  2. Caption Embedding and Clustering: Captions are embedded using a text encoder, and these embeddings are clustered to group videos with semantically similar events.
  3. Random Temporal Scaling & Permutation: Within each cluster, they randomly scale the duration of selected video clips and then shuffle and concatenate them to create "pseudo-untrimmed" videos. This process is designed to generate a large volume of diverse, temporally coherent untrimmed video segments.
  4. Template-Based Annotation: A template is used to assign precise temporal intervals to the generated pseudo-untrimmed videos, aligning them with the original captions.
  5. AVicuna Model Architecture and Fine-tuning:
    • Multimodal Encoders: They use CLIP for visual encoding and CLAP for audio encoding to extract feature embeddings.
  6. Connective Adapters: MLPs are used to align the visual and audio embeddings to the LLM's token space.
  7. Audio-Visual Token Interleaver (AVTI): This novel component interleaves audio and video tokens, maintaining their temporal order and synchronizing them for the LLM. The Audio-Interleaving Rate (AIR) controls the balance between audio and video.
  8. Multi-stage Fine-tuning: AVicuna undergoes a four-stage fine-tuning process:
  9. Stage I & II (Multimodal-Text Alignment): Aligning vision-text and audio-text using large datasets like LCS-558K and A5-222K.
  10. Stage III (Time-Event Alignment): Fine-tuning with PU-VALOR data to learn the relationship between temporal intervals and events. This stage uses LoRA for efficient fine-tuning.
  11. Stage IV (Instruction Tuning): Further fine-tuning on various instruction-following datasets to improve general instruction-following capabilities and mitigate potential negative effects from previous stages.

Datasets

  • VALOR-32K: The source dataset for creating PU-VALOR. It provides trimmed audio-visual videos with captions.
  • PU-VALOR (Proposed): A new dataset comprising over 114,000 pseudo-untrimmed audio-visual videos with detailed temporal annotations.
  • LCS-558K: Used for Vision-Text Alignment.
  • A5-222K: A comprehensive audio-text dataset (compiled from AudioSet, AudioCap, and Auto-ACD) used for Audio-Text Alignment.
  • InternVid: Used for enriching visual event alignment training.
  • UnAV-100, ActivityNet Captions, DiDeMo, VideoInstruct100K: Used for Instruction Tuning.

Key Insights and Ideas

  • Pseudo-Untrimmed Videos as a Solution: The paper demonstrates that synthesizing pseudo-untrimmed videos with temporal annotations is a viable and scalable approach to overcome the data scarcity in this domain.
  • Importance of Temporal Synchronization: The AVTI module and the Time-Event Alignment stage highlight the critical need for explicit mechanisms to synchronize audio and visual temporal information for LLMs.
  • Audio-Visual Integration Enhances Understanding: AVicuna's performance across various tasks, especially those requiring nuanced temporal understanding, underscores the benefit of integrating audio cues with visual information.
  • Negative Response Capability: The qualitative analysis shows AVicuna can correctly provide negative responses ("NO"), a challenging task for many existing models.

Key Results

  • State-of-the-Art Performance: AVicuna achieves state-of-the-art results on Audio-Visual Event Dense Localization (AVEDL) on the UnAV-100 dataset, with an average mAP of 60.3.
  • Superior Video QA and AVQA: AVicuna outperforms existing LLM-based models on general Video QA (MSVD-QA, MSRVTT-QA, ActivityNet-QA) and AVQA (AVSD, MUSIC-AVQA) benchmarks, despite using a smaller LLM (7B parameters) and fewer training pairs (1.1M) compared to some baselines.
  • Ablation Study Findings:
    • Removing PU-VALOR dataset leads to a significant drop in performance (from 60.3 to 27.9 mAP), emphasizing its crucial role.
  • Excluding audio inputs also drastically reduces accuracy, highlighting the value of the multimodal approach.
  • Optimal performance for Audio-Interleaving Rate (AIR) is around 25-30%, suggesting a sweet spot for audio-visual integration.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that the PU-VALOR dataset is synthesized, meaning it might not perfectly capture the nuances of real-world untrimmed videos.
  • While AVicuna shows strong performance, the ablation study indicates that further improvements are possible by optimizing components like the AVTI and the AIR.
  • Future Work:
    • The authors suggest that their approach to generating pseudo-untrimmed videos could theoretically lead to an unlimited number of untrimmed videos, implying potential for further dataset expansion.
  • The success of AVicuna in temporal understanding opens avenues for exploring more complex audio-visual reasoning tasks and applications.

Summary updated

BibTeX
@inproceedings{tang2025empowering,
  author = {Yunlong Tang and Daiki Shimada and Jing Bi and Mingqian Feng and Hang Hua and Chenliang Xu},
  title = {{Empowering LLMs with Pseudo-Untrimmed Videos for Audio-Visual Temporal Understanding}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i7.32784},
}
Figure