ST-LLM: Large Language Models Are Effective Temporal Learners

30 Mar 2024  ยท  Ruyang Liu, Chen Li, Haoran Tang, Yixiao Ge, Ying Shan, Ge Li ยท

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.

PDF Abstract
Task Dataset Model Metric Name Metric Value Global Rank Benchmark
Zero-Shot Video Question Answer ActivityNet-QA ST-LLM Confidence Score 3.3 # 5
Accuracy 50.9 # 3
Zero-Shot Video Question Answer MSRVTT-QA ST-LLM Accuracy 63.2 # 4
Confidence Score 3.4 # 5
Zero-Shot Video Question Answer MSVD-QA ST-LLM Accuracy 74.6 # 5
Confidence Score 3.9 # 3
Video Question Answering MVBench ST-LLM Avg. 54.9 # 2
Video-based Generative Performance Benchmarking (Contextual Understanding) VideoInstruct ST-LLM gpt-score 3.74 # 2
Video-based Generative Performance Benchmarking (Temporal Understanding) VideoInstruct ST-LLM gpt-score 2.93 # 1
Video-based Generative Performance Benchmarking (Detail Orientation)) VideoInstruct ST-LLM gpt-score 3.05 # 3
Video-based Generative Performance Benchmarking (Correctness of Information) VideoInstruct ST-LLM gpt-score 3.23 # 2
Video-based Generative Performance Benchmarking VideoInstruct ST-LLM Correctness of Information 3.23 # 3
Detail Orientation 3.05 # 4
Contextual Understanding 3.74 # 2
Temporal Understanding 2.93 # 1
Consistency 2.81 # 5
mean 3.15 # 3
Video-based Generative Performance Benchmarking (Consistency) VideoInstruct ST-LLM gpt-score 2.81 # 2

Methods


No methods listed for this paper. Add relevant methods here