Abstract
CityCraft is a novel three-stage framework designed to generate high-fidelity, controllable 3D cities. By combining the generative capabilities of Diffusion Transformers (DiT) with the strategic reasoning of Large Language Models (LLMs), CityCraft treats city generation as a structured planning problem rather than a simple pixel-prediction task. This approach achieves state-of-the-art realism and diversity in urban environments, overcoming the limitations of traditional procedural and neural rendering methods.
Introduction
Creating realistic 3D city scenes is a massive undertaking, essential for autonomous driving simulations, urban planning, and digital twins. Current methods typically fall into two camps: procedural generation, which is often rigid and lacks diversity, or neural rendering, which frequently produces monotonous styles and visual artifacts.
The core challenge in this field is controllable realism. Existing AI models often fail to "think" like urban planners; for instance, they might place a skyscraper in the middle of a lake or fail to create a logical flow between residential and commercial zones. Furthermore, most models are limited to fixed-size windows, making it difficult to generate the vast, sprawling landscapes required for modern simulations.
Methods
CityCraft addresses these challenges through a modular, three-stage pipeline that integrates layout generation, strategic planning, and scene construction.
1. Layout Generation (The Architect)
The system utilizes a Diffusion Transformer (DiT) to generate 2D semantic layouts. Unlike standard models, this DiT is highly controllable: users can specify "class ratios" (e.g., "30% buildings and 10% water") or provide text prompts. To handle large-scale environments, the framework employs Blended Diffusion for seamless outpainting, allowing the city layout to expand infinitely.
2. Strategic Urban Planning (The Planner)
This stage serves as the "brain" of the operation. A Large Language Model (LLM), such as GPT-4, acts as a virtual city planner. It analyzes the generated 2D layout by processing vectorized metadata, identifying individual building instances, and assigning them specific functions (commercial, residential), architectural styles (modernist, postmodern), and heights. This process occurs in multiple rounds, allowing the LLM to refine its plan as it gains more context about neighboring structures.
3. Scene Construction (The Builder)
Finally, the system uses an asset retrieval module to select the best-matching 3D models from a high-quality library. These assets are placed into Blender using the Powell algorithm to optimize scale and rotation, resulting in a final, physically grounded 3D scene.
Datasets
The researchers introduced two significant new datasets to support this framework:
- CityCraft-OSM: Built from OpenStreetMap data, it contains over 100,000 patches of 2D semantic layouts across North America, Europe, and Asia, including corresponding satellite imagery and detailed text annotations generated via GPT-4V.
- CityCraft-Buildings: A library of 2,000 high-quality 3D building assets, each meticulously annotated with metadata like function, scale, and architectural style.
Key Insights
- LLMs as Spatial Reasoners: By feeding the LLM a dictionary of layout metadata, the authors leverage the model's "world knowledge" to make logical decisions about land use that pure vision models often miss.
- Iterative Refinement: City planning is not a one-shot process. The multi-round refinement strategy ensures that commercial or residential zones look like cohesive districts rather than random collections of structures.
- Hybrid Intelligence: CityCraft demonstrates that the best results come from a hybrid approach: Diffusion for creative layout, LLMs for logical planning, and traditional 3D engines for physical rendering.
Results and Performance
CityCraft significantly outperformed existing models like CityGen and CityDreamer across both quantitative and qualitative metrics:
- Layout Quality: It achieved a Fréchet Inception Distance (FID) of 27.60, a massive improvement over CityGen’s 88.38, indicating much more realistic 2D layouts.
- 3D Realism: In user studies, CityCraft received a preference score of 9.2/10, compared to 7.6 for its closest competitor.
- Precision: The model showed a very low Average Class Error (ACE), meaning it followed user-defined class ratios with high accuracy (e.g., only 1.78% error for water features).
Limitations and Future Work
While CityCraft creates stunningly realistic environments, the authors note areas for future growth. Currently, the generated cities are static; future work will integrate dynamic elements like moving traffic and pedestrians. Additionally, the researchers aim to include real-time user feedback loops, allowing designers to tweak specific neighborhoods while the LLM-planner adjusts the surrounding area accordingly. Finally, while the asset-based approach provides high visual quality, the authors are exploring ways to reduce the computational overhead compared to end-to-end neural rendering.
Summary updated