Interpolating Video-LLMs: Toward Longer-sequence LMMs in a Training-free Manner

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Shang, Yuzhang, Xu, Bingxin, Kang, Weitai, Cai, Mu, Li, Yuheng, Wen, Zehao, Dong, Zhen, Keutzer, Kurt, Lee, Yong Jae, Yan, Yan
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912054916415488
author Shang, Yuzhang
Xu, Bingxin
Kang, Weitai
Cai, Mu
Li, Yuheng
Wen, Zehao
Dong, Zhen
Keutzer, Kurt
Lee, Yong Jae
Yan, Yan
author_facet Shang, Yuzhang
Xu, Bingxin
Kang, Weitai
Cai, Mu
Li, Yuheng
Wen, Zehao
Dong, Zhen
Keutzer, Kurt
Lee, Yong Jae
Yan, Yan
contents Advancements in Large Language Models (LLMs) inspire various strategies for integrating video modalities. A key approach is Video-LLMs, which incorporate an optimizable interface linking sophisticated video encoders to LLMs. However, due to computation and data limitations, these Video-LLMs are typically pre-trained to process only short videos, limiting their broader application for understanding longer video content. Additionally, fine-tuning Video-LLMs to handle longer videos is cost-prohibitive. Consequently, it becomes essential to explore the interpolation of Video-LLMs under a completely training-free setting. In this paper, we first identify the primary challenges in interpolating Video-LLMs: (1) the video encoder and modality alignment projector are fixed, preventing the integration of additional frames into Video-LLMs, and (2) the LLM backbone is limited in its content length capabilities, which complicates the processing of an increased number of video tokens. To address these challenges, we propose a specific INTerPolation method for Video-LLMs (INTP-Video-LLMs). We introduce an alternative video token rearrangement technique that circumvents limitations imposed by the fixed video encoder and alignment projector. Furthermore, we introduce a training-free LLM context window extension method to enable Video-LLMs to understand a correspondingly increased number of visual tokens.
format Preprint
id arxiv_https___arxiv_org_abs_2409_12963
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Interpolating Video-LLMs: Toward Longer-sequence LMMs in a Training-free Manner
Shang, Yuzhang
Xu, Bingxin
Kang, Weitai
Cai, Mu
Li, Yuheng
Wen, Zehao
Dong, Zhen
Keutzer, Kurt
Lee, Yong Jae
Yan, Yan
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
Advancements in Large Language Models (LLMs) inspire various strategies for integrating video modalities. A key approach is Video-LLMs, which incorporate an optimizable interface linking sophisticated video encoders to LLMs. However, due to computation and data limitations, these Video-LLMs are typically pre-trained to process only short videos, limiting their broader application for understanding longer video content. Additionally, fine-tuning Video-LLMs to handle longer videos is cost-prohibitive. Consequently, it becomes essential to explore the interpolation of Video-LLMs under a completely training-free setting. In this paper, we first identify the primary challenges in interpolating Video-LLMs: (1) the video encoder and modality alignment projector are fixed, preventing the integration of additional frames into Video-LLMs, and (2) the LLM backbone is limited in its content length capabilities, which complicates the processing of an increased number of video tokens. To address these challenges, we propose a specific INTerPolation method for Video-LLMs (INTP-Video-LLMs). We introduce an alternative video token rearrangement technique that circumvents limitations imposed by the fixed video encoder and alignment projector. Furthermore, we introduce a training-free LLM context window extension method to enable Video-LLMs to understand a correspondingly increased number of visual tokens.
title Interpolating Video-LLMs: Toward Longer-sequence LMMs in a Training-free Manner
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2409.12963