CasaGPT: Cuboid Arrangement and Scene Assembly for Interior Design

Weitao Feng, Hang Zhou, Jing Liao, Li Cheng, Wenbo Zhou

TL;DR

CasaGPT is a novel autoregressive 3D indoor scene synthesis model that represents furniture as assemblies of fine-grained cuboid primitives rather than simple bounding boxes. By combining this detailed shape abstraction with iterative rejection sampling and a newly cleaned dataset, it drastically reduces unrealistic object collisions, achieving a 90.6% non-intersection rate in generated bedrooms.

What Problem Does This Paper Address?

Generating realistic 3D indoor scenes is a major challenge in computer graphics, with applications spanning gaming, VR, and automated interior design. Most existing generative models represent 3D objects using coarse 3D bounding boxes. However, bounding boxes are a poor proxy for complex geometry. For instance, an L-shaped sofa and a coffee table might have overlapping bounding boxes even if their actual meshes do not intersect.

Conversely, models trained purely on bounding boxes often generate physically impossible layouts where furniture pieces clip into each other. Furthermore, standard training datasets (like 3D-FRONT) are notoriously noisy, containing pre-existing object intersections that models inadvertently learn to replicate.

Figure 1. We present CASAGPT, an autoregressive interior design model that frames cuboid primitives decomposed from 3D shapes into an ordered sequence for intersection-free indoor scene generation. We visualize the regional scene arrangement in ❸,❹, and our model is capable of generating compact scene arrangements (❶,❻) despite bounding box intersections (❷,❺).

Methods

CasaGPT introduces a multi-stage pipeline to achieve intersection-free scene generation:

  1. Cuboid Shape Abstraction: Instead of bounding boxes, each furniture mesh is decomposed into a compact set of contiguous cuboid primitives. This is achieved via voxelization, coarse-graining, and an iterative cuboid-merging algorithm governed by a dynamic threshold that favors merging smaller cuboids while penalizing larger ones.
  2. Autoregressive Sequence Modeling: The scene is flattened into a sequence of tokens and processed by an 8-layer transformer decoder based on the Llama-3 architecture. The sequence includes a floor token, entity tokens (acting as delimiters), and cuboid tokens containing attributes like class, size, translation, and rotation (parameterized via continuous $SO(3)$ sine/cosine values).
  3. Iterative Rejection Sampling: To enforce physical plausibility during fine-tuning, the model generates candidate layouts and filters them based on a 3D Intersection-over-Union (IoU) threshold of the cuboids. Only collision-free layouts are kept to further fine-tune the policy.
  4. Object Retrieval: At inference time, the generated cuboid sequences are matched back to high-fidelity 3D meshes from a database by maximizing the 3D IoU between the generated cuboids and the database shapes.
CasaGPT framework overview showing model pre-training and rejection sampling loops.

Datasets

The authors evaluate their model on the standard 3D-FRONT dataset (and its corresponding 3D-FUTURE furniture model database). Crucially, they introduce 3DFRONT-NC ("Noise Clean"), a refined version of the dataset. To build 3DFRONT-NC, they applied a gradient-based iterative avoidance mechanism to shift object positions slightly, resolving pre-existing mesh intersections while preserving the original layout structure.

Key Insights and Ideas

  • Boxes are the wrong abstraction: Bounding boxes are too coarse for spatial reasoning in tight spaces. Decomposing objects into a few simple cuboids provides just enough geometric fidelity to prevent collisions without making the sequence length unmanageable for a transformer.
  • Data cleaning is half the battle: Generative models mirror their training data. By explicitly optimizing the training dataset to remove collisions (creating 3DFRONT-NC), the baseline performance of sequence models jumps significantly before any architectural changes are made.
  • Rejection sampling bridges the gap: Since probabilistic models inherently suffer from sampling uncertainty, using a hard physics-based filter (3D IoU collision checks) during the fine-tuning loop forces the model to learn the boundaries of physical plausibility.

Key Results

  • Collision Reduction: On the newly curated 3DFRONT-NC dataset, CasaGPT achieves a 90.6% Non-Intersection Rate (NIRate) for bedrooms, outperforming prior state-of-the-art methods like ATISS (80.2%) and DiffuScene (79.1%).
  • Visual Quality: It achieves the lowest Fréchet Inception Distance (FID) across multiple room types (e.g., 24.7 for bedrooms and 28.4 for living rooms on 3DFRONT-NC), indicating superior visual realism and layout plausibility.
  • Efficient Retrieval: The cuboid-based object retrieval method avoids classic failure modes where bounding-box matching retrieves an object that accidentally clips into a wall or adjacent furniture.

Limitations and Future Work

While CasaGPT excels at preventing object-to-object collisions, it lacks explicit global boundary constraints during training. As a result, in highly constrained or complex floor plans, some objects occasionally cross wall boundaries or shift slightly off the floor plane.

The authors suggest that future research directions could focus on exploring denoising diffusion models for refined cuboid generation, or employing reinforcement learning—using intersection volumes directly as a negative reward signal—to enforce strict spatial boundaries.

Summary updated

BibTeX
@inproceedings{feng2025casagpt,
  author = {Weitao Feng and Hang Zhou and Jing Liao and Li Cheng and Wenbo Zhou},
  title = {{CasaGPT: Cuboid Arrangement and Scene Assembly for Interior Design}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02716},
}
Figure