LayoutVLM: Differentiable Optimization of 3D Layout via Vision-Language Models

Fan-Yun Sun, Weiyu Liu, Siyi Gu, Dylan Lim, Goutam Bhat, Federico Tombari, Manling Li, Nick Haber, Jiajun Wu

Abstract

LayoutVLM is a novel framework designed to generate physically plausible and semantically accurate 3D scene layouts from natural language instructions. By integrating a Vision-Language Model's (VLM) initial numerical predictions with differentiable spatial constraints and a "self-consistent" filtering process, the system produces complex, high-fidelity scenes that avoid common pitfalls such as object collisions or out-of-bounds placements.

Introduction

Generating a 3D scene from a descriptive sentence like "create a central reading area surrounded by bookcases" presents a significant challenge for current AI systems. Existing approaches typically fall into two categories: numerical prediction and constraint satisfaction. Numerical systems, often powered by Large Language Models (LLMs), frequently "hallucinate" physics, leading to overlapping objects or floating furniture. Conversely, logic-based constraint systems often fail to find valid solutions for dense or nuanced scenes. LayoutVLM addresses this gap in "spatial common sense" by treating layout generation as a differentiable optimization problem.

Methodology

LayoutVLM bridges the gap between semantic understanding and geometric precision through a three-stage process:

Visual Prompting and Dual Representation

To help the VLM (e.g., GPT-4o) interpret 3D space from 2D renders, the framework employs "visual marks." These overlay a 3D coordinate grid and directional arrows onto images, allowing the model to reason about depth and orientation. The VLM then generates a dual output: a set of initial numerical poses (rough guesses) and a corresponding set of code-like spatial relations (e.g., solver.align_with(side_table, bed)).

Visual prompting with coordinate marks and the resulting dual representation of poses and constraints.

Self-Consistent Decoding and Optimization

A key innovation is "Self-Consistent Decoding." Since VLMs may suggest constraints they do not follow in their numerical guesses, LayoutVLM filters out contradictory relations. Only constraints roughly satisfied by the initial guess are retained. Finally, the system uses Projected Gradient Descent (PGD) to refine the layout, minimizing a loss function that balances semantic alignment with physical constraints, such as preventing object overlaps using 3D Intersection-over-Union (IoU) loss.

Key Results and Insights

LayoutVLM demonstrates a significant leap in performance over state-of-the-art methods like LayoutGPT and Holodeck. On the "Physically-Grounded Semantic Alignment" (PSA) metric—which evaluates both physical feasibility and instruction following—LayoutVLM improved scores by 40.8 points over the best baseline.

Comparison of LayoutVLM against baselines LayoutGPT and Holodeck, highlighting physical and semantic validity.

The system's success stems from the synergy between numerical intuition and rule-based refinement. While baselines often struggle with dense scenes like classrooms or restaurants, LayoutVLM maintains high "Collision-Free" and "In-Boundary" scores. Furthermore, the researchers found that fine-tuning smaller, open-source models (like LLaVA) on this dual representation allows them to achieve high-quality 3D layout capabilities.

Conclusion and Future Work

While LayoutVLM sets a new standard for 3D layout generation, it remains sensitive to the quality of the initial VLM guess. Extremely poor initializations can occasionally hinder the optimization process. Future research will explore scaling the framework to entire buildings or dynamic environments where agents must interact with and move objects to achieve desired configurations.

Summary updated

BibTeX
@inproceedings{sun2025layoutvlm,
  author = {Fan-Yun Sun and Weiyu Liu and Siyi Gu and Dylan Lim and Goutam Bhat and Federico Tombari and Manling Li and Nick Haber and Jiajun Wu},
  title = {{LayoutVLM: Differentiable Optimization of 3D Layout via Vision-Language Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02744},
}
Figure