CoolFace
Modelpublic

UniVRBD/UniVR-34B-General

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes14downloads
Model Card

UniVR: Thinking in Visual Space for Unified Visual Reasoning

<p align="center"> <img src="asset/Fig1_v1.png" alt="UniVR Overview" width="95%"> </p>

<p align="center"> <a href="https://maverickren.github.io/UniVR.github.io/">🌐 Project Page</a> &nbsp;|&nbsp; <a href="#">πŸ“„ Paper</a> &nbsp;|&nbsp; <a href="https://github.com/MaverickRen/UniVR">πŸ’» Code</a> &nbsp;|&nbsp; <a href="https://huggingface.co/datasets/maverickrzw/VR-X-SFT-RL">πŸ“¦ VR-X Dataset</a> </p>


Model Summary

UniVR is the first framework that simultaneously learns complex reasoning, fine-grained physical dynamics, and long-term planning from pure visual demonstrations β€” without relying on dense image-text pairs or task-specific heuristics.

Built on Emu3.5 (34B), UniVR uses a unified next-token prediction objective to directly generate visual reasoning traces given an image and instruction. Training employs a two-stage pipeline: supervised cold initialization on the VR-X dataset, followed by VR-GRPO reinforcement learning with complementary global and step-focal rewards.

FeatureDetail
ArchitectureEmu3.5 34B (VQ-VAE unified generative model)
TrainingSFT (310k samples) β†’ VR-GRPO RL (3k samples)
Visual ThinkingNative visual-space reasoning, no intermediate text chain
BenchmarkVR-X: 16 sources, 6 task categories, 1.8k evaluation samples

Available Checkpoints

ModelDescriptionLink
UniVR-34B-PlanningOptimized for long-horizon planning tasks (robotic manipulation, tool use, multi-step control)maverickrzw/UniVR-34B-Planning
UniVR-34B-GeneralFull UniVR recipe with interleaved image-text data; suitable for general visual reasoningmaverickrzw/UniVR-34B-General

Key Results

VR-X Benchmark

UniVR achieves up to 25% improvement over the Emu3.5 baseline and approaches Gemini 3 Pro + Nano Banana 2 with only 34B parameters.

MethodVisual ThinkingGuidanceRobotEditingSpatialPuzzleSearchOverall↑
Gemini-3-pro + Nano Banana 2βœ—66.267.163.755.165.579.066.1
GPT-5 + GPT-image-1.5βœ—68.264.158.049.364.077.463.5
Emu3.5 34Bβœ—38.642.832.735.343.446.239.8
UniVR 34Bβœ“59.568.048.546.562.264.358.2
Ξ” v.s. Emu3.5↑20.9↑25.2↑15.8↑11.2↑18.8↑18.1↑18.4

Multimodal Understanding

Enhanced visual reasoning also boosts standard multimodal benchmarks β€” no degradation of the base model's capabilities.

MethodMMMUMME(P)MME(C)MMBenchMathVistaMM-Vet
Emu 3.50.292781.1324.60.18341.728.0
UniVR0.337799.3338.50.19844.035.6
Ξ” v.s. Emu3.5↑0.045↑18.2↑13.9↑0.015↑2.3↑7.6

Quick Start

Installation

bash
git clone https://github.com/MaverickRen/UniVR.git
cd UniVR
bash install.sh

Inference

bash
cd UniVR_SFT

# Download checkpoint
huggingface-cli download maverickrzw/UniVR-34B-Planning --local-dir weights/UniVR-34B-Planning

# Download VisionTokenizer
huggingface-cli download BAAI/Emu3.5-VisionTokenizer --local-dir weights/Emu3.5-VisionTokenizer

# Run inference
bash scripts/inference.sh

Configure configs/config.py to set model paths and prompts:

python
{
    "prompt": "Tie the red rope around the white gift box. Finish this task in 3 steps.",
    "reference_image": "path/to/first_frame.jpg",
}

Training

SFT (Cold Initialization):

bash
cd UniVR_SFT
# LoRA (2 nodes Γ— 8 GPUs)
bash scripts/train_sft_lora.sh
# Full parameter (4 nodes Γ— 8 GPUs)
bash scripts/train_sft_full.sh

RL (VR-GRPO):

bash
cd UniVR_RL
bash examples/emu3_grpo_lora.sh

Method: VR-GRPO

UniVR proposes VR-GRPO (Visual Reasoning GRPO), a reinforcement learning paradigm that combines:

  • β€”Global Reward (R_g): A VLM evaluator assesses overall task completion and visual quality via pairwise comparison.
  • β€”Step-Focal Reward (R_s): Identifies the most error-prone sub-steps by computing inter-trajectory CLIP-feature variance across rollout samples, then applies fine-grained VLM evaluation on critical windows.
  • β€”Combined Reward: R_reason = R_g βˆ’ Ξ»|R_g βˆ’ R_s|, enforcing both terminal correctness and procedural integrity.

This design prevents reward hacking in long-horizon tasks where global-only rewards overlook intermediate physical violations and logical gaps.


Sample Outputs

<table> <tr> <td align="center"><b>Tie a Knot</b></td> <td align="center"><b>Hang Clothes</b></td> <td align="center"><b>Draw</b></td> </tr> <tr> <td><img src="asset/tierope02.jpg" width="250"/></td> <td><img src="asset/hangclothes03.jpg" width="250"/></td> <td><img src="asset/Draw.png" width="250"/></td> </tr> </table>


Training Data

UniVR is trained on VR-X, a large-scale benchmark curated from 1.5M raw samples across 16 diverse sources:

CategorySourcesExamples
Visual GuidanceEgoDex, Action100M, Epic-Kitchen, VideoCraftBenchCooking, handcrafting, daily activities
Robot ManipulationAgiBot, Droid, Bridge, ZebraCoT-RobotRobotic grasping, tool use, multi-step control
EditingZebraCoT-MultiobjectObject manipulation, scene editing
Spatial PerceptionThinkMorph-Navigation, ZebraCoT-EmbodimentNavigation, spatial reasoning
Visual SearchVisualCoT, ThinkMorph-SearchObject localization, attention
Puzzle & GameVRBench, Zebra-Jigsaw, ThinkMorph-VisPuzzleMazes, jigsaw, visual puzzles

Download: maverickrzw/VR-X-SFT-RL


Citation

bibtex
@article{ren2026univr,
  title={UniVR: Thinking in Visual Space for Unified Visual Reasoning},
  author={Zhongwei Ren and Yunchao Wei and Zhao Yao and Guixun Luo and Yao Zhao and Weibo Gong and Xiao Liu and Anran Wang and Xiangtai Li and Xiaojie Jin},
  year={2026},
}

License

This project is released under the Apache 2.0 License.

Acknowledgements

UniVR is built upon Emu3.5 and verl. We thank the authors for their excellent open-source contributions.