English

Arboricity and Random Edge Queries Matter for Triangle Counting using Sublinear Queries

Data Structures and Algorithms 2025-02-24 v1

Abstract

Given a simple, unweighted, undirected graph G=(V,E)G=(V,E) with V=n|V|=n and E=m|E|=m, and parameters 0<ε,δ<10 < \varepsilon, \delta <1, along with \texttt{Degree}, \texttt{Neighbour}, \texttt{Edge} and \texttt{RandomEdge} query access to GG, we provide a query based randomized algorithm to generate an estimate T^\widehat{T} of the number of triangles TT in GG, such that T^[(1ε)T,(1+ε)T]\widehat{T} \in [(1-\varepsilon)T , (1+\varepsilon)T] with probability at least 1δ1-\delta. The query complexity of our algorithm is O~(mαlog(1/δ)/ε3T)\widetilde{O}\left({m \alpha \log(1/\delta)}/{\varepsilon^3 T}\right), where α\alpha is the arboricity of GG. Our work can be seen as a continuation in the line of recent works [Eden et al., SIAM J Comp., 2017; Assadi et al., ITCS 2019; Eden et al. SODA 2020] that considered subgraph or triangle counting with or without the use of \texttt{RandomEdge} query. Of these works, Eden et al. [SODA 2020] considers the role of arboricity. Our work considers how \texttt{RandomEdge} query can leverage the notion of arboricity. Furthermore, continuing in the line of work of Assadi et al. [APPROX/RANDOM 2022], we also provide a lower bound of Ω~(mαlog(1/δ)/ε2T)\widetilde{\Omega}\left({m \alpha \log(1/\delta)}/{\varepsilon^2 T}\right) that matches the upper bound exactly on arboricity and the parameter δ\delta and almost on ε\varepsilon.

Keywords

Cite

@article{arxiv.2502.15379,
  title  = {Arboricity and Random Edge Queries Matter for Triangle Counting using Sublinear Queries},
  author = {Arijit Bishnu and Debarshi Chanda and Gopinath Mishra},
  journal= {arXiv preprint arXiv:2502.15379},
  year   = {2025}
}

Comments

21 pages

R2 v1 2026-06-28T21:52:38.064Z