Dynamic Breadth First Search with Predictions

📅 2026-05-31
📈 Citations: 0
Influential: 0
📄 PDF

career value

188K/year
🤖 AI Summary
This work addresses the problem of efficiently maintaining a breadth-first search (BFS) tree rooted at a source vertex in graphs undergoing dynamic edge updates—insertions, deletions, or a mix of both. It introduces, for the first time, predictive models into the dynamic BFS setting and proposes incrementally and decrementally updated strategies guided by prediction errors (denoted η_v, η^*_v, and η_e). The approach extends the classic Even–Shiloach (ES) tree to support batch processing and fully dynamic scenarios. In incremental and decremental settings, the algorithm achieves worst-case update times of O(η_v + η_e) and O(min{m, η^*_v + η_e}), respectively, while retaining comparable efficiency in the fully dynamic case—substantially outperforming the naive O(m) recomputation baseline.
📝 Abstract
Given a graph $G(V,E)$ having $n$ vertices and $m$ edges, we maintain its Breadth-First Search (BFS) tree from source $s$ under an online sequence of edge updates in the prediction model. Our approach leverages a predicted update sequence aiding online processing. We present algorithms for incremental (insertions-only), decremental (deletions-only), and fully dynamic (insertions and deletions) settings that maintain a BFS tree (parent and level information). Classically, the incremental and decremental BFS tree requires total $O(mn)$ time [JACM81], with amortized $O(n)$ and worst-case $O(m)$ update time. The combinatorial BMM conjecture restricts any polynomial improvement [FOCS14] even when the updates are known in advance [STOC15]. For fully dynamic BFS trees, only the trivial $O(m)$ time recomputation is known. Our complexity bounds are expressed in prediction error measures, where error vertices are those having incorrectly predicted distances, with the corresponding difference as their error. The vertex prediction error $η_{v}$ is the sum of degrees of error vertices, weighted vertex prediction error $η^*_{v}$ is error-weighted sum of degrees of error vertices, and $η_e$ counts the incorrectly predicted updates. For incremental and decremental BFS, our algorithm requires respectively $O(η_v + η_e)$ and $O(\min\{m,η^*_v + η_e\})$ worst case update time using $O(mn)$ preprocessing time and space, and total update time of $O(η^*_v + η_e)$. For fully-dynamic updates, our algorithm requires $O(\min\{m,η^*_v+η_e\})$ worst case update time. At its core, we extend the classical ES Trees [JACM81] for batch updates and fully dynamic updates. This simple extension is sufficient to give a competitive prediction algorithm, which may be generalized to other graph problems. We also consider space optimizations and error correction to improve our results.
Problem

Research questions and friction points this paper is trying to address.

Dynamic BFS
Graph Algorithms
Predictions
Edge Updates
Online Algorithms
Innovation

Methods, ideas, or system contributions that make the work stand out.

Dynamic BFS
Predictions
Update Error
ES Trees
Fully Dynamic Graphs
🔎 Similar Papers