arXiv:2609.39656cs.DSSep 2026

Manuscript Offprint

arXiv:2609.39656

Testing Induced-Subgraph Freeness in Outerplanar Graphs under the Random-Neighbor Oracle

Pan Peng, Kefan Yu

Abstract

We prove that, for every fixed nonempty graph HH, induced-H-freeness is testable with ε−OH(1)\varepsilon^{-O_H(1)} queries on outerplanar graphs with no maximum-degree bound in the random-neighbor model, where each query at a vertex returns a uniformly random neighbor. Thus, the query complexity is polynomial in 1/ε1/\varepsilon and independent of the number nn of vertices. Previously, the best bound known for this problem was the poly( log⁡n\log n)-query guarantee that follows from the general outerplanar-graph tester of Babu, Khoury, and Newman [BKN16] in the stronger adjacency-list model, which provides exact degree queries and indexed access to neighbors.

Our tester has two-sided error, which is necessary in general: induced- P3P_{3}-freeness has no one-sided constant-query tester in the random-neighbor model, even on outerplanar graphs of maximum degree two.

*School of Computer Science and Technology, University of Science and Technology of China. Email: ppeng@ustc.edu.cn

†^{\dagger}School of Computer Science and Technology, University of Science and Technology of China. Email: ykf97@mail.ustc.edu.cn

1 Introduction

Property testing asks whether a large object satisfies a property or is far from every object satisfying it, while examining only a small portion of the input. Since the foundational work of Rubinfeld and Sudan [RS96] and Goldreich, Goldwasser, and Ron [GGR98], property testing has developed into a central area of sublinear-time algorithms. Graphs provide one of its richest settings, because the appropriate notion of local access depends strongly on the density and structure of the input.

The study of graph property testing began in the dense graph model, where the graph is accessed through adjacency queries. Alon, Fischer, Newman, and Shapira [AFNS06] characterized the testable graph properties. Alon and Shapira [AS08] gave a corresponding characterization for natural one-sided testers, which never reject a graph that has the property, and, in particular, proved the testability of every hereditary property, namely, every property preserved under vertex deletion. These results illustrate the central role of global regularity methods in the dense model.

Goldreich and Ron [GR97] initiated a different line of research for sparse graphs of bounded maximum degree. Here local neighborhoods, rather than dense regularity, become the basic source of information. A sequence of results established constant-query testability for increasingly broad sparse graph families and properties. Czumaj, Shapira, and Sohler [CSS09] studied hereditary properties on nonexpanding bounded-degree graphs; Benjamini, Schramm, and Shapira [BSS10] proved that every minor-closed property, which is preserved under deleting vertices or edges and contracting edges, is testable; and Newman and Sohler [NS11] showed that every property of a hyperfinite graph family is testable. Such a family can be split into bounded-size components by deleting a small fraction of its edges. The role of hyperfiniteness in bounded-degree testing was further clarified by Fichtenberger, Peng, and Sohler [FPS19]. Partition oracles, which give local access to such a decomposition, were introduced in this context by Hassidim et al. [HKNO09]. They have become a fundamental algorithmic tool, and the polynomial-query partition oracle of Kumar, Seshadhri, and Stolman [KSS21] gives particularly efficient local access to decompositions of minor-free graphs. For bounded-degree planar graphs, Basu, Kumar, and Seshadhri [BKS22] further investigated the complexity of testing arbitrary properties and the central role of graph isomorphism.

Much less is understood once the maximum-degree restriction is removed. Even in a sparse graph class, one vertex may have degree close to n. Consequently, a tester cannot inspect every bounded-radius neighborhood with a constant number of queries.

One line of work gives constant-query one-sided testers for specific properties, including bipartiteness and many forms of non-induced subgraph freeness, where the forbidden copy need not be induced. Czumaj, Monemizadeh, Onak, and Sohler [CMOS11] gave a constant-query tester for bipartiteness in planar graphs in the random-neighbor model, where a query at a vertex returns a uniformly random neighbor. Czumaj and Sohler [CS19] then showed that, for every fixed graph H, non-induced H-freeness is one-sided testable on planar graphs and, more generally, on minor-free graphs. Esperet and Norin [EN22] later showed that every monotone property, which is preserved under edge deletion, is testable on every proper minor-closed class. Levi and Shoshan [LS21] also gave a polynomial-query tester for the nonmonotone property of Hamiltonianity in minor-free graphs.

Recent work extends non-induced H-freeness testing to wider sparse classes. Awofeso, Greaves, Lachish, Levi, and Reidl [AGL +^{+}25] gave a general sufficient condition for one-sided random-neighbor testing. Humeau, Kanté, Mock, Picavet, and Vigny [HKM +^{+}26] gave constant-query testers for classes of bounded expansion. Lachish, Levi, Newman, and Reidl [LLNR26] gave a characterization for bounded-degeneracy graphs. It identifies the properties that admit one-sided random-neighbor testers. For a fixed 2-connected graph H, their result says that non-induced H-freeness is testable exactly when H - S is connected for every independent set

S⊆V(H)S \subseteq V(H). There are also lower bounds: Eden, Levi, and Ron [ELR24] proved polynomial lower bounds in n for testing several fixed cycle-freeness properties in the adjacency-list model, where the tester can query exact degrees and indexed neighbors. These results show that both the graph class and the property matter.

A second line of work gives sublinear testers for all properties in a certain class of sparse graphs. Kusumoto and Yoshida [KY14] showed that every property of forests is testable with poly( log⁡n\log n) queries. Babu, Khoury, and Newman [BKN16] proved the same type of bound for every property of outerplanar graphs in the adjacency-list model.

These two lines of work do not settle the complexity of testing a basic hereditary property in sparse graphs: induced-subgraph freeness. For a fixed graph H, this property requires that no vertex set induce a copy of H. It has been studied extensively in the dense graph model [AFKS99, AS06, AS08]. The general outerplanar-graph tester above applies to this property, but uses poly( log⁡n\log n) queries and the stronger adjacency-list model. On the other hand, the known constant-query results for fixed forbidden subgraphs concern non-induced copies.

Induced copies introduce a basic difficulty that is absent in the non-induced setting. A non-induced copy can be certified by finding its edges. An induced copy can be certified only after checking both its edges and its nonedges. The latter is difficult under random-neighbor access: sampling can reveal an edge, but a bounded number of samples cannot certify that two high-degree vertices are nonadjacent. Thus the central question is whether the fixed size of the forbidden pattern, together with the structure of the input class, is enough to overcome the lack of direct access to nonedges.

Outerplanar graphs are a natural first class for this question. They allow unbounded degrees, and hence the difficulty above remains, but they have a strong local decomposition. Moreover, every outerplanar property has a polylogarithmic-query tester, while many non-induced subgraph freeness properties have constant-query testers. We ask whether induced-H-freeness can be tested with a number of random-neighbor queries independent of n.

References (34)