Glassy dynamics of metropolitan human mobility frozen near the gravitational equilibrium
The doubly constrained gravity model is one of the most widely used descriptions of urban commuting flows, yet whether residential relocation can actually drive a city to this equilibrium has not been tested. We address this question by connecting urban commuting to thermal equilibrium. Using mobility data from around 30 million records across six Japanese cities over one year, we introduce the Gravity-based Origin Swapping Model (GOSM), which applies Metropolis dynamics to urban commuting by treating individuals as interacting particles. Within this framework, total commuting time defines the system energy, and temperature controls how strongly mobility responds to cost savings. Consequently, urban commuting can be analyzed through an evaluable free energy and simulated similarly to physical systems of matter, with the maximum-entropy doubly constrained gravity model serving as the stationary state. We find that the residential dynamics exhibit glassy characteristics: calibration to observed data reveals signatures of kinetically constrained models, specifically aging, hysteresis, and freezing near equilibrium. These results suggest that static OD snapshots may misestimate the effect of structural intervention: substantial improvements may require changing the urban landscape itself, through transport investment that reshapes travel times or housing development that reshapes residential capacities, rather than waiting for spontaneous relocation to reach the theoretical optimum.