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

From Street Views to Urban Science: Discovering Road Safety Factors with Multimodal Large Language Models

Yihong Tang, Ao Qu, Xujing Yu, Weipeng Deng, Jun Ma, Jinhua Zhao, Lijun Sun

TL;DR

UrbanX is a framework that uses Multimodal Large Language Models (MLLMs) to automate scientific discovery from street-level imagery. By treating hypothesis generation as an iterative Bayesian posterior inference loop, UrbanX proposes natural-language questions about street view images, extracts interpretable embeddings from MLLM visual answers, and validates them using statistical regression. Tested on Manhattan crash data, it out-predicts conventional vision backbones while discovering transparent, statistically grounded urban safety factors.

What Problem Does This Paper Address?

Connecting urban design to real-world outcomes like traffic safety, walkability, and public health has traditionally faced three major roadblocks:

  1. Manual hypothesis generation: Relying on human experts to postulate factors is slow, resource-heavy, and susceptible to confirmation bias.
  2. The "black-box" dilemma: Modern deep learning models can predict urban outcomes from imagery with high accuracy, but their latent representations lack semantic interpretability—making them ill-suited for policy decisions or causal understanding.
  3. Underutilized unstructured data: Street View Images (SVIs) offer rich environmental cues, yet extracting structured, consistent, and context-specific indicators via standard GIS or object-detection pipelines remains difficult.

Methods

UrbanX frames scientific discovery as an iterative posterior mode estimation problem over a hypothesis space $\mathcal{H}$ of natural-language queries. The architecture consists of three core steps:

                  ┌───────────────────────────────┐
                  │ 1. Hypothesis Generation      │
                  │    (LLM: GPT-4o)              │
                  └──────────────┬────────────────┘
                                 │ Prompts & Questions (Hᵗ)
                                 ▼
                  ┌───────────────────────────────┐
                  │ 2. Embedding Construction     │
                  │    (MLLM: InternVL2.5-78B)    │
                  └──────────────┬────────────────┘
                                 │ Structured Embeddings (Eᵗ)
                                 ▼
                  ┌───────────────────────────────┐
                  │ 3. Hypothesis Assessment      │
                  │    (Linear Regression / LGBM) │
                  └──────────────┬────────────────┘
                                 │ Significance (p-values)
                                 └────────► [Prune & Refine Loop]
  1. Hypothesis Generation: An LLM (GPT-4o) samples candidate questions ($H^t$) about visually inferable road features relevant to crash prediction. In subsequent iterations, statistically insignificant hypotheses are pruned and replaced by $m^t$ new candidates.
  2. Embedding Construction: An MLLM (InternVL2.5-78B) performs visual question answering on each street view image across the hypothesis set. The categorical answers form a $k$-dimensional, human-readable embedding vector per image.
  3. Hypothesis Assessment: An interpretable statistical model (e.g., linear regression) predicts segment-level crash rates using these embeddings. Two-sided $t$-tests compute $p$-values for each coefficient; hypotheses failing the significance threshold ($p > 0.05$) are dropped. To avoid performance degradation, updates are accepted only if validation performance improves over the previous iteration.

Datasets

  • Target City: Manhattan, New York City.
  • Imagery: 20,000 Google Street View panoramic images sampled every 15 meters along road centerlines (split into 16,000 train, 2,000 validation, and 2,000 test images).
  • Tabular Data: Crash records from NYC Open Data, joined with Average Annual Daily Traffic (AADT) volume from the New York State Department of Transportation to calculate exposure-adjusted crash rates.
  • Benchmark Features: 58 handcrafted built-environment variables across road design, land-use entropy, points of interest, traffic facilities, and panoptic segmentation masks, compiled for post-hoc comparison.

Key Insights and Ideas

  • Language as an Interpretable Latent Space: Instead of extracting uninterpretable continuous vectors from a vision backbone, the model uses language questions as the feature basis. Every feature dimension corresponds to an explicit semantic query (e.g., "Is there a median strip separating opposing traffic?").
  • Surfacing Novel and Overlooked Visual Cues: When benchmarking the discovered variables alongside 58 traditional GIS/built-environment metrics, UrbanX-generated hypotheses dominated the top SHAP rankings.
  • Recovering and Expanding Domain Knowledge: The framework recovered established safety principles (e.g., lack of lane markings and lack of median strips strongly correlate with higher crash risk) while identifying subtle, rarely cataloged factors like visual clutter (billboards/advertisements) and crosswalk pedestrian signals.
  • Natural Orthogonality: Pairwise correlation analysis revealed that the generated hypotheses exhibited low collinearity, preserving statistical power and stability during regression.

Key Results

  • Outperforming Vision Baselines: Both the linear regression (LR) and LightGBM variants of UrbanX outperformed fine-tuned deep learning models (ResNet50 and ViT-B/16) across all metrics (lower RMSE and MAE, higher $R^2$), with LightGBM achieving the strongest predictive performance.
  • MLLM Scaling Matters: Visual reasoning capability in the MLLM was critical: InternVL2.5-78B dramatically outperformed an 8B variant in accuracy and convergence speed. In contrast, LLM generator choice (GPT-4o vs. GPT-4o-mini) had a minimal effect on final performance.
  • Hypothesis Capacity: Performance scaled steadily up to approximately 50 hypotheses, beyond which returns plateaued due to statistical noise.

Limitations and Future Work

  • Correlation vs. Causation: While the framework identifies statistically significant associations, it evaluates regression coefficients rather than true causal DAGs or counterfactual interventions.
  • Static Imagery: The current evaluation relies on cross-sectional street-view images and cannot capture dynamic traffic variations, temporal shifts, or weather fluctuations.
  • Heuristic Convergence: Posterior inference over the hypothesis space relies on LLM sampling heuristics and validation-set gates rather than formal convergence guarantees.
  • Future Directions: The authors plan to integrate formal causal inference pipelines and generalize UrbanX to adjacent urban domains, including neighborhood equity, walkability, and environmental quality.

Summary updated

BibTeX
@inproceedings{tang2025from,
  author = {Yihong Tang and Ao Qu and Xujing Yu and Weipeng Deng and Jun Ma and Jinhua Zhao and Lijun Sun},
  title = {{From Street Views to Urban Science: Discovering Road Safety Factors with Multimodal Large Language Models}},
  booktitle = {LM4Sci @ COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=SRrrPa5Z0v},
}
Figure