Introduction
Urban planning requires the rapid generation of alternative street layouts to accommodate city expansion or infill. However, current computational tools often fall short of professional needs. Traditional procedural modeling—rule-based generation—frequently lacks context-awareness, producing generic grids that ignore the surrounding city fabric. Conversely, while example-based deep learning models like Generative Adversarial Networks (GANs) can synthesize realistic patterns, they often function as "black boxes," preventing planners from injecting specific domain expertise, such as mandated junction locations or historical street styles.
This paper introduces a deep learning framework that automates street network generation by treating it as an "image inpainting" task. By combining fundamental geographic context with user-defined planning guidance, the model allows urban planners to instantly generate and iterate on highly realistic, context-aware city layouts.
Methodology: Street Generation as Image Inpainting
The authors frame street network generation as a computer vision task known as image completion or inpainting. In this paradigm, the model is presented with a map containing a blank area; its task is to synthesize the missing street network so that it aligns perfectly with the existing roads at the borders.
To achieve this, the researchers developed a conditional Generative Adversarial Network (cGAN) consisting of an encoder-decoder generator and a discriminator. While the use of GANs with Mean Squared Error (MSE) and adversarial loss is standard for high-resolution image synthesis, the novelty of this approach lies in the architecture of the inputs. The model processes two distinct sets of multi-channel image data:
- Fundamental Context: This includes the surrounding street networks, digital elevation models, and slope aspect data.
- Planning Guidance: This includes user-defined junction nodes (specific points where intersections must occur) and archetypal street patterns (e.g., medieval, orthogonal grid, or linear).
By conditioning the GAN on these specific constraints, the model intelligently connects user-placed junctions while adapting to the local topography and the chosen architectural style.
Experimental Setup and Datasets
The authors developed a custom dataset of multi-channel map patches, each representing a 512x512 meter area (256x256 pixels). Data was sourced from:
- OpenStreetMap (OSM): For hierarchical street network vector data.
- Shuttle Radar Topography Mission (SRTM): For digital elevation and slope data.
To test the model's ability to generalize across different urban morphologies, the authors trained the network on 46,856 patches from Prague—a city known for its diverse mix of medieval, modernist, and grid layouts. The model was then tested on 26,872 patches from Barcelona. This cross-city testing ensures the model learned generalizable urban design features rather than simply memorizing the specific layout of the training city.
Key Insights and Results
The research evaluated three progressive models: Model 1 (Context only), Model 2 (Context + Junctions), and Model 3 (Context + Junctions + Pattern Types).
1. Constraints Improve Accuracy
Counter-intuitively, forcing the model to adhere to specific junction nodes or pattern types did not confuse the neural network; instead, it improved performance. The mean $l_2$ error dropped from 5.94% in the context-only model to 4.96% in the fully constrained Model 3. These constraints act as a guide, narrowing the infinite possibilities of street layouts to the most logical configurations.
2. Context Coverage
The model's predictive success is heavily dependent on the amount of surrounding context provided. The authors found that if less than 40% of the surrounding area is visible to the model, the predictions become highly uncertain, highlighting the importance of the "urban fabric" in guiding new designs.
3. Real-Time Interactive Design
The system is remarkably efficient, generating a new street network patch in just 0.21 seconds on a GPU. This speed transforms deep learning from a slow batch-processing tool into an interactive canvas. A designer can drop "junction" pins to bypass a preserved park or building, and the AI instantly routes a realistic neighborhood around those constraints.
4. Qualitative Flexibility
Model 3 demonstrated the ability to generate five distinct architectural styles—linear, gated compound, medieval, irregular grid, and orthogonal grid—on demand within the same geographical boundary, showcasing its utility as a versatile design tool.
Limitations and Future Directions
While the framework represents a significant step forward for Planning Support Systems (PSS), it currently focuses exclusively on street centerlines. It does not yet account for building layouts, land use zoning, or population density—all of which are critical to urban function.
Future work aims to expand the training dataset to include a wider global diversity of cultural and historical patterns. Additionally, the authors suggest linking this generative tool with downstream simulators to test how generated road patterns impact traffic congestion, commuting behavior, and local real estate markets in real-time.
Summary updated