Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understanding

Hang Zhang, Xin Li, Lidong Bing
6/5/2023
2,106 citations
cs.CLcs.CVcs.SD

Official code: DAMO-NLP-SG/Video-LLaMA (3,139 stars, Python, BSD-3-Clause, last commit 2024-06-04). 1 more implementation below.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
DAMO-NLP-SG/Video-LLaMAOfficial3,139PythonBSD-3-Clause2024-06-04
Swamy12S/Video-LLaMA-An-Instruction-tuned-Audio-Visual-Language-Model-for-Video-UnderstandingCommunity1PythonBSD-3-Clause2025-12-20
BSD-3-Clause

[EMNLP 2023 Demo] Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understanding

3,139283PythonMay 6, 20232 years agoBSD-3-Clause
blip2cross-modal-pretraininglarge-language-modelsllamaminigpt4+3 more
BSD-3-Clause
10PythonDec 20, 202511 months agoBSD-3-Clause

Similar Papers

Cite this paper

@article{zhang2023videollama,
  title  = {Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understanding},
  author = {Hang Zhang and Xin Li and Lidong Bing},
  year   = {2023},
  eprint = {2306.02858},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.02858v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.02858.svg)](https://codeofpaper.com/paper/2306.02858)

Discussion