An Adaptivity Hierarchy Theorem for Property Testing
Clement Canonne, Tom Gur

TL;DR
This paper establishes a hierarchy in property testing showing that the power of algorithms increases smoothly with the number of adaptive rounds, with specific properties requiring more adaptivity for efficient testing.
Contribution
The paper proves an adaptivity hierarchy theorem for property testing, demonstrating a gradual increase in testing power with more adaptive rounds, including natural graph properties.
Findings
Existence of properties with exponential gaps between adaptive and non-adaptive testing
Construction of properties requiring more adaptivity for efficient testing
Hierarchy demonstrated for natural graph properties
Abstract
Adaptivity is known to play a crucial role in property testing. In particular, there exist properties for which there is an exponential gap between the power of \emph{adaptive} testing algorithms, wherein each query may be determined by the answers received to prior queries, and their \emph{non-adaptive} counterparts, in which all queries are independent of answers obtained from previous queries. In this work, we investigate the role of adaptivity in property testing at a finer level. We first quantify the degree of adaptivity of a testing algorithm by considering the number of "rounds of adaptivity" it uses. More accurately, we say that a tester is -(round) adaptive if it makes queries in rounds, where the queries in the 'th round may depend on the answers obtained in the previous rounds. Then, we ask the following question: Does the power of testing algorithms…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
\newaliascnt
corotheorem \aliascntresetthecoro \newaliascntlemtheorem \aliascntresetthelem \newaliascntclmtheorem \aliascntresettheclm \newaliascntfacttheorem \aliascntresetthefact \newaliascntproptheorem \aliascntresettheprop \newaliascntconjtheorem \aliascntresettheconj \newaliascntdefntheorem \aliascntresetthedefn
An Adaptivity Hierarchy Theorem for Property Testing††thanks: This work previously appeared as “Fifty Shades of Adaptivity (in Property Testing).”
Clément L. Canonne Columbia University. Email: [email protected]. Research supported by NSF grants CCF-1115703 and NSF CCF-1319788.
Tom Gur Weizmann Institute. Email: [email protected]. Research partially supported by ISF grant 671/13.
Abstract
Adaptivity is known to play a crucial role in property testing. In particular, there exist properties for which there is an exponential gap between the power of adaptive testing algorithms, wherein each query may be determined by the answers received to prior queries, and their non-adaptive counterparts, in which all queries are independent of answers obtained from previous queries.
In this work, we investigate the role of adaptivity in property testing at a finer level. We first quantify the degree of adaptivity of a testing algorithm by considering the number of “rounds of adaptivity” it uses. More accurately, we say that a tester is -(round) adaptive if it makes queries in rounds, where the queries in the ’th round may depend on the answers obtained in the previous rounds. Then, we ask the following question:
Does the power of testing algorithms smoothly grow with the number of rounds of adaptivity?
We provide a positive answer to the foregoing question by proving an adaptivity hierarchy theorem for property testing. Specifically, our main result shows that for every and there exists a property of functions for which (1) there exists a -adaptive tester for with query complexity , yet (2) any -adaptive tester for must make queries. In addition, we show that such a qualitative adaptivity hierarchy can be witnessed for testing natural properties of graphs.
Contents
-
4.3 Decision Tree Hierarchy: Some Things Only Adaptivity Can Address
-
4.4 Adaptivity Bounded Testers and Decision Trees: There and Back Again
-
5 An Adaptivity Hierarchy with respect to a Natural Property
-
6.3 On the Relative Power of Round- and Tail-Adaptive Testers
1 Introduction
The study of property testing, initiated by Rubinfeld and Sudan [RS96] and Goldreich, Goldwasser and Ron [GGR98], has attracted significant attention in the last two decades (see, e.g., recent books [Gol10, Gol17, BY17] and surveys [Ron08, Ron09, Can15]). Loosely speaking, property testers are highly efficient randomized algorithms (typically running in sublinear time) that solve approximate decision problems, while only inspecting a tiny fraction of their inputs. More accurately, an -tester for property is a randomized algorithm that, given query access to an input , decides whether or is -far (say, in Hamming distance) from . The query complexity of is then the number of queries it makes to .
In general, a testing algorithm may select its queries adaptively such that the ’th query is determined by the answers to the previous queries, in which case it is said to be an adaptive tester. However, in many natural cases, testers may actually determine their queries solely based on their randomness (and input length), without any dependency on answers to previous queries; a tester that satisfies this condition is called a non-adaptive tester. A natural question, which commonly arises in query-based models, is whether the ability to make adaptive queries can significantly affect the query complexity.
Adaptive queries can be easily emulated at the cost of a large blowup in query complexity (exponential in the number of queries). More accurately, any -query adaptive tester for a property of objects represented by functions can be emulated by an -query non-adaptive tester (see e.g., [Gol17, Section 1.5]). While for certain types of properties and models – e.g., linear properties [BHR05] and properties in the dense graph model [GT03] – one has better emulations which come with little or no overhead, such efficient emulations cannot exist for all properties. As was shown by Raskhodnikova and Smith [RS06], in the bounded-degree graph model [GR00] there is a large chasm between the adaptive and non-adaptive query complexities of testing many natural graph properties. In particular, any property over bounded-degree graphs with vertices, which is not determined by the vertex degree distribution,111Loosely speaking, a property of bounded-degree graphs is not determined by the vertex degree distribution if there exist two graphs, and that is “far” from , such that the vertices of and have the same degrees. requires queries to test non-adaptively, whereas many such properties (e.g., triangle-freeness and connectivity) have -testers with query complexity .
In this work, we investigate the role of adaptivity in property testing at a finer level. Rather than considering the extreme cases of fully adaptive testers versus completely non-adaptive testers, we consider testers with various levels of restricted adaptivity and ask the following question:
Can the power of testers gradually grow with the “amount” of adaptivity they are allowed to use?
Besides the sheer theoretical interest of understanding the role of adaptivity in property testing, a motivation for this question comes from the constraints that come with adaptive algorithms, which may counterbalance the apparent gain in efficiency. Indeed, non-adaptive algorithms (or at least those which only use a small number of adaptive “stages”) may be preferred in practice to their adaptive counterparts, in spite of the larger number of queries they make. The reason for this preference is the significant gains obtained by being able to make many queries in parallel: when each query is an experiment which, while relatively cheap by itself, may take several hours, assessing the trade-off between rounds of adaptivity and total number of queries becomes crucial. An archetypal example where such considerations prevail is the (different) setting of group testing (see e.g. [DH00, Section 1.2]).
To answer the foregoing question, we shall first need to give a precise definition for the “amount” of adaptivity that a tester uses. To this end, it is natural to consider the number of “rounds of adaptivity” used by a tester.222We also consider an alternative notion of tail adaptivity, which roughly speaking refers to testers that first make a large number of non-adaptive queries and subsequently make a bounded number of adaptive queries. See Section 3 for details regarding how these two notions relate. More precisely, we say that a tester is -round-adaptive if it generates and makes queries in rounds, where in the ’th round the tester queries a set of locations that may depend on the answers to queries in , obtained in previous rounds. We will quantify the “amount” of adaptivity that a tester uses by the number of rounds of adaptivity that it uses. Equipped with the notion of round adaptivity, we can proceed to present our results.
1.1 Our Results
Our main result provides a positive answer to the foregoing question by showing an adaptivity hierarchy theorem for property testing; that is, we show a family of properties such that for every , the property is “easy” for -adaptive testers and “hard” for -adaptive testers.
Theorem 1.1** (Informally stated (see Theorem 4.1)).**
For every and there is a property of strings over such that:
there exists a -round-adaptive tester for with query complexity , yet 2. 2.
any -round-adaptive tester for must make queries.
The above theorem relies on an arguably contrived family of property, which was specifically tailored towards maximizing the separations; hence, one may wonder whether such strong separations also hold for more natural properties. As we show below, this is indeed the case: namely, we establish another adaptivity hierarchy theorem that, albeit weaker than Theorem 1.1, applies to the well-studied natural problem of testing -cycle freeness in the bounded-degree graph model (see Section 5.1 for definitions).
Theorem 1.2**.**
Let be a constant. Then,
- (i)
there exists a -round-adaptive tester with query complexity for -cycle freeness in the bounded-degree graph model; yet 2. (ii)
any -round-adaptive tester for -cycle freeness in the bounded-degree graph model must make queries, where is the number of vertices in the graph.
We conclude this section by posing two open problems that naturally arise from our work.
Open Problem 1** (One property to rule them all).**
Does there exist an adaptivity hierarchy with respect to a single property? That is, for any and all sufficiently large , is there a property of elements of size , and ( “levels” of hierarchy) such that for every there exists a -adaptive tester for with query complexity , yet every -adaptive tester must make queries to test ?
Open Problem 2** (Au naturel is just as good).**
Does there exist a family of natural properties which exhibits an adaptivity hierarchy with separations as strong as in Theorem 1.1?
1.2 Previous Work
As previously mentioned, the role of adaptivity in property testing has been the focus of several works before. It is well known that for any property of Boolean functions, there exists at most an exponential gap between adaptive and non-adaptive testers: any (adaptive) -query testing algorithm for a property of -variate Boolean functions can be simulated by a non-adaptive tester with query complexity . Further, such gaps are known to exist for some natural properties, such as read-once width-2 OBDDs [RT12, BMW11] and signed majorities [MORS09, RS13] (importantly, there also exist cases where adaptivity is known not to help [BLR93, BHR05]). Another prominent example of a class of Boolean functions where adaptivity is known to help is that of -juntas [Bla09, Bla08, STW15, CST*+*17], which can be tested adaptively with queries, yet for which the non-adaptive query complexity is .
Of course, the Boolean function setting is not the only one: in the dense graph model, it is known that while adaptivity can help [GR11], it will be at most by a quadratic factor [AFKS00, GT03]: that is, every graph property testable (adaptively) with queries has an -query non-adaptive tester. This is no longer the case in the bounded-degree model, however; where Raskhodnikova and Smith showed that there exist many properties which can be tested adaptively with a constant number of queries, but for which any non-adaptive tester must have query complexity [RS06].
However, all these results, even when they establish cases where adaptivity does help, leave open the question of how much adaptivity is needed for this to happen. In particular, for the case of properties of Boolean functions, many known adaptive testers which outperforms their non-adaptive counterpart do so, at some level, by conducting a binary search of some sort (see, e.g., [Bla09, RT12, RS13]) and thus comes inherently with a logarithmic numbers of “adaptive rounds.”
Our proof of Theorem 1.1 relies on a connection between the property testing and linear decision tree models. Although many of the ingredients we use are new, the connection itself is not and was first observed in [Tel14] (see also [BCK14] for a slightly different connection between property testing and parity decision trees).
Adaptivity in other settings.
We remark that the notion of round complexity in communication complexity and interactive proof systems is somewhat analogous to that of round adaptivity, since in those models each round of communication or interaction allows the parties to adapt their strategies. Moreover, a round complexity hierarchy is known for communication complexity [NW93] and interactive proofs of proximity [GR17]. Finally, we also mention that the role of the number of adaptive measurements used by sparse recovery algorithms was shown to be very significant [IPW11].
Organization
In Section 2 we provide the preliminaries required for the technical sections. In Section 3 we provide a precise definition for testers with bounded adaptivity. In Section 4 we prove our main result, which is a strong adaptivity hierarchy theorem for a property of functions. In Section 5 we prove an adaptivity hierarchy theorem with respect to a natural property of graphs. Finally, in Section 6 we discuss adaptivity round reductions, as well as a connection to communication complexity, and the relation between round and tail adaptivity.
2 Preliminaries
We begin with standard notations:
- •
We denote the relative Hamming distance, over alphabet , between two vectors and by . If , we say that is -close to , and otherwise we say that is -far from . Similarly, we denote the relative distance of from a non-empty set by . If , we say that is -close to , and otherwise we say that is -far from .
- •
We denote by the output of algorithm given direct access to input and oracle access to string . Given two interactive machines and , we denote by the output of when interacting with , where (respectively, ) is given oracle access to (respectively, direct access to ) and both parties have direct access to . Throughout this work, probabilistic expressions that involve a randomized algorithm are taken over the inner randomness of (e.g., when we write , the probability is taken over the coin tosses of ).
- •
We use the notations to hide polylogarithmic dependencies on the argument, i.e. for expressions of the form and (for some absolute constant ). Finally, all our logarithms are in base .
Integrality.
For simplicity of notation, we hereafter use the convention that all (relevant) integer parameters that are stated as real numbers are implicitly rounded to the closest integer.
Uniformity.
To facilitate notation, throughout this work we define all algorithms non-uniformly; that is, we fix an integer and restrict the algorithms to inputs of length . Despite fixing , we view it as a generic parameter and allow ourselves to write asymptotic expressions such as . We remark that while our results are proved in terms of non-uniform algorithms, they can be extended to the uniform setting in a straightforward manner.
3 The Definition of Testers with Bounded Adaptivity
In this section, we provide a formal abstraction that captures the notion of bounded adaptivity within the framework of property testing. We define two notions of bounded adaptivity: (1) round-adaptivity, which refers to algorithms that are allowed to make a bounded number of “batches” of queries, where the queries in each batch may depend on the answers to previous batches; (2) tail-adaptivity, which refers to algorithms that first make a large number of non-adaptive queries and subsequently make a bounded number of adaptive queries.
We remark that while tail-adaptivity can be easily emulated via round-adaptivity, the converse does not hold. Indeed, in Section 6.3 we show that round-adaptive testers can be much more powerful than tail-adaptive testers. Nonetheless, our lower bounds hold for the stronger round-adaptivity notion, whereas out upper bounds hold for the more restrictive tail-adaptivity.
Definition \thedefn (Round-Adaptive Testing Algorithms).
Let be a domain of cardinality , and let . A randomized algorithm is said to be a -round-adaptive tester for a property , if, on proximity parameter and granted query access to a function , the following holds.
- (i)
Query Generation: The algorithm proceeds in rounds, such that at round , it produces a set of queries (possibly empty), based on its own internal randomness and the answers to the previous sets of queries , and receives ; 2. (ii)
Completeness: If , then the algorithm outputs accept with probability at least ; 3. (iii)
Soundness: If , then the algorithm outputs reject with probability at least .
The query complexity of the tester is the total number of queries made to , i.e., . If the algorithm returns accept with probability one whenever , it is said to have one-sided error (otherwise, it has two-sided error). We will sometimes refer to a tester with respect to proximity parameter as an -tester.
Remark 3.1* (On amplification).*
We note that, as usual in property testing, the probability of success can be amplified by repetition to any , at the price of an factor in the query complexity. Crucially, this can be done with no increase in the number of adaptive rounds: while repetition would naïvely multiply both and by this factor, one can avoid the latter by running the independent copies of the algorithm in parallel, instead of sequentially.
Definition \thedefn (Tail-Adaptive Testing Algorithms).
Let be a domain of cardinality , and let . A randomized algorithm is said to be a -tail-adaptive tester for a property , if, on proximity parameter , error parameter , and granted query access to a function , the following holds.
- (i)
Query Generation: The algorithm proceeds in rounds, such that in the first round, it produces a set of queries (possibly empty), based on its own internal randomness; and receives ; then it makes, over the next rounds, adaptive queries to , denoted ; 2. (ii)
Completeness: If , then the algorithm outputs accept with probability at least ; 3. (iii)
Soundness: If , then the algorithm outputs reject with probability at least .
The query complexity of the tester is the total number of queries made to , i.e., . If the algorithm returns accept with probability one whenever , it is said to be one-sided (otherwise, it is two-sided).
Remark 3.2* (On (lack of) amplification).*
Unlike the round-adaptive algorithms, tail-adaptive testing algorithms do not enjoy a simple success amplification procedure which would leave unchanged the adaptivity parameter, only affecting the query complexity. This is the reason why the success probability is explicitly mentioned in Section 3.
4 A Strong Adaptivity Hierarchy
In this section we prove the adaptivity hierarchy theorem, which shows that, loosely speaking, up to a nearly linear threshold, each additional round of adaptivity can significantly augment the power of testing algorithms.
Theorem 4.1** (Adaptivity Hierarchy Theorem).**
Fix any . There exists a constant such that, for every , the following holds. For every integer , there exists a property such that, for any constant ,
- (i)
there exists a -round-adaptive (one-sided) tester for ; yet 2. (ii)
any -round-adaptive (two-sided) tester for must satisfy .
We remark that, in fact, the algorithm shown in the first item of Theorem 4.1 also gives an upper bound for the more restricted model of tail adaptivity. Specifically, for every there also exists an -tail-adaptive (one-sided) tester for . Since a -round-adaptive lower bound implies a -tail-adaptive lower bound (see discussion in Section 3), this implies an adaptivity hierarchy (albeit slightly weaker than in Theorem 4.1) with respect to tail-adaptive testers.
Hereafter we assume, without loss of generality,333If is not prime, we choose a prime such that , and use standard padding techniques. that is a prime number, and consider , the field of order . We will consider the following sequence of “-iterated address” functions from to , which will in turn lead to the definition of the properties that we use to show the hierarchy theorem. Loosely speaking, receives a vector of pointers (indices in ) and indicates whether when jumping from pointer to pointer times, starting from an arbitrarily predetermined pointer, we reach a location in which takes an even value.
To formally define the foregoing functions, first consider given by ; that is, returns the coordinate of “pointed to” by . Based on this, we define the iterated versions of , , as
[TABLE]
Finally, we define the -iterated address function by
[TABLE]
(For instance, if and only if is even; and if and only if the coordinate of pointed to by , that is , is even.) We proceed to describe the outline of the proof of Theorem 4.1.
4.1 High-Level Overview
Broadly speaking, our roadmap for proving Theorem 4.1 consists of two main steps:
We first consider the adaptivity hierarchy question in the setting of randomized decision tree (DT) complexity (see Section 4.2). We can view a randomized DT for computing a function as a probabilisitic algorithm that is given query access to an input and is required to output with high probability. Adapting the definition of round adaptivity (Section 3) in the natural way to decision trees, we will prove the randomized DT analogue of our adaptivity hierarchy theorem, using the foregoing family of address functions . Namely, we prove that for any with , it holds that (i) can be computed by an algorithm making queries, in adaptive rounds; but (ii) any algorithm using only rounds of adaptivity must make queries. 2. 2.
We then show a bidirectional connection between adaptivity-bounded randomized DT and property testers, which extends the connection observed by Tell [Tel14]. This allows us to “lift” the DT adaptivity hierarchy theorem to property testing. Specifically, we provide two blackbox reductions between the DT problem of computing function and property testing for a related property , which preserve both the number of adaptive rounds and (roughly) the number of queries. We remark these reductions strongly rely on high-rate codes that exhibit both strong local testability and relaxed local decodability.
The caveat with the above is that to “lift” DT lower bounds to testing algorithms via our methodology, we actually need to show lower bounds on a stronger model of DT (this stems from the reductions of the second item, in which we will encode the input via linear codes, requiring the DT algorithm to compute coordinates of this encoding).
Hence, we will actually work in the linear decision tree (LDT) model, wherein the algorithm is allowed to query any linear combination (over ) of the coordinates, instead of only querying individual coordinates. (We note that in the case of , this corresponds to the parity decision tree model.) That is, we will proceed as follows:
(L)DT hierarchy: show that for any , the function (i) can be computed by an efficient -round-adaptive (deterministic) DT algorithm, but (ii) does not admit any -round-adaptive (randomized, two-sided) LDT algorithm; 2. 2.
Transference lemmas: Show that for any function , there exists a property such that, for any ,
- (a)
a -round-adaptive testing algorithm for implies a -round-adaptive LDT algorithm for (Section 4.4.2). 2. (b)
a -round-adaptive DT algorithm for implies a -round-adaptive testing algorithm for (Section 4.4.2).
Combining the items above will directly imply our hierarchy theorem for property testing (Theorem 4.1):
Proof of Theorem 4.1.
The upper bound i follows immediately from Section 4.3 and Section 4.4.2, while combining Section 4.3 and Section 4.4.2 establishes the lower bound ii. ∎
Organization for the rest of the section.
In Section 4.2, we define the decision tree models and complexities that we shall need. Then, in Section 4.3, we prove the adaptivity hierarchy theorem for randomized (linear) decision trees. Finally, in Section 4.4 we prove the transference lemmas that allow us to lift the foregoing hierarchy theorem to the property testing framework.
4.2 Decision Tree Zoo
We shall need to extend the definitions of several different types of decision tree algorithms (see [BdW02] for an extensive survey of decision tree complexity) to the setting of bounded adaptivity.
Recall that a deterministic decision tree is a model of computation for computing a function . The decision tree is a rooted ordered -ary tree. Each internal vertex of the tree is labeled with a value and the leaves of the tree are labeled with the elements in . Given an input , the decision tree is recursively evaluated by choosing to recurse on the ’th subtree in the ’th level if and only if . Once a leaf is reached, we output the label of that leaf and halt.
Equivalently, we can view deterministic decision trees as algorithms that get oracle access to an input , then adaptively make queries to , to the end of computing . (Note that the ’th query corresponds to the ’th layer of the corresponding decision tree, and that the different vertices in the ’th layer represent the choices of the next queries, with respect to the answers obtained for previous queries). We define the deterministic decision tree complexity of a function to be the minimal number of queries a deterministic decision tree algorithm needs to make to compute in the worst case.444We remark that this definition corresponds to the depth the of decision tree, and not to the number of vertices or edges in the tree.
Taking the algorithmic perspective, we define -round-adaptive deterministic decision tree algorithms as algorithms that generate their queries in rounds, where queries in each round may depend on queries from previous rounds. The extension of the foregoing definition to randomized decision tree algorithms is done in the natural way, by allowing the algorithm to toss random coins and succeed with high probability (say, ) in computing . Finally, we shall also extend the definition to linear decision trees, which are decision trees algorithms wherein each query is a linear combination of the elements of the domain. We remark that linear decision trees can be thought of as generalizing both parity decision trees and algebraic query complexity algorithms [AW08].
More accurately, the aforementioned notions are defined below. We provide the definition of the most general model and derive the more restricted models as special cases.
Definition \thedefn (Round-Adaptive Decision Tree Algorithms).
Let be a finite field of cardinality , and let . A (randomized) algorithm is said to be a -round-adaptive (linear) decision tree algorithm for computing a function if, granted query access to a string , the following holds.
- (i)
Query Generation: The algorithm proceeds in rounds, such that at round , it produces a set of (linear) queries , where specifies a linear combination, based on its internal randomness and the answers to the previous sets of queries , and receives the answers . 2. (ii)
Computation: The algorithm computes with high probability using the answers it received in all rounds; that is, .
The query complexity of the tester is the total number of (linear) queries made to , i.e., . The randomized -round-adaptive linear decision tree complexity of a function , denoted , is the minimal query complexity for a -round-adaptive randomized linear decision tree algorithm that computes .
If for all and the linear combination only includes a single element (i.e., only has a single non-zero entry), we say that is a randomized -round-adaptive decision tree algorithm complexity, and denote its corresponding complexity by . If, in addition, the algorithm does not toss any random coins and succeeds with probability , we say that is a deterministic -round-adaptive decision tree algorithm complexity, and denote its corresponding complexity by .
4.3 Decision Tree Hierarchy: Some Things Only Adaptivity Can Address
We first establish the upper bound part of our adaptivity hierarchy theorem for DT, which follows immediately from the construction.
Claim \theclm.
For every , there exists a -round-adaptive (deterministic) DT algorithm which computes ; that is, .
Proof.
The algorithm is straightforward: on input , it sequentially queries , , …, ; and returns if is even, and [math] otherwise. By definition of , this always correctly computes the function, is deterministic, and clearly satisfies the definition of a -round-adaptive DT algorithm. ∎
We proceed to show the lower bound part of our adaptivity hierarchy theorem for DT, which is proven via a reduction from communication complexity.
Lemma \thelem.
There exists an absolute constant such that the following holds. For every , there is no -round-adaptive (randomized) LDT algorithm which computes ; that is, .
Proof.
We will reduce the computation of (in rounds of adaptivity) to a related -round two-party randomized communication complexity problem, the “pointer-following” problem introduced by Papadimitriou and Sipser [PS82], and conclude by invoking the lower bound of Nisan and Wigderson [NW93] on this problem.
This communication complexity problem between two computationally unbounded players, Alice and Bob, is defined as follows. Let and be two disjoint sets of cardinality , and let be a fixed element known to both players. The input is a pair of functions , where and . Alice and Bob are given and respectively, as well as a common random string, and their goal is to compute with high probability, where is the -iterate of the function :
[TABLE]
(In other terms, one can see the communication problem as Alice and Bob sharing the edges of a bipartite directed graph where each node has out-degree exactly one, and the goal is to find at which vertex the path of length starting at a prespecified vertex , on Alice’s side, ends.)
We will rely on the following lower bound on the -round, randomized (public-coin) version of this problem.
Theorem 4.2** ([NW93], rephrased).**
Any -round randomized communication protocol for the “pointer-following” problem, in which Bob sends the first message, must have total communication complexity , even to only compute a single bit of with probability at least .
Note that as long as , this lower bound is . We remark that the fact that the lower bound still holds even when only a single bit of the answer is to be computed will be crucial for us, as our goal is to reduce the communication complexity problem of “pointer-following” to computing the Boolean function in the randomized decision tree model.
Let be any -round-adaptive (randomized) LDT algorithm computing . Writing and , fix a bijection between (of size ) and mapping to , so that we identify with . On input , Alice and Bob implicitly define the element by , , …, and , , …, . From this, we get that , recalling that is recursively defined for , and . Hence deciding whether is even is exactly equivalent to computing .
Alice and Bob can then simulate the execution of as follows. Without loss of generality, assume it is Alice’s turn to speak. To answer a query of the form , she computes and sends it to Bob; on his side, Bob computes , and receiving Alice’s message can then recover the value and feed it to the algorithm. (In the next round, when sending his side of the (new) queries to Alice, Bob will also send this value , to make sure that both sides know the answers to all queries so far.) Since all queries of a given adaptive round of can be prepared and sent in parallel (costing bits of communication per query), this simulation can be performed in rounds (as many as takes) with communication complexity . At the end, whichever of Alice and Bob received the latest message holds the answer (to “is an even node?”), which by assumption on is correct with probability at least . Alice and Bob then use an extra round of communication to broadcast the answer to the other party, bringing the total number of rounds to .
But by Theorem 4.2, computing this bit of with only rounds of communication (Bob speaking first) requires bits of communication, and so we must have . ∎
4.4 Adaptivity Bounded Testers and Decision Trees: There and Back Again
In this section we show how to reduce problems in the adaptivity bounded property testing model to problems in the adaptivity bounded (linear) decision tree model, and vice versa. We begin in Section 4.4.1, by presenting the required preliminaries regarding error-correction codes. Then, in Section 4.4.2, we prove the “transference lemmas” between these models.
4.4.1 Preliminaries: Locally Testable and Decodable Codes
Let . A code over alphabet with distance is a function that maps messages to codewords such that the distance between any two codewords is at least . If , is said to have linear distance. If , we say that is a binary code. If is a linear map, we say that it is a linear code. The relative distance of , denoted by , is , and its rate is . When it is clear from the context, we shall sometime abuse notation and refer to the code as the set of all codewords . Following the discussion in the introduction, we define locally testable codes and locally decodable codes as follows.
Definition \thedefn (Locally Testable Codes).
A code is a locally testable code () if there exists a probabilistic algorithm (tester) that makes queries to a purported codeword and satisfies:
Completeness: For any codeword of it holds that . 2. 2.
Strong Soundness: For all ,
[TABLE]
Definition \thedefn (Locally Decodable Codes).
A code is a locally decodable code () if there exists a constant and a probabilistic algorithm (decoder) that, given oracle access to and direct access to index , satisfies the following condition: For any and that is -close to a codeword it holds that . The query complexity of a is the number of queries made by its decoder.
We shall also need the notion of s (introduced in [BGH*+*06]). Similarly to s, these codes have decoders that make few queries to an input in attempt to decode a given location in the message. However, unlike s, the relaxed decoders are allowed to output a special symbol that indicates that the decoder detected a corruption in the codeword and is unable to decode this location. Note that the decoder must still avoid errors (with high probability).555The full definition of s, as defined in [BGH*+*06] includes an additional condition on the success rate of the decoder. Namely, for every that is -close to a codeword , and for at least a fraction of the indices , with probability at least the decoder outputs the ’th bit of . That is, there exists a set of size at least such that for every it holds that . We omit this condition since it is irrelevant to our application, and remark that every that satisfies the first two conditions can also be modified to satisfy the third conditions (see [BGH*+*06, Lemmas 4.9 and 4.10]).
Definition \thedefn (Relaxed-LDC).
A code is a if there exists a constant such that the following holds.
(Perfect) Completeness: For any and it holds that . 2. 2.
Relaxed Soundness: For any and any that is -close to a (unique) codeword , it holds that
[TABLE]
There are a couple of efficient constructions of codes that are both s and s (see [BGH*+*06, GGK15]). We shall need the construction in [GGK15], which has the best parameters for our setting.666Specifically, the codes in [GGK15] are meaningful for every value of the proximity parameter, whereas the codes in [BGH*+*06] require .
Theorem 4.3** (e.g., [GGK15, Theorem 1.1]).**
For every , , and finite field there exists an -linear code with linear distance, which is both a and a (one-sided error) with query complexity ; furthermore, both testing and (relaxed) decoding procedures are non-adaptive.
4.4.2 Transference Lemmas
Fix any . Let be a code with constant relative distance , with the following properties:
- •
linearity: for all , there exists a set such that for all ;
- •
rate: ;
- •
testability: is a strong-LTC with one-sided error and non-adaptive tester;
- •
decodability: is a relaxed-LDC.
We will rely on Theorem 4.3 for the existence of such codes. Before delving into the details, we briefly explain the reason for each of the points above. The linearity will be crucial to reduce to and from the LDT model: indeed, any coordinate of a codeword corresponds to a fixed linear combination of the coordinates of the message, which corresponds to a single LDT query on that particular linear combination. The rate bound is required since our lower bounds are in terms of the dimension and upper bounds in terms of the block-lengh . Ideally, we would like , to have a direct correspondence between the LDT and the property testing query complexities; however, this nearly-linear rate is the best known achievable for constant-query LTCs and relaxed-LDCs [GGK15]. The LTC property will be useful to us in the reduction from property testing to DT query complexity (where we will need to first check that our input is close to a codeword, in view of decoding the closest message during the reduction), where the strong testability (i.e., rejection with probability proportional to the distance from a valid codeword) will allow us do deal with arbitrarily small values of the proximity parameter. Similarly, we will rely on the (relaxed) LDC property in that same reduction, in order to obtain individual coordinates of the message, given query access to an input close to a codeword.
We proceed to show the framework for reducing property testing to decision tree complexity and vice-versa. For a fixed function , consider the subset ; and define the sets of codewords , .
Consider now testing the property : we will reduce the LDT computation of to the testing of . Specifically, we prove the following.
Lemma \thelem (LDT PT Reduction Lemma).
Fix any . If there exists an -round-adaptive tester for , then there is an -round-adaptive LDT algorithm for .
Proof.
Suppose there exists a -round-adaptive tester for . On input , we emulate the invocation of , with respect to proximity parameter , on the encoded input and output if and only if returns accept. To see why this is correct, observe that by definition, if then . However, if , then for any such that we must have , by the distance of our code.
It remains to show that this simulation can be achieved efficiently, as claimed. To do so, we will rely on the fact that is a linear code: whenever queries , we can compute the set (which only depends on , and not on ), and perform the LDT query . The simulation clearly preserves the number of adaptive rounds as well, concluding the proof. ∎
In our next lemma, we give a partial converse relating property testing and decision tree complexity, with some logarithmic overhead in the resulting query complexity.
Lemma \thelem (PT DT Reduction Lemma).
Fix any . If there exists an -round-adaptive (randomized) DT algorithm for , then there is a -round-adaptive tester for . (Moreover, if the DT algorithm is always correct, then this tester is one-sided.)
Proof.
Fix , and suppose there exists such a -round-adaptive DT algorithm for . On input and proximity parameter , we would like to decode to a message and invoke the algorithm on to determine if ; more precisely, we wish to invoke the DT algorithm while simulating each query to by locally decoding using queries. The issue, however, is that the success of the local decodable is only guaranteed for inputs that are sufficiently close to a valid codeword, and we have no such guarantee on a priori. However, recalling that is a strong-LTC, we can handle this as follows. Letting be the decodability radius of the relaxed-LDC , we set .
- (1)
Run independently times the local tester for the strong-LTC on , and output reject if any of these rejected. Since every invocation of the local tester makes queries to , this has query complexity ; and if then this step outputs reject with probability at least . 2. (2)
Invoke on the message , answering each query by calling the local decoder for the relaxed-LDC . This is done so that the decoder is correct with probability at least , by standard repetition (taking the plurality value); with the subtlety that we output reject immediately whenever the decoder returns . Since each query can be simulated by queries (repeating the queries of the decoder times), this step has query complexity ; and at the end, we output accept if, and only if, returns the value for .
Importantly, Step 1 can be run in parallel to Step 2, and in particular can be executed during the first “batch” of queries makes. This guarantees that the whole simulation above uses the same number of adaptive rounds as , as claimed. It remains to argue correctness.
Completeness.
Assume . In particular, is a codeword of , and the (one-sided) local tester returns accept with probability one in 1. Then, since by definition there is a unique such that , the local decoder of Step 2 will correctly output the correct answer for each query with probability , and therefore will correctly output with probability – so that the tester returns accept with probability at least overall. (Moreover, if the DT algorithm always correctly compute , then the tester returns accept with probability one.)
Soundness.
Assume . If , then the local tester returns reject with probability at least in Step 1. Therefore, we can continue assuming that , which satisfies the precondition of the relaxed-LDC decoder in Step 2. By a union bound over all queries, with probability at least we have that the decodings performed in Step 2 are all correct; in which case we answer the queries of the algorithm according to (or possibly answered by , in which case the tester immediately outputs reject and we are done). Since , we must have , which implies that correctly returns with probability at least , in which case the tester outputs reject. Overall, this happens with probability at least .
Thus, in both cases the tester is correct with probability at least ; repeating a constant number of times (as explained in 3.1) and taking the majority vote allows us to amplify the probability of success to . ∎
5 An Adaptivity Hierarchy with respect to a Natural Property
In this section we show a natural property of graphs for which, broadly speaking, more adaptivity implies more power. More specifically, we prove the following adaptivity hierarchy theorem with respect to the property of -cycle freeness in the bounded-degree graph model (see definitions in Section 5.1).
Theorem 5.1**.**
Let be a constant. Then,
- (i)
there exists a -round-adaptive (one-sided) tester for -cycle freeness in the bounded-degree graph model; yet 2. (ii)
any -round-adaptive (two-sided) tester for -cycle freeness in the bounded-degree graph model must satisfy .
We stress that although Theorem 4.1 establishes an adaptivity hierarchy with stronger separations, the merit of Theorem 5.1 is in showing that an adaptivity hierarchy also holds for a natural well-studied property. We further observe that the choice of the bounded-degree graph model is not insignificant: one cannot hope to establish such a striking gap in other settings such as the dense graph model or in the Boolean function testing setting. Indeed, as discussed in Section 1.2 it is well-known that in these two models, any adaptive tester can be made (fully) non-adaptive at the price of only a quadratic and exponential blowup in the query complexity, respectively(see [AFKS00, GT03] for the former; the latter is folklore). We remark that in Section 6.1 we discuss emulating testers with rounds of adaptivity by testers with rounds.
5.1 Cycle Freeness in the Bounded Degree Graph Model
In the subsection we provide the necessary definitions and establish a basic upper bound on the complexity of -adaptive testing of cycle freeness in the bounded degree graph model. We begin with a definition of the model.
Let be a graph with constant degree bound , represented by its adjacency list; that is, represented by a function such that if is the th neighbor of and if has less than neighbors. A bounded degree graph property is a subset of graphs (represented by their adjacency list) that is closed under isomorphism; that is, for every permutation it holds that if and only if . The distance of graph from property is the minimal fraction of entries in one has to change to reach an element of .
We extend the definition of functional round-adaptive testing algorithms to the bounded degree graph model in the natural way.
Definition \thedefn (Round-Adaptive Testing in the Bounded Degree Graph Model).
Let be a graph with constant degree bound , represented by its adjacency list , and let . A randomized algorithm is said to be a -round-adaptive tester for a (bounded degree) graph property , if, on proximity parameter and granted query access to , the following holds.
- (i)
Query Generation: The algorithm proceeds in rounds, such that at round , it produces a set of queries (possibly empty), based on its own internal randomness and the answers to the previous sets of queries , and receives ; 2. (ii)
Completeness: If , then the algorithm outputs accept with probability at least ; 3. (iii)
Soundness: If , then the algorithm outputs reject with probability at least .
The query complexity of the tester is the total number of queries made to , i.e., . If the algorithm returns accept with probability one whenever , it is said to have one-sided error (otherwise, it has two-sided error). As before, we will sometimes refer to a tester with respect to proximity parameter as an -tester.
Next, we define the (bounded degree) graph property of -cycle freeness.
Definition \thedefn (Cycle Freeness).
Let . A graph is said to be -cycle free if it does not contain any cycle of length less or equal to ; that is, if for every and either or there exists such that .
Finally, we make the following observation, which roughly speaking implies that when surpassing a certain threshold of round adaptivity, testing cycle freeness in the bounded degree graph model becomes “easy.”777This is a specific case of a more general algorithm for testing subgraph freeness; see e.g. [Gol17, Section 9.2.1].
Observation 5.2**.**
For every there exists a -round-adaptive testing algorithm for -cycle freeness and -cycle freeness in the bounded-degree graph model with query complexity .
Proof.
The algorithm explores the graph in the most natural way: starting from “source vertices” selected uniformly at random, it adaptively explore their neighborhoods by querying at each round the neighbors of the previously reached vertices, in a breadth-first-search fashion. If any -cycle (resp. -cycle) is detected, the algorithm rejects, and accepts otherwise. (Clearly, this tester is one-sided.) It is easy to see that if any of the source vertices belongs to a - or -cycle, then this bounded-depth BFS will detect it; thus, we only need to argue that if the graph is -far from cycle freeness, with constant probability, one of the source vertices will participate in such a cycle. But this is the case, as any such graph must have at least vertices participating in a cycle (indeed, otherwise one could “correct” the graph by removing less than vertices, contradicting the distance).
Finally, for each source vertex, after rounds of adaptivity the number of nodes visited is at most , hence the claimed query complexity. ∎
5.2 Lower Bounds for Round-Adaptive Testers
In this subsection, we prove the following lemma, which roughly speaking shows that testing -cycle freeness is hard for -round-adaptive testing algorithms.
Lemma \thelem.
Let be constant. Then, any -round-adaptive testing algorithm for -cycle freeness in the bounded-degree graph model must satisfy .
In stark contrast, recall that 5.2 shows that testing -cycle freeness is easy for -round-adaptive testing algorithms. Indeed, the proof of Theorem 5.1 follows by combining 5.2 and Section 5.2 together.
Proof of Section 5.2.
We will show a distribution of -cycle free graphs, denoted , and a distribution of graphs that are “far” from being -cycle free, denoted , and prove that no -round-adaptive testing algorithm can distinguish, with high probability, between and . Loosely speaking, consists of all graphs whose vertices are covered via disjoint -cycles, and consists of all graphs whose vertices are covered via disjoint -cycles.
More accurately, denote by the subset of -node graphs with maximum degree at most that are -cycle-free. Let be the -regular graph on vertices made of disjoint -cycles, namely , , . Denote also by the independent set on vertices. For two graphs on respectively and vertices and with and edges, we write for the graph on vertices and with edges obtained by concatenating disjoint copies of .
For , we let , , and define the two distributions over -node graphs and as follows.
- •
is the uniform distribution over all isomorphic copies of ;
- •
is the uniform distribution over all isomorphic copies of .
The next claim establishes that indeed consists of yes-instances, whereas consists of no-instances.
Claim \theclm.
* is supported on , while every graph in the support of is -far from .*
Proof.
The first part is obvious, as the only cycles in are -cycles. As for the second, it immediately follows from observing that contains disjoint -cycles, and thus at least edges have to be removed to make it -cycle free. Thus, . ∎
Let be a deterministic testing algorithm with rounds of adaptivity and query complexity . The following lemma concludes the proof of Section 5.2 by showing that cannot distinguish, with high probability, between graphs in and graphs in . Denote ’s (disjoint) query sets, per round, by , where a query is a vertex . Denote the corresponding sets of answers by , where the answer to a query consists of the labels of all neighbors of (i.e., either two or zero vertices). Since , without loss of generality, we can assume (by padding) that all query sets have the same size for every . Moreover, we can also assume that no vertex is queried twice, i.e. that all ’s are disjoint.
Lemma \thelem.
.
Proof.
For , define by and the distribution of when and when , respectively. We shall prove that , which by the data processing inequality will imply the claim of Section 5.2.
The high-level idea is that in each round, the tester can either query “fresh” vertices, of which it has no prior information, or query the boundaries (i.e., the direct neighbors) of previously queried vertices. Then, loosely speaking we can argue that, on the one hand, if the total number of queries is , then both for graphs in and all queries of “fresh” vertices (obtained during all rounds) with high probability would only fall into previously unattained disjoint cycles, in which case the answer would be a uniform sequence of “fresh” labels. On the other hand, the local view obtained by querying the boundary, using at most rounds of adaptive queries, of each vertex previously obtained via a “fresh” query (which by the above lies in a cycle wherein the tester has no information of the labels of the other vertices participating in this cycle) is isomorphic to the tail graph over fresh labels, both for instances taken from and (that is, we do not have enough adaptive queries to observe a full cycle). The foregoing intuition is formalized below.
For , define
[TABLE]
to be, respectively, the set of “entirely fresh” nodes queried at round (that is, nodes that are not neighbors of any previously queried node), and the set of “boundary nodes” (which are the not-yet-queried nodes neighbors of a previously queried node).
First, we bound the probability that any of the queries made “hits” the set of disconnected nodes:
Claim \theclm.
Let denote the event that queries an isolated vertex of , that is . Then .
Proof.
This follows by induction: at step , conditioned on no isolated node having been queried yet, the algorithm has degree information about nodes, so there remain at least nodes on which the algorithm has no degree information at all. Among these, there are (or , in the no-case) isolated nodes. By symmetry, this means that in the new batch of queries, the algorithm will query one of these isolated nodes with probability at most . Therefore, overall there will be an isolated node queried with probability at most . ∎
Next, we argue that at each step, with overwhelming probability all the “fresh nodes” queried fall in distinct cycles, which have not been attained yet.
Claim \theclm.
Let denote the event that at some round , one of the queries in belongs to the same cycle (either a - or a -cycle, depending on whether the graph is drawn from or ) as one of the previous queries . Then .
Proof.
We will show that ; the no-case is similar. For , let denote the event that at some round , one of the queries in belongs to the same cycle as a previous query, so that .
Note that since , we have (and the number of distinct cycles reached is at most ). Therefore, at round each of the at most distinct queries in falls independently in a previously visited cycle with probability upper bounded by
[TABLE]
recalling that and . A union bound over all at most queries of , and then over the rounds then shows that (since ). ∎
To conclude the proof, note that by the above, with probability neither nor occurs; that is, none of the isolated vertices was queried, and all the “fresh” queries (during all rounds ) fell in previously unattained distinct cycles. In this case, at each round of adaptivity the algorithm can at most discover two new nodes out of every cycle it reached before (by including the one or two end nodes of the current “discovered portion” into ). Therefore, on any cycle ever reached, the -round-adaptive testing algorithm can observe at most nodes (which then form a consecutive path). We show that this implies that the algorithm cannot distinguish between a -instance and a -instance, as loosely speaking, in both cases its local view is of a tail graph over uniformly distributed fresh labels, and so it is unable to determine whether it belongs to a cycle of length or .
To make the argument more precise, we will actually show a stronger statement; namely, we show that, conditioning on neither nor occuring, a simulator with no access to the graph can answer the queries of the testing algorithm in a way that is indistinguishable from the tuple of answers obtained from querying a graph distributed according to either or . This simulator operates as follows: at round ,
Order (arbitrarily) all the nodes of : , and initialize the set of available-to-sample nodes . 2. 2.
Do sequentially the following, for :
- •
if (fresh node: no previous neighbors known), pick uniformly at random two distinct nodes in and return them as answers (i.e., declare them as neighbors of );
- •
otherwise, (boundary node: exactly one already known neighbor, call it ): pick uniformly at random one other node in , and return as answers;
- •
update by removing :
It is straightforward to verify that, since we conditioned on and , this simulates exactly the same distribution over nodes (over the choice of ); since this is the same both for and , we get that , which combined with Section 5.2 and Section 5.2 finishes the proof. ∎
This concludes the proof of Section 5.2. ∎
6 Some Miscellaneous Remarks
6.1 On Simulating Rounds With Fewer
As mentioned in the beginning of Section 5, in the Boolean setting any adaptive property testing algorithm can be simulated non-adaptively with only an exponential blowup in the query complexity. Phrased differently, this implies that any property of Boolean functions which admits a -round-adaptive tester also has a -round-adaptive tester.
This begs the following more general question: let be a property of Boolean functions, such that there exists a -round-adaptive tester for . For , what upper bound can we obtain on the query complexity of the best -round-adaptive tester for ?
Denoting by this query complexity, the above discussion immediately implies:
Fact 6.1**.**
For any , one has .
In what follows, we provide a example of a more fine-grained version of this fact, in the case when (that is, one wishes to reduce the number of rounds of adaptivity by one).
Proposition \theprop.
For any , one has .
Proof.
Let be a -round-adaptive tester for , which can be viewed as a distribution over deterministic algorithms. Thus, it is sufficient to explain how to simulate any deterministic algorithm with rounds of adaptivity by one with rounds. Fix such a -round deterministic algorithm: this can be seen equivalently as a depth- binary tree, where each internal node is labeled by the set of queries made at that stage, and the leaves are either accept or reject. By assumption, we have that on each path from the root to a leaf, ; moreover, one can assume without loss of generality that this is an equality.
The idea is then to contract, on any path, two consecutive nodes as follows: instead of querying , receiving the answers, and then querying the (adaptively chosen) set , one can idea query simultaneously and the union of all possible sets : since the latter depends only on the previous queries, and the only unknown answers are those to the queries in , there are at most possibilities for . As clearly no matter what would be, its size is at most , the set queried has size at most . Thus, by contradicting the two rounds and , one incurs an additional number of queries upper bounded by
By an averaging argument, since on every such path we have , there must exist an index such that . Since we would like to “contract” rounds and into a single round, we additionally want to ensure . But similarly, as there exists such that . We then get an index (which depends on the path taken down the tree) to which we can apply the above transformation. That is, whenever the deterministic algorithm is executed it will reach an index where it should make queries. At that point, it makes instead these queries, along with all queries this should have triggered at the next round, and thus is able to skip round at the price of an additional (at most) queries. ∎
Remark 6.2*.*
Note that in the above proof, while one can assume without loss of generality that the algorithm always makes exactly queries, one cannot however assume that for any two such paths and , for all . That is, the number of queries made in round may not be the same depending on the path followed down by the algorithm, but instead depend adaptively on the previous queries made.
The above remark shows the difficulty in extending the proof of Section 6.1 further than a single round. If one is willing to assume that the number of queries at each round is non-adaptive, it becomes possible to obtain a more general statement for ; however, it is unclear how to proceed without this extra assumption, leading to the following question:
Open Problem 3**.**
Can one obtain a general round-reduction upper bound for of the form , improving on 6.1 for ?
6.2 On the Connection with Communication Complexity
As exemplified in the proof of Section 4.3, there exists a striking parallel between the notion of -round-adaptive testing algorithms, and that of -round protocols in communication complexity. In this section, we make this parallel rigorous, and give a blackbox reduction between the two that one can leverage to establish lower bounds on -round-adaptive testing.
In more detail, we build on the communication complexity methodology for proving property testing lower bounds due to [BBM12] (more precisely, to the general formulation of this methodology as laid out in [Gol13]). Although the results stated there hold for non-adaptive lower bounds (in the case of one-way communication or simultaneous message passing) or fully adaptive lower bounds in property testing (in the case of two-way communication), it is easy to obtain their counterpart for -round-adaptive, given in Theorem 6.3 below. But first, we need to recall some notations.
In what follows, for a property , integer , and parameters , we write for the minimum query complexity of any -round-adaptive tester for with error probability and distance parameter . Given a communication complexity predicate , we let , , and denote respectively the minimum communication complexity of a public-coin protocol for with error in (i) -rounds, (ii) one-way from Alice to Bob, and (iii) one-way from Bob to Alice, respectively (note that the case then corresponds to protocols with perfect completeness).
Theorem 6.3**.**
Let be a promise problem such that , be a property, and . Suppose the mapping satisfies the following two conditions:
- (i)
for every , it holds that ; 2. (ii)
for every , it holds that is -far from .
Then , where (and is the ’th bit of ). Moreover, if , then .
Proof.
The proof will be identical to that of [Gol13, Theorem 3.1], where we only need to check that Alice and Bob can each simulate the execution of the property testing algorithm (using their public random coins), answering the queries made to while preserving the number of rounds. Running the testing algorithm, Alice first sends the bits allowing Bob to compute the answers to the first queries, using her input and the one-way protocols for the relevant ’s. Bob then answers with the bits corresponding to the answers he computed, as well as the bits allowing Alice to compute the answers to the next queries made by the tester, using now his input and the one-way protocols for the relevant ’s. They do so for rounds of communication in total, until the last player to receive a message gets from the other player both the answers to the queries in as well as the bits needed to compute (given their own input) the answers to the last queries. At that point, it only remains to use a last round of communication (the ’nd) to communicate to the other player the answers to these last queries, so that both Alice and Bob can finish running their copy of the testing algorithm and know the answer.
Note that the number of bits communicated at round is by definition of (resp. ) at most (resp. ), so that at most (resp. ) bits are communicated in total. This concludes the proof. ∎
To illustrate the above methodology, we show how it can be leveraged to prove a hierarchy of lower bounds on the power of -adaptive testers for testing a very fundamental class of Boolean functions, that of -linear functions.888We observe that establishing the upper bound counterpart to this result would provide an answer to 1, although one rather weak quantitatively. It also, as a special case, would separate adaptive and non-adaptive testing of -linearity for , a longstanding open question [BK12, BCK14].
Proposition \theprop.
Let denote the class of parities of size (over variables), and fix . Then, for any , any -round-adaptive tester for must satisfy .
Proof.
We will rely on a result of Sağlam and Tardos [ST13], which implies the following (tight) lower bound on the communication complexity of sparse set-disjointness (, where both inputs are promised to have Hamming weight ):
Theorem** (Corollary of [ST13, Theorem 4]).**
For any , any -round probabilistic protocol for with error probability at most must have communication .
It then suffices to provide a reduction from to testing . We follow the known reduction, as can be found in [BBM12, BGMdW13]. Namely, on input (resp. ), Alice (resp. Bob) forms the parity function (resp. ). As , the function is a -parity. Moreover, as for any we have , each query can be answered (with zero error) by one bit of communication in either direction.
Put in the language of our reduction theorem, with and ; while , ; and maps to the truth table of . Since any two distinct parities are at distance , we can take any . We then have , and by the theorem above we know that for any . Invoking Theorem 6.3 concludes the proof. ∎
6.3 On the Relative Power of Round- and Tail-Adaptive Testers
In this section, we show that the two notions of round- and tail-adaptive testers we introduced are not equivalent. As mentioned in Section 3, while round-adaptive testers are at least as powerful as tail-adaptive ones, there exist properties for which the separation is strict:
Theorem 6.4**.**
Fix any . There exists a constant such that, for every , the following holds. For every integer , there exists a property such that, for any constant ,
- (i)
there exists a -round-adaptive (one-sided) tester for ; yet 2. (ii)
any -tail-adaptive (two-sided) tester for must satisfy .
Proof sketch.
The argument is very similar to that of Theorem 4.1, and follows the same overall structure. Namely, we slightly modify the -iterated function of Section 4 (which was computable by a -tail-adaptive algorithm) to rule out tail-adaptive algorithms but not round-adaptive ones: that is, we define the function by
[TABLE]
(Perhaps more clearly, is computed by iterating the pointer function times, and then checking if the value at the final coordinate reached, and the value at the adjacent coordinate , are equal.) It is not hard to see that the counterparts of Section 4.3 and Section 4.3 still hold for : first, the function is still easy to compute by -round-adaptive algorithms. However, because the very last round requires queries and not one (to query and , once the value of has been obtained), tail-round-adaptive algorithms are no longer able to leverage this, and analogously to Section 4.3 we can conclude that there is no -round-adaptive (randomized) LDT algorithm which computes . It then only remains to lift this DT separation to property testing: we can do this as before (noting, in the case of lifting the lower bound, that the reduction of Section 4.4.2 preserves the number of queries per round, and thus the “tailness” of the algorithm). ∎
Acknowledgments
We are grateful to Oded Goldreich for suggesting cycle freeness as a candidate natural property for proving an adaptivity hierarchy theorem, as well as for enlightening conversations that significantly contributed to this work; and wish to thank Rocco Servedio for helpful comments on an earlier version of this paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[AFKS 00] Noga Alon, Eldar Fischer, Michael Krivelevich, and Mario Szegedy. Efficient testing of large graphs. Combinatorica , 20(4):451–476, 2000.
- 2[AW 08] Scott Aaronson and Avi Wigderson. Algebrization: a new barrier in complexity theory. In Proceedings of STOC , pages 731–740, 2008.
- 3[BBM 12] Eric Blais, Joshua Brody, and Kevin Matulef. Property testing lower bounds via communication complexity. Computational Complexity , 21(2):311–358, 2012.
- 4[BCK 14] Abhishek Bhrushundi, Sourav Chakraborty, and Raghav Kulkarni. Property testing bounds for linear and quadratic functions via parity decision trees. In CSR , volume 8476 of Lecture Notes in Computer Science , pages 97–110. Springer, 2014.
- 5[Bd W 02] Harry Buhrman and Ronald de Wolf. Complexity measures and decision tree complexity: a survey. Theor. Comput. Sci. , 288(1):21–43, 2002.
- 6[BGH + 06] Eli Ben-Sasson, Oded Goldreich, Prahladh Harsha, Madhu Sudan, and Salil P. Vadhan. Robust PC Ps of Proximity, Shorter PC Ps, and Applications to Coding. SIAM Journal on Computing , 36(4):889–974, 2006.
- 7[BG Md W 13] Harry Buhrman, David García-Soriano, Arie Matsliah, and Ronald de Wolf. The non-adaptive query complexity of testing k 𝑘 k -parities. Chicago J. Theor. Comput. Sci. , 2013, 2013.
- 8[BHR 05] Eli Ben-Sasson, Prahladh Harsha, and Sofya Raskhodnikova. Some 3CNF properties are hard to test. SIAM J. Comput. , 35(1):1–21, 2005.
