Description: Deeply Stacking Visual Tokens is Surprisingly Effective for LMMs
deeply stacking visual tokens is surprisingly effective for lmms (1)
🔥 [NEW!] SliMM is out! We propose a simple but strong LMM baseline with dynamic visual resolution. SliMM is built upon Qwen2-VL and DeepStack with LLaVA-style training. Check out our new repo and checkpoints!
Most large multimodal models (LMMs) are implemented by feeding visual tokens as a sequence into the first layer of a large language model (LLM). The resulting architecture is simple but significantly increases computation and memory costs, as it has to handle a large number of additional tokens in its input layer. This paper presents a new architecture DeepStack for LMMs. Considering N layers in the language and vision transformer of LMMs, we stack the visual tokens into N groups and feed each group to its
The framework of DeepStack is quite simple: the main innovation lies in the DeepStack strategy that infuses visual tokens into different layers. Left: DeepStack for LLMs. Given an input image, we feed the tokens extracted from the low-resolution version to the input layer of LLM. Considering the 2D nature of images, we extra the neighbors from the high-resolution version and reorganize them into DeepStack , which are then fed to the consequent layers in LLMs. Right: DeepStack for ViTs. We apply similar samp