Overlapping mesoscale atlas
Companion to the manuscript · under review

Mobility flows reveal an overlapping mesoscale in 50 US cities

Cities are usually divided into disjoint regions, yet many places serve several of them. From the trips between census block groups, a graph neural network infers how strongly each place belongs to each of ten communities. These weighted, overlapping memberships reproduce a city's flows and generate the flows of places they were not fitted to.

Each layer is one community: the block groups whose membership exceeds 0.5. A place drawn in several layers is shared by these communities; thin lines join its copies.

Loading the city…

Click a block group to see the communities it belongs to
50
large US cities, plus the Twin Cities metropolitan area as a case study
39,228
census block groups
53.9 M
trips between block groups on five weekdays, 19–23 July 2021
K = 10
weighted communities per city; a place is shared when its membership exceeds 0.5 in two or more
Two representations of one system

Memberships generate flows

The model approximates the logarithm of the trips between two block groups by the inner product of their memberships. Two places that belong strongly to the same communities have many trips between them; a place shared by two communities has many trips with both. Choose any block group on the map to see the flows its memberships imply.

log Auv ≈ Fu · Fv = Σk Fuk Fvk
Click a block group.
—

Memberships of the selected block group

Bars show Fuk for the ten communities; the line marks 0.5, the threshold of the overlap count. On the map, brighter block groups have a larger Fu·Fv with the selected one, that is, more expected trips.

Flow reconstruction on observed pairs · Fig. 2

Weights are needed to reproduce the flows

Every representation is converted into a flow model whose weights are fitted under the same error, L1, the mean absolute difference between predicted and observed log flows. The weighted memberships F have a lower L1 than their own binary and partitioned versions, nine existing community-detection methods and two node embeddings, in every one of the 50 cities.

—

L1 of F and of each comparator in the chosen city (lower is better). Colours mark families: F's own discretizations, overlapping methods, partitions, embeddings, references without communities, and the strongest comparator of each city.

Reduction in L1 by F, all 50 cities

Each dot is a city: 100 × (L1 of comparator − L1 of F) / L1 of comparator. Numbers give the median over cities; every value is positive (two-sided Wilcoxon signed-rank test, P = 1.8 × 10−15 for each comparison). The chosen city is ringed.

Flow generation for held-out origins · Fig. 3

Memberships as place features

Origins were split at random into training, validation and test sets five times. For each split, F was re-estimated from the flows leaving the training origins, and Deep Gravity generated the outflows of the test origins. With F as place features, the common part of commuters (CPC) and the Spearman correlation were higher than with population, points of interest or both, and than the radiation and four gravity models, in every city.

—

CPC of the generated outflows of held-out origins in the chosen city, mean over five splits (higher is better). SC, singly constrained.

CPC gain of F over the strongest baseline

Each dot is a city: CPC with F minus CPC with population and points of interest, the baseline with the highest mean CPC. The chosen city is ringed.

Fifty cities

Where communities overlap

Choose what to map. Circle area follows the number of block groups; click a city to load it above. Smaller cities had more overlap: a city's mean overlap count fell with its population (Spearman ρ = −0.73).

Mean overlap count and population

Mean overlap count, the average number of communities in which a block group's membership exceeds 0.5, against the city's population (log scale).

Points of interest and flows · Fig. 5

Higher-order functions gather where communities overlap

Each dot is a point of interest, placed at random within its block group; block groups are shaded by overlap count. Arcs are the strongest flows the memberships imply, exp(Fu·Fv), between block groups whose largest memberships lie in different communities (at most ten per block group).

Central-place contrast by overlap count

Bars: the chosen city; lines: median of the 50 cities. G, the mean log2 odds ratio of higher-order minus everyday categories, for overlap counts 2, 3 and ≥4, each against 0–1 (Supplementary Table 12).

Drag to pan · pinch or ⌘/Ctrl + scroll to zoom · hover for counts
What shared places offer · Fig. 5

Communities overlap where higher-order functions concentrate

Before the analysis, 30 point-of-interest categories were assigned by name to a higher-order group (such as comparison retail, hotels and specialty hospitals) and an everyday group (such as schools, groceries and child day care), following the central-place order of goods. Places shared by several communities hold higher-order categories more often, and their inbound trips start in a more income-mixed set of neighbourhoods.

Odds that a point of interest of each category lies in the overlap zone rather than the rest of its city, relative to all other points of interest (log2 odds ratio): median over cities (dot) and interquartile range (line). Rings show the chosen city.

Central-place contrast G

G, the mean log2 odds ratio of the higher-order categories minus that of the everyday ones; positive in all 50 cities.

Income mix of trip origins

Difference in Hinc, the income-quintile entropy of the block groups where a block group's inbound trips start, between the overlap zone and the rest; higher in the overlap zone in 49 of 50 cities.

Data and code

Everything behind the figures

Code

Network construction, inference of the memberships, flow reconstruction, flow generation and every analysis and figure of the paper.

GitHub repository

Memberships

The ten memberships F of every census block group in the 50 cities and the Twin Cities metropolitan area, as used in the paper.

data/memberships

Results

The per-city results behind every figure and table, including the values drawn on this page.

data/results

Mobility data: anonymized device records (PlaceIQ, now Precisely), aggregated to trips between census block groups. Points of interest: SafeGraph. Residents: American Community Survey 2016–2020 via NHGIS. Block-group boundaries: US Census Bureau TIGER/Line. State outlines: Natural Earth.