DevianceNet: Learning to Predict Deviance from a Large-Scale Geo-Tagged Dataset

Jin-Hwi Park, Young-Jae Park, Junoh Lee, Hae-Gon Jeon

Abstract

Quantifying urban safety has traditionally relied on subjective human perception or macro-level census data, both of which often fail to correlate with actual incident rates. We present DevianceNet, a spatio-temporal CNN framework trained on a massive dataset of 760,000 street-view images linked to objective crime and civil complaint records. By incorporating interest-point matching and a loss function weighted by Heinrich’s Law, DevianceNet identifies urban deviance and its severity with high accuracy across diverse global cities, bridging the gap between visual environment and statistical reality.

Introduction: The Perception Gap

Urban planners and social scientists have long sought objective methods to quantify street-level safety. Existing approaches typically fall into two categories: micro-level perception, which uses crowdsourced data (e.g., Place Pulse) to gauge human intuition, and macro-level statistics, which utilize census data such as income or education. However, human intuition is frequently misleading—a well-lit construction site may appear "scary" despite having no crime, while a quiet, clean street may be a theft hotspot. Furthermore, macro-level indicators often show a surprisingly low correlation with actual street-level incident rates.

Visual perception vs. statistical reality of urban deviance.

As shown in the figure above, there is a significant "perception gap" where visually "safe" areas (a) may host actual crimes, while "dangerous-looking" areas (b) are often statistically safe. Additionally, scatter plots (c) demonstrate the weak relationship between incident rates and demographic factors like elderly population or income levels. DevianceNet addresses this by directly connecting the visual environment to actual incident data.

Methodology

DevianceNet is designed to handle the unique challenges of geo-tagged street-view sequences through several key innovations:

  • Spatio-Temporal Architecture: Built on HATNet (Holistic Appearance and Temporal Network), the model employs (2+1)D convolutions. This decomposes 3D filters into separate spatial and temporal components, capturing environmental changes as a viewer moves through a street.
  • Interest Point Matching: To address the large "jumps" between Google Street View frames, an interest point matching module (inspired by SuperPoint) finds correspondences between frames, ensuring visual consistency across the sequence.
  • Severity-Aware Loss: The framework implements a novel loss function weighted by Heinrich’s Law—an industrial safety principle defining specific ratios between major accidents, minor accidents, and near-misses. This prioritizes the detection of high-severity incidents, such as homicides, over minor civil complaints.

The Deviance Dataset

The study introduces the Deviance Dataset, a significant upgrade over existing benchmarks. It comprises 760,952 images across seven metropolitan cities in South Korea (Seoul, Busan, Daegu, Incheon, Daejeon) and the United States (New York, Chicago). Unlike single-shot datasets, it utilizes 12-directional sequential images covering a 100m radius around incident sites. Ground truth labels are derived from official government reports, categorized into five severity classes ranging from Homicide (Class 1) to Non-Deviance (Class 5).

Key Results and Insights

DevianceNet achieves state-of-the-art performance in urban safety inference:

  • Accuracy: The model reached a Deviance Identification Accuracy (DIA) of 89.77%, significantly outperforming standard video models like I3D (77.12%) and C3D (68.24%).
  • Severity Estimation: It achieved a Severity Estimation Accuracy (SEA) of 48.17%, approximately 6-7% higher than baseline models.
  • Universal Visual Cues: A model trained primarily on Seoul could be adapted to New York or Chicago with only 5% local fine-tuning. This suggests that visual markers of deviance—such as specific road decay, illegal markings, or building styles—transcend national borders.

Limitations and Future Work

While DevianceNet marks a significant advancement, it remains sensitive to "uncommon" visual conditions like tunnels, dusk, or coastal roadways. Future work will focus on finer categorization of crimes within severity classes and improving domain adaptation for diverse architectural styles, such as those found in European cities.

Summary updated

BibTeX
@inproceedings{park2022deviancenet,
  author = {Jin-Hwi Park and Young-Jae Park and Junoh Lee and Hae-Gon Jeon},
  title = {{DevianceNet: Learning to Predict Deviance from a Large-Scale Geo-Tagged Dataset}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i11.21463},
}
Figure