atlas

Research map / Bandits and online learning / Online convex optimization and games

Incremental Topological Ordering and Cycle Detection with Predictions

ICML 2024 · Bandits and online learning › Online convex optimization and games · approach: Learning-augmented online algorithms · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes learning-augmented data structures (Learned DFS Ordering and Ideal Learned Ordering) for incremental topological ordering and cycle detection, using per-vertex ancestor/descendant edge count predictions, with theoretical bounds and experiments on SNAP temporal graphs.

Problem

Maintaining a topological ordering and detecting cycles under incremental edge insertions in a directed graph is expensive in the worst case, while simple greedy heuristics are fast in practice but can be slow in the worst case.

Approach

Coarse-grained predictions of each vertex's number of ancestor and descendant edges in the final graph warm-start level-based (BFGT/BK-style) incremental ordering, giving consistent, robust and smooth running-time guarantees in terms of prediction error eta.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
warm-start DFS levels with predictions from 5% training data instead of zero predictionsLDFS · Email-Eu-core test (last 50%)cost (nodes and edges processed): 5.0e+5 -> 8.4e+3Helped
warm-start DFS levels with predictions from 5% training data instead of zero predictionsLDFS · CollegeMsg test (last 50%)cost (nodes and edges processed): 1.2e+5 -> 9.6e+3Helped
warm-start DFS levels with predictions from 5% training data instead of zero predictionsLDFS · Math Overflow test (last 50%)cost (nodes and edges processed): 2.8e+5 -> 4.4e+4Helped
warm-start DFS levels with predictions from 50% rather than 5% training dataLDFS · Email-Eu-core test (last 50%)cost (nodes and edges processed): 8.4e+3 -> 2.6e+3Helped
warm-start DFS levels with predictions from 50% rather than 5% training dataLDFS · CollegeMsg test (last 50%)cost (nodes and edges processed): 9.6e+3 -> 5.4e+3Helped
warm-start DFS levels with predictions from 50% rather than 5% training dataLDFS · Math Overflow test (last 50%)cost (nodes and edges processed): 4.4e+4 -> 2.8e+4Helped
warm-start DFS levels with predictions from 5% training data instead of zero predictionsLDFS · Email-Eu-core test (last 50%)runtime (s): 0.274 -> 0.071Helped
warm-start DFS levels with predictions from 5% training data instead of zero predictionsLDFS · CollegeMsg test (last 50%)runtime (s): 0.101 -> 0.021Helped
warm-start DFS levels with predictions from 5% training data instead of zero predictionsLDFS · Math Overflow test (last 50%)runtime (s): 0.241 -> 0.094Helped
add noise to the predictionsLDFS · email-Eu-core robustness experimentcost (nodes and edges processed)Hurt
add noise to the predictionsLDFS · synthetic DAGs, high edge density and high perturbationcost (nodes and edges processed)Hurt

Surprising findings

Limitations

Experimental setup

Datasets: email-Eu-core CollegeMsg Math Overflow

Benchmarks: email-Eu-core CollegeMsg Math Overflow

Metrics: total cost (nodes and edges processed) running time (s)

Baselines: DFS I DFS II BFGT BK

Builds on: BFGT algorithm BK algorithm (Bender et al. sparse incremental topological ordering) DFS-based incremental topological ordering (DFS II)

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy