LLaMA-VID: An Image is Worth 2 Tokens in Large Language Models

By Yanwei Li, Chengyao Wang, Jiaya Jia. European Conference on Computer Vision, 2023

647 citations recorded by the source corpus.

In this work, we present a novel method to tackle the token generation challenge in Vision Language Models (VLMs) for video and image understanding, called LLaMA-VID. Current VLMs, while proficient in tasks like image captioning and visual question answering, face computational burdens when processing long videos due to the excessive visual tokens. LLaMA-VID addresses this issue by representing each frame with two distinct tokens, namely context token and content token. The context token encodes the overall image context based on user input, whereas the content token encapsulates visual cues in each frame. This dual-token strategy significantly reduces the overload of long videos while preserving critical information. Generally, LLaMA-VID empowers existing frameworks to support hour-long videos and pushes their upper limit with an extra context token. It is proved to surpass previous methods on most of video- or image-based benchmarks. Code is available https://github.com/dvlab-research/LLaMA-VID}{https://github.com/dvlab-research/LLaMA-VID

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

View Paper: https://www.semanticscholar.org/paper/486c2df78cbb770a90a55f7fa3fe19102fba2c24

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Hongsheng Li
  2. Yu Liu
  3. Guanglu Song
  4. Yuhang Zang
  5. Shengju Qian
  6. Zhuofan Zong
  7. Dahua Lin
  8. Hao Shao

In Computer Vision and Pattern Recognition

  1. Hongsheng Li
  2. Yu Liu
  3. Guanglu Song
  4. Xiaogang Wang
  5. Dahua Lin
  6. Dacheng Tao
  7. Luc Van Gool
  8. Yuhang Zang

Citations in the corpus