TL;DR
This paper introduces a novel multi-agent AI system designed to automatically generate realistic and contextually appropriate bicycle lane designs directly on street-view imagery. By breaking down the complex task into specialized agents for localization, prompt optimization, generation, and evaluation, the system overcomes limitations of existing generative models, enabling faster and more effective public engagement in urban planning.
What Problem Does This Paper Address?
Creating realistic visualizations of proposed street designs, particularly for bicycle infrastructure, is crucial for public engagement and collaborative decision-making in urban planning. Traditional methods using graphic design software are time-consuming and require specialized expertise, hindering agile scenario iteration. While recent AI image generation models show promise, they often struggle with precise spatial variations, semantic interpretation, and adherence to complex instructions in real-world street-view scenes. This paper addresses the need for an AI system that can generate contextually accurate and instruction-compliant bicycle lane designs directly from street imagery, facilitating more efficient and effective planning processes.
Methods
The authors propose a multi-agent pipeline built upon a state-of-the-art image generation backbone (GPT-image-1). This pipeline consists of four specialized agents:
- Locator Agent: This agent uses multimodal large language models (MLLMs) to generate contextually accurate descriptions of bike lane positions and relevant geometric features (e.g., curbs, lane lines) from street-view images. This helps anchor the generation process to the actual scene.
- Prompt Optimization Agent: This agent refines user prompts by integrating the Locator's descriptions and illustrative examples. This ensures clarity, reduces semantic misinterpretation, and makes the prompts more robust for the image generation model.
- Design Generation Agent: This agent employs a two-step cascading strategy. First, it generates an intermediate "highlighted" region to visually anchor the intended edit. Second, it renders the actual bicycle facility design within this highlighted area, decoupling geometric grounding from final rendering. This approach improves locality and reduces geometric drift.
- Evaluation Agent: This agent uses a combination of segmentation-based CLIP similarity to re-rank candidate designs and an MLLM-based compliance check. This ensures that the selected design is not only visually similar to a reference but also adheres to all specified planning guidelines and constraints.
Datasets
The authors collected street-view imagery from Washington D.C. for their experiments. They sampled 150 road segments and intersections, considering factors like existing bicycle facilities, speed limits, and surrounding context. For each location, they queried the Google Street View API and selected the most suitable image after a quality-control stage. This resulted in a curated set of 600 images. For the Evaluator Agent's segmentation model, they manually annotated 1,060 images (both real street-view scenes and model-generated outputs) to fine-tune a YOLO-v11 instance segmentation model.
Key Insights and Ideas
- Decomposition is Key: The core insight is that complex image editing tasks like street design generation benefit significantly from a multi-agent approach. Breaking down the problem into specialized roles (localization, prompt refinement, generation, evaluation) allows each agent to focus on a specific challenge, leading to more robust and accurate results.
- Spatial Grounding is Crucial: The Locator Agent's ability to ground the generation process in the actual spatial geometry of the street-view image is vital. Without it, generative models tend to produce designs that are spatially inaccurate or misaligned with the road.
- Prompt Engineering Matters (A Lot): The Prompt Optimization Agent highlights the critical role of well-structured and contextually rich prompts. Simply providing a basic text description is insufficient; the prompt needs to be precise, unambiguous, and grounded in scene-specific information.
- Two-Stage Generation for Control: The Design Generation Agent's highlight-first step is a clever way to provide a strong spatial prior for the editing process, improving control and reducing hallucinations compared to direct single-pass generation.
- Beyond Visual Similarity: The Evaluator Agent's dual approach (CLIP similarity + MLLM compliance) is important. Visual similarity alone isn't enough; the design must also strictly adhere to planning rules and user specifications, which requires a more sophisticated reasoning capability.
Key Results
- The proposed multi-agent pipeline consistently generates realistic, instruction-aligned, and spatially coherent bicycle lane designs across diverse urban scenarios.
- Experiments show that the system can adapt to varying road geometries and environmental conditions.
- The Evaluator Agent achieves an accuracy above 95% in selecting suitable designs, demonstrating its effectiveness in filtering out non-compliant outputs.
- Ablation studies demonstrate the significant contribution of each agent: removing the Locator Agent leads to spatial misplacement and degraded background preservation, while removing the Prompt Optimization Agent results in typical failures like mis-rendered boundaries and color spill.
Limitations and Future Work
- Pixel-Level Accuracy: The system still cannot guarantee perfect pixel-level accuracy in representing spatial relationships, especially in complex street layouts.
- Generation Pass Reliability: The correctness rate of a single generation pass is relatively low, necessitating multiple candidate generations, which increases computational cost and latency.
- Human Intervention: The pipeline still requires a substantial degree of human intervention, particularly for manual image selection during data preparation. Reducing this reliance is a key area for future work.
- Future Work: The authors suggest reducing human intervention for improved automation and scalability.
Summary updated