This model is obtained by cold-starting TinyLLaVA-Video with 16 manually annotated samples from the NextQA dataset. It serves as the base model for TinyLLaVA-Video-R1.
The 16 manually annotated samples used for cold-starting have been released here.
TinyLLaVA-Video-R1
Xingjian Zhang1*,
Siwei Wen1,2*,
Wenjun Wu1,2,3,
Lei Huang1,2,3,β
1SKLCCSE, Institute of Artificial Intelligence, Beihang University, Beijing, China
2Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing, Beihang University,
3Hangzhou International Innovation Institute, Beihang University, Hangzhou, China
Xingjian Zhang1*, Siwei Wen1,2*, Wenjun Wu1,2,3, Lei Huang1,2,3,β
1SKLCCSE, Institute of Artificial Intelligence, Beihang University, Beijing, China
2Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing, Beihang University,
3Hangzhou International Innovation Institute, Beihang University, Hangzhou, China
π° News
- [2025-04] π Our arXiv paper TinyLLaVA-Video-R1: Towards Smaller LMMs for Video Reasoning is released!
- [2025-04] π Our TinyLLaVA-Video-R1 repository is released!
About
TinyLLaVA-Video-R1 is a small-scale video reasoning model built upon the fully open-source TinyLLaVA-Video framework. Designed for researchers with limited computational resources, it leverages reinforcement learning to enhance reasoning abilities while maintaining a model size under 4B parameters. TinyLLaVA-Video-R1 demonstrates improved video question-answering performance and reflective reasoning behaviors ("aha moments"). The model and training process are fully traceable, ensuring reproducibility and reliability. This repository provides the model, code, and experimental setups for easy replication.

π οΈ Installation
- Clone this repository and navigate to the folder
git clone https://github.com/ZhangXJ199/TinyLLaVA-Video-R1.git
cd TinyLLaVA-Video-R1
- Create a conda environment, activate it and install Packages
conda create -n tinyllava_video python=3.10 -y
conda activate tinyllava_video
pip install --upgrade pip # enable PEP 660 support
pip install -e .
- Install additional packages
pip install flash-attn --no-build-isolation
Upgrade to the latest code base
git pull
pip install -e .
π Usage
Trained Model
The model we provided after training: TinyLLaVA-Video-R1
1. Data Preparation
We select multiple choice questions from the NextQA subset of LLaVA-Video-178K as training data. To maintain manageable training time with limited computational resources, we only choose the subset of data with a duration of 0 to 30 seconds, which contains 5,496 samples. The training data can be downloaded from here.
Organize Data
Organize the files and annotation files as follows in path/to/your/dataset
:
dataset
βββ NextQA
β βββ NExTVideo
βββ nextqa_0-30s.jsonl
βββ nextqa-coldstart-16.json
2. Train
1. Cold Start
Option1: You can directly download TinyLLaVA-Video-ColdStart.
Option2: You can train the model yourself:
Replace data paths and model paths with yours in scripts/train/train_qwen2_coldstart.sh
bash scripts/train/train_qwen2_coldstart.sh
2. GRPO Training
Replace data paths and output_dir with yours in scripts/train/train_qwen2_reason_nextqa.sh
bash scripts/train/train_qwen2_reason_nextqa.sh
3. Evaluation
We currently provide evaluations on 4 benchmarks, including Video-MME, MVBench, MLVU, MMVU.
Video-MME
- Download Video-MME and put it under
path/to/your/dataset/eval/Video-MME
. - Please change
MODEL_PATH
,MODEL_NAME
,EVAL_DIR
,conv-mode
andduration
inscripts/eval/videomme.sh
. There are three types ofduration
available for testing:short
,medium
, andlong
. - Please use the following command for single-gpu inference.
CUDA_VISIBLE_DEVICES=0 bash scripts/eval/videomme.sh
MVBench
- Download MVBench and put it under
path/to/your/dataset/eval/MVBench
. - Please change
MODEL_PATH
,MODEL_NAME
,EVAL_DIR
andconv-mode
inscripts/eval/mvbench.sh
. - Please use the following command for single-gpu inference.
CUDA_VISIBLE_DEVICES=0 bash scripts/eval/mvbench.sh
MLVU
- Download MLVU and put it under
path/to/your/dataset/eval/MLVU
. - Please change
MODEL_PATH
,MODEL_NAME
,EVAL_DIR
andconv-mode
inscripts/eval/mlvu.sh
. - Please use the following command for single-gpu inference.
CUDA_VISIBLE_DEVICES=0 bash scripts/eval/mlvu.sh
MMVU
- Download MMVU and put it under
path/to/your/dataset/eval/MMVU
. - Please change
MODEL_PATH
,MODEL_NAME
,EVAL_DIR
andconv-mode
inscripts/eval/mmvu.sh
. - Please use the following command for single-gpu inference.
CUDA_VISIBLE_DEVICES=0 bash scripts/eval/mmvu.sh
Quick Inference Scripts
- Please change
model_path
,prompt
andvideo_file
ineval.py
. - Please use the following command for single-gpu inference.
CUDA_VISIBLE_DEVICES=0 python eval.py
π Results
The performance of TinyLLaVA-Video-R1 on multiple benchmarks. "Option" indicates that the model only needs to answer with the selected choice, while "Reason" means the model must output both the answer and the reasoning process according to the format requirements. Here, MMVU is categorized as a video reasoning benchmark, the remaining benchmarks are designed for general-purpose video evaluation. The best results are indicated by boldface.

The performance of TinyLLaVA-Video-R1 is significantly higher than TinyLLaVA-Video-ColdStart, especially in benchmarks that test reasoning abilities such as MMVU. Moreover, it outperforms TinyLLaVA-Video-SFT across all benchmarks, highlighting the effectiveness of the reinforcement learning approach employed.
Aha Moment
TinyLLaVA-Video-R1 exhibits "aha moments" where it revisits and refines its initial reasoning. As shown in the image below, the model self-corrects by evaluating different options and improving its responses, which enhances accuracy and interpretability. This reflective behavior distinguishes it from traditional models, offering greater transparency in the reasoning process.

π Citation
If you find our work interesting and helpful, please consider giving our repo a star. Additionally, if you would like to cite our work, please use the following format:
@misc{zhang2025tinyllavavideor1smallerlmmsvideo,
title={TinyLLaVA-Video-R1: Towards Smaller LMMs for Video Reasoning},
author={Xingjian Zhang and Siwei Wen and Wenjun Wu and Lei Huang},
year={2025},
eprint={2504.09641},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2504.09641},
}
π¨ Contact
If you have any questions or suggestions, please feel free to contact us at [email protected]
.
β€οΈ Community efforts
- This repository is based on TinyLLaVA-Video project.
- The implementation of the GRPO algorithm refers to the open-r1-multimodal project. Great work!
- Downloads last month
- 2