Fast Shortest Path in Graphs With Sparse Signed Tree Models and Applications
Abstract
A signed tree model of a graph is a compact binary structure consisting of a rooted binary tree whose leaves are bijectively mapped to the vertices of , together with 2-colored edges , called transversal pairs, interpreted as bicliques or anti-bicliques whose sides are the leaves of the subtrees rooted at and at . We design an algorithm that, given such a representation of an -vertex graph with transversal pairs and a source , computes a shortest-path tree rooted at in in time . A wide variety of graph classes are such that for all , their -vertex graphs admit signed tree models with transversal pairs: for instance, those of bounded symmetric difference, more generally of bounded sd-degeneracy, as well as interval graphs. As applications of our Single-Source Shortest Path algorithm and new techniques, we - improve the runtime of the fixed-parameter algorithm for first-order model checking on graphs given with a witness of low merge-width from cubic [Dreier and Toru\'nczyk, STOC '25] to quadratic; - give an -time algorithm for All-Pairs Shortest Path (APSP) on graphs given with a witness of low merge-width, generalizing a result known on twin-width [Twin-Width III, SICOMP '24]; - extend and simplify an -time algorithm for multiplying two matrices of bounded twin-width in [Twin-Width V, STACS '23]: now solely has to be an adjacency matrix of a graph of bounded twin-width and can be arbitrary; - give an -time algorithm for APSP on graphs of bounded twin-width, bypassing the need for contraction sequences in [Twin-Width III, SICOMP '24; Bannach et al. STACS '24]; - give an -time algorithm for APSP on graphs of symmetric difference .
Cite
@article{arxiv.2602.16605,
title = {Fast Shortest Path in Graphs With Sparse Signed Tree Models and Applications},
author = {Édouard Bonnet and Colin Geniet and Eun Jung Kim and Sungmin Moon},
journal= {arXiv preprint arXiv:2602.16605},
year = {2026}
}
Comments
28 pages, 2 figures