EditRoom: LLM-parameterized Graph Diffusion for Composable 3D Room Layout Editing

Kaizhi Zheng, Xiaotong Chen, Xuehai He, Jing Gu, Linjie Li, Zhengyuan Yang, Kevin Lin, Jianfeng Wang, Lijuan Wang, Xin Eric Wang

TL;DR

EditRoom is a new framework that allows users to edit 3D room layouts using simple natural language commands. By combining the high-level reasoning of Large Language Models (LLMs) with the generative precision of graph diffusion models, it can automatically execute complex, multi-step layout changes—like adding, removing, or repositioning furniture—without any manual intervention.

What Problem Does This Paper Address?

Editing 3D scenes is traditionally a painstaking process requiring specialized software (like Blender) and significant technical expertise. While recent AI research has made strides in "language-guided" editing, most existing tools are limited in two major ways:

  1. Scope: They often focus on changing the appearance of objects (e.g., "make the sofa blue") rather than the layout (e.g., "move the sofa to the corner and add a coffee table").
  2. Autonomy: Many systems still require "manual masking" or human intervention to select which object to change and how to change it.

The authors identify a gap: we lack a unified system that can understand a complex human request, plan the necessary steps, and then accurately modify the 3D geometry and spatial relationships of a scene.

Methods

EditRoom splits the problem into two main modules: the Command Parameterizer and the Scene Editor.

EditRoom Overview

1. Command Parameterizer (The Planner)

The system uses GPT-4o to act as a bridge between human language and machine actions. It takes a natural language prompt (e.g., "I want to remove the side tables to make room for a larger sofa") and breaks it down into a sequence of six atomic "breakdown commands": Add, Remove, Replace, Translate, Rotate, and Scale.

2. Scene Editor (The Executor)

The execution is handled by a Graph Diffusion Model. Instead of treating the room as a collection of pixels or points, EditRoom treats it as a semantic graph where nodes are objects and edges are spatial relationships (e.g., "left of," "in front of").

Scene Editor Architecture

The editing happens in two stages:

  • Target Graph Diffusion: Generates a new semantic graph based on the source scene and the LLM's plan. It determines what objects should exist and how they relate to each other.
  • Target Layout Diffusion: Takes that graph and predicts the exact 3D coordinates, rotations, and scales for every object, ensuring the final layout is coherent and realistic.

Datasets

A major hurdle for this research was the lack of training data. To solve this, the authors created EditRoom-DB:

  • Source Data: Built upon the 3D-FRONT dataset (16k indoor designs).
  • Scale: Contains 83,000 editing pairs across three room types (bedroom, dining room, living room).
  • Generation Pipeline: They developed an automated pipeline that randomly applies edits to scenes, checks for collisions, and then uses LLaVA-1.6 and GPT-4o to "back-translate" those edits into natural language descriptions. This creates a massive library of "Before Scene + Command = After Scene" examples.

Key Insights and Ideas

  • Graphs are better than Grids: By representing the room as a graph rather than a raw 3D volume, the model can focus on the relationships between objects. This makes it much easier to maintain common-sense constraints (like a nightstand staying next to a bed).
  • Zero-Shot Generalization: One of the most impressive findings is that even though the model was trained primarily on single-operation edits, it successfully generalizes to multi-operation commands (e.g., "Change the bed to a wooden one AND add a wardrobe"). The LLM handles the "decomposition" of the task, and the diffusion model handles the "composition" of the final scene.
  • LLM as a Spatial Reasoner: The paper demonstrates that LLMs are surprisingly good at translating vague spatial terms (like "symmetric" or "closer to the corner") into specific object-relative instructions that a generative model can follow.

Key Results

EditRoom was tested against two baselines: DiffuScene-N (a modified version of a state-of-the-art scene generator) and SceneEditor-N.

  • Quantitative Success: EditRoom outperformed baselines across all metrics. For example, in bedroom layout editing, it achieved an IOU (Intersection over Union) of 0.7342, significantly higher than the baselines (~0.62–0.70).
  • Visual Coherence: Qualitative results show that EditRoom is much better at avoiding "hallucinated" objects or nonsensical placements compared to previous methods.
  • Ablation Studies: The authors found that using a smaller, more focused text encoder (CLIP-ViT-B32) actually performed better than larger ones, likely because the smaller encoder's features were easier for the diffusion model to align with the limited 3D data.

Limitations and Future Work

  • LLM Dependency: The system is only as smart as the LLM. If GPT-4o misinterprets a spatial relationship or suggests an impossible move (like moving a bed 100 meters away), the scene editor may produce errors.
  • Collision Handling: While the training data is "collision-free," the model doesn't have an explicit physical engine. It relies on the diffusion process to "learn" that objects shouldn't overlap, which isn't 100% foolproof.
  • Complex Geometry: The current system focuses on layout (placing existing 3D assets). Future work could involve more granular editing of the 3D meshes themselves.

Summary updated

BibTeX
@inproceedings{zheng2025editroom,
  author = {Kaizhi Zheng and Xiaotong Chen and Xuehai He and Jing Gu and Linjie Li and Zhengyuan Yang and Kevin Lin and Jianfeng Wang and Lijuan Wang and Xin Eric Wang},
  title = {{EditRoom: LLM-parameterized Graph Diffusion for Composable 3D Room Layout Editing}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Y2Dh8rWwlb},
}
Figure