SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.09418 · 2024

VideoGPT+: Integrating Image and Video Encoders for Enhanced Video Understanding

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 8 functions out of this paper's own repositories and ran 6 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
mbzuai-oryx/videogpt-plus canonical 6 of 8
FunctionStatusWhere it lives
apply_adaptive_avg_pooling Ran mbzuai-oryx/videogpt-plus/videogpt_plus/model/arch.py
pointer only (licence: CC-BY-4.0) · get_code("3fc12acfa2e8e18e")
eval_string Ran mbzuai-oryx/videogpt-plus/videogpt_plus/model/internvideo/config.py
pointer only (licence: CC-BY-4.0) · get_code("c4af2e63b61c4766")
load_image_from_base64 Ran mbzuai-oryx/videogpt-plus/videogpt_plus/mm_utils.py
pointer only (licence: CC-BY-4.0) · get_code("c3ee9d07c900dd55")
merge_a_into_b Ran mbzuai-oryx/videogpt-plus/videogpt_plus/model/internvideo/config.py
pointer only (licence: CC-BY-4.0) · get_code("e41cae3b88c4eedd")
process_images Ran mbzuai-oryx/videogpt-plus/videogpt_plus/mm_utils.py
pointer only (licence: CC-BY-4.0) · get_code("1df990c375318896")
uniform_sample Ran mbzuai-oryx/videogpt-plus/videogpt_plus/model/dataloader.py
pointer only (licence: CC-BY-4.0) · get_code("75fecde3bc752044")
eval_dict_leaf Not yet run mbzuai-oryx/videogpt-plus/videogpt_plus/model/internvideo/config.py
pointer only (licence: CC-BY-4.0) · get_code("91bc1b8fd39b1a58")
load_pretrained_model Not yet run mbzuai-oryx/videogpt-plus/videogpt_plus/model/builder.py
pointer only (licence: CC-BY-4.0) · get_code("3816500f658b87d1")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Building on the advances of language models, Large Multimodal Models (LMMs) have contributed significant improvements in video understanding. While the current video LMMs utilize advanced Large Language Models (LLMs), they rely on either image or video encoders to process visual inputs, each of which has its own limitations. Image encoders excel at capturing rich spatial details from frame sequences but lack explicit temporal context, which can be important in videos with intricate action sequences. On the other hand, video encoders provide temporal context but are often limited by computational constraints that lead to processing only sparse frames at lower resolutions, resulting in reduced contextual and spatial understanding. To this end, we introduce VideoGPT+, which combines the complementary benefits of the image encoder (for detailed spatial understanding) and the video encoder (for global temporal context modeling). The model processes videos by dividing them into smaller segments and applies an adaptive pooling strategy on features extracted by both image and video encoders. Our architecture showcases improved performance across multiple video benchmarks, including VCGBench, MVBench and Zero-shot question-answering. Further, we develop 112K video-instruction set using a novel semi-automatic annotation pipeline which further improves the model performance. Additionally, to comprehensively evaluate video LMMs, we present VCGBench-Diverse, covering 18 broad video categories such as lifestyle, sports, science, gaming, and surveillance videos. This benchmark with 4,354 question-answer pairs evaluates the generalization of existing LMMs on dense video captioning, spatial and temporal understanding, and complex reasoning, ensuring comprehensive assessment across diverse video types and dynamics. Code: https://github.com/mbzuai-oryx/VideoGPT-plus.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.09418")
get_code_for_paper("2406.09418")
have("2406.09418")

Connect an agent — have() is free.