Approximating the Arboricity in Sublinear Time

Talya Eden, Saleet Mossel, Dana Ron

Abstract

Arboricity is a critical measure of graph density, representing the minimum number of forests needed to cover its edges. While exact calculation is computationally expensive, this paper introduces a novel sublinear-time algorithm achieving an $O(\log^2 n)$-factor approximation. By employing a recursive peeling technique with cost-aware pruning, the algorithm estimates global density by querying only a fraction of the graph, with a query complexity that improves as the graph density increases.

Introduction

In graph theory, the arboricity ($\text{arb}(G)$) provides a robust measure of density by capturing the maximum density of any subgraph. Unlike average degree, which can be skewed by isolated dense clusters, arboricity reflects the "everywhere" density of a graph. It is a fundamental parameter for optimizing algorithms in graph coloring, subgraph listing, and dynamic graph maintenance. However, calculating arboricity exactly requires $O(m^{3/2})$ time, and even standard approximation algorithms typically require linear time ($O(n + m)$). This paper addresses the challenge of estimating arboricity in sublinear time, querying only a tiny fraction of the graph's vertices and edges.

The Recursive Peeling Framework

The proposed approach is based on the "vertex layering" or "peeling" process. In graphs with low arboricity, repeatedly removing low-degree vertices causes the graph to disappear within $O(\log n)$ iterations. To adapt this to a sublinear setting, the authors utilize an iterative and recursive peeling process. Instead of peeling the entire graph, the algorithm samples a small set of vertices ($O(n/\alpha)$) and performs local exploration to determine if these vertices would have been removed in a global peeling process.

Categorization of neighbors for a sampled vertex $v$ during the local exploration phase to determine its peeling status.

Cost-Aware Pruning

A significant challenge in local exploration is the potential for a recursive search to visit too many edges, which would violate sublinear time constraints. The authors introduce "cost-aware pruning" to mitigate this. The algorithm calculates a "j-cost" for each neighbor—an estimate of the computational work required to verify that neighbor's status. By pruning (ignoring) the most expensive neighbors, the algorithm maintains a strict time budget.

The recursive search tree where specific branches are pruned (grayed out) based on complexity costs to ensure sublinear performance.

This pruning strategy acts as a complexity shield. The authors mathematically prove that even with this "lazy" checking, the algorithm reliably identifies "witness" vertices that belong to high-density cores, ensuring the approximation remains valid.

Key Results and Complexity

The algorithm achieves an $O(\log^2 n)$-factor approximation with an expected query complexity of $O(\frac{n}{\text{arb}(G)} \cdot \text{poly}(\log n))$. Notably, the algorithm runs faster as the graph becomes denser. The authors also provide a lower bound proof demonstrating that this query complexity is near-optimal for the achieved approximation factor. Furthermore, the algorithm's structure allows for adaptation to the streaming model, requiring only $O(\log n)$ passes and $\tilde{O}(n/\alpha)$ space.

Conclusion and Future Work

This work establishes the feasibility of sublinear-time arboricity approximation. While the $O(\log^2 n)$ factor is a coarse approximation, it provides a provable foundation for estimating global density without full graph traversal. Future research may focus on tightening the approximation factor to a constant or exploring the fundamental trade-offs between query complexity and approximation accuracy in practical implementations.

Summary updated

BibTeX
@inproceedings{eden2022approximating,
  author = {Talya Eden and Saleet Mossel and Dana Ron},
  title = {{Approximating the Arboricity in Sublinear Time}},
  booktitle = {SODA},
  year = {2022},
  doi = {10.1137/1.9781611977073.96},
}
Figure