Approximately Counting and Sampling Hamiltonian Motifs in Sublinear Time
Talya Eden, Reut Levi, Dana Ron, Ronitt Rubinfeld
Abstract
Counting small subgraphs, referred to as motifs, in large graphs is a fundamental task in graph analysis, extensively studied across various contexts and computational models. In the sublinear-time regime, the relaxed problem of approximate counting has been explored within two prominent query frameworks: the standard model, which permits degree, neighbor, and pair queries, and the strictly more powerful augmented model, which additionally allows for uniform edge sampling. Currently, in the standard model, (optimal) results have been established only for approximately counting edges, stars, and cliques, all of which have a radius of one. This contrasts sharply with the state of affairs in the augmented model, where algorithmic results (some of which are optimal) are known for any input motif, leading to a disparity which we term the "scope gap" between the two models.
In this work, we make significant progress in bridging this gap. Our approach draws inspiration from recent advancements in the augmented model and utilizes a framework centered on counting by uniform sampling, thus allowing us to establish new results in the standard model and simplify on previous results.
In particular, our first, and main, contribution is a new algorithm in the standard model for approximately counting any Hamiltonian motif in sublinear time, where the complexity of the algorithm is the sum of two terms. One term equals the complexity of the known algorithms by Assadi, Kapralov, and Khanna (ITCS 2019) and Fichtenberger and Peng (ICALP 2020) in the (strictly stronger) augmented model and the other is an additional, necessary, additive overhead.
Our second contribution is a variant of our algorithm that enables nearly uniform sampling of these motifs, a capability previously limited in the standard model to edges and cliques. Our third contribution is to introduce even simpler algorithms for stars and cliques by exploiting their radius-one property. As a result, we simplify all previously known algorithms in the standard model for stars (Gonen, Ron, Shavitt ( SODA 2010)), triangles (Eden, Levi, Ron Seshadhri (FOCS 2015)) and cliques (Eden, Ron, Seshadri (STOC 2018)). * Part of this work was conducted while the first and last authors were visiting the Simons Institute for the Theory of Computing as part of the Sublinear Algorithms program.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 61aa10a1-8831-4a5a-a67a-9866b4cdec79Builds on3
- Faster sublinear approximation of the number of k-cliques in low-arboricity graphsTalya Eden, Dana Ron, C. SeshadhriSODA 2020 · 17 citations
- Edge sampling and graph parameter estimation via vertex neighborhood accessesJakub Tetek, Mikkel ThorupSTOC 2022 · 12 citations
- Nearly optimal edge estimation with independent set queriesXi Chen, Amit Levi, Erik WaingartenSODA 2020 · 5 citations
Related papers
- Approximately counting and sampling small witnesses using a colourful decision oracleHolger Dell, John Lapinskas, Kitty MeeksSODA 2020 · 13 citations
- Faster Estimation of the Average Degree of a Graph Using Random Edges and Structural QueriesLorenzo Beretta, Deeparnab Chakrabarty, C. SeshadhriSODA 2026
- Scalable Approximate Butterfly and Bi-triangle Counting for Large Bipartite NetworksFangyuan Zhang, Dechuang Chen, Sibo Wang, Yin Yang et al.SIGMOD 2024 · 8 citations
- MOSER: Scalable Network Motif Discovery using Serial TestMohammad Matin Najafi, Chenhao Ma, Xiaodong Li, Reynold Cheng et al.VLDB 2024 · 4 citations
- Neural Subgraph Counting with Wasserstein EstimatorHanchen Wang, Rong Hu, Ying Zhang, Lu Qin et al.SIGMOD 2022 · 37 citations
