Vertex Ordering Problems in Directed Graph Streams
Amit Chakrabarti, Prantar Ghosh, Andrew McGregor, Sofya Vorotnikova
Abstract
We consider directed graph algorithms in a streaming setting, focusing on problems concerning orderings of the vertices. This includes such fundamental problems as topological sorting and acyclicity testing. We also study the related problems of finding a minimum feedback arc set (edges whose removal yields an acyclic graph), and finding a sink vertex. We are interested in both adversarially-ordered and randomlyordered streams. For arbitrary input graphs with edges ordered adversarially, we show that most of these problems have high space complexity, precluding sublinear-space solutions. Some lower bounds also apply when the stream is randomly ordered: e.g., in our most technical result we show that testing acyclicity in the p-pass random-order model requires roughly n 1+1/p space. For other problems, random ordering can make a dramatic difference: e.g., it is possible to find a sink in an acyclic tournament in the one-pass randomorder model using polylog(n) space whereas under adversarial ordering roughly n 1/p space is necessary and sufficient given Θ(p) passes. We also design sublinear algorithms for the feedback arc set problem in tournament graphs; for random graphs; and for randomly ordered streams. In some cases, we give lower bounds establishing that our algorithms are essentially space-optimal. Together, our results complement the much maturer body of work on algorithms for undirected graph streams.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e34ee24b-325e-477d-8748-62b3c2cac835Cited by top-tier papers7
- Multi-Pass Graph Streaming Lower Bounds for Cycle Counting, MAX-CUT, Matching Size, and Other ProblemsSepehr Assadi, Gillat Kol, Raghuvansh R. Saxena, Huacheng YuFOCS 2020 · 19 citations
- Almost optimal super-constant-pass streaming lower bounds for reachabilityLijie Chen, Gillat Kol, Dmitry Paramonov, Raghuvansh R. Saxena et al.STOC 2021 · 15 citations
- Near-Quadratic Lower Bounds for Two-Pass Graph Streaming AlgorithmsSepehr Assadi, Ran RazFOCS 2020 · 13 citations
- Graph streaming lower bounds for parameter estimation and property testing via a streaming XOR lemmaSepehr Assadi, Vishvajeet NSTOC 2021 · 12 citations
- Hidden Permutations to the Rescue: Multi-Pass Streaming Lower Bounds for Approximate MatchingsSepehr Assadi, Janani SundaresanFOCS 2023 · 3 citations
Related papers
- Streaming Algorithms via Local Algorithms for Maximum Directed CutRaghuvansh R. Saxena, Noah G. Singer, Madhu Sudan, Santhoshini VelusamySODA 2025 · 2 citations
- Coloring Graphs with Few Colors in the Streaming ModelSepehr Assadi, Janani Sundaresan, Helia YazdanyarSODA 2026
- Near-Optimal Four-Cycle Counting in Graph StreamsSebastian Lüderssen, Stefan Neumann, Pan PengSODA 2026 · 1 citation
- Simulating Random Walks in Random StreamsJohn Kallaugher, Michael Kapralov, Eric PriceSODA 2022 · 3 citations
- An Improved Algorithm for Incremental Cycle Detection and Topological Ordering in Sparse GraphsSayan Bhattacharya, Janardhan KulkarniSODA 2020 · 15 citations
