Self-Alignment of Large Video Language Models with Refined Regularized Preference Optimization

September 19, 2025 ยท View on GitHub

:star: :star: NeurIPS 2025 :star: :star:

Authors: Pritam Sarkar and Ali Etemad

This repository provides the official implementation of RRPO.

Installation

Clone the repository and navigate to the RRPO directory:

git clone https://github.com/pritamqu/RRPO
cd RRPO

This repository supports three Large Video Language Models (LVLMs), each with its own dependency requirements:

Example: Setting up LLaVA-Video

Follow similar steps for other models.

conda create -n llava python=3.10 -y
conda activate llava
pip install -r llavavideo.txt

Models

The self-aligned LVLMs trained with the RRPO loss are released on Hugging Face. While these models were trained using LoRA, we also provide their merged weights to allow for direct use in evaluation and inference tools.

ModelLoRAMerged Weights (noqa)
VideoChat2_stage3_Mistral_7B-RRPO-16fpritamqu/VideoChat2_stage3_Mistral_7B-RRPO-16f-LORA-
LLaVA-Video-7B-Qwen2-RRPO-16fpritamqu/LLaVA-Video-7B-Qwen2-RRPO-16f-LORApritamqu/LLaVA-Video-7B-Qwen2-RRPO-16f
LLaVA-Video-7B-Qwen2-RRPO-32fpritamqu/LLaVA-Video-7B-Qwen2-RRPO-32f-LORApritamqu/LLaVA-Video-7B-Qwen2-RRPO-32f
LongVU_Qwen2_7B-RRPO-16fpritamqu/LongVU_Qwen2_7B-RRPO-16f-LORApritamqu/LongVU_Qwen2_7B-RRPO-16f

You can download weights as:

git clone git@hf.co:pritamqu/LLaVA-Video-7B-Qwen2-RRPO-32f-LORA

Dataset

Our training data is released here Self-Alignment Dataset. We release the preferred and non-preferred responses used in self-alignment training.

git clone git@hf.co:datasets/pritamqu/self-alignment

The related videos can be downloaded from their original sources. Please check VideoChat-IT GitHub page regarding the details of downloading the source videos.

We also share additional details on how to use your own data here.

Training

Before training, make sure to prepare the data and download the weights of the base models. Then you can launch the training jobs as:

VideoChat2

bash scripts/videochat2/run.sh

LLaVA-Video

bash scripts/llavavideo/run.sh

LongVU

bash scripts/longvu/run.sh

The link to the base model weights are:

Inference

We provide a simple setup to inference using our trained model.

VideoChat2

bash scripts/inference_videochat2.sh

LLaVA-Video

bash scripts/inference_llavavideo.sh

LongVU

bash scripts/inference_longvu.sh

Results

RRPO shows consistent improvements over the base model and outperforms DPO across all benchmarks.

Models#FTV BenchTemp CompassVideo HallucerVid HallucMV BenchVideo MMEMLVULongVideo Bench
VideoChat21644.059.323.173.360.241.046.440.4
VideoChat2 + DPO1645.760.022.172.459.643.047.441.0
VideoChat2 + RRPO1645.860.232.976.459.044.347.942.8
LLaVA-Video6451.066.050.076.661.164.068.660.1
LLaVA-Video + DPO6451.966.453.376.560.663.167.459.4
LLaVA-Video + RRPO6451.966.855.776.562.264.569.160.4
LLaVA-Video + RRPO (32f)6452.267.455.876.662.164.569.460.1
LongVU1fps53.763.939.267.365.556.263.648.6
LongVU + DPO1fps54.364.340.968.565.956.663.649.4
LongVU + RRPO1fps56.564.544.071.766.857.764.549.7

Evaluation

You can download evaluation benchmarks from the given links:

Next, you can run the entire evaluations following the instructions provided here.

Citation

If you find this work useful, please consider citing our paper:

@article{sarkar2025rrpo,
  title={Self-alignment of Large Video Language Models with Refined Regularized Preference Optimization},
  author={Sarkar, Pritam and Etemad, Ali},
  journal={arXiv preprint arXiv:2504.12083},
  year={2025}
}

Usage and License Notices

This project incorporates datasets and model checkpoints that are subject to their respective original licenses. Users must adhere to the terms and conditions specified by these licenses. The assets used in this work include, but are not limited to: VideoChat2-IT, VideoChat2_stage3_Mistral_7B, LLaVA-Video-7B-Qwen2, LongVU_Qwen2_7B. This project does not impose any additional constraints beyond those stipulated in the original licenses. Users must ensure their usage complies with all applicable laws and regulations. This repository is released under the Apache 2.0 License. See LICENSE for details.


For any issues or questions, please open an issue or contact Pritam Sarkar at pritam.sarkar@queensu.ca!