Awesome
Video-3D LLM: Learning Position-Aware Video Representation for 3D Scene Understanding
<div align="center" margin-bottom="3em"> <a href="https://arxiv.org/abs/2412.00493" target="_blank"> <img src="https://img.shields.io/badge/Video--3D_LLM-ArXiv-red" alt="Paper arXiv"></a> <a href="https://huggingface.co/datasets/zd11024/Video-3D-LLM_data" target="_blank"> <img src="https://img.shields.io/badge/Video--3D_LLM-data-blue" alt="Paper arXiv"></a> </div> <div align="center" margin-bottom="3em"> <a target="_blank" href="https://github.com/zd11024">Duo Zheng<sup>*</sup></a>, <a target="_blank" href="https://sega-hsj.github.io/">Shijia Huang<sup>*</sup></a> and <a target="_blank" href="https://lwwangcse.github.io/">Liwei Wang<sup>‡</sup></a> <br> <strong> The Chinese University of Hong Kong<br> </strong> <br> <p style="font-size: 12px;"><sup>*</sup>Equal contribution. <sup>‡</sup> Corresponding author.</p> </div> <p align="center"> <img src="assets/video3dllm.png" width="95%"><br> </p> The rapid advancement of Multimodal Large Language Models (MLLMs) has significantly impacted various multimodal tasks. However, these models face challenges in tasks that require spatial understanding within 3D environments. Efforts to enhance MLLMs, such as incorporating point cloud features, have been made, yet a considerable gap remains between the models' learned representations and the inherent complexity of 3D scenes. This discrepancy largely stems from the training of MLLMs on predominantly 2D data, which restricts their effectiveness in comprehending 3D spaces. To address this issue, in this paper, we propose a novel generalist model, i.e., Video-3D LLM, for 3D scene understanding. By treating 3D scenes as dynamic videos and incorporating 3D position encoding into these representations, our Video-3D LLM aligns video representations with real-world spatial contexts more accurately. Additionally, we have implemented a maximum coverage sampling technique to optimize the balance between computational costs and performance efficiency. Extensive experiments demonstrate that our model achieves state-of-the-art performance on several 3D scene understanding benchmarks, including ScanRefer, Multi3DRefer, Scan2Cap, ScanQA, and SQA3D.
News
- [2024-12-11] We release the processed data of Video-3D LLM.
- [2024-12-3] We release the paper of Video-3D LLM.
TODO List
- [x] Release the training code.
- [x] Release the evaluation script.
- [x] Release the processed data.
- [ ] Release the model checkpoint.
Installation
- Clone this repository and navigate to the Video-3D-LLM:
git clone https://github.com/LaVi-Lab/Video-3D-LLM.git
cd Video-3D-LLM
- Create the conda environment:
conda create -n video3dllm python=3.10 -y
conda activate video3dllm
pip install --upgrade pip # Enable PEP 660 support.
pip install -e ".[train]"
pip install flash-attn --no-build-isolation # install flash attention
Data Preparation
For data preparation, please refer to this instruction for detail.
Acknowledgements
We would like to thank the following works for their contributions to the opensourced codebase and community!
- LLaVA-Next: the codebase our codebase is built upon.
- LLaVA-3D, LEO, EmbodiedScan: We refer to these works for the data processing and evaluation setup.
- ScanNet, ScanRefer, Multi3DRefer, SQA3D, ScanQA: the datasets we use.
Citation
If you find our Video-3D LLM useful for your research, please consider giving this repository a star and citing our paper as follows:
@misc{zheng2024video3dllmlearningpositionaware,
title={Video-3D LLM: Learning Position-Aware Video Representation for 3D Scene Understanding},
author={Duo Zheng and Shijia Huang and Liwei Wang},
year={2024},
eprint={2412.00493},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2412.00493},
}