SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.07798 · 2024

FreeVA: Offline MLLM as Training-Free Video Assistant

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 9 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
whwu95/freeva canonical 6 of 9
FunctionStatusWhere it lives
divide_to_patches Ran whwu95/freeva/llava/mm_utils.py
code served (permissive licence) · get_code("7e03b180fa317c9a")
get_chunk Ran whwu95/freeva/llava/eval/run_inference_benchmark_consistency.py
code served (permissive licence) · get_code("42a46570620cd9fa")
resize_and_pad_image Ran whwu95/freeva/llava/mm_utils.py
code served (permissive licence) · get_code("468eedeba67f1b00")
select_best_resolution Ran whwu95/freeva/llava/mm_utils.py
code served (permissive licence) · get_code("3999ff487573f32c")
split_list Ran whwu95/freeva/llava/eval/run_inference_benchmark_consistency.py
code served (permissive licence) · get_code("076c252c52cbb161")
unpad_image Ran whwu95/freeva/llava/model/llava_arch.py
code served (permissive licence) · get_code("7606525af238fb64")
get_seq_frames Not yet run whwu95/freeva/llava/eval/model_utils.py
code served (permissive licence) · get_code("5764189adab1c8ff")
pretty_print_semaphore Not yet run whwu95/freeva/llava/utils.py
code served (permissive licence) · get_code("37899f22fb191b37")
violates_moderation Not yet run whwu95/freeva/llava/utils.py
code served (permissive licence) · get_code("f9939a84b9a65279")

Repositories linked to this paper

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

Abstract

This paper undertakes an empirical study to revisit the latest advancements in Multimodal Large Language Models (MLLMs): Video Assistant. This study, namely FreeVA, aims to extend existing image-based MLLM to the video domain in a training-free manner. The study provides an essential, yet must-know baseline, and reveals several surprising findings: 1) FreeVA, leveraging only offline image-based MLLM without additional training, excels in zero-shot video question-answering (e.g., MSVD-QA, ActivityNet-QA, and MSRVTT-QA), even surpassing state-of-the-art methods that involve video instruction tuning. 2) While mainstream video-based MLLMs typically initialize with an image-based MLLM (e.g., LLaVA) and then fine-tune using video instruction tuning, the study indicates that utilizing the widely adopted VideoInstruct-100K for video instruction tuning doesn't actually lead to better performance compared to not training at all. 3) The commonly used evaluation metrics in existing works are significantly influenced by changes in the GPT API version over time. If ignored, this could affect the fairness and uniformity of comparisons between different methods and impact the analysis and judgment of researchers in the field. The advancement of MLLMs is currently thriving, drawing numerous researchers into the field. We aim for this work to serve as a plug-and-play, simple yet effective baseline, encouraging the direct evaluation of existing MLLMs in video domain while also standardizing the field of video conversational models to a certain extent. Also, we encourage researchers to reconsider: Have current video MLLM methods truly acquired knowledge beyond image MLLM? Code is available at https://github.com/whwu95/FreeVA

For agents

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

get_harvested_code_for_paper("2405.07798")
get_code_for_paper("2405.07798")
have("2405.07798")

Connect an agent — have() is free.