Command Palette
Search for a command to run...
Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understanding
Hang Zhang; Xin Li; Lidong Bing

Abstract
We present Video-LLaMA a multi-modal framework that empowers Large Language Models (LLMs) with the capability of understanding both visual and auditory content in the video. Video-LLaMA bootstraps cross-modal training from the frozen pre-trained visual and audio encoders and the frozen LLMs. Unlike previous works that complement LLMs to process the visual or audio signals only, Video-LLaMA enables video comprehension by tackling two challenges: (1) capturing the temporal changes in visual scenes, (2) integrating audio-visual signals. To counter the first challenge, we propose a Video Q-former to assemble a pre-trained image encoder into our video encoder and introduce a video-to-text generation task to learn video-language correspondence. For the second challenge, we leverage ImageBind, a universal embedding model aligning multiple modalities, as the pre-trained audio encoder and introduce an Audio Q-former on top of ImageBind to learn reasonable auditory query embeddings for the LLM module. To align the output of both visual and audio encoders with LLM's embedding space, we first train Video-LLaMA on massive video/image-caption pairs and then tune our model with visual-instruction datasets of moderate amount but higher quality. We found Video-LLaMA shows the ability to perceive and comprehend video content and generate meaningful responses grounded in the visual and auditory information presented in the videos.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| video-based-generative-performance | Video LLaMA | Consistency: 1.79 Contextual Understanding: 2.16 Correctness of Information: 1.96 Detail Orientation: 2.18 Temporal Understanding: 1.82 mean: 1.98 |
| video-based-generative-performance-1 | Video LLaMA | gpt-score: 1.96 |
| video-based-generative-performance-2 | Video LLaMA | gpt-score: 1.79 |
| video-based-generative-performance-3 | Video LLaMA | gpt-score: 2.16 |
| video-based-generative-performance-4 | Video LLaMA | gpt-score: 2.18 |
| video-based-generative-performance-5 | Video LLaMA | gpt-score: 1.82 |
| video-question-answering-on-mvbench | VideoLLaMA | Avg.: 34.1 |
| video-text-retrieval-on-test-of-time | Video-LLAMA | 2-Class Accuracy: 88.33 |
| zeroshot-video-question-answer-on-activitynet | Video LLaMA | Accuracy: 12.4 Confidence Score: 1.1 |
| zeroshot-video-question-answer-on-msrvtt-qa | Video LLaMA-7B | Accuracy: 29.6 Confidence Score: 1.8 |
| zeroshot-video-question-answer-on-msvd-qa | Video LLaMA-7B | Accuracy: 51.6 Confidence Score: 2.5 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.