ST-LLM: Large Language Models Are Effective Temporal Learners

Ruyang Liu, Chen Li, Haoran Tang, Yixiao Ge, Ying Shan, Ge Li

arXiv:2404.00308 · 2026-07-27 공개 · arXiv · PDF

video-understanding video-llm spatial-temporal video-dialogue st-llm dynamic-masking videochatgpt-bench mvbench

Abstract

Large Language Models (LLMs) have showcased impressive capabilities in text comprehension and generation, prompting research efforts towards video LLMs to facilitate human-AI interaction at the video level. However, how to effectively encode and understand videos in video-based dialogue systems remains to be solved. In this paper, we investigate a straightforward yet unexplored question: Can we feed all spatial-temporal tokens into the LLM, thus delegating the task of video sequence modeling to the LLMs? Surprisingly, this simple approach yields significant improvements in video understanding. Based upon this, we propose ST-LLM, an effective video-LLM baseline with Spatial-Temporal sequence modeling inside LLM. Furthermore, to address the overhead and stability issues introduced by uncompressed video tokens within LLMs, we develop a dynamic masking strategy with tailor-made training objectives. For particularly long videos, we have also designed a global-local input module to balance efficiency and effectiveness. Consequently, we harness LLM for proficient spatial-temporal modeling, while upholding efficiency and stability. Extensive experimental results attest to the effectiveness of our method. Through a more concise model and training pipeline, ST-LLM establishes a new state-of-the-art result on VideoChatGPT-Bench and MVBench. Codes have been available at https://github.com/TencentARC/ST-LLM.

한국어 요약

한 줄 요약

ST-LLM은 LLM 내부에서 공간-시간 토큰을 처리함으로써 동영상 대화 시스템 성능을 향상시키는 새로운 비디오-LLM 기반 모델이다.

핵심 기여도

핵심 아이디어

기존 비디오 LLM은 시간 정보를 처리하기 위해 별도의 모듈을 추가하거나 다단계 사전 학습을 요구했지만, ST-LLM은 LLM 자체의 강력한 시퀀스 모델링 능력을 활용해 공간-시간 토큰을 직접 처리하는 새로운 접근법을 제안한다. 이는 기존 방법에서 요구되는 복잡한 구조와 추가적인 학습 비용을 줄이는 동시에, 시간 정보를 효과적으로 이해할 수 있는 가능성을 열어준다. 핵심 통찰은 LLM이 이미 텍스트 시퀀스를 효과적으로 처리할 수 있으므로, 동영상 토큰을 그대로 LLM에 입력하면 시간 정보를 자연스럽게 학습할 수 있다는 점이다. 이를 위해 동적 마스킹 전략과 글로벌-로컬 입력 모듈을 도입하여, 특히 긴 동영상 처리 시에도 안정성과 효율성을 유지하도록 설계되었다.

기술적 접근법

주요 결과

의의 및 한계

ST-LLM은 기존 비디오 LLM이 요구하는 복잡한 구조와 추가 학습 없이도 뛰어난 성능을 보여주며, LLM 기반 비디오 모델링의 새로운 패러다임을 제시한다. 특히, 동적 마스킹과 글로벌-로컬 입력 모듈은 효율성과 안정성을 동시에 달성하는 데 기여하며, 산업적 활용 가능성도 높아 보인다. 그러나, 모든 토큰을 LLM에 입력하는 방식은 메모리 사용량이 증가할 수 있으며, 매우 긴 동영상의 처리에는 여전히 한계가 있을 수 있다. 또한, 훈련 데이터셋의 다양성과 품질이 모델 성능에 큰 영향을 미친다는 점도 한계로 지적된다.

실용적 활용

ST-LLM은 동영상 기반 대화 시스템, 자동 요약, 비디오 QA 등 다양한 산업 분야에서 활용 가능하다. 특히, 별도의 복잡한 모듈 없이 기존 이미지 대화 모델을 활용할 수 있어, 비용 효율적인 비디오 모델링이 필요한 연구 및 개발 환경에 적합하다.