Fine-Grained Car Detection for Visual Census Estimation

Timnit Gebru, Jonathan Krause, Yilun Wang, Duyun Chen, Jia Deng, Li Fei-Fei

Introduction

The United States allocates over $1 billion annually to conduct the census and the American Community Survey (ACS). While these surveys are vital for policy-making and resource allocation, they are labor-intensive, expensive, and often lag behind real-time demographic shifts by years. This research proposes a "visual census"—a faster, cheaper alternative that leverages deep learning to analyze the visual environment at scale.

By analyzing 50 million Google Street View images across 200 US cities, researchers demonstrated that the distribution of vehicles in a neighborhood serves as a powerful proxy for its inhabitants. Since 95% of American households own cars, vehicle choices reflect affluence, cultural preferences, and environmental priorities. The core challenge lies in "fine-grained" recognition: distinguishing between highly similar car models and years in noisy, real-world imagery.

Methodology

The researchers developed a robust two-stage computer vision pipeline to process the massive dataset:

  1. Detection: A Deformable Part Model (DPM) was used to locate vehicles within images. To maintain efficiency across 50 million images, the team introduced a geographic "prior"—a histogram modeling likely car locations and sizes within the Street View frame (e.g., cars appear on roads, not in the sky).
  2. Fine-Grained Classification: Detected vehicles were classified into one of 2,657 categories using a Convolutional Neural Network (CNN). To bridge the domain gap between clean "product shots" used for training and the messy, low-resolution Street View images, the researchers employed data augmentation strategies that simulated noisy detections and environmental variability.
The hierarchical classification structure (Make, Model, Body Type, Year/Trim) and the long-tail distribution of images per car class.

Finally, Ridge Regression was used to map vehicle attributes—such as average MPG, price, and country of origin—to socioeconomic variables at the city and zip-code levels.

Dataset and Classification Challenges

The study introduced a massive benchmark for fine-grained recognition, featuring over 700,000 images across 2,657 classes. This dataset covers nearly every car model produced since 1990, sourced from edmunds.com, cars.com, and craigslist.com.

Examples of fine-grained car classes in clean product images versus noisy, real-world Google Street View detections.

The CNN achieved 31.27% accuracy on the full 2,657-way classification task. While seemingly low, this performance is significant given the subtle differences between trim levels (e.g., a Honda Accord LX vs. DX) and the quality of Street View data. When evaluated on broader categories, accuracy improved significantly: 87.7% for Domestic vs. Foreign and 66.4% for Make.

Key Insights and Results

The research yielded several striking correlations between visual data and ground-truth socioeconomic metrics:

  • Income Prediction: The model’s predictions for median household income achieved a Pearson’s $r=0.82$ at the city level and $r=0.70$ at the zip-code level.
  • Environmental Monitoring: Average detected MPG correlated strongly ($r=-0.66$) with official government carbon footprint data, suggesting that visual data can effectively monitor the efficacy of environmental policies.
  • Visual Segregation: By applying the Moran’s I statistic to car prices, the authors quantified "visual segregation." They found that cities like Chicago exhibit high segregation (distinct clusters of expensive vs. cheap cars), while cities like Jacksonville show more economic mixing.
  • Crime and Demographics: The density of cars per image was the strongest predictor of "unsafe" zip codes, while a high percentage of foreign-manufactured cars was the strongest predictor of high-income neighborhoods ($r=0.47$).

Conclusion and Future Work

This study demonstrates that deep learning can transform massive unstructured image data into actionable sociological insights. While the current system relies on Google Street View—which has varying update frequencies—future iterations could expand this "visual census" to include variables like education levels, voting patterns, and real-time urban changes, providing a live dashboard for urban sociology and public policy.

Summary updated

BibTeX
@inproceedings{gebru2017fine,
  author = {Timnit Gebru and Jonathan Krause and Yilun Wang and Duyun Chen and Jia Deng and Li Fei-Fei},
  title = {{Fine-Grained Car Detection for Visual Census Estimation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.11174},
}
Figure