engrXiv 10.31224/7306 · open source · MIT
Certified route planning under drifting costs.
A robot routing through terrain whose costs drift — mud after rain, traffic after an incident — can't answer the one question that matters: how good is my route, now that most of the map is stale? CERT-FLOW answers it every round, with a proof, and spends sensing exactly where the proof is loosest.
The problem
A scout vehicle maps a forest trail in winter; by summer the mud is gone and the costs have moved. A delivery robot's street graph drifts with every incident. D* Lite, A*, and friends re-find the shortest path on whatever costs they currently hold — silently, whether those costs are fresh or hours stale. The route looks optimal and may not be, with nothing to flag it.
The honest question is a certificate question: bound the true optimum from both sides, act only on what you can prove, and when the bound is too loose, spend a sensor reading exactly where it tightens fastest.
How it works
Each edge carries a point estimate, an observation age, and a drift-rate bound. Age-weighted non-exchangeable conformal prediction turns these into intervals that widen with staleness; two incremental searches bracket the optimum from below and above; the certificate either certifies (gap ≤ ε) or points the next sensor reading at the edge that shrinks the gap fastest. When the certificate proves the map is tight, that proof licenses lookup-speed preprocessing — revoked the instant drift exceeds tolerance.
Each paid observation is scored and weighted by age — exchangeability is never assumed.
The conformal quantile pays for noise; the drift term pays for staleness.
An optimistic ℓ-search and a conservative u-search, repaired incrementally on a flat-array engine.
At an honestly-annealed confidence that degrades visibly as the map ages — weak claims, not silence.
Route-critical, churn-aware sensing — certification is a rate, not a state (Theorem T2′).
When every interval is provably tight, an oracle / certified CH answers in ns–µs, revoked once drift exceeds τ.
See it move
Every clip replays a real run; the coverage and regret numbers are measured at render time, not staged (warm-up rounds are drawn as “no claim”, never counted as misses). A note on honesty: on a known static map every planner finds the same optimal path — so these show what actually differs under drift: certificate validity and sensing efficiency.
CERT's band contains the true optimum on every round it claims; AD*'s w-suboptimality band, trusting stale point estimates, drifts out of date.
Certificate validity on benchmark game-map geometry (DAO arena) under bounded drift — the result transfers off the synthetic grid.
Gap-directed sensing converges near a clairvoyant oracle; random / max-age / drive-blind wander at the same budget (mean over 15 seeds).
The same regret race on a cropped MovingAI arena: gap-directed sensing reaches the goal at the lowest travel-regret of any policy.
Exchangeable conformal (CIA, run with its own construction on the same city) covers on the static slice it assumes, then collapses as the calibration→test gap grows; CERT widens its interval to keep coverage. The price is paid in width, explicitly — never in coverage.
Rendered by scripts/viz_compare.py + the visualization suite — reproducible like every number on this page.
Where it stands
| property → | drift-aware intervals | path-cost certificate | online incremental | gap-directed sensing |
|---|---|---|---|---|
| D* Lite / AD* | ✕ | ✕ | ✓ | ✕ |
| Conformal sums (CIA, CQR-GAE) | ✕ | ✓ | ✕ | ✕ |
| TASP / FreMEn | ✓ | ✕ | ✕ | ✕ |
| CTP + sensing / IPP | ✕ | ✕ | ✕ | ✓ |
| 🏆 CERT-FLOW | ✓ | ✓ | ✓ | ✓ |
Every prior family misses at least two of the four properties whose conjunction CERT occupies. All per-condition numbers — marked ↑/↓ and ranked best→worst — are in docs/results.
Coverage, observable · opt-in
A certificate pinned at coverage 1.000 hides an awkward truth: the claim was untestable. An opt-in observability layer turns it into a live, alarming quantity — a WATCH conformal test-martingale and a Shiryaev–Roberts change-detector run alongside the planner and fire the moment the staleness model the proof leans on actually breaks. Every piece is off by default, a config flag or a new class, and touches no certificate: the (LB, UB, confidence) stream is byte-identical on or off.
Width, sensing, speed — the measured picture
Wired behind PlannerConfig(watch_monitor=True), sum_aware_ub=True / cia_path_certificate(), shrink_license=True, and hybrid_sensing=True; full write-ups in width-attack-2026.md, hybrid-sensing-2026.md, crossover-2026.md, and live-wiring-2026.md. The program's meta-lesson, kept honest: the certify/verify layer survives real data — and the width it costs is now measurably shrinking.
The verdict scoreboard
One honest table, every number traced to a committed result doc. Plain verdict words; the FAIL and WEAK rows stay in.
| Area | CERT-FLOW | Best alternative | Verdict |
|---|---|---|---|
| Coverage under real drift | 1.000 coverage, every condition | AD*/ARA* 0.02–0.07 valid (real METR-LA) | PASSdecisively better — validity is the axis a route certificate lives on |
| vs CIA (closest conformal) | holds 0.95–1.00 at every staleness gap | CIA collapses 0.95 → 0.20 under staleness | PASSon validity — honest cost: up to ~49× wider at 24 h |
| Interval tightness | valid but 1–2 orders wider; sum-level UB recovers −26.6% real-traffic width at 0 violations; licensed Tier-2 −62.4% at 0.51% measured | AD*-semantics intervals narrow (but invalid) | WEAK, SHRINKINGsoundness costs width, now measurably recoverable — residual = the drift price |
| Sensing | objective-matched hybrid −41% median route regret on real METR-LA (recommended); pure gap-directed dominated | CTP-RS-style VOI 0.48 | PASS FAILhybrid (default-recommended) wins and carries a certificate VOI lacks; pure gap-directed stays documented |
| Static-grid / continental speed | 1.5 ms scratch · 3.7 ms per certified round | JPS+ ~4 µs · Hub Labels 0.56 µs | FAILon raw latency, by design — but no quality crossover: certified regret ≤ the fast planner's at every drift, whose promises break on 62–97% of rounds |
| Bounded cost-change absorption | 0.015–0.34 ms | CRP ~1 s recustomization | PASSorders faster on the "costs moved, keep planning" operation |
| Observability (WATCH / SR) | quiet 20/20 real seeds; injected shift caught in ~6–7 rounds | no competitor ships this | PASSnovel — coverage is now a live, alarming quantity |
| Multi-agent | additive fleet certificate sound + exact (survives) | joint TEAM-CERT (tighter on synthetic only) | MIXEDadditive ports; joint falsified on real METR-LA |
Read it straight: CERT-FLOW wins soundness and observability decisively; its interval width is wide but shrinking (sum-level calibration recovers a measured 24–27% at zero violations, the licensed tier goes further at a measured self-revoking cost); hybrid sensing is a real-data PASS; and it loses on static-map raw latency by design. Sources: docs/results/ — extern-baselines, cia-comparison, width-attack-2026, hybrid-sensing-2026, crossover-2026, published-speed-comparison, live-wiring-2026, multiagent.
The theory
Full statements + proofs in the theory companion (paper/theory.tex); working notes in docs/theory.
Honest boundaries
A certificate is only as trustworthy as its author's honesty about the edges. These are measured, documented, and shipped alongside the wins.
On a frozen, fully-known graph, optimized planners (Hub Labels, CH) answer in microseconds and CERT shouldn't be used — its value begins only when costs drift. CERT reaches that speed class only through proof, when the certificate says it's safe.
On a bare residual stream, our age-weighted quantile ties fixed-weight NexCP — the real edge over exchangeable conformal is the explicit ρ·age drift term and the sensing loop, not the weighting. Reported, not buried.
Where there is only one route, route-critical sensing provably cannot help — confirmed by a maze negative control. The claim's boundary, not a defect.
On a full year of forest-trail traversal costs, path-level coverage holds at 1.000 but the marginal edge guarantee strains slightly (0.87 vs 0.90) — real winter→summer shifts are harsher than bounded synthetic drift. An honest datapoint, not a perfect one.
Use it
# clone, install, test git clone https://github.com/Archerkattri/CERT-FLOW cd CERT-FLOW python -m venv cert_env && source cert_env/bin/activate pip install -e ".[dev,fast]" pandas h5py tables pytest # 250 tests · core sweep ≈ 100 s
Every figure and table regenerates from a script in scripts/; results live in docs/results/.
@article{attri2026certflow,
author = {Attri, Krishi},
title = {{CERT}: Certified Route Planning
under Drifting Costs},
year = {2026},
doi = {10.31224/7306}
}