English

Near Uniform Triangle Sampling Over Adjacency List Graph Streams

Data Structures and Algorithms 2024-05-17 v1

Abstract

Triangle counting and sampling are two fundamental problems for streaming algorithms. Arguably, designing sampling algorithms is more challenging than their counting variants. It may be noted that triangle counting has received far greater attention in the literature than the sampling variant. In this work, we consider the problem of approximately sampling triangles in different models of streaming with the focus being on the adjacency list model. In this problem, the edges of a graph GG will arrive over a data stream. The goal is to design efficient streaming algorithms that can sample and output a triangle from a distribution, over the triangles in GG, that is close to the uniform distribution over the triangles in GG. The distance between distributions is measured in terms of 1\ell_1-distance. The main technical contribution of this paper is to design algorithms for this triangle sampling problem in the adjacency list model with the space complexities matching their counting variants. For the sake of completeness, we also show results on the vertex and edge arrival models.

Keywords

Cite

@article{arxiv.2405.10167,
  title  = {Near Uniform Triangle Sampling Over Adjacency List Graph Streams},
  author = {Arijit Bishnu and Arijit Ghosh and Gopinath Mishra and Sayantan Sen},
  journal= {arXiv preprint arXiv:2405.10167},
  year   = {2024}
}

Comments

26 pages

R2 v1 2026-06-28T16:29:39.169Z