๐ŸŒ World2VLM: Distilling World Model Imagination into VLMs for Dynamic Spatial Reasoning

April 30, 2026 ยท View on GitHub

Paper Dataset Status

๐Ÿš€ Official repository for World2VLM, a framework that distills world model imagination into Vision-Language Models (VLMs) for dynamic spatial reasoning.


๐Ÿ“– Overview

World2VLM introduces a novel paradigm that leverages world models to generate imagined trajectories and distills them into VLMs for enhanced spatial understanding.

This repository contains the core codebase used in the paper, which is sufficient to reproduce the main experiments.
A fully complete version of the codebase (including additional engineering components) will be released soon.


โœจ Key Features

  • ๐ŸŒ World Model Simulation for trajectory generation
  • ๐ŸŽฏ Bidirectional Spatial Supervision (A1โ€“A4, D1โ€“D4 tasks)
  • ๐Ÿ”„ Two-stage Post-training Pipeline (SFT + GRPO)
  • ๐Ÿ“ฆ Modular and reproducible pipeline aligned with the paper

๐Ÿ”— Resources


๐Ÿงฉ Pipeline Overview

The repository follows the three-stage pipeline described in the paper:

  1. World Model Trajectory Generation
  2. Spatial Supervision Construction
  3. Post-training (SFT โ†’ GRPO)

๐Ÿ“ Repository Structure

code/
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ 01_world_model_trajectory_generation
โ”‚   โ”œโ”€โ”€ hy_worldplay
โ”‚   โ”‚   โ”œโ”€โ”€ hyvideo/
โ”‚   โ”‚   โ”œโ”€โ”€ motion_configs/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ simulate_datagen.yaml
โ”‚   โ”‚   โ””โ”€โ”€ run_hy_worldplay_scene_generation.sh
โ”‚   โ”œโ”€โ”€ svc_teacher
โ”‚   โ”‚   โ”œโ”€โ”€ config/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ default.yaml
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ simulate_camera.yaml
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ svc_teacher_generation.yaml
โ”‚   โ”‚   โ”œโ”€โ”€ datagen/
โ”‚   โ”‚   โ”œโ”€โ”€ run_svc_real_scene_generation.sh
โ”‚   โ”‚   โ””โ”€โ”€ run_svc_simulate_scene_generation.sh
โ”‚   โ””โ”€โ”€ tools
โ”‚       โ”œโ”€โ”€ build_manifest.py
โ”‚       โ””โ”€โ”€ export_hy_motion_plan.py
โ”œโ”€โ”€ 02_spatial_supervision_construction
โ”‚   โ”œโ”€โ”€ run_build_a1_a4_motion_supervision.sh
โ”‚   โ”œโ”€โ”€ run_build_d1_d4_object_supervision.sh
โ”‚   โ”œโ”€โ”€ svc_dataset_gen/
โ”‚   โ””โ”€โ”€ tools
โ”‚       โ”œโ”€โ”€ build_motion_tasks.py
โ”‚       โ”œโ”€โ”€ build_object_tasks.py
โ”‚       โ”œโ”€โ”€ cache_detector_tracks.py
โ”‚       โ””โ”€โ”€ package_worldvlm_data.py
โ””โ”€โ”€ 03_post_training
    โ”œโ”€โ”€ grpo_support
    โ”‚   โ”œโ”€โ”€ config.yaml
    โ”‚   โ””โ”€โ”€ prepare_grpo_data.py
    โ”œโ”€โ”€ reward
    โ”‚   โ””โ”€โ”€ worldvlm_reward.py
    โ”œโ”€โ”€ run_stage1_sft.sh
    โ””โ”€โ”€ run_stage2_grpo.sh

๐Ÿงช Stage 1: World Model Trajectory Generation

This stage generates multi-step camera trajectories and corresponding scene data using world models.

๐Ÿ”น Components

hy_worldplay/

  • Simulated trajectory generation using HY-WorldPlay
  • Includes motion configuration and runtime modules

svc_teacher/

  • Teacher pipeline for both real and simulated scenes
  • Handles:
    • trajectory construction
    • frame generation
    • scene serialization

tools/

  • Manifest building and motion plan conversion utilities

๐Ÿง  Stage 2: Spatial Supervision Construction

Transforms generated scenes into eight task types:

  • Motion-centric: A1โ€“A4
  • Object-centric: D1โ€“D4

๐Ÿ”น Key Scripts

  • run_build_a1_a4_motion_supervision.sh
  • run_build_d1_d4_object_supervision.sh

๐Ÿ”น Modules

svc_dataset_gen/

  • Prompt construction
  • Bounding box normalization
  • Detector integration
  • Task template generation

tools/

  • Task building utilities
  • Data packaging for training

๐Ÿ”ฅ Stage 3: Post-training

Implements the two-stage training pipeline:

๐Ÿฅ‡ Stage 1: SFT (Supervised Fine-Tuning)

run_stage1_sft.sh

๐Ÿฅˆ Stage 2: GRPO (Reinforcement Learning)

run_stage2_grpo.sh

๐Ÿ”น Additional Components

  • prepare_grpo_data.py โ€“ data preprocessing
  • config.yaml โ€“ GRPO configuration
  • worldvlm_reward.py โ€“ task-aware reward function

๐Ÿš€ Getting Started

โš ๏ธ This is a core release. Some engineering utilities and dependencies will be included in the full release.

  1. Clone the repository
git clone https://github.com/your-repo/world2vlm.git
cd world2vlm
  1. Prepare dataset

Download from: ๐Ÿ‘‰ https://huggingface.co/datasets/WanyueZhang/World2VLM

  1. Run pipeline

Follow the stages:

  • Stage 1 โ†’ trajectory generation
  • Stage 2 โ†’ supervision construction
  • Stage 3 โ†’ training

๐Ÿ“Œ Notes

  • โœ… This repo contains essential components for reproducing experiments
  • ๐Ÿ”œ Full codebase (training infrastructure, optimizations, etc.) coming soon
  • ๐Ÿงช Designed for research and reproducibility

๐Ÿ“œ Citation

If you find this work useful, please cite:

@misc{zhang2026world2vlmdistillingworldmodel,
      title={World2VLM: Distilling World Model Imagination into VLMs for Dynamic Spatial Reasoning}, 
      author={Wanyue Zhang and Wenxiang Wu and Wang Xu and Jiaxin Luo and Helu Zhi and Yibin Huang and Shuo Ren and Zitao Liu and Jiajun Zhang},
      year={2026},
      eprint={2604.26934},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2604.26934}, 
}

๐Ÿค Acknowledgements

We thank the open-source community and prior work on:

  • World Models ๐ŸŒ
  • Vision-Language Models ๐Ÿ‘๏ธ๐Ÿ—ฃ๏ธ
  • Embodied AI & Spatial Reasoning ๐Ÿงญ

โญ Star This Repo

If you find this project helpful, consider giving it a โญ to support our work!