arXiv:2609.07349cs.LGSep 2026

Manuscript Offprint

arXiv:2609.07349

Inferring Urban Mobility Interactions from Aggregated Dynamics

Yi Wang, Jing Li, Jinliang Deng, Zhenghong Wang, Yizhi Zhang, Fan Zhang, Ivor W. Tsang, Yu Liu

Abstract

Real-time urban governance depends not only on knowing where people are, but on how they move between places, directional flows that could be conventionally resolved by tracking individuals through space—expensive to sustain and built on traces that are highly unique and readily re-identifiable. Here we show that this directional structure need not be observed to be known: aggregated counts which cities already collect retain enough information to reconstruct the temporal evolution of origin–destination (OD) matrix. Using an uncertainty-aware physics-informed framework (ODIN), we infer future OD flows from area-level counts alone across twelve mobility datasets from cities in the United States and China, reaching accuracy comparable to models that take historical OD matrices as input. Probabilistic modeling corrects the systematic underestimation of sparse, high-value corridors and yields calibrated predictions consistent with observed flows. Architectures that respect the generation-before-assignment logic of transport planning recover interactions more faithfully, indicating that location-level spatial heterogeneity should be preserved before pairwise interactions are reconstructed. Because inference requires only aggregated observations after training, recovering interactions this way reduces reliance on continuous individual-level tracking, pointing toward a more deployable and less exposure-heavy basis for real-time urban intelligence.

Introduction

Spatiotemporal interactions are a fundamental organizing principle of complex systems, describing how entities exchange people, goods, information or risks across space and time 1^{1}. They shape a wide range of dynamic processes, from global trade 2^{2} and supply-chain connectivity 3^{3} to epidemic transmission and evolving social relations 4^{4}. Human mobility 5,6^{5,6} represents one of the most direct and measurable forms of such interactions within cities. The continuous flux of human mobility underpins the resilience 4,7^{4,7}, productivity 8,9^{8,9} and sustainable development of urban systems 10,11^{10,11}. Real-time urban governance therefore increasingly depends on understanding not only where people are, but where they are moving from and to 12−14^{12-14}. These directed, time-varying transitions are formalized as dynamic Origin-Destination (OD) flows, and interventions ranging from transport optimization 15^{15} and crowd management 16^{16} to infectious disease containment 17^{17} all depend on knowing them. Yet the standard route to these flows runs through individual trajectories—costly to sustain, and intrusive by construction.

Learning-based paradigms have become the dominant route to dynamic OD inference, but they are typically formulated to predict OD flows from historical OD observations at the same granularity 18^{18}. At deployment, they therefore presuppose a continuous supply of OD observations as input—a supply that the real world is doubly ill-equipped to provide. First, ubiquitous sensing infrastructures 19,20^{19,20} (e.g., inductive loops and photoelectric sensors) typically provide only cross-sectional counting capabilities. This “count-but-not-track” mechanism captures local aggregate dynamics but fails to record individual end-to-end trajectories 21^{21}, leaving the underlying origin–destination interactions unobserved. Second, fine-grained OD observations from GPS or cellular signaling 22,23^{22,23} are not the innocuous aggregates they appear to be. At the resolutions required for real-time inference, a large fraction of OD–time cells contain a single trip (Fig. 1a and Fig. 6), and such cells are individual records in aggregate clothing. Montjoye et al. have shown that traces of this kind are highly unique, with as few as four spatiotemporal points sufficing to identify an individual from a population of millions with 95% accuracy 24^{24}. These limitations motivate a shift from directly observing OD flows to asking whether spatially aggregated dynamics 25,26^{25,26}, which are more widely accessible and already routinely collected, still retain recoverable fine-grained information about latent mobility interactions.

To examine this recoverability, we study coarse-to-fine dynamic OD prediction. This problem is severely under-constrained 27−29^{27-29}: recovering high-dimensional OD interactions from low-dimensional aggregate counts resembles inferring a joint distribution from its marginals, so that at any single instant the same aggregate observations are consistent with vastly different underlying OD structures. This difficulty is compounded by the temporal dynamics, as periodicity, volatility and sparsity at fine resolutions jointly amplify the ambiguity. Yet aggregation does not erase interaction structure entirely: temporal and spatial regularities may leave indirect but recoverable signatures of the latent flows 30−32^{30-32}, an assumption our study is designed to test.

Classical physical principles, such as maximum entropy 33,34^{33,34}, can in principle constrain OD recovery toward physically plausible interaction structures, but their canonical realizations, such as gravity model 33^{33} or radiation model 35^{35} assume dense and stationary interactions. Real-time OD flows violate such assumptions as they shift strongly across time and remain highly sparse. Standard deterministic learning faces a complementary obstacle rooted in the long-tail nature of mobility 5,36^{5,36}, where abundant low-value flows dominate the sparse, high-value corridors that carry most operational significance. This imbalance pulls estimates toward the low-volume majority and systematically underestimates high-value flows so that interactions become hardest to recover precisely where accuracy matters most, during mass gatherings or epidemic spread (Fig. 1b).

To test whether this recoverable information is truly present, we develop ODIN, an uncertainty-aware physics-informed framework, as a probe. Across twelve mobility datasets from cities in the United States and China, we find that aggregated dynamics retain recoverable information about latent mobility interactions: from area-level counts alone, ODIN infers future OD flows with accuracy comparable to models that observe full historical OD. Modeling OD flows probabilistically further corrects the systematic underestimation of sparse high-value corridors and yields calibrated predictions consistent with observed flow distributions. Recovery also depends on modeling order: architectures aligned with the generation-before-assignment logic of transport planning recover interactions more faithfully, indicating that location-level spatial heterogeneity must be preserved before pairwise interactions are reconstructed. Because inference then requires only aggregated observations, the need for individual-level data shifts from continuous operation to a one-time training stage, substantially reducing both the annual acquisition burden and the exposure of sparse, potentially identifiable records.

References (72)