On Dynamic Graph Algorithms with Predictions

07/19/2023
by   Jan van den Brand, et al.
0

We study dynamic algorithms in the model of algorithms with predictions. We assume the algorithm is given imperfect predictions regarding future updates, and we ask how such predictions can be used to improve the running time. This can be seen as a model interpolating between classic online and offline dynamic algorithms. Our results give smooth tradeoffs between these two extreme settings. First, we give algorithms for incremental and decremental transitive closure and approximate APSP that take as an additional input a predicted sequence of updates (edge insertions, or edge deletions, respectively). They preprocess it in Õ(n^(3+ω)/2) time, and then handle updates in Õ(1) worst-case time and queries in Õ(η^2) worst-case time. Here η is an error measure that can be bounded by the maximum difference between the predicted and actual insertion (deletion) time of an edge, i.e., by the ℓ_∞-error of the predictions. The second group of results concerns fully dynamic problems with vertex updates, where the algorithm has access to a predicted sequence of the next n updates. We show how to solve fully dynamic triangle detection, maximum matching, single-source reachability, and more, in O(n^ω-1+nη_i) worst-case update time. Here η_i denotes how much earlier the i-th update occurs than predicted. Our last result is a reduction that transforms a worst-case incremental algorithm without predictions into a fully dynamic algorithm which is given a predicted deletion time for each element at the time of its insertion. As a consequence we can, e.g., maintain fully dynamic exact APSP with such predictions in Õ(n^2) worst-case vertex insertion time and Õ(n^2 (1+η_i)) worst-case vertex deletion time (for the prediction error η_i defined as above).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/05/2018

Simple dynamic algorithms for Maximal Independent Set and other problems

We study three fundamental graph problems in the dynamic setting, namely...
research
11/09/2022

Fully-dynamic-to-incremental reductions with known deletion order (e.g. sliding window)

Dynamic algorithms come in three main flavors: 𝑖𝑛𝑐𝑟𝑒𝑚𝑒𝑛𝑡𝑎𝑙 (insertions-o...
research
07/17/2023

The Predicted-Deletion Dynamic Model: Taking Advantage of ML Predictions, for Free

The main bottleneck in designing efficient dynamic algorithms is the unk...
research
07/26/2022

Learning-Augmented Maximum Flow

We propose a framework for speeding up maximum flow computation by using...
research
08/26/2021

Dynamic Structural Clustering on Graphs

Structural Clustering (DynClu) is one of the most popular graph clusteri...
research
04/09/2018

Counting Triangles under Updates in Worst-Case Optimal Time

We consider the problem of incrementally maintaining the triangle count ...
research
12/15/2017

Dynamic smooth compressed quadtrees (Fullversion)

We introduce dynamic smooth (a.k.a. balanced) compressed quadtrees with ...

Please sign up or login with your details

Forgot password? Click here to reset