mlsanityData to 7 Oct 2026

Triangle and Four Cycle Counting with Predictions in Graph Streams

arXiv 2203.09572 ↗First posted 17 Mar 2022cs.DS cs.LGcited by 20

Not on the map. Why?

Abstract (arXiv)

We propose data-driven one-pass streaming algorithms for estimating the number of triangles and four cycles, two fundamental problems in graph analytics that are widely studied in the graph data stream literature. Recently, (Hsu 2018) and (Jiang 2020) applied machine learning techniques in other data stream problems, using a trained oracle that can predict certain properties of the stream elements to improve on prior "classical" algorithms that did not use oracles. In this paper, we explore the power of a "heavy edge" oracle in multiple graph edge streaming models. In the adjacency list model, we present a one-pass triangle counting algorithm improving upon the previous space upper bounds without such an oracle. In the arbitrary order model, we present algorithms for both triangle and four cycle estimation with fewer passes and the same space complexity as in previous algorithms, and we show several of these bounds are optimal. We analyze our algorithms under several noise models, showing that the algorithms perform well even when the oracle errs. Our methodology expands upon prior work on "classical" streaming algorithms, as previous multi-pass and random order streaming algorithms can be seen as special cases of our algorithms, where the first pass or random order was used to implement the heavy edge oracle. Lastly, our experiments demonstrate advantages of the proposed method compared to state-of-the-art streaming algorithms.

Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 35 of its 83 references that are in the map. First posted on arXiv 17 Mar 2022.

Builds on

35 of 83 references.

References · 35

  1. 2018Link Prediction Based on Graph Neural Networkscited by 829
  2. 2017Learning Combinatorial Optimization Algorithms over Graphscited by 557
  3. 2019Multi-scale Attributed Node Embeddingcited by 543
  4. 2019Predicting Dynamic Embedding Trajectory in Temporal Interaction Networkscited by 443
  5. 2014Sketching as a Tool for Numerical Linear Algebracited by 285
  6. 2018Competitive caching with machine learned advicecited by 194
  7. 2017The Case for Learned Index Structurescited by 188
  8. 2020Algorithms with Predictionscited by 152
  9. 2020The Primal-Dual method for Learning Augmented Algorithmscited by 78
  10. 2019Near-Optimal Bounds for Online Caching with Machine Learned Advicecited by 73
  11. 2018Community Interaction and Conflict on the Webcited by 72
  12. 2019A Model for Learned Bloom Filters, and Optimizing by Sandwichingcited by 64
23 more
  1. 2021Faster Matchings via Learned Dualscited by 56
  2. 2019Scheduling with Predictions and the Price of Mispredictioncited by 45
  3. 2015Learning to Hash for Indexing Big Data - A Surveycited by 39
  4. 2017Training Gaussian Mixture Models at Scale via Coresetscited by 38
  5. 2020Better and Simpler Learning-Augmented Online Cachingcited by 38
  6. 2017Dispersion for Data-Driven Algorithm Design, Online Learning, and Private Optimizationcited by 37
  7. 2016Learning-Theoretic Foundations of Algorithm Configuration for Combinatorial Partitioning Problemscited by 30
  8. 2021Learning-based Support Estimation in Sublinear Timecited by 16
  9. 2019Learning to Linkcited by 13
  10. 2021Dimensionality Reduction for Wasserstein Barycentercited by 13
  11. 2017Size bounds and query plans for relational joinscited by 10
  12. 2019Meta-Learning Neural Bloom Filterscited by 10
  13. 2020Partitioned Learned Bloom Filtercited by 10
  14. 2020Composable Sketches for Functions of Frequencies: Beyond the Worst Casecited by 6
  15. 2017On Sampling from Massive Graph Streamscited by 5
  16. 2017WRS: Waiting Room Sampling for Accurate Triangle Counting in Real Graph Streamscited by 5
  17. 2020Streaming Complexity of SVMscited by 2
  18. 2021An Optimal Algorithm for Triangle Counting in the Streamcited by 2
  19. 2013How Hard is Counting Triangles in the Streaming Modelcited by 1
  20. 2016A Hybrid Sampling Scheme for Triangle Countingcited by 1
  21. 2017On Counting Triangles through Edge Sampling in Large Dynamic Graphscited by 1
  22. 2020How the Degeneracy Helps for Triangle Counting in Graph Streamscited by 1
  23. 2020Improved 3-pass Algorithm for Counting 4-cycles in Arbitrary Order Streamingcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 4; 2023: 2; 2024: 7; 2025: 6; 2026: 1.

20 papers.

Sort:

  1. 2022Learning-Augmented Algorithms for Online Linear and Semidefinite Programmingcited by 11
  2. 2024Learning-augmented Maximum Independent Setcited by 11
  3. 2022Improved Learning-augmented Algorithms for k-means and k-medians Clusteringcited by 10
  4. 2023Improved Frequency Estimation Algorithms with and without Predictionscited by 10
  5. 2023The Predicted-Updates Dynamic Model: Offline, Incremental, and Decremental to Fully Dynamic Transformationscited by 4
  6. 2024Learning-Augmented Search Data Structurescited by 4
  7. 2024Learning-Based Algorithms for Graph Searching Problemscited by 4
  8. 2025Improved Approximations for Hard Graph Problems using Predictionscited by 4
  9. 2022On the Power of Learning-Augmented Search Treescited by 3
  10. 2022Sub-quadratic Algorithms for Kernel Matrices via Kernel Density Estimationcited by 2
  11. 2024Fast and Accurate Triangle Counting in Graph Streams Using Predictionscited by 2
  12. 2024Optimal Algorithms for Augmented Testing of Discrete Distributionscited by 2
8 more
  1. 2025Learning-Augmented Frequent Directionscited by 2
  2. 2026Learning-Augmented Moment Estimation on Time-Decay Modelscited by 2
  3. 2024On Approximability of ℓ22 Min-Sum Clusteringcited by 1
  4. 2025Learning-Augmented Streaming Algorithms for Correlation Clusteringcited by 1
  5. 2024A Simple Learning-Augmented Algorithm for Online Packing with Concave Objectivescited by 0
  6. 2025Efficient Approximate Temporal Triangle Counting in Streaming with Predictionscited by 0
  7. 2025On multiagent online problems with predictionscited by 0
  8. 2025Transductive and Learning-Augmented Online Regressioncited by 0