HierX: Fast Multi-Scale Distance-Decay Interaction on Million-Node Networks
Preprint, 2026

Many models across the sciences require global distance-decay interactions on large sparse networks. Gravity models, accessibility measures, spatial economic models, and network influence processes all evaluate distance-weighted potential fields: each location accumulates contributions from every other location, weighted by a decaying function of the shortest-path travel cost between them. Computed directly, such aggregate fields require the dense matrix of all pairwise network costs, which scales quadratically in time and memory. Common approximations either discard long-range contributions or fail when interaction is governed by network distances rather than geometric proximity. We introduce HierX, a hierarchical sparse-plus-correction operator for distance-decay potential fields on networks. HierX constructs multi-scale representative layers with explicit correction terms ensuring each location pair contributes exactly once at the finest available resolution. Under bounded-growth assumptions common in spatially embedded networks, applying HierX scales as O(n log n). Systematic benchmarks confirm quasi-linear scaling to 100,000 nodes. In head-to-head comparison with distance cutoff truncation and Nystrom low-rank approximation on 25,000-zone networks, HierX achieves 5-9% RMSE at a fraction of the computational work; Nystrom degrades severely on steep decay kernels. Case studies compute population-weighted accessibility on the 2.58-million-node Great Britain driving network and the 1.77-million-node London pedestrian network: a one-time hierarchy construction (~1 hour) yields a compact reusable operator that then evaluates each national-scale accessibility field in under one second (~700 ms for Great Britain, ~150 ms for London). Open-source code and worked examples are provided.

O(n log n) complexity

sparse operators

spatial interaction

distance-decay kernels

hierarchical methods

network accessibility

Author

Alexander Hellervik

Chalmers, Space, Earth and Environment, Physical Resource Theory

Joakim Bohlin

Chalmers, Physics, E-commons

Claes Andersson

Chalmers, Space, Earth and Environment, Physical Resource Theory

INTACT - Iterativ Nätverks- och TransportAnalys för Centralitet och Tillgänglighet

Swedish Transport Administration (TRV2024/31308INTAC), 2024-09-01 -- 2027-09-30.

Areas of Advance

Transport

Subject Categories (SSIF 2025)

Transport Systems and Logistics

Algorithms

Related datasets

Data archive for: HierX: Fast Multi-Scale Distance-Decay Interaction on Million-Node Networks [dataset]

DOI: https://doi.org/10.5281/zenodo.19062193

More information

Latest update

8/27/2026