Pith. sign in

REVIEW 1 cited by

A fast algorithm for All-Pairs-Shortest-Paths suitable for neural networks

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2308.07403 v2 pith:TEDLXHNC submitted 2023-08-06 cs.DS q-bio.NC

classification cs.DSq-bio.NC
keywords gammapathshortestgraphleftrightdistancedistances
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
abstract

Given a directed graph of nodes and edges connecting them, a common problem is to find the shortest path between any two nodes. Here we show that the shortest path distances can be found by a simple matrix inversion: If the edges are given by the adjacency matrix $A_{ij}$ then with a suitably small value of $\gamma$ the shortest path distances are $$ D_{ij} = \operatorname{ceil} \left( \log_{\gamma} {\left[ {\left({\mathbf{I}}-\gamma {\mathbf{A}}\right)^{-1}} \right]}_{ij} \right)$$ We derive several graph-theoretic bounds on the value of $\gamma$, and explore its useful range with numerics on different graph types. Even when the distance function is not globally accurate across the entire graph, it still works locally to instruct pursuit of the shortest path. In this mode, it also extends to weighted graphs with positive edge weights. For a wide range of dense graphs this distance function is computationally faster than the best available alternative. Finally we show that this method leads naturally to a neural network solution of the all-pairs-shortest-path problem.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Accuracy Improvements for Convolutional and Differential Distance Function Approximations

    math.NA 2024-12 conditional novelty 5.0 of 10

    New asymptotic blends and Taylor extrapolations improve two families of distance-to-boundary estimators, demonstrated on 2D images.

Pith tools