MetaSpatial: Reinforcing 3D Spatial Reasoning in VLMs for the Metaverse

Zhenyu Pan, Han Liu
3/24/2025
50 citations
cs.CVcs.AI
rl

Official code: PzySeere/MetaSpatial (321 stars, Python, Apache-2.0, last commit 2025-05-05).

Abstract

We present MetaSpatial, the first reinforcement learning (RL)-based framework designed to enhance 3D spatial reasoning in vision-language models (VLMs), enabling real-time 3D scene generation without the need for hard-coded optimizations. MetaSpatial addresses two core challenges: (i) the lack of internalized 3D spatial reasoning in VLMs, which limits their ability to generate realistic layouts, and (ii) the inefficiency of traditional supervised fine-tuning (SFT) for layout generation tasks, as perfect ground truth annotations are unavailable.

Show full abstract

Our key innovation is a multi-turn RL-based optimization mechanism that integrates physics-aware constraints and rendered image evaluations, ensuring generated 3D layouts are coherent, physically plausible, and aesthetically consistent. Methodologically, MetaSpatial introduces an adaptive, iterative reasoning process, where the VLM refines spatial arrangements over multiple turns by analyzing rendered outputs, improving scene coherence progressively. Empirical evaluations demonstrate that MetaSpatial significantly enhances the spatial consistency and formatting stability of various scale models. Post-training, object placements are more realistic, aligned, and functionally coherent, validating the effectiveness of RL for 3D spatial reasoning in metaverse, AR/VR, digital twins, and game development applications. Our code, data, and training pipeline are publicly available at https://github.com/PzySeere/MetaSpatial.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

MetaSpatial leverages reinforcement learning to enhance 3D spatial reasoning in vision-language models (VLMs), enabling more structured, realistic, and adaptive scene generation for applications in the metaverse, AR/VR, and game development.

32110Python, DockerfileMar 8, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{pan2025metaspatial,
  title  = {MetaSpatial: Reinforcing 3D Spatial Reasoning in VLMs for the Metaverse},
  author = {Zhenyu Pan and Han Liu},
  year   = {2025},
  eprint = {2503.18470},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.18470v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.18470.svg)](https://codeofpaper.com/paper/2503.18470)

Discussion