Skip to main content
QUICK REVIEW

[Paper Review] Triangle Estimation using Polylogarithmic Queries.

Anup Bhattacharya, Arijit Bishnu|arXiv (Cornell University)|Aug 2, 2018
Data Management and AlgorithmsComputer Science22 references3 citations
TL;DR

This paper presents the first approximate triangle counting algorithm that uses only polylogarithmic queries by introducing a novel Tripartite Independent Set (TIS) query oracle, which checks for triangles across three disjoint vertex sets. By extending Beame et al.'s framework and leveraging color-coding and Janson's concentration inequality, the method achieves sublinear query complexity for estimating triangle counts in graphs.

ABSTRACT

Estimating the number of triangles in a graph is one of the most fundamental problems in sublinear algorithms. In this work, we provide the first approximate triangle counting algorithm using only polylogarithmic queries. Our query oracle Tripartite Independent Set (TIS) takes three disjoint sets of vertices $A$, $B$ and $C$ as input, and answers whether there exists a triangle having one endpoint in each of these three sets. Our query model is inspired by the Bipartite Independent Set (BIS) query oracle of Beame et al. (ITCS, 2018). Their algorithm for edge estimation requires only polylogarithmic BIS queries, where a BIS query takes two disjoint sets $A$ and $B$ as input and answers whether there is an edge with endpoints in $A$ and $B$. We extend the algorithmic framework of Beame et al., with TIS replacing BIS, for triangle counting using ideas from color coding due to Alon et al. (J. ACM, 1995) and a concentration inequality for sums of random variables with bounded dependency due to Janson (Rand. Struct. Alg., 2004).

Motivation & Objective

  • To develop an approximate triangle counting algorithm with sublinear query complexity in the context of sublinear algorithms.
  • To introduce and formalize the Tripartite Independent Set (TIS) query oracle as a natural extension of the Bipartite Independent Set (BIS) oracle.
  • To achieve polylogarithmic query complexity for triangle estimation, matching the efficiency of edge estimation under the BIS model.
  • To adapt color-coding techniques from Alon et al. (1995) to the TIS query model for effective triangle sampling.
  • To apply Janson's concentration inequality for sums with bounded dependency to ensure estimation accuracy with high probability.

Proposed method

  • The algorithm uses a TIS query oracle that, given three disjoint vertex sets A, B, and C, determines whether any triangle exists with one vertex in each set.
  • It employs color-coding to randomly partition vertices into color classes and identify triangles via monochromatic triples in the coloring.
  • The method samples random 3-colorings of the vertex set and uses TIS queries to detect triangles with one vertex in each color class.
  • Estimates are aggregated across multiple random colorings to reduce variance and improve accuracy.
  • Janson's concentration inequality is applied to bound the deviation of the estimated triangle count from the true value under bounded dependency in the sampling process.
  • The framework extends Beame et al.'s BIS-based edge estimation approach to the triangle counting setting by replacing BIS with TIS queries.

Experimental results

Research questions

  • RQ1Can triangle counting be approximated using only polylogarithmic queries in a graph?
  • RQ2Is the TIS query model sufficient to achieve sublinear triangle estimation with high accuracy?
  • RQ3How can color-coding be adapted to work within a TIS query framework for triangle detection?
  • RQ4What concentration bounds apply to the sum of dependent random variables in this sampling-based estimation process?
  • RQ5Can the BIS-based framework be generalized to handle tripartite queries for triangle counting?

Key findings

  • The paper achieves the first approximate triangle counting algorithm with polylogarithmic query complexity using the TIS oracle.
  • The method leverages color-coding to sample potential triangles efficiently through random vertex colorings.
  • The use of Janson's concentration inequality ensures that the estimated triangle count concentrates tightly around the true value with high probability.
  • The framework successfully extends Beame et al.'s BIS-based approach to the triangle counting problem, enabling sublinear complexity.
  • The TIS oracle model provides a natural and effective extension of the BIS model for higher-order subgraph counting.
  • The algorithm demonstrates that triangle estimation is feasible with only polylogarithmic queries, significantly improving upon prior methods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.