All models

Urban2Vec

Urban2Vec embeds urban neighborhoods from street view images and POI text using triplet losses.

Multimodal · 320 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (18 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
26.5M
Operations
320
Framework
PyTorch
Recurrent
No
Published
AAAI 2020
Cited by
97 (as of 28 October 2026)
Authors
Zhecheng Wang, Haoyuan Li, Ram Rajagopal
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m21227
Graph hash
5b3f364ae0ed31f1f3f026bbc473007d2953bff7d127ce75cea46891ac7dfc73
Skeleton hash
ac14bbdacf4023a677ffa17122771941d42673255314876632ddcb1605066de0
Architecture hash
463d7d07288a9277ba6a01663653fd504bf5f0656e035538650faa8c5b0e7aab
Diagram SHA-256
cbbae2a06893c9a475a6471cd71cb15c6ea65703c3f77fa837fb617fdc3c03b4
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Urban2Vec learns a vector for each urban neighborhood from two kinds of data found inside it: street view images and point-of-interest (POI) data. The authors' motivation is that earlier neighborhood embeddings either relied on connectivities between neighborhoods or included only a single type of component such as POI.

Training is split into two stages. In the first, a CNN is trained with a triplet loss on the assumption that street views a short geographic distance apart are more likely to share semantics. The CNN is an Inception-v3 with a final linear layer projecting its 2048-dimensional feature into the embedding space, and the paper uses d = 200 for its analysis. A neighborhood's vector starts as the average of the street view embeddings located in it. In the second stage each POI becomes a bag of words drawn from its categories, rating, price and customer reviews. A second triplet loss moves the neighborhood closer to the words of its own POIs than to words from outside, in the way document embedding treats a document and its words.

The experiments use street view images and POI information from three US metropolitan areas: the San Francisco Bay Area, Chicago and New York. For predicting demographic and socioeconomic attributes, the paper reports performance better than its baseline methods and comparable to fully-supervised methods.

Key idea. Urban2Vec learns unsupervised neighborhood embeddings by jointly encoding street view imagery and point-of-interest text, treating a neighborhood as a container of its images and POI words.

  • Urban2Vec
  • urban neighborhood embedding
  • street view imagery
  • points of interest
  • POI embedding
  • multi-modal urban representation
  • neighborhood representation
  • census tract embedding

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{wang2020urban2vecincorporatingstreetview,
      title={Urban2Vec: Incorporating Street View Imagery and POIs for Multi-Modal Urban Neighborhood Embedding}, 
      author={Zhecheng Wang and Haoyuan Li and Ram Rajagopal},
      year={2020},
      eprint={2001.11101},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2001.11101}, 
}