Residual Frontier Refinement: Exact Shortest-Path Propagation with Adaptive Partial Ordering
Description
Residual Frontier Refinement (RFR) is an exact shortest-path propagation method that replaces unconditional global priority-queue ordering with adaptive partial ordering over residual distance bands. The method processes frontier bands in batches only when conservative safety checks prove that doing so preserves Dijkstra-equivalent shortest-path distances; ambiguous bands are split or resolved with local exact fallback.
Version 1.1 adds an invariant-band execution model for cost fields: when band width does not exceed the minimum possible step cost, every band is unconditionally safe, eliminating runtime safety checks. Settling and relaxing whole bands as vectorized NumPy operations then converts the proven independence into wall-clock performance. On full-field solves the invariant-band solver computes exact Dijkstra-identical distance fields 1.7×–5.5× faster than hand-written grid Dijkstra at 512²–2048² points, with the advantage growing with scale, reproduced across two independent benchmark environments.
This release contains the RFR whitepaper (v1.1), Python reference implementation, tests, benchmark artefacts, independent-review harness, and topographic routing simulator. The work validates exactness against Dijkstra across tested graph families and demonstrates how structured frontiers can reduce global ordering work while exposing useful diagnostics such as safe batches, split pressure, local fallback, and residual frontier ambiguity.
The current implementation is a research prototype. The general-graph Python implementation remains slower than Dijkstra on pre-built graph benchmarks; single point-to-point queries still favour A*; invariant-band wall-clock gains require full-field computation on roughly 10⁵ points or more. These limits are stated explicitly in the whitepaper.
Files
RFR_WHITEPAPER_v1.1.pdf
Additional details
Related works
- Is new version of
- Publication: 10.5281/zenodo.20329104 (DOI)
- References
- Software: https://github.com/MilitantAI/RFR (URL)
- Publication: 10.48550/arXiv.2504.17033 (DOI)
- Publication: 10.1145/363269.363610 (DOI)
- Publication: 10.1016/S0196-6774(03)00076-2 (DOI)
Software
- Repository URL
- https://github.com/MilitantAI/RFR
- Programming language
- Python