English

Testing $C_k$-freeness in bounded-arboricity graphs

Data Structures and Algorithms 2024-04-30 v1

Abstract

We study the problem of testing CkC_k-freeness (kk-cycle-freeness) for fixed constant k>3k > 3 in graphs with bounded arboricity (but unbounded degrees). In particular, we are interested in one-sided error algorithms, so that they must detect a copy of CkC_k with high constant probability when the graph is ϵ\epsilon-far from CkC_k-free. We next state our results for constant arboricity and constant ϵ\epsilon with a focus on the dependence on the number of graph vertices, nn. The query complexity of all our algorithms grows polynomially with 1/ϵ1/\epsilon. (1) As opposed to the case of k=3k=3, where the complexity of testing C3C_3-freeness grows with the arboricity of the graph but not with the size of the graph (Levi, ICALP 2021) this is no longer the case already for k=4k=4. We show that Ω(n1/4)\Omega(n^{1/4}) queries are necessary for testing C4C_4-freeness, and that O~(n1/4)\widetilde{O}(n^{1/4}) are sufficient. The same bounds hold for C5C_5. (2) For every fixed k6k \geq 6, any one-sided error algorithm for testing CkC_k-freeness must perform Ω(n1/3)\Omega(n^{1/3}) queries. (3) For k=6k=6 we give a testing algorithm whose query complexity is O~(n1/2)\widetilde{O}(n^{1/2}). (4) For any fixed kk, the query complexity of testing CkC_k-freeness is upper bounded by O(n11/k/2){O}(n^{1-1/\lfloor k/2\rfloor}). Our Ω(n1/4)\Omega(n^{1/4}) lower bound for testing C4C_4-freeness in constant arboricity graphs provides a negative answer to an open problem posed by (Goldreich, 2021).

Keywords

Cite

@article{arxiv.2404.18126,
  title  = {Testing $C_k$-freeness in bounded-arboricity graphs},
  author = {Talya Eden and Reut Levi and Dana Ron},
  journal= {arXiv preprint arXiv:2404.18126},
  year   = {2024}
}
R2 v1 2026-06-28T16:08:51.051Z