PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
January 25, 20260 citationsOpen Access

Testable Algorithms for Approximately Counting Edges and Triangles in Sublinear Time and Space

View Full Paper
TETalya EdenBPBoaz Patt-ShamirAVArsen Vasilyan

Key Points

  • The research aims to develop algorithms for approximate counting of edges and triangles in graphs without prior arboricity knowledge.
  • Developed a triangle counting algorithm that adapts to the graph's arboricity on the fly.
  • Utilized a sequence of candidate values for arboricity to ensure accuracy.
  • Guaranteed correct output with high probability, even without prior arboricity information.
  • The algorithm achieves a (1±ε)-approximation for triangle counts in a defined runtime.
  • Maintains efficiency similar to algorithms knowing arboricity bounds, within an additive overhead.
  • Demonstrated robustness against incorrect advice regarding the arboricity of the graph.

Abstract

We consider the fundamental problems of approximately counting the numbers of edges and triangles in a graph in sublinear time. Previous algorithms for these tasks are significantly more efficient under a promise that the arboricity of the graph is bounded by some parameter ̅α. However, when this promise is violated, the estimates given by these algorithms are no longer guaranteed to be correct. For the triangle counting task, we give an algorithm that requires no promise on the input graph G, and computes a (1±ε) -approximation for the number of triangles t in G in time O^* ( (m⋅ α (G) ) /t + m/ (t^2/3) ), where α (G) is the arboricity of the graph. The algorithm can be used on any graph G (no prior knowledge of the arboricity α (G) is required), and the algorithm adapts its run-time on the fly based on the graph G. We accomplish this by trying a sequence of candidate values α̃ for α (G) and using a novel algorithm in the framework of testable algorithms. This ensures that wrong candidates α̃ cannot lead to wrong estimates: if the advice is incorrect, the algorithm either succeeds despite this or detects this and continues with a new candidate. Once the algorithm accepts the candidate, its output is guaranteed to be correct with high probability. We prove that this approach preserves - up to an additive overhead - the dramatic efficiency gains obtainable when good arboricity bounds are known in advance, while ensuring robustness against misleading advice. We further complement this result with a lower bound, showing that such an overhead is unavoidable whenever the advice may be faulty. We further demonstrate implications of our results for triangle counting in the streaming model.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Eden et al. (2026) studied this question.

synapsesocial.com/papers/6975b1eafeba4585c2d6d5e8https://doi.org/10.4230/lipics.itcs.2026.54
Ask AI
Helpful
Bookmark
Share
View Full Paper