Awesome
<p align="center"> <a href="#"> <img src="./assets/logo.png" alt="Alt text for the image" alt="Logo" width="130"></a> <h1 align="center"><font color="#00003d">Artemis</font></h1> </p>Our work has been accepted by NeurIPS2024!
<h3>Artemis: Towards Referential Understanding in Complex Videos </h3>Abstract
Videos carry rich visual information including object description, action, interaction, etc., but the existing multimodal large language models (MLLMs) fell short in referential understanding scenarios such as video-based referring. In this paper, we present Artemis, an MLLM that pushes video-based referential understanding to a finer level. Given a video, Artemis receives a natural-language question with a bounding box in any video frame and describes the referred target in the entire video. The key to achieving this goal lies in extracting compact, target-specific video features, where we set a solid baseline by tracking and selecting spatiotemporal features from the video. We train Artemis on the newly established VideoRef45K dataset with 45K video-QA pairs and design a computationally efficient, three-stage training procedure. Results are promising both quantitatively and qualitatively. Additionally, we show that Artemis can be integrated with video grounding and text summarization tools to understand more complex scenarios.
Overview
<p align="center"> <img src="./assets/architecture.png" width="80%"></a> <br> The architecture detail of the Artemis model. </p>Install
- Clone this repository and navigate to Artemis folder
git clone https://github.com/NeurIPS24Artemis/Artemis.git
cd Artemis
- Install Packages
conda create -n artemis python=3.11
conda activate artemis
pip install --upgrade pip # enable PEP 660 support
pip install -e .
pip install -e ".[train]"
pip install flash-attn --no-build-isolation
pip install decord opencv-python
pip install torch-kmeans
pip install pycocoevalcap
# cuda 11.7
cd mmcv-1.4.7/
MMCV_WITH_OPS=1 pip install -e .
Model
The model base and lora model can be downloaded from Baidu Disk
Training & Validating
The training & validating instruction is in TRAIN_AND_VALIDATE.md.
Acknowledgment
This project is based on Video LLaVA (paper, code), LLaVA (paper, code), GPT4RoI (paper, code), Video-ChatGPT(paper, code), thanks for their excellent works.
Citation
If you find Artemis useful for your your research and applications, please cite using this BibTeX:
@misc{qiu2024artemis,
title={Artemis: Towards Referential Understanding in Complex Videos},
author={Jihao Qiu and Yuan Zhang and Xi Tang and Lingxi Xie and Tianren Ma and Pengyu Yan and David Doermann and Qixiang Ye and Yunjie Tian},
year={2024},
eprint={2406.00258},
archivePrefix={arXiv},
primaryClass={cs.CV}
}