GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - AMAP-ML/UniVG-R1: UniVG-R1: Reasoning Guided Universal Visual Grounding with Reinforcement Learning

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
eval
eval
 
 
figs
figs
 
 
sft
sft
 
 
src/open-r1-multimodal
src/open-r1-multimodal
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
demo.py
demo.py
 
 
setup.sh
setup.sh
 
 

Repository files navigation

UniVG-R1: Reasoning Guided Universal Visual Grounding with Reinforcement Learning

image


Sule Bai1,2, Mingxing Li2, Yong Liu1, Jing Tang2, Haoji Zhang1, Lei Sun2, Xiangxiang Chu2, Yansong Tang1
1Tsinghua University 2ALibaba Group

πŸ“– Overview

  1. We propose UniVG-R1, a reasoning guided MLLM for universal visual grounding, which employs GRPO with a cold-start initialization to effectively enhance reasoning capabilities across multimodal contexts.
  2. A high-quality CoT dataset is introduced, encompassing diverse tasks, each meticulously annotated with detailed reasoning chains to facilitate advanced reasoning-based grounding.
  3. We identify a difficulty bias in GRPO training, and propose a difficulty-aware weight adjustment strategy. Experiments validate that GRPO equipped with this strategy consistently enhance the model performance.
  4. Extensive experiments demonstrate that our model achieves state-of-the-art performance across multiple grounding benchmarks, showcasing its versatility and generalizability.
image

πŸ”₯ Demo

We provide an online demo on πŸ€—Huggingface for convenience.

If you want to test locally, you can use the demo.py.

πŸ› οΈ Installation

Our code is based on VLM-R1, please follow their instrcutions to set up the environment.

conda create -n univg-r1 python=3.10
conda activate univg-r1
bash setup.sh

πŸ’ͺ🏻 Training

πŸ“š Stage 1 CoT-SFT

  1. Download the Stage 1 CoT-SFT Data and the MGrounding-630k dataset.
  2. We use the LLaMA-Factory for supervised fine-tuning. Please follow their instructions to set up the environment.
llamafactory-cli train sft/stage1_cotsft.yaml

πŸ“š Stage 2 GRPO

  1. Download the Stage 2 RL Data and the MGrounding-630k dataset.
bash src/open-r1-multimodal/run_scripts/run_grpo_univg.sh

πŸ“Š Evaluation

  • For evaluation on the MIG-Bench, please follow their instructions to set up the environment. And we provide the UniVG-R1 scripts in the eval folder. Please replace them in the Migician codebase.
  • For zero-shot evaluation, please first download original data, including LISA, LLMSeg, ReVOS, ReasonVOS. Then download our extracted bounding box annotations here.

πŸ“ˆ Results

image
Performance on the MIG-Bench.

image
Zero-shot performance on several reasoning grounding benchmarks.

🌹 Acknowledgement

Our work is primarily based on Migician, VLM-R1, Visual-RFT, LLaMA-Factory, lmms-eval. We are sincerely grateful for their excellent works.

πŸ“š Citation

If you find our paper and code helpful for your research, please consider starring our repository ⭐ and citing our work ✏️.

@article{bai2025univg,
  title={UniVG-R1: Reasoning Guided Universal Visual Grounding with Reinforcement Learning},
  author={Bai, Sule and Li, Mingxing and Liu, Yong and Tang, Jing and Zhang, Haoji and Sun, Lei and Chu, Xiangxiang and Tang, Yansong},
  journal={arXiv preprint arXiv:2505.14231},
  year={2025}
}

About

UniVG-R1: Reasoning Guided Universal Visual Grounding with Reinforcement Learning

amap-ml.github.io/UniVG-R1-page/

Resources

Readme
Activity
Custom properties

Stars

170 stars

Watchers

9 watching

Forks

7 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.