2025-03-16 19:20:37 +08:00
V8
2025-03-16 18:33:41 +08:00
v14
2025-03-16 19:20:37 +08:00

skywork-r1v

Table of Contents

  1. Introduction
  2. Model Summary
  3. Model Downloads
  4. Evaluation Results
  5. Chat Website & API Platform
  6. How to Run Locally
  7. License
  8. Citation
  9. Contact

1. Introduction

We introduce Skywork-R1V, a multimodal reasoning model that extends the R1-series text models to visual modalities through a near-lossless transfer method. Using a lightweight visual projector, Skywork-R1V enables seamless multimodal adaptation without requiring retraining of either the base language model or vision encoder. To enhance visual-text alignment, we developed a hybrid optimization strategy combining Iterative Supervised Fine-Tuning (SFT) with Group Relative Policy Optimization (GRPO), significantly improving cross-modal integration. Additionally, we created an adaptive-length Chain-of-Thought distillation approach for generating reasoning data, which dynamically optimizes reasoning chain lengths to improve inference efficiency and prevent overthinking. The model achieves state-of-the-art performance on key multimodal reasoning benchmarks, scoring 68.1 on MMMU and 71.0 on MathVista, comparable to leading closed-source models like Gemini 2.0 and Kimi-k1.5. It also maintains strong textual reasoning capabilities, achieving impressive scores of 72.6 on AIME and 94.3 on MATH500.

2. Model Summary

Architecture:

Skywork-R1V employs a modular architecture that efficiently combines vision and language capabilities:

  • Vision Encoder: Uses Vision Transformer (ViT) as the visual backbone to process image inputs.
  • Visual Projector: A lightweight MLP (multilayer perceptron) adapter that serves as the bridge between the vision and language components.
  • Language Model: Utilizes R1-distilled-Qwen-32B as the reasoning-capable language model backbone.

The model follows a connection pattern of Vision Encoder → MLP Adapter → Language Model, where the MLP adapter aligns the output space of the vision encoder with the input space of the language model. This design allows for efficient transfer of reasoning capabilities from text to multimodal domains without requiring extensive retraining of either the vision encoder or language model.

Methodology

Efficient Multimodal Transfer of Reasoning-Capable LLMs: A staged alignment approach that efficiently transfers reasoning capabilities from text to vision by first connecting a vision encoder to a substitute LLM before transferring to the reasoning-capable LLM, preserving reasoning abilities while minimizing data requirements.

  • The MLP adapter is first trained to align the ViT with a substitute LLM (Qwen-32B-Instruct) using 2M samples of SFT data, while keeping both the vision encoder and language model frozen.
  • The trained MLP is then transferred to connect the ViT with the reasoning-capable LLM (R1-distilled-Qwen-32B).
  • Fine-tuning only the MLP parameters while keeping the vision encoder and language model frozen, ensuring preservation of reasoning capabilities while effectively aligning visual and textual representations.

Hybrid Optimization Framework: A multi-stage training strategy combining iterative supervised fine-tuning with reinforcement learning that progressively improves model performance through error correction and reward-based optimization.

  • Initial supervised fine-tuning (SFT) using the complete dataset.
  • Iterative training with customized data. A reward model evaluates data quality and selects high-scoring samples.
  • Reinforcement learning using Group Relative Policy Optimization (GRPO) with a rule-based reward system (accuracy and format rewards) to enhance generalizability.

Adaptive-Length Chain-of-Thought Distillation: The model uses Adaptive-Length Chain-of-Thought Distillation (AL-CoTD) to generate high-quality reasoning-oriented training data

  • Evaluates image-text pairs through vision and text scoring.
  • Determines required depth of cross-modal integration.
  • Adaptively regulates reasoning chain length based on query complexity.
  • Progressive refinement of reasoning processes with external evaluation and correction when needed.

3. Model Downloads

Model #Total Params Download
skywork-r1v 38B 🤗 Hugging Face

4. Evaluation Results

skywork_r1v_eval
Evaluation results of state-of-the-art LLMs and VLMs
Vision Reasoning Vision
MATH-500 AIME 2024 GPQA MathVista(mini) MMMU(Val) CSVQA
pass@1 pass@1 pass@1 pass@1 pass@1 pass@1
Qwen2.5-72B-Instruct ❌ 82.6 23.3 49.0 - - -
Deepseek V3 ❌ 90.2 39.2 59.1 - - -
Deepseek R1 ❌ 97.3 79.8 71.5 - - -
Claude 3.5 Sonnet ✅ 78.3 16.0 65.0 67.7 68.3 -
GPT-4o ✅ 76.6 9.3 53.6 63.8 69.1 -
Kimi k1.5 ✅ 96.2 77.5 - 74.9 70.0 -
Qwen2.5-VL-72B-Instruct ✅ - - - 74.8 70.2 -
LLaVA-Onevision-72B ✅ - - - 67.5 56.8 -
InternVL2-Llama3-76B ✅ - - - 65.5 58.3 -
InternVL2.5-78B ✅ - - - 72.3 70.1 -
Skywork-R1V-38B ✅ 94.0 72.0 61.6 71.0 68.1 XXX
Comparison with Larger-Scale Open-Source and Closed-Source Models
Benchmark LLM VLM
QwQ-32B-Preview InternVL-2.5-38B VILA 1.5-40B InternVL2-40B Skywork-R1V-38B
Reasoning MATH-500 90.6 - - - 94.0
AIME 2024 50.0 - - - 72.0
GPQA 65.2 - - - 61.6
Vision MathVista(mini) - 71.9 49.5 63.7 71.0
MMMU(Val) - 63.9 55.1 55.2 68.1
CSVQA -

5. How to Run Locally

cd inference
python fp8_cast_bf16.py --input-fp8-hf-path /path/to/fp8_weights --output-bf16-hf-path /path/to/bf16_weights
#### Model Weights & Demo Code Preparation

First, clone our skywork-r1v GitHub repository:

```shell
git clone https://github.com/SkyworkAI/Skywork-R1V.git

Navigate to the inference folder and install dependencies listed in requirements.txt. Easiest way is to use a package manager like conda or uv to create a new virtual environment and install the dependencies.

cd skywork-r1v/inference
pip install -r requirements.txt

Download the model weights from Hugging Face, and put them into /path/to/skywork-r1v folder.

Run

Then you can chat with skywork-r1v:

torchrun --nnodes 2 --nproc-per-node 8 --node-rank $RANK --master-addr $ADDR generate.py --ckpt-path /path/to/DeepSeek-V3-Demo --config configs/config_671B.json --interactive --temperature 0.7 --max-new-tokens 200

Or batch inference on a given file:

torchrun --nnodes 2 --nproc-per-node 8 --node-rank $RANK --master-addr $ADDR generate.py --ckpt-path /path/to/DeepSeek-V3-Demo --config configs/config_671B.json --input-file $FILE

6. License

This code repository is licensed under the MIT License. ✅ Commercial use permitted

✅ Modification allowed

✅ Distribution allowed

❌ No liability

7. Citation

If you use Skywork-R1V in your research, please cite:

@article{skywork2025r1v,
  title     = {Skywork-R1V: Bridging Vision and Language for Advanced Multimodal Reasoning},
  author    = {Skywork VL Team},
  year      = {2025},
  journal   = {arXiv preprint arXiv:XXXX.XXXXX},
  url       = {https://github.com/skywork-ai/Skywork-R1V}
}
S
Description
Skywork-R1V is an advanced multimodal AI model series developed by Skywork AI (Kunlun Inc.), specializing in vision-language reasoning.
Readme MIT
73 MiB
0 Stars 1 Watchers 0 Forks
Languages
Python 99.1%
Jupyter Notebook 0.6%
Shell 0.2%