Co-Layout: LLM-driven Co-optimization for Interior Layout

This paper presents Co-Layout, a novel framework that integrates large language models with grid-based integer programming and a coarse-to-fine optimization strategy to jointly optimize room layouts and furniture placement, significantly outperforming existing two-stage pipelines in both solution quality and computational efficiency.

Chucheng Xiang, Ruchao Bao, Biyin Feng, Wenzheng Wu, Zhongyuan Liu, Yirui Guan, Ligang Liu

Published Mon, 09 Ma
📖 4 min read☕ Coffee break read

Imagine you are hiring an architect to design your dream home. Usually, you'd give them a rough idea ("I need a big kitchen and a cozy bedroom"), and they would spend weeks drawing, erasing, and rearranging walls and furniture until everything fits perfectly.

This paper, Co-Layout, introduces a new "super-architect" that does this job in seconds. It combines the imagination of a creative writer (an AI called an LLM) with the mathematical precision of a puzzle solver (Integer Programming).

Here is how it works, broken down into simple concepts:

1. The Problem: The "Two-Step" Mistake

Most current AI tools for interior design work in two separate steps, like a clumsy assembly line:

  1. Step A: They draw the rooms (where the walls go).
  2. Step B: They try to stuff furniture into those rooms.

The Analogy: Imagine trying to build a house by first building the rooms, and then realizing the sofa is too big for the living room, or the bed blocks the door to the bathroom. You have to tear down the walls and start over. This leads to messy, illogical designs where you can't walk from the kitchen to the bedroom without walking through a closet.

2. The Solution: The "Co-Optimization" Dance

The authors' new method, Co-Layout, does both steps at the same time. It treats the room layout and the furniture placement as one giant, interconnected puzzle.

  • The Creative Brain (The LLM): First, you type a simple prompt like, "Design a 100-square-meter apartment for a family of three." The AI (LLM) acts like a creative director. It doesn't draw the floor plan; instead, it writes a detailed "rulebook."
    • Rulebook Example: "The master bedroom must be in the corner. The kitchen needs to be next to the dining room. The bed needs to be 1.8 meters wide. The hallway must connect everything."
  • The Math Brain (The Grid Solver): This is where the magic happens. The system takes that rulebook and turns the entire floor into a giant digital grid (like a chessboard or a pixelated map).
    • Every square on the grid is a tiny piece of the puzzle.
    • The computer uses math to figure out exactly which squares become walls, which become the living room, and which squares hold the sofa, ensuring no overlaps and no blocked paths.

3. The Secret Sauce: "Coarse-to-Fine" Strategy

Solving this puzzle for a whole house is incredibly hard for a computer. It's like trying to solve a 10,000-piece jigsaw puzzle all at once. It would take forever.

The Analogy: Think of it like sketching a painting.

  1. Coarse Phase (The Rough Sketch): The computer first looks at the house as a tiny, low-resolution grid (like a 6x6 pixel image). It quickly decides, "Okay, the bedroom goes here, the kitchen there." It solves the big picture fast.
  2. Fine Phase (The Detail Work): Once it has the rough sketch, it zooms in to the full resolution (the high-definition grid). It uses the rough sketch as a "warm start" (a head start) to fill in the tiny details, like placing the exact position of the coffee table.

This strategy makes the computer hundreds of times faster without losing quality.

4. Why It's Better (The Results)

The paper tested this against other top AI tools (Holodeck and AnyHome).

  • Other Tools: Often created "impossible" houses. You might find a bedroom with no door, a sofa blocking the hallway, or a kitchen floating in the middle of a wall.
  • Co-Layout: Created houses that actually make sense.
    • Connectivity: You can always walk from the front door to every room.
    • Logic: The furniture fits perfectly within the walls.
    • Aesthetics: The rooms are shaped nicely (not weirdly narrow or jagged).

Summary

Think of Co-Layout as a team where:

  • The LLM is the Visionary who understands what you want and sets the rules.
  • The Grid Solver is the Engineer who ensures the physics and geometry work perfectly.
  • The Coarse-to-Fine strategy is the Efficiency Expert who ensures the job gets done quickly.

Instead of just generating a pretty picture that falls apart when you try to use it, this system generates a functional, logical, and beautiful home layout that respects the rules of real-world living.