NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CANDO: Cooperative Agentic Network for Layout Design Optimization

Athanasios Masouris, Zheng Jing, Benjamin Sam Chandler, Hadi J. RadNeurIPS 2026

TL;DR

Generative AI has gotten great at arranging boxes on mobile screens and documents, yet it struggles when designing physical, real-world facilities where trucks actually need room to turn around. This paper introduces ALPS-Bench, a benchmark of 1,000 real-world facility layouts judged on strict engineering rules rather than mere visual similarity to training data. To solve it, the authors propose CANDO, a training-free team of AI agents that use deterministic geometric tools to iteratively draft, verify, and refine layouts—outperforming trained models both on physical sites and classic graphic design tasks.

What Problem Does This Paper Address?

If you ask a generative model to design a poster or an app UI, you are basically asking it to arrange axis-aligned rectangles inside a larger rectangle. Furthermore, we usually grade these models using distributional metrics like FID (Fréchet Inception Distance). That creates a subtle trap: if a model invents a brilliant, completely valid layout that happens to look different from the training dataset, it gets penalized. Design innovation is treated as an error, collapsing design into mere "prior matching."

Real-world spatial engineering—like laying out an operational service station—is a completely different beast. You have irregular, polygonal property boundaries, buildings at odd angles, designated entrances and exits, and heavy-goods vehicles that must navigate the site without clipping a wall. Everything is entangled: nudge a parking bay to stop it from overlapping a shop, and you might accidentally block a delivery truck's turning radius. Single-pass neural networks and monolithic LLMs notoriously choke on the spatial arithmetic and multi-step planning required to untangle these constraints simultaneously.

Methods

Because LLMs are bad at coordinate math, the authors built CANDO (Cooperative Agentic Network for Layout Design Optimization), a training-free framework that offloads geometry to deterministic code while keeping LLMs focused on high-level spatial strategy.

Figure 2: The interplay and cooperation among the agents in CANDO. Upon an ICL Initialization, Verifier, Historian, Planner and Generator communicate in a structured manner within a loop.

CANDO works in two phases:

  1. In-Context Learning (ICL) Initialization: Given site specs, an initializer retrieves structurally similar examples from a development set (via weighted $k$-NN) and prompts an LLM to draft seed layouts, picking the best one based on basic containment and overlap math.
  2. Cooperative Refinement Loop: Four specialized agents iterate on the seed layout:
  3. Verifier: Uses deterministic tools—including Voronoi-based motion planning—to check hard constraints (boundaries, overlaps, vehicle routing) and soft constraints (grouping, alignment, clearances), outputting exact diagnostic logs.
  4. Historian: Tracks a sliding window of score changes and past moves so the system doesn't get stuck repeating failed fixes.
  5. Planner: Reads the logs, history, coordinates, and a visual plot of the layout (optionally splitting work among category-specific sub-agents) to draft a coherent repair plan.
  6. Generator: Translates the plan into $K$ candidate layouts using an ensemble of strategies—ranging from conservative local nudges to aggressive layout-wide shifts.

Rather than following a single fragile chain of edits, CANDO adapts a blockwise Best-of-$N$ (CoDe) branching scheme: it explores $N$ parallel trajectories for $B$ steps, keeps the highest-scoring branch, and repeats.

Datasets

  • ALPS-Bench (New): 1,000 real-world outdoor service facility layouts (900 dev, 100 test) professionally annotated from CAD drawings across 14 semantic classes (e.g., EV charging, car/truck service areas, shops, parking). Instead of FID, it uses an instance-specific scorer grounded in a design manual—checking geometric validity, Voronoi vehicle routing, soft design rules, and operational routing efficiency (path length, turns, and obstacle clearance).
Figure 1: Left: Sample from ALPS-Bench. Right: Voronoi-based motion planning.
  • Public Benchmarks: Evaluated (using a simplified CANDO setup) on PubLayNet (documents), RICO (mobile UIs), and PKU-PosterLayout (posters).

Key Insights and Ideas

  • Never trust an "LLM-as-a-Judge" with geometry: When the authors stripped away the Verifier's deterministic math tools and let the LLM judge layouts itself, it happily declared 95% of its layouts compliant after ~4.6 iterations. In reality, its Constraint Satisfaction (CS) score crashed from 0.83 to 0.28. Grounding agents in hard verification tools is non-negotiable.
  • Smart architecture beats raw model scale: Running CANDO with a lightweight open-source MoE model (Qwen3.6-35B-A3B, with just 3B active parameters) achieved 74.0% compliance on ALPS-Bench, matching or edging out the massive proprietary GPT-5.2 (63.6%).
  • Parallel branching prevents "whack-a-mole" regressions: Fixing one spatial violation often causes another. Removing the parallel CoDe search dropped compliance from 74% to 44%, while removing diversified generation strategies more than doubled the step-to-step regression rate (from 7.0% to 18.4%).
  • The precision vs. FID trade-off: On UI and poster tasks, CANDO achieves near-perfect overlap and alignment scores yet sometimes logs worse FID scores than trained diffusion/transformer models. Optimizing for strict geometric rules naturally produces valid designs that diverge from the empirical quirks of training datasets.

Key Results

  • ALPS-Bench: CANDO (Qwen3.6) achieved an aggregate score (AGG) of 0.62, Constraint Satisfaction (CS) of 0.83, and 74.0% full compliance in $T=20$ steps. Models trained directly on the dataset—like adapted LayoutDM (0.13 AGG) and fine-tuned Qwen-LoRA (0.07 AGG)—struggled with exact polygonal boundaries and routing. A GPT-5.2 Single-Agent given 200 steps only reached 0.40 AGG and 22.4% compliance, requiring roughly $4\times$ the sequential LLM inference latency to reach compliance compared to CANDO.
Figure 3: Mean CS Score vs. T for Table 1
  • PubLayNet & RICO: CANDO (Qwen3.6) set state-of-the-art mIoU on type-conditioned (0.893 / 0.866) and type/size-conditioned (0.881 / 0.879) generation—beating GPT-4-based LayoutCoT—while hitting a perfect 0.000 alignment error across both datasets.
  • PKU-PosterLayout: Achieved top Strict Underlay scores (1.000 on Gen-T, 0.990 on Gen-TS) and near-zero overlap (0.0009 and 0.0000).

Limitations and Future Work

CANDO isn't a magic wand you can point at a brand-new engineering domain out of the box; transferring it requires codifying a domain-specific design manual (with deterministic verification tools) and having a development corpus if using ICL initialization. Additionally, spawning parallel multi-agent branches incurs higher total LLM call volume than single-pass generators, presenting a clear compute-versus-quality trade-off. Finally, because CANDO optimizes explicit constraint satisfaction rather than dataset mimicry, it is less suited when matching the stylistic distribution (low FID) of an existing corpus is the primary goal. The authors note the 2D formulation naturally extends to 3D volumetric planning (such as multi-floor facilities) as a promising next step.

Summary updated

BibTeX
@inproceedings{masouris2026cando,
  author = {Athanasios Masouris and ZHENG JING and Benjamin Sam Chandler and Hadi J. Rad},
  title = {{CANDO: Cooperative Agentic Network for Layout Design Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=NHvR8ej2Fu},
}
Figure