Deep Learning the City : Quantifying Urban Perception At A Global Scale

Abhimanyu Dubey, Nikhil Naik, Devi Parikh, Ramesh Raskar, César A. Hidalgo

TL;DR

This paper introduces Place Pulse 2.0, a massive crowdsourced dataset of 1.17 million pairwise comparisons across 56 global cities to quantify urban perception (e.g., safety, beauty). The authors develop a Siamese-like convolutional neural network (RSS-CNN) that uses a joint classification and ranking loss to predict human judgments, demonstrating that deep learning can effectively scale urban audits to a global level.

What Problem Does This Paper Address?

Urban planners and social scientists have long suspected that a city's physical appearance—its "perceived" safety or liveliness—profoundly impacts the health and behavior of its residents. However, quantifying these subjective perceptions at scale is notoriously difficult.

Traditional methods rely on field surveys or manual audits by experts, which are expensive and geographically limited. Previous computer vision attempts, like Streetscore, were hampered by two main issues:

  1. Data Scarcity: They were trained on small, regionally biased datasets (e.g., just a few US cities), making them fail when applied to different architectural styles globally.
  2. Algorithmic Bottlenecks: They typically used a two-step process—converting comparisons to scores via TrueSkill and then training a regressor. This requires a "dense" set of comparisons (many votes per image) to be stable, which is impractical for a dataset of hundreds of thousands of images.

Methods

The authors propose an end-to-end deep learning approach to predict pairwise winners directly from image pixels. They introduce two primary architectures:

  • Streetscore-CNN (SS-CNN): A Siamese-style network where two identical branches (with tied weights) extract features from an image pair. These features are concatenated and passed through a "fusion sub-network" that uses a softmax loss to classify which image "wins" the comparison.
  • Ranking SS-CNN (RSS-CNN): This is the paper's core contribution. It extends the SS-CNN by adding a ranking sub-network. The model is trained using a joint loss function that combines standard classification loss (who wins this specific pair?) with a ranking loss (how do these images fit into a global ordinal ranking?).
Fig. 2: We introduce two networks architectures, based on the Siamese model, for predicting pairwise comparisons of urban appearance. The basic model (SS- CNN) is trained with softmax loss in the fusion layer. We also introduce ranking loss layers to train the Ranking SS-CNN (additional layers shown in light blue background). While we experiment with AlexNet, PlacesNet, and VGGNet, this figure shows the AlexNet configuration.

The authors experimented with different backbones, including AlexNet, VGGNet-19, and PlacesNet, finding that fine-tuning these models on urban perception data significantly outperformed using generic pre-trained weights.

Datasets

The paper introduces the Place Pulse 2.0 (PP 2.0) dataset, which is significantly larger and more diverse than its predecessor:

  • Scale: 110,988 images from 56 cities across 28 countries and 6 continents.
  • Human Input: 1,169,078 pairwise comparisons collected from over 81,000 online volunteers.
  • Attributes: Users ranked images based on six perceptual dimensions: safe, lively, boring, wealthy, depressing, and beautiful.
Fig. 1: Using a crowdsourced online game (a), we collect 1.1 million pairwise comparisons on urban appearance from from 81,630 volunteers. The distribution of number of pairwise comparisons contributed by players is shown in (b).

Unlike previous datasets that required ~30 comparisons per image, PP 2.0 is "sparse," averaging only ~3.35 comparisons per image per attribute, necessitating the more robust RSS-CNN approach.

Key Insights and Ideas

  • Diversity Trumps Volume: The authors found that training on a visually diverse set of cities is more important for generalization than simply having more comparisons from a single region. A model trained on the diverse PP 2.0 outperformed one trained on the same amount of data from the less diverse PP 1.0.
  • Joint Learning is Essential: The RSS-CNN outperformed the SS-CNN. By explicitly modeling the ranking function ($f_r(x)$) alongside the pairwise classification, the network learns a more coherent representation of the underlying perceptual scale.
  • Perceptual Correlation: There is a high correlation between certain attributes. For example, a network trained to predict "Safety" is surprisingly accurate at predicting "Beauty" or "Liveliness," suggesting these subjective traits share common visual cues in the urban environment.

Key Results

  • Accuracy: The RSS-CNN (using a VGGNet backbone) achieved a 73.5% accuracy in predicting the winner of pairwise safety comparisons, a significant improvement over baseline models and generic image features (which hovered around 56.7%).
  • Generalization: The model successfully generated "synthetic" rankings for cities entirely outside the training set (e.g., Seoul, Brisbane, Durban). Qualitative results showed that the model correctly identified high-safety areas (like well-lit, modern residential streets) versus low-safety areas (like industrial zones or dilapidated alleys).
  • Performance Gains: Fine-tuning on PP 2.0 provided an average accuracy boost of 6.5% compared to using original pre-trained weights, proving that "urban perception" is a distinct visual domain.

Limitations and Future Work

  • The "Equal" Problem: In the crowdsourced data, 13.2% of users indicated that two images were "equal." The current model ignores these cases, focusing only on win/loss outcomes. Incorporating "ties" into the loss function is a suggested next step.
  • Explainability: While the model predicts that an image looks safe, it doesn't explicitly explain why (e.g., is it the presence of trees, the lack of trash, or the architectural style?).
  • Cultural Bias: Although the authors cite previous work suggesting urban perception is relatively consistent across cultures, a deeper dive into how different regions perceive the same visual cues remains an open research question.

Summary updated

BibTeX
@misc{dubey2016deep,
  author = {Abhimanyu Dubey and Nikhil Naik and Devi Parikh and Ramesh Raskar and César A. Hidalgo},
  title = {{Deep Learning the City : Quantifying Urban Perception At A Global Scale}},
  year = {2016},
  eprint = {1608.01769},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1608.01769},
}
Figure