Precomputed Spatial Context for Urban Agent-Based Models: Runtime Gains and Output Trade-Offs

Urban agent-based models repeatedly retrieve spatial context and select destinations from largely static urban data. Precomputing these operations can reduce runtime but may also change simulated outcomes. We evaluate a spatial backend that combines H3-indexed context, cached accessibility and bounded retrieval of real points of interest, with the moving-agent state kept separate, against a continuous-coordinate BallTree reference in Madrid, Cambridge (Massachusetts) and New York City. With shared inputs and scoring parameters, the H3 implementation is 2.9–4.2× faster for one million independent destination decisions and 2.2–3.3× faster in temporal decision loops with 104–105 agents, excluding routing. The cold-start break-even ranges from about 10,000 to 266,000 decisions, and the short New York run remains slower overall. In paired 10,000-agent simulations, the exact destination agreement is 71.1–75.2% for first decisions and 59.2–64.9% across five decisions. H7 origin–destination flows remain strongly correlated (r=0.9945–0.9990), whereas H9 normalized absolute errors reach 0.411–0.537 for flows and 0.449–0.626 for occupancy. Across five population seeds, H9 origin–destination flow deviations exceed between-seed sampling variation only in Cambridge. Comparisons with observed mobility flows show substantial discrepancies for both implementations. The runtime benefit depends on workload and reuse, while the suitability of the approximation depends on the spatial resolution required for the intended analysis.

Authors

Institutions

Publication Details

Journal
ISPRS International Journal of Geo-Information
Published
2026-12-03
DOI
https://doi.org/10.3390/ijgi15120547
Primary Topic
Human Mobility and Location-Based Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Precomputed Spatial Context for Urban Agent-Based Models: Runtime Gains and Output Trade-Offs

Parfait Atchade-Adelomou, Kent Larson, Luis Alonso, Adrian Mora
ISPRS International Journal of Geo-Information
Human Mobility and Location-Based Analysis
article

Precomputed Spatial Context for Urban Agent-Based Models: Runtime Gains and Output Trade-Offs

Parfait Atchade-Adelomou, Kent Larson, Luis Alonso, Adrian Mora
article en

Abstract

Urban agent-based models repeatedly retrieve spatial context and select destinations from largely static urban data. Precomputing these operations can reduce runtime but may also change simulated outcomes. We evaluate a spatial backend that combines H3-indexed context, cached accessibility and bounded retrieval of real points of interest, with the moving-agent state kept separate, against a continuous-coordinate BallTree reference in Madrid, Cambridge (Massachusetts) and New York City. With shared inputs and scoring parameters, the H3 implementation is 2.9–4.2× faster for one million independent destination decisions and 2.2–3.3× faster in temporal decision loops with 104–105 agents, excluding routing. The cold-start break-even ranges from about 10,000 to 266,000 decisions, and the short New York run remains slower overall. In paired 10,000-agent simulations, the exact destination agreement is 71.1–75.2% for first decisions and 59.2–64.9% across five decisions. H7 origin–destination flows remain strongly correlated (r=0.9945–0.9990), whereas H9 normalized absolute errors reach 0.411–0.537 for flows and 0.449–0.626 for occupancy. Across five population seeds, H9 origin–destination flow deviations exceed between-seed sampling variation only in Cambridge. Comparisons with observed mobility flows show substantial discrepancies for both implementations. The runtime benefit depends on workload and reuse, while the suitability of the approximation depends on the spatial resolution required for the intended analysis.

ISPRS International Journal of Geo-InformationVol. 15(12)
MIT Media Lab (US), Massachusetts Institute of Technology (US), Universidad Politécnica de Madrid (ES)
Human Mobility and Location-Based Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon