## Optimal Separation and Strong Direct Sum for Randomized Query Complexity

Eric Blais University of Waterloo

eric.blais@uwaterloo.ca

Joshua Brody Swarthmore College

brody@cs.swarthmore.edu

August 6, 2019

## Abstract

We establish two results regarding the query complexity of bounded-error randomized algorithms.

Bounded-error separation theorem. There exists a total function f : { 0 1 , } n → { 0 1 , } whose glyph[epsilon1] -error randomized query complexity satisfies R ( ε f ) = Ω(R( f ) · log 1 glyph[epsilon1] ).

Strong direct sum theorem. For every function f and every k ≥ 2, the randomized query complexity of computing k instances of f simultaneously satisfies R ε ( f k ) = Θ( k · R ( )). glyph[epsilon1] k f

As a consequence of our two main results, we obtain an optimal superlinear direct-sum-type theorem for randomized query complexity: there exists a function f for which R( f k ) = Θ( k log k · R( f )). This answers an open question of Drucker (2012). Combining this result with the queryto-communication complexity lifting theorem of G¨¨s, oo Pitassi, and Watson (2017), this also shows that there is a total function whose public-coin randomized communication complexity satisfies R cc ( f k ) = Θ( k log k · R cc ( f )), answering a question of Feder, Kushilevitz, Naor, and Nisan (1995).

## 1 Introduction

We consider two fundamental questions related to the query complexity of functions in the boundederror randomized setting: how the randomized query complexity of total functions scales with the allowable error glyph[epsilon1] (the separation problem), and how the query complexity of computing k instances of a function scales with the complexity of computing only 1 instance of the same function (the direct sum problem). Standard folklore arguments give upper bounds on how much the randomized query complexity can depend on glyph[epsilon1] and on k in these two problems; the results described below show that these well-known upper bounds are tight in general.

A randomized algorithm A computes a function f : X n →{ 0 1 , } over a finite set X n with error glyph[epsilon1] ≥ 0 if for every input x ∈ X n , the algorithm outputs the value f ( x ) with probability at least 1 -glyph[epsilon1] . The query cost of A is the maximum number of coordinates of x that it queries, with the maximum taken over both the choice of input x and the internal randomness of A . The glyph[epsilon1] -error (worst-case) randomized query complexity of f (also known as the randomized decision tree complexity of f ) is the minimum query complexity of an algorithm A that computes f with error at most glyph[epsilon1] . We denote this complexity by R ( glyph[epsilon1] f ), and we write R( f ) := R 1 3 ( f ) to denote the 1 3 -error randomized query complexity of f .

Another natural measure for the query cost of a randomized algorithm A is the expected number of coordinates of an input x that it queries. Taking the maximum expected number of coordinates queried by A over all inputs yields the average query cost of A . The minimum average query

complexity of an algorithm A that computes a function f with error at most glyph[epsilon1] is the average glyph[epsilon1] -error query complexity of f , which we denote by R ( glyph[epsilon1] f ). We again write R( f ) := R 1 3 ( f ). Note that R ( 0 f ) corresponds to the standard notion of zero-error randomized query complexity of f .

## 1.1 Our Results

Bounded-Error Separation Theorem for Query Complexity One of the first tricks that one learns in the study of randomized algorithm is success amplification : it is possible to cheaply reduce the error of a randomized algorithm from 1 3 to any ε &gt; 0 by running the algorithm O (log 1 ε ) times and outputting the most frequent answer. In the context of randomized query complexity, this means that for every function f : { 0 1 , } n →{ 0 1 , } ,

$$R _ { \varepsilon } ( f ) = O ( R ( f ) \cdot \log \frac { 1 } { \varepsilon } ).$$

When considering partial functions, it is easy to see that the success amplification trick is optimal, as there are partial functions for which this relationship is tight (see Section 2.2). However, in the case of total functions, for many natural functions such as the majority function, parity function, dictator function, etc., the stronger bound R ( glyph[epsilon1] f ) = O ( R( f ) ) holds and until now it was not known whether the bound in (1) is tight for any total function. In fact, even separations between zero-error and 1 3 -error randomized query complexity were not known until very recently, when Ambainis et al. [2] showed that there exists a total function f for which R ( 0 f ) = Ω(R( ˜ f ) 2 ). Similarly, other separations between randomized query complexity and other measures of complexity have also only been established very recently [23, 1, 3, 4, 2].

In this work, we give the first separation within the bounded-error randomized query complexity setting. Our separation shows that the bound in (1) is optimal in general.

Theorem 1. For infinitely many values of n and every 2 -( n log n ) 1 / 3 &lt; ε ≤ 1 3 , there exists a total function f : { 0 1 , } n →{ 0 1 , } with randomized query complexity

$$\overline { R } _ { \varepsilon } ( f ) = \Omega ( R ( f ) \cdot \log \frac { 1 } { \varepsilon } ).$$

Note that by the trivial relation R ( ε f ) ≤ R ( ε f ) between average and worst-case randomized query complexity, Theorem 1 implies the existence of a function f for which R ( ε f ) ≥ Ω R( ( f ) · log 1 ε ) and R ( ε f ) ≥ Ω R( ( f ) · log 1 ε ) , giving optimal separations in both the worst-case randomized query complexity and average query complexity settings.

Strong Direct Sum Theorem The direct sum problem asks how the cost of computing a function f scales with the number k of instances of the function that we need to compute. This problem has received a considerable amount of attention in the context of query complexity [18, 7, 24, 25, 19, 8, 13], communication complexity [20, 14, 11, 5, 21, 6], and beyond.

Given a function f : { 0 1 , } n →{ 0 1 , } and a parameter k ≥ 2, define f k : { 0 1 , } n k · →{ 0 1 , } k by setting f k ( x (1) , . . . , x ( k ) ) = ( f ( x (1) ) , . . . , f ( x ( k ) ) ) . A simple union bound argument shows that the randomized query complexity of f k is bounded above by

$$R _ { \epsilon } ( f ^ { k } ) = O ( k \cdot R _ { \frac { k } { k } } ( f ) )$$

since we can run a randomized algorithm A that computes f with error at most glyph[epsilon1] k on each of the k instances. An analogous upper bound holds in the average query complexity setting as well.

Jain, Klauck, and Santha [19] first considered the problem of showing a direct sum theorem for randomized query complexity. They showed that for every function f and for small enough constant δ &gt; 0, R ( glyph[epsilon1] f k ) ≥ δ 2 k · R glyph[epsilon1] 1 -δ + δ ( f ) . Note that in this inequality, the allowable error on the right-hand side of the equation is larger than the glyph[epsilon1] error parameter, in contrast to the upper bound where

it is (much) smaller. Ben-David and Kothari [8] obtained an improved direct sum theorem holds, showing that R ( glyph[epsilon1] f k ) ≥ k · R ( glyph[epsilon1] f ) holds for every function. This result is formally stronger since it implies the Jain-Klauck-Santha bound, but it also does not show that the error parameter on the right-hand-side of the inequality needs to be smaller than glyph[epsilon1] , as it is in the upper bound (2).

We show that the bound in (2) is tight in the average-case query complexity model.

Theorem 2. For every function f : { 0 1 , } n →{ 0 1 , } , every k ≥ 2 , and every 0 ≤ glyph[epsilon1] ≤ 1 20 ,

$$\overline { R } _ { \epsilon } ( f ^ { k } ) = \Omega \left ( k \cdot \overline { R } _ { \frac { \epsilon } { k } } ( f ) \right ).$$

We establish Theorem 2 by proving a corresponding strong direct sum theorem in the distributional setting, as we discuss in more details in Section 1.3. It remains open to determine whether a similar strong direct sum theorem holds in the worst-case randomized query complexity model. However, in that setting Shaltiel [25] has shown that a proof of such a direct sum theorem can't be obtained via a corresponding theorem in the distributional setting, as a counterexample shows that direct sum theorems do not hold in this setting in general.

## 1.2 Applications

Superlinear Direct-Sum-Type Theorem for Query Complexity Combining (1) and (2), we obtain a bound on the cost of computing k instances of a function f with bounded (constant) error and the cost of computing a single instance of the same function:

$$R ( f ^ { k } ) = O ( k \log k \cdot R ( f ) ).$$

Drucker [13, Open problem 2] asked if the superlinear dependence on k in (3) is necessary for any total function f . Theorems 1 and 2 give a positive answer to this question.

Corollary 3. There exists a total function f : { 0 1 , } n →{ 0 1 , } such that for all 1 ≤ k ≤ 2 ( n log n ) 1 / 3 ,

R(

f

k

) = Θ

(

k

log

k

·

R(

f

)

)

.

Note that Corollary 3 stands in contrast to the quantum query complexity setting, where such a superlinear dependence on k is not required [10].

Superlinear Direct-Sum-Type Theorem for Communication Complexity Let R cc ( f ) denote the minimum amount of communication required of a public-coin randomized protocol that computes a function f : { 0 1 , } m ×{ 0 1 , } n →{ 0 1 , } with error at most 1 3 . As in the query complexity model, the communication complexity of the function f k is bounded above by

$$R ^ { \cosh } ( f ^ { k } ) = O ( k \log k \cdot R ^ { \cosh } ( f ) ).$$

Feder, Kushilevitz, Naor, and Nisan [14] showed that this upper bound is not tight in general, as the equality function satisfies R cc ( Eq k ) = O k ( · R cc ( Eq ) ) . 1 They then asked whether R cc ( f k ) = O k ( · R cc ( f )) holds for all functions or not [14, Open problem 2 in § 7].

In the last few years, there has been much work on related direct sum questions. Molinaro, Woodruff, and Yaroslavtsev [21, 22] showed that in the one-way communication complexity model, the equality function does satisfy the superlinear direct sum bound R cc , → ( Eq k ) = Θ ( k log k · R cc , → ( Eq ) ) . In the two-way communication complexity model that we consider, Barak, Braverman, Chen, and Rao [6] showed that every function f satisfies the direct sum R f ( k ) = Ω ˜ ( √ k R f ( ) ) ,

1 In fact, Feder et al. showed that the private-coin randomized communication complexity of Eq satisfies the stronger relation R cc priv , ( Eq k ) = o k ( · R cc priv , ( Eq ) ) ; their construction also directly establishes the result stated in the main text.

and this bound remains the state of the art as far as we know. Using the connection between information complexity and amortized communication complexity of Braverman and Rao [9], Ganor, Kol, and Raz [15] also showed that there is a partial function whose distributional communication complexity is exponentially larger than its amortized distributional communication complexity, showing that a tight direct sum theorem cannot hold in general in this setting. None of these results, however, answer Feder et al.'s original question.

Corollary 3 combined with the randomized query-to-communication lifting theorem of G¨¨s, oo Pitassi, and Watson [17] answers Feder et al.'s question by showing that there is a function f for which the bound in (4) is tight.

Corollary 4. There is a constant c &gt; 0 and a total function f : { 0 1 , } n ×{ 0 1 , } n →{ 0 1 , } such that for all 1 ≤ k ≤ 2 n c ,

$$R ^ { \csc } ( f ^ { k } ) = \Theta ( k \log k \cdot R ^ { \csc } ( f ) ).$$

## 1.3 Proof Overviews

Bounded-Error Separation Theorem The proof of Theorem 1 is established by following the general approach used to great effect by Ambainis et al. [2]: first, identify a partial function f for which the query complexity separation holds, then design a variant of the G¨¨s-Pitassi-Watson oo (GPW) pointer function [16] that 'embeds' the partial function into a total function and preserves the same separation.

The first step in this plan is accomplished by observing that the partial gap identity function GapID : { 0 1 , } m →{ 0 1 , , ∗} defined by

$$\text{GAPID} ( x ) = \begin{cases} 1 & \text{if } | x | = 0, \\ 0 & \text{if } | x | = \lfloor \frac { m } { 2 } \rfloor, \\ * & \text{otherwise} \end{cases}$$

satisfies R ε ( GapID ) = Θ R( ( GapID ) · log 1 ε ) for every glyph[epsilon1] ≥ 2 -m .

Ambainis et al. [2] also used (essentially) the same gap identity function to establish the separation R ( 0 f ) = Ω R( ˜ ( f ) 2 ) . In constructing a GPW pointer function analogue of the GapID function, however, Ambainis et al. lose a few logarithmic factors: their construction shows that there exists a total function f : { 0 1 , } n → { 0 1 , } with glyph[epsilon1] -error randomized query complexity that satisfies R ( glyph[epsilon1] f ) = O ( √ n log 2 n log 1 ε ) and R ( glyph[epsilon1] f ) = Ω( √ n log 1 glyph[epsilon1] ). The polylogarithmic gap between those two bounds is not particularly important when comparing this query complexity to the zero-error randomized query complexity R ( 0 f ) = Ω( ˜ n ) of the same function, but it makes it impossible to obtain any separation at all between R( f ) and R ( ε f ) whenever glyph[epsilon1] = Ω( n -log n ). To prove Theorem 1, we need a new variant of the GPW pointer function whose analysis avoids any gap that is a non-constant function of n .

At a high-level, GPW pointer functions are constructed by defining an n × m array of cells, whose values are taken from some (typically fairly large) alphabet Σ. The first logarithmic gap in Ambainis et al.'s upper and lower bounds occurs because the upper bound is measured in terms of the number of bits queried by the algorithm while the lower bound is in terms of the number of cells queried by an algorithm. To eliminate this gap, we must either reduce the size of the alphabet from | Σ = | O (log n ) to a constant size or modify the analysis so that both the upper and lower bounds are in terms of bit-query complexity. We do the latter, using the notion of resilient functions [12] to show that an algorithm must query a constant fraction of the bits of a cell to learn anything about the contents of that cell. Resilient functions were introduced by Chor et al. [12], who gave an essentially optimal construction using basic linear algebra and the probabilistic method. Sherstov recently created a gadget [26] resilient to approximate polynomial degree. This gadget is both similar in construction to [12] and in motivation to our work; it too removes some loss due to function inputs coming from large alphabets.

The second logarithmic gap in Ambainis et al.'s construction occurs because the location of the 'special' cells that an algorithm seeks to discover in the GPW pointer function can be found by following a binary tree structure; the upper bound accounts for the log n cell queries an algorithm requires to follow this structure while the lower bound holds even if an algorithm finds these special cells in a single query. We bypass this problematic issue with a simple but powerful observation: in our setting, once we use resilient functions to encode the contents of each cell, there is no longer any requirement to keep the size | Σ of the alphabet for each cell in the GPW pointer function to | be polylogarithmic in n and so we can include a lot more information in each cell without affecting the query complexity gap. We use this flexibility to replace pointers to the root of a binary tree structure with direct pointers to all the special cells in its leaves.

The details of the proof of Theorem 1 are presented in Section 2.

Strong Direct Sum Theorem Our proof of the strong direct sum theorem proceeds by establishing an analogous result in the setting of distributional query complexity. The glyph[epsilon1] -error distributional complexity of f : { 0 1 , } n →{ 0 1 , } with respect to the distribution µ on { 0 1 , } n , denoted by D µ glyph[epsilon1] ( f ), is the minimum query complexity of a deterministic algorithm that computes the value f ( x ) correctly with probability at least 1 -glyph[epsilon1] when x is drawn from µ .

The distributional complexity approach is also the one used in prior work on direct sum theorems for query complexity [19, 8]. The challenge with this approach, however, is that a strong direct sum theorem for distributional query complexity does not hold in general, as Shaltiel [25] demonstrated (see also § 4 in [13]): there exists a function f and a distribution µ on f 's domain for which D µ k glyph[epsilon1] ( f k ) = O glyph[epsilon1]k ( D ( µ glyph[epsilon1] f ) ) .

A similar barrier to strong direct sum theorems exists in the communication complexity setting. Molinaro, Woodruff, and Yaroslavstev [21, 22] bypassed this barrier by considering randomized protocols that are allowed to abort with some bounded probability. They were then able to show that the information complexity of such communication protocols (in both the one-way and two-way communication models) satisfies a strong direct sum property.

Following an analogous approach, we consider randomized algorithms that are allowed to abort (or, equivalently, to output some value ⊥ that corresponds to 'don't know') with some probability at most δ . The glyph[epsilon1] -error, δ -abort randomized query complexity of a function f is denoted by R δ,glyph[epsilon1] ( f ). With a natural extension of Yao's minimax principle, we can obtain bounds on this randomized query complexity by considering the corresponding glyph[epsilon1] -error, δ -abort distributional complexity D µ δ,glyph[epsilon1] ( f ) of a function f , which is the minimum query complexity of deterministic algorithms must err with probability at most glyph[epsilon1] and abort with probability at most δ when inputs are drawn from the distribution µ . We show that a strong direct sum theorem does hold in this setting.

Lemma 5. There exists a constant c such that for every function f : { 0 1 , } n → { 0 1 , } , every distribution µ on { 0 1 , } n , and every 0 ≤ δ, glyph[epsilon1] ≤ 1 40 ,

$$D ^ { \mu ^ { k } } _ { \delta, \epsilon } ( f ^ { k } ) = \Omega \left ( k \cdot D ^ { \mu } _ { \frac { 1 } { 3 }, \frac { \epsilon, \epsilon } { k } } ( f ) \right ).$$

The proof of Theorem 2 is then obtained from this lemma by showing that an analogue of Yao's minimax principle holds for algorithms that can both err and abort. The full details of the proofs of Lemma 5 and Theorem 2 are presented in Section 3.

## 2 Bounded-Error Separation Theorem

We complete the proof of Theorem 1 in this section. In Section 2.1, we first define the pointer function PtrFcn at the heart of the proof. In Sections 2.2-2.4, we establish a lower bound on the query complexity of the PtrFcn function via reductions from the GapID function, and in

Figure 1: A 1-input for PtrFcn . PtrFcn ( x ) = 1 iff there is a unique column whose cells all have value 1; there is a special cell within this column which has nontrivial row pointers; these pointers all point to cells with value 0; and half of these linked cells point back to the special cell. Note: blank cells in the figure represent inputs that can be arbitrary.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01020v1-figure-4e6acd3c-cd6e-4a8a-b2c2-c74ce3cd277f.jpg)

Section 2.5, we provide a matching upper bound on this query complexity. We complete the proof of Theorem 1 in Section 2.6 by combining these results with the use of resilient functions.

## 2.1 Pointer Function

The total function at the heart of the proof of Theorem 1 is a variant of the G¨¨s-Pitassi-Watson oo pointer function PtrFcn that we define below. Let [ n ] denote the set { 1 , . . . , n } .

Define Γ = { 0 1 , } × ([ n ] ∪ {⊥} ) m × ([ m ] ∪ {⊥} ) to be the set of symbols σ that encode a value that we denote by value ( σ ), m row pointers that we denote by row 1 ( σ , . . . , ) row m ( σ ), and one column pointer that we denote col ( σ ).

The function PtrFcn : Γ n × m → { 0 1 , } is defined as follows. First, we represent an input x ∈ Γ n × m as an n × m grid of cells . We say that a column j ∗ ∈ [ m ] is special for x if value ( x i,j ∗ ) = 1 for every 1 ≤ i ≤ n . Then PtrFcn ( x ) = 1 if and only if

- · There is a unique column j ∗ that is special for x ;
- · Within the special column j ∗ , there is a unique cell i ∗ called the special cell ;

glyph[negationslash]

- · row j ( x i,j ∗ ) = ⊥ for all i = i ∗ and all j = j ∗ ;

glyph[negationslash]

glyph[negationslash]

- · For all j = j ∗ , let i j : = row j ( x i ∗ ,j ∗ ). Then, we have
- -value ( x i j ,j ) = 0 (i.e., all cells pointed to by the special cell have value 0)

glyph[negationslash]

- -|{ j = j ∗ : col ( x i j ,j ) = j ∗ ∧ row j ∗ ( x i j ,j ) = i ∗ }| = glyph[floorleft] m -1 2 glyph[floorright] (i.e., half the cells pointed to by the special cell point back to the special cell)

glyph[negationslash]

We call the cells ( i j , j ) linked cells ; linked cells that point back to the special cell are good . In summary, PtrFcn ( x ) = 1 if (i) there is a special column, (ii) within the special column, there is a special cell, (iii) all cells in the special column that are not the special cell have row j ( x i,j ∗ ) = ⊥ for all j = j ∗ , (iv) each linked cell has value 0, and (v) exactly half of the linked cells are good.

The following simple claim will be useful in obtaining the query complexity lower bound for PtrFcn .

Claim 6. Let A be an ε -error randomized algorithm for PtrFcn . Let z ∈ PtrFcn -1 (1) , and let ( i ∗ , j ∗ ) be the special cell of z . Then A ( z ) probes ( i ∗ , j ∗ ) with probability at least 1 -2 ε .

glyph[negationslash]

Proof. Let ¯ be the same input as z z except that value ( i ∗ , j ∗ ) = 0. Then PtrFcn ( z ) = PtrFcn (¯) z but z, z ¯ differ only on the special cell. Whenever A doesn't probe the special cell, it must output the same value for z and ¯, so it errs on either z z or ¯. z By the error guarantee of A and a union bound, the probability that A doesn't probe cell ( i ∗ , j ∗ ) is at most 2 ε .

## 2.2 Lower Bound on the Query Complexity of GapID

We begin the proof of Theorem 1 by establishing a (simple, asymptotically optimal) lower bound on the average query complexity of the GapID function.

$$\text{Lemma} \ 7. \text{ For every} \, m \geq 2 \ a n d \ e v e r y \, \epsilon < \frac { 1 } { 2 }, \, \overline { R } _ { \epsilon } ( \text{GAPID} ) = \Omega \left ( \min \{ \log \frac { 1 } { \epsilon }, m \} \right ).$$

Proof. Fix any glyph[epsilon1] ≥ 2 -2 3 m . We will show that R ( glyph[epsilon1] GapID ) = Ω ( log 1 glyph[epsilon1] ) . This suffices to complete the proof of the theorem since it implies that for any glyph[epsilon1] &lt; 2 -2 3 m , R ( glyph[epsilon1] GapID ) ≥ R 2 -2 3 m ( GapID ) = Ω( m ).

Let A be a randomized algorithm that computes GapID with error probability at most glyph[epsilon1] . Let Q ⊆ [ m ] be a random variable that denotes the set of coordinates queried by A , and let ξ := ξ Q, x ( ) denote the event that each coordinate of the input x queried by the algorithm has the value 0. Note that when the event ξ Q, x ( ) occurs, A has the same behavior on input x as it does on the input 0 m . Since GapID (0 m ) = 1 and A has error probability at most glyph[epsilon1] , this means that for every input x ∈ { 0 1 , } m ,

$$\Pr [ \mathcal { A } ( x ) = 0 \wedge \xi ] = \Pr [ \mathcal { A } ( 0 ^ { m } ) = 0 \wedge \xi ] \leq \Pr [ \mathcal { A } ( 0 ^ { m } ) = 0 ] \leq \epsilon$$

and so Pr[ A ( x ) = 1] ≥ Pr[ A ( x ) = 1 ∧ ξ ] ≥ Pr[ ξ ] -glyph[epsilon1] .

Define µ to be the uniform distribution on all inputs x ∈ { 0 1 , } m with | x | = m/ 2. To err with probability at most glyph[epsilon1] on those inputs, the algorithm A must satisfy Pr [ A ( x ) = 1] ≤ glyph[epsilon1] for every x in the support of µ . Combining this upper bound with the previous lower bound, we therefore have that

$$\Pr _ { x \sim \mu, Q } [ \xi ] - \epsilon \leq \underset { x \sim \mu } { \mathrm E } \left [ \Pr [ \mathcal { A } ( x ) = 1 ] \right ] \leq \epsilon \quad \Longrightarrow \quad \Pr _ { x \sim \mu, Q } [ \xi ] \leq 2 \epsilon.$$

For any value 1 ≤ q ≤ m 3 ,

$$\Pr _ { \substack { z \sim \mu, Q } } \left [ \xi \, | \, | Q | = q \right ] = \frac { \binom { m - q } { m / 2 } } { \binom { m } { m / 2 } } & = \frac { \frac { m } { 2 } \left ( \frac { m } { 2 } - 1 \right ) \cdots \left ( \frac { m } { 2 } - q + 1 \right ) } { m ( m - 1 ) \cdots ( m - q + 1 ) } \\ & > \left ( \frac { \frac { m } { 2 } - q } { m - q } \right ) ^ { q } > \left ( \frac { 1 } { 2 } - \frac { q } { 2 ( m - q ) } \right ) ^ { q } \geq 4 ^ { - q }.$$

Therefore,

$$\Pr _ { \substack { x \sim \mu, Q } } \left [ \xi \, \Big | \, | Q | \leq \frac { 1 } { 2 } \log \frac { 1 } { 4 \epsilon } \right ] > 4 ^ { - \frac { 1 } { 2 } \log \frac { 1 } { 4 \epsilon } } = 4 \epsilon.$$

Combining this inequality with (5), we obtain

$$2 \epsilon \geq \Pr _ { x \sim \mu, \, Q } \left [ \xi \right ] \geq \Pr \left [ | Q | \leq \frac { 1 } { 2 } \log \frac { 1 } { 4 \epsilon } \right ] \cdot \Pr _ { x \sim \mu, \, Q } \left [ \xi \, \left | \, | Q | \leq \frac { 1 } { 2 } \log \frac { 1 } { 4 \epsilon } \right ] > \Pr \left [ | Q | \leq \frac { 1 } { 2 } \log \frac { 1 } { 4 \epsilon } \right ] \cdot 4 \epsilon.$$

Rearranging the inequality yields Pr [ | Q | ≤ 1 2 log 1 4 glyph[epsilon1] ] &lt; 1 2 and so the average query complexity of A is bounded below by

$$\Lambda _ { \ell } \left [ | Q | \right ] > \frac { 1 } { 2 } \log \frac { 1 } { 4 \epsilon } \cdot \Pr \left [ | Q | > \frac { 1 } { 2 } \log \frac { 1 } { 4 \epsilon } \right ] > \frac { 1 } { 4 } \log \frac { 1 } { 4 \epsilon }.$$

## 2.3 Lower Bound on the Query Complexity of BlueRed

We wish to relate the average query complexity of PtrFcn to that of the GapID function. We do this by relating both query complexities to that of another partial function that we call BlueRed .

Let Σ:= { black blue red , , } , and call a symbol colored if it is not black . The input is an n × m grid of entries from Σ, with the promise that each column contains a unique colored entry, and either all colored entries are red , or half the colored entries are blue . Formally, we define BlueRed : Σ n × m →{ 0 1 , , ∗} as follows:

$$\text{BLUERED} (x) = \begin{cases} 1 & \text{if each column has 1 colored entry & all colored entries are RED,} \\ 0 & \text{if each column has 1 colored entry & exactly } \lfloor \frac { m } { 2 } \rfloor \text{ entries are BLUE,} \\ * & \text{otherwise.} \end{cases}$$

The following reduction shows that the average query complexity of BlueRed is Θ( n ) times as large as that of the GapID function.

$$\text{Lemma} \ 8. \text{ For every } \epsilon > 0, \, \overline { R } _ { \varepsilon } ( \text{BLUERED} ) \geq \frac { n } { 4 } \cdot \, \overline { R } _ { \varepsilon } ( \text{GAPID} ).$$

Proof. Fix any algorithm A that computes BlueRed with error at most glyph[epsilon1] and has expected query cost c = R ( ε BlueRed ). We will use A to construct an algorithm B that computes GapID with error at most glyph[epsilon1] and expected cost 4 c/n .

Given an input x ∈ { 0 1 , } m , the algorithm B constructs an instance of the BlueRed problem in the following way. First, it generates indices i 1 , . . . , i m ∈ [ n ] independently and uniformly at random. Then it defines glyph[negationslash]

$$y _ { i, j } = \begin{cases} \text{RED} & \text{if $i=i_{j}$ and $x_{j}=0$,} \\ \text{BLUE} & \text{if $i=i_{j}$ and $x_{j}=1$,} \\ \text{BLACK} & \text{if $i\neq i_{j}$.} \end{cases}$$

Finally, the algorithm B emulates the algorithm A on input y , querying the value of x j whenever A queries the bit ( i j , j ) for some j ≤ m . This construction guarantees that B computes GapID with error at most glyph[epsilon1] ; its query complexity corresponds to the number of red or blue entries that are queried by A .

Let Q ⊆ [ n ] × [ m ] be the random variable that denotes the set of indices queried by A , and let C ⊆ [ m ] denote the set of columns whose red or blue entry is queried by A . Without loss of generality, we may assume that A does not query any entry of a column after it finds the colored entry within that column. We partition C into two sets C early and C late , where C early denotes the set of columns whose colored entry is found within the first n 2 queries to that column and C late denotes the set of columns whose colored entry was found with more than n 2 queries to that column. Let X ,X ,...,X 1 2 | Q | be indicator variables where X k = 1 if and only if the k th query ( i, j ) made by A is red or blue and is one of the first n 2 queries to column j . Since each value i j is drawn uniformly at random from [ n ], each of these indicator variables has expected value E[ X k ] ≤ 2 n . Therefore,

$$E \left [ \left | C _ { \text{early} } \right | \right ] = E \left [ \sum _ { i \leq | Q | } X _ { i } \right ] \leq \frac { 2 } { n } \, E \left [ \left | Q \right | \right ].$$

Furthermore, by definition at least n 2 queries are made to each column in C late so the expected size of this set is bounded by E [ | C late | ] ≤ 2 n E [ | Q | ] and

$$\mathbf E \left [ | C | \right ] = \mathbf E \left [ | C _ { \text{early} } | \right ] + \mathbf E \left [ | C _ { \text{late} } | \right ] \leq \frac { 4 } { n } \, \mathbf E \left [ | Q | \right ].$$

Thus, the expected query cost of B is at most 4 n · R ( ε BlueRed ), as we wanted to show.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01020v1-figure-a8bbd6cd-42ac-4248-9f9a-c20ce299f670.jpg)

## 2.4 Lower Bound on the Query Complexity of PtrFcn

Lemma 9. For every 0 ≤ glyph[epsilon1] ≤ 1 4 , R ( glyph[epsilon1] PtrFcn ) ≥ R 2 glyph[epsilon1] ( BlueRed ) .

Proof. Let A be a randomized algorithm that computes PtrFcn with error at most glyph[epsilon1] and expected query cost q := R ( glyph[epsilon1] PtrFcn ). We use A to construct a randomized algorithm B that computes BlueRed with the same cost and error at most 2 . glyph[epsilon1]

Let x be an input for BlueRed . Each time A queries a cell, B queries the corresponding entry in x . If the entry in x is black , then B returns 〈 1 , ⊥ , . . . , ⊥〉 . If the entry in x is red , then B returns 〈 0 , ⊥ , . . . , ⊥〉 . Finally, if the entry of x is blue , then B terminates the emulation and returns 0. If A reaches the end of the emulation without having been terminated, B outputs the same result as A .

The query complexity of B is at most that of A . It remains to show that B errs with probability at most 2 . glyph[epsilon1] There are two cases to consider.

The first case is when x ∈ BlueRed -1 (1). Then x maps directly to an input z ∈ PtrFcn -1 (0) and hence B errs with probability at most glyph[epsilon1] on x .

The second case is when x ∈ BlueRed -1 (0). Let z be an arbitrary 1-input for PtrFcn such that (i) z i,j = 1 〈 , ⊥ , . . . , ⊥〉 whenever x i,j = black , (ii) z i,j = 0 〈 , ⊥ , . . . , ⊥〉 whenever x i,j = red , and (iii) the special entry and good entries of z correspond to blue entries of x . It might not be possible to completely emulate A on input z without knowing the exact set of blue entries. However, B doesn't need to fully emulate A -it only needs to know how to map black and red entries. Once a blue entry is probed, B halts and outputs 0. In this way, we claim that B on input x probes the same cells as A on input z until it halts. Therefore its output is the same as A ( z ) unless A ( z ) probes the special cell or a good cell. Moreover, in this case, B outputs correctly with certainty. Thus, by Claim 6, the error of B is at most

Pr[ B errs] ≤ Pr[ B probes no blue cells] ≤ Pr[ A doesn't probe special cell] ≤ 2 ε .

## 2.5 Upper Bound on the Query Complexity of PtrFcn

The proof of Theorem 1 also requires a tight upper bound on the (worst-case) randomized query complexity of PtrFcn . This argument is straightforward, and similar to the analysis of Ambainis et al. [2] for their analogous pointer function.

## Lemma 10. R ( ε PtrFcn ) = O n ( log 1 glyph[epsilon1] + m ) .

Proof. The algorithm that computes the PtrFcn function is described in Algorithm 1. In this algorithm, the set S corresponds to the set of potential special columns. The query complexity of PtrFcnSolver follows from the fact that each iteration of the inner while loop either eliminates one of the columns from the set S of candidates or one of the n log 1 glyph[epsilon1] cells in the columns in T . The final check of the (lone remaining) potential special column at the end of the algorithm examines at most n + m cells.

Whenever the PtrFcnSolver returns the value 1, then it in fact has observed a certificate that PtrFcn ( x ) = 1 so the algorithm has perfect soundness.

glyph[negationslash]

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01020v1-figure-45aff730-b192-4c5b-b463-7dda3b5da0b4.jpg)

Conversely, suppose PtrFcn ( x ) = 1. Exactly half of the columns are good, so T contains such a cell with probability at least 1 -(1 / 2) log(1 /ε ) = 1 -ε . Now, consider the for loop iteration when the first good cell ( i, j ) is selected. Since ( i, j ) is a good cell, it points back to the special cell, which in turn points to a linked cell in all columns except the special column. For any remaining j ′ = j ∈ S , PtrFcn ( x ) probes the linked cell in column j ′ , verifies the value equals 0, and removes it from S . In this way, the remaining columns in S save the special column are eliminated. Once we reduce S to a single remaining candidate, we can probe all cells in this column and all linked cells using n + m queries to verify that indeed PtrFcn ( x ) = 1.

## Algorithm 2: PtrFcnSolver( x )

```
    Algorithm 2: PtrFcnSolver(x)
        
        S <- [m];
        T <- a random subset of [m] of size |T| = log { _; }
        for each cell (i, j)  in a column in T do
            if VALUE(x_i,j) = 0 \* COL(x_i,j) \* S then
                j* \*  COL(x_i,j);
                i* \*  ROW j+(x_i,j);
                valid \*  TRUE;
                while |S| > 1 \* valid do
                         |e \*  any column in S \ {j*};
                         if   VALUE(x_ROW _ (x_i,*,j*),e) = 0 then
                             S \*  S \ {i};
                         else
                             valid \*  FALSE;
                if |S| = 1 then
                        break;
        if |S| = 1 then
            fix j \* S.  return 1 if (i) column j is special, (ii) there is a special cell within column j,
              (iii) all cells linked by the special cell have value 0, and (iv) half of linked cells point back
              to the special cell.
        return 0
        
        
2.6
```

## 2.6 Completing the Proof of Theorem 1

The last ingredient that we need to complete the proof of Theorem 1 is the concept of resilient functions [12].

Definition 1. The function φ : { 0 1 , } n → { 0 1 , } m is t -resilient for some 1 ≤ t &lt; n if for any set S ⊆ [ n ] of | S | ≤ t coordinates and any assignment of values for the inputs { x i } i ∈ S , when the values { x i } i ∈ [ n ] \ S are set uniformly at random then φ x ( ) is uniformly distributed in { 0 1 , } m .

We use the following existence result on resilient functions that was established by Chor et al. [12].

Theorem 11 (Chor et al. [12]) . For every large enough n , there is a function φ : { 0 1 , } n →{ 0 1 , } m that is n 3 -resilient and satisfies m ≥ 0 08 . n .

We use resilient functions to bound the query complexity of functions via the following lemma.

Lemma 12. Fix a finite set X of cardinality |X| = 2 glyph[lscript] for some integer glyph[lscript] ≥ 1 and let φ : { 0 1 , } N →X be an N 3 -resilient function. Then for every function f : X m →{ 0 1 , } and every glyph[epsilon1] ≥ 0 ,

$$R _ { \epsilon } ( f \circ \phi ) = \Theta ( N \cdot R _ { \epsilon } ( f ) ) \quad a n d \quad \overline { R } _ { \epsilon } ( f \circ \phi ) = \Theta ( N \cdot \overline { R } _ { \epsilon } ( f ) ).$$

Proof. The upper bounds follow immediately from the observation that if A is a randomized algorithm that computes f with glyph[epsilon1] -error, then we can define a algorithm B that computes f ◦ φ with the same error by simulating A and querying the N bits to observe the value φ x ( ) to return to each query.

For the lower bounds, let A be a randomized algorithm that computes f ◦ φ with error at most glyph[epsilon1] . We define an algorithm B for computing f that simulates A in the following way. For the first N 3 queries to a cell, B answers the queries with uniformly random variables in { 0 1 , } . On a query to the ( N 3 +1)-th bit of a cell, B queries the value v of the corresponding cell in x . It then draws a value z in φ -1 ( v ) uniformly at random among all values that agree with the N 3 bits output so far.

The current query and all further queries to bits of that cell are then answered using z . Once A terminates, B returns A 's output and terminates as well.

The correctness of B follows directly from the correctness of A . Furthermore, on any input for which A makes q queries, B makes at most q/ N/ ( 3) queries since N/ 3 distinct queries of A are required for each query that B eventually makes to x . Thus both the average-case and worst-case query complexities of B are bounded by 3 /N times the corresponding query complexities of A .

We are now ready to complete the proof of the separation theorem.

Proof of Theorem 1. Fix m = n = 2 glyph[lscript] -1 for any integer glyph[lscript] ≥ 1 so that | Γ = 2 | glyph[lscript] (2 glyph[lscript] -1)+ +1 glyph[lscript] is a power of 2. Fix a C 3 -resilient function φ : { 0 1 , } C → Γ for some C ≤ 12 5 log . | Γ | and define the function EncFcn = PtrFcn ◦ φ . By Lemmas 12 and 10,

$$R _ { \varepsilon } ( \text{ENCFCN} ) = O ( C ( n \log \frac { 1 } { \epsilon } + m ) ) = O ( C n \log \frac { 1 } { \epsilon } ).$$

1

In particular, setting glyph[epsilon1] = 3 we obtain R( EncFcn ) = O Cn ( ). Using Lemma 12, 9, and 8, we obtain the chain of inequalities

$$\overline { R } _ { \varepsilon } ( \text{ENCFCN} ) = \Omega ( C \cdot \overline { R } _ { \varepsilon } ( \text{PTRFCN} ) ) = \Omega ( C \cdot \overline { R } _ { 2 \varepsilon } ( \text{BLUERED} ) ) = \Omega ( C n \cdot \overline { R } _ { 2 \varepsilon } ( \text{GAPID} ) ).$$

By Lemma 7, when glyph[epsilon1] &gt; 2 -m = 2 -n this implies that

$$\overline { R } _ { \varepsilon } ( E N C F C N ) = \Omega ( C n \log \frac { 1 } { \epsilon } ) = \Omega ( \log \frac { 1 } { \epsilon } \cdot R ( E N C F C N ) ).$$

Theorem 1 is obtained by noting that EncFcn is a function on N = O mn ( | Γ ) | = O n ( 3 log n ) variables.

## 3 Strong Direct Sum Theorem

We establish Theorem 2 by proving a corresponding direct sum result in the distributional model and applying a Yao minimax principle for algorithms that err and abort with bounded probability.

We introduce the model of algorithms that can abort in Section 3.1, where we also relate this model to the average query complexity setting of randomized algorithms and establish a Yao minimax principle. In Section 3.2, we establish the main technical result, a strong direct sum theorem for distributional complexity. We complete the proof of Theorem 2 itself in Section 3.3 and the proofs of Corollaries 3 and 4 are completed in Section 3.4.

## 3.1 Algorithms That Can Abort

We consider randomized algorithms that are allowed to err and abort . In this setting, an algorithm outputs ⊥ instead of giving a valid output when it chooses to abort. Let D µ δ,ε ( f ) and R δ,ε ( f ) denote the distributional and randomized query complexities of f when the algorithm aborts with probablity at most δ and errs with probability at most ε .

Randomized query complexity in the setting where algorithms can abort with constant probability δ is asymptotically equivalent to the average randomized query complexity.

Proposition 13. For every function f : { 0 1 , } n →{ 0 1 , } , every 0 ≤ glyph[epsilon1] &lt; 1 2 and every 0 &lt; δ &lt; 1 ,

$$\delta \cdot R _ { \delta, \varepsilon } ( f ) \leq \overline { R } _ { \epsilon } ( f ) \leq \frac { 1 } { 1 - \delta } \cdot R _ { \delta, ( 1 - \delta ) \epsilon } ( f ).$$

Proof. For the first inequality, let A be a randomized algorithm that computes f with glyph[epsilon1] error and has expected query complexity q . Let B be the randomized algorithm B that simulates A except that whenever A tries to make more than q/δ queries, it aborts. The algorithm B also computes f with

error at most glyph[epsilon1] , and it has worst-case query complexity q/δ . Furthermore, by Markov's inequality, B aborts with probability at most δ .

For the second inequality, let B be a randomized algorithm with query complexity q that computes f with error probability at most (1 -δ glyph[epsilon1] ) and abort probability at most δ . Let A be the randomized algorithm that simulates B until that algorithm does not abort, then outputs the same value. The error probability of B conditioned on it not aborting is at most (1 -δ glyph[epsilon1] ) 1 -δ = , so the algorithm glyph[epsilon1] A also errs with probability at most glyph[epsilon1] , and its expected query complexity is q (1 + δ + δ 2 + · · · ) = q 1 -δ .

Yao's minimax principle can be adapted for the setting of algorithms that abort as follows.

Lemma 14. For any α, β &gt; 0 such that α + β ≤ 1 , we have

$$\max _ { \mu } D ^ { \mu } _ { \delta / \alpha, \varepsilon / \beta } ( f ) \leq R _ { \delta, \varepsilon } ( f ) \leq \max _ { \mu } D ^ { \mu } _ { \alpha \delta, \beta \varepsilon } ( f ).$$

Proof. We handle the initial inequality (i.e., the easy direction ) first. Fix a q -query randomized algorithm A achieving R δ,ε ( f ). By the guarantee of A , we have that for any input x , A aborts with probability at most δ and errs with probabiltiy at most ε . Let 1 δ ( x ) and 1 ε ( x ) be indicator variables for the events that A aborts on x and A errs on x respectively. Then, we have E R [ 1 δ ( x )] ≤ δ and similarly E R [ 1 ε ( x )] ≤ ε when the expectation is taken over the randomness R of the algorithm A . Next, fix any input distribution µ and let X ∼ µ . It follows that

$$\underset { R } { E } \left [ \underset { X } { E } [ \mathfrak { I } _ { \delta } ( X ) ] \right ] = \underset { X } { E } \left [ \underset { R } { E } [ \mathfrak { I } _ { \delta } ( X ) ] \right ] \leq \delta \quad \text{and} \quad \underset { R } { E } \left [ \underset { X } { E } [ \mathfrak { I } _ { \varepsilon } ( X ) ] \right ] = \underset { X } { E } \left [ \underset { R } { E } [ \mathfrak { I } _ { \varepsilon } ( X ) ] \right ] \leq \varepsilon.$$

Using Markov's inequality twice, we have

$$\Pr _ { R } \left [ \mathsf E [ \mathsf 1 _ { \delta } ( X ) ] > \delta / \alpha \right ] < \alpha \quad \text{and} \quad \Pr _ { R } \left [ \mathsf E [ \mathsf 1 _ { \varepsilon } ( X ) ] > \varepsilon / \beta \right ] < \beta.$$

By a union bound, there exists a setting of the random string R such that both E[ 1 δ ( X )] ≤ δ/α and E[ 1 ε ( X )] ≤ ε/β . Fixing this R gives a q -query deterministic algorithm that aborts with probability at most δ/α and errs with probability at most ε/β , hence D µ δ/α,ε/β ( f ) ≤ R δ,ε ( f ).

For the second inequality, let c : = max µ D µ αδ,βε ( f ). Consider a two-player, zero-sum game where player 1 selects a c -query deterministic algortihm A for f , player 2 selects an input x , and player 1 is paid -ε if A ( x ) aborts, -δ if A ( x ) errs, and 0 otherwise. Note that each mixed strategy for player 1 corresponds to a randomized algorithm and each mixed strategy for player 2 corresponds to an input distribution µ . By our choice of c , it follows that for any mixed strategy for player 2, player 1 can obtain payoff -ε αδ ( ) -δ βε ( ) ≥ -εδ . By the minimax theorem, it follows that there is a mixed strategy for player 1 (i.e., a c -query randomized algorithm A ) that provides the same payoff for every choice of player 2. Finally, note that A aborts with probability at most δ and errs with probability at most ε ; otherwise, the payoff would be less than -εδ ≤ -εδ α ( + β ). We've shown a c -query randomized algorithm that aborts w/probability at most δ and errs w/probability at most ε , hence R δ,ε ( f ) ≤ c = max µ D µ αδ,βε ( f ).

## 3.2 Strong Direct Sum for Distributional Complexity

We prove a slightly more precise variant of Lemma 5.

Lemma 15. For every function f : { 0 1 , } n → { 0 1 , } , every distribution µ on { 0 1 , } n , and every 0 ≤ δ, glyph[epsilon1] ≤ 1 4 ,

$$D ^ { \mu ^ { k } } _ { \delta, \epsilon } ( f ^ { k } ) = \Omega \left ( k \cdot D ^ { \mu } _ { \frac { 1 k } { 1 0 } + 4 \delta + 4 \epsilon, \frac { 4 8 \epsilon } { k } } ( f ) \right ).$$

Proof. Let A be a deterministic algorithm with query complexity q that computes f k with error probability at most glyph[epsilon1] and abort probability at most δ when the input x = ( x (1) , . . . , x ( k ) ) is drawn from µ k . Then conditioned on A not aborting, it outputs the correct value of f k with probability at least 1 -glyph[epsilon1] 1 -δ ≥ 1 -2 glyph[epsilon1] and glyph[negationslash]

glyph[negationslash]

$$1 - 2 \epsilon & \leq \Pr _ { x \sim \mu ^ { k } } \left [ \mathcal { A } ( x ) = f ^ { k } ( x ) \, \Big | \, \mathcal { A } ( x ) \neq \bot \right ] \\ & = \prod _ { i \leq k } \Pr _ { x \sim \mu ^ { k } } \left [ \mathcal { A } ( x ) _ { i } = f ( x ^ { ( i ) } ) \, \Big | \, \mathcal { A } ( x ) _ { < i } = f ^ { k } ( x ) _ { < i }, \mathcal { A } ( x ) \neq \bot \right ].$$

This implies that at least 2 3 k indices i ∈ [ k ] satisfy glyph[negationslash]

$$\Pr _ { x \sim \mu ^ { k } } \left [ \mathcal { A } ( x ) _ { i } \neq f ( x ^ { ( i ) } ) \, \Big | \, \mathcal { A } ( x ) _ { < i } = f ^ { k } ( x ) _ { < i }, \mathcal { A } ( x ) \neq \bot \right ] \leq \frac { 1 2 \epsilon } { k },$$

glyph[negationslash]

otherwise the product in the product in the previous inequality would be less than (1 -12 glyph[epsilon1]/k ) k/ 3 ≤ e -4 glyph[epsilon1] &lt; 1 -2 , contradicting the lower bound on this product. glyph[epsilon1]

For each i ≤ k , let q i ( x ) denote the number of queries that A makes to x ( ) i on input x . The query complexity of A guarantees that for each input x , ∑ i ≤ k q i ( x ) ≤ q . Therefore, ∑ i ≤ k E x ∼ µ k [ q i ( x )] ≤ q and at least 2 3 k indices i ∈ [ k ] satisfy

$$\underset { x \sim \mu ^ { k } } { E } \left [ q _ { i } ( x ) \right ] \leq \frac { 3 q } { k }.$$

Thus, some index i ∗ ∈ [ k ] satisfies both (6) and (7). Fix such an index i ∗ . For inputs y ∈ µ k and x ∈ µ , write y ( i ∗ ← x ) := ( y (1) , . . . , y ( i ∗ -1) , x, y ( i ∗ +1) , . . . , y ( k ) ) to be the input obtained by replacing y ( i ∗ ) with x in y . With this notation, the two conditions (6) and (7) satisfied by i ∗ can be rewritten as glyph[negationslash]

$$\underset { y \sim \mu ^ { k } } { E } \left [ \Pr _ { x \sim \mu } \left [ \mathcal { A } ( y ^ { ( i ^ { * } \leftarrow x ) } ) _ { i ^ { * } } \neq f ( x ) \, \right | \, \mathcal { A } ( y ^ { ( i ^ { * } \leftarrow x ) } ) _ { < i ^ { * } } = f ^ { k } ( y ^ { ( i ^ { * } \leftarrow x ) } ) _ { < i ^ { * } }, \mathcal { A } ( y ^ { ( i ^ { * } \leftarrow x ) } ) \neq \bot \right ] \right ] \leq \frac { 1 2 \epsilon } { k }$$

glyph[negationslash]

and

$$\underset { y \sim \mu ^ { k } } { \text{E} } \left [ \underset { x \sim \mu } { \text{E} } \left [ q _ { i ^ { * } } ( y ^ { ( i ^ { * } \leftarrow x ) } ) \right ] \right ] \leq \frac { 3 q } { k }.$$

The correctness of A also guarantees that

$$\underset { y \sim \mu ^ { k } } { \text{E} } \left [ \Pr _ { x \sim \mu } \left [ \mathcal { A } ( y ^ { ( i ^ { * } \leftarrow x ) } ) = \bot \right ] \right ] \leq \delta$$

and glyph[negationslash]

$$\underset { y \sim \mu ^ { k } } { E } \left [ \Pr _ { x \sim \mu } \left [ \mathcal { A } ( y ^ { ( i ^ { * } \leftarrow x ) } ) _ { < i ^ { * } } \neq f ^ { k } ( y ^ { ( i ^ { * } \leftarrow x ) } ) _ { < i ^ { * } } ) \, \Big | \, \mathcal { A } ( y ^ { ( i ^ { * } \leftarrow x ) } ) \neq \bot \right ] \right ] \leq \epsilon.$$

glyph[negationslash]

Therefore, by Markov's inequality, there exists an input z ∈ { 0 1 , } n × k such that glyph[negationslash]

glyph[negationslash]

glyph[negationslash]

$$\text{Therefore, by Markov\'s inequality, there exists an input } z \in \{ 0, 1 \} ^ { n \times \kappa } \text{ such that} \\ \Pr _ { x \sim \mu } \left [ \mathcal { A } ( z ^ { ( i ^ { * } \leftarrow x ) } ) \right ) _ { < i ^ { * } } \neq f ^ { k } ( z ^ { ( i ^ { * } \leftarrow x ) } ) _ { < i ^ { * } } \left | \mathcal { A } ( z ^ { ( i ^ { * } \leftarrow x ) } ) \neq \bot \right ] \right ] & \leq 4 \epsilon, \\ \Pr _ { x \sim \mu } \left [ \mathcal { A } ( z ^ { ( i ^ { * } \leftarrow x ) } ) _ { i ^ { * } } \neq f ( x ) \left | \mathcal { A } ( z ^ { ( i ^ { * } \leftarrow x ) } ) _ { < i ^ { * } } = f ^ { k } ( z ^ { ( i ^ { * } \leftarrow x ) } ), \mathcal { A } ( z ^ { ( i ^ { * } \leftarrow x ) } ) \neq \bot \right ] & \leq \frac { 4 8 \epsilon } { k }, \text{ and} \\ \mathcal { E } _ { x \sim \mu } \left [ q _ { i ^ { * } } ( z ^ { ( i ^ { * } \leftarrow x ) } ) \right ] & \leq \frac { 1 2 q } { k }. \\ \text{ Let } \mathcal { A } ^ { \prime } \text{ be the deterministic algorithm that computes } f ( x ) \text{ by simulating } \mathcal { A } \text{ on the input } z ^ { ( i ^ { * } \leftarrow x ) }$$

glyph[negationslash]

Let A ′ be the deterministic algorithm that computes f ( x ) by simulating A on the input z ( i ∗ ← x ) with two additions:

- 1. If A attempts to query more than 120 q k bits of x , A ′ aborts, and
- 2. When A terminates, the algorithm A ′ first verifies that the output generated by A satisfies A ( z ( i ∗ ← x ) ) ≤ i ∗ = f k ( z ( i ∗ ← x ) ). If so A ′ returns the value A ( z ( i ∗ ← x ) ) i ∗ ; if not, A ′ aborts.

The algorithm A ′ has query complexity at most 120 q k and, by the conditions satisfied by z , it aborts with probability at most 1 10 +4 +4 and errs with probability at most δ glyph[epsilon1] 48 glyph[epsilon1] k when x ∼ µ .

## 3.3 Proof of Theorem 2

We now complete the proof of Theorem 2. Fix δ = 1 40 . By Proposition 13 and the second inequality of Lemma 14,

$$\overline { R } _ { \frac { 9 6 \epsilon } { k } } ( f ) \leq 2 \, R _ { \frac { 1 } { 2 }, \frac { 4 8 \epsilon } { k } } ( f ) \leq 2 \, R _ { \frac { 1 } { 3 } + 4 \delta + 4 \epsilon, \frac { 4 8 \epsilon } { k } } ( f ) \leq 2 \max _ { \mu } D ^ { \mu } _ { \frac { 1 } { 1 0 } + 2 \delta + 2 \epsilon, \frac { 2 4 \epsilon } { k } } ( f ).$$

Let µ ∗ denote a distribution where the maximum is attained. By Lemma 15,

µ

∗

(

∗

k

)

D

1

(

µ

)

k

1

24

glyph[epsilon1]

(

f

) =

O

10

+2 +2

δ

glyph[epsilon1],

k

k

δ

2

,

glyph[epsilon1]

2

Using the first inequality of Lemma 14 we then obtain

$$D _ { \frac { \delta } { 2 }, \frac { \epsilon } { 2 } } ^ { ( \mu ^ { * } ) ^ { k } } ( f ^ { k } ) \leq \max _ { \nu } D _ { \frac { \delta } { 2 }, \frac { \epsilon } { 2 } } ^ { \nu } ( f ^ { k } ) \leq R _ { \delta, \epsilon } ( f ^ { k } ).$$

Combining these inequalities and applying Proposition 13 once more yields

$$\overline { R } _ { \frac { 9 6 \epsilon } { k } } ( f ) \leq O \left ( \frac { 1 } { k } \cdot R _ { \delta, \epsilon } ( f ^ { k } ) \right ) \leq O \left ( \frac { 1 } { k } \cdot \overline { R } _ { \epsilon } ( f ^ { k } ) \right ).$$

Theorem 2 follows from the identity R ( ) = Θ R glyph[epsilon1] k f ( 96 glyph[epsilon1] k ( f ) ) obtained from the standard success amplification trick.

## 3.4 Proof of Corollaries 3 and 4

Corollary 3 is obtained as a direct consequence of Theorems 1 and 2.

Proof of Corollary 3. The upper bound is via the universal bound (3). For the matching lower bound, let f : { 0 1 , } n →{ 0 1 , } be a function that satisfies the condition of Theorem 1. By Theorem 2, the randomized communication complexity of f k satisfies

$$R ( f ^ { k } ) \geq \overline { R } ( f ^ { k } ) = \Omega ( k \cdot \overline { R } _ { \frac { 1 } { 3 k } } ( f ) )$$

By Theorem 1,

$$\overline { R } _ { \frac { 1 } { 3 k } } ( f ) = \Omega ( R ( f ) \cdot \log k )$$

as long as k ≤ 2 ( n log n ) 1 / 3 . Combining those inequalities yields R( f k ) = Ω ( k log k · R( f ) ) , as we wanted to show.

The proof of Corollary 4 uses the following randomized query-to-communication lifting theorem of G¨¨s, Pitassi, and Watson [17]. oo

Theorem 16 (G¨ o¨s, Pitassi, Watson) o . Define Ind m : [ m ] ×{ 0 1 , } m →{ 0 1 , } to be the index function mapping ( x, y ) to y x and fix m = n 256 . For every f : { 0 1 , } n →{ 0 1 , } ,

$$R ^ { \text{cc} } ( f \circ \text{IND} _ { m } ) = R ( f ) \cdot \Theta ( \log n )$$

and

·

D

(

f

)

.

$$R ^ { c c } ( f ^ { k } \circ I N D _ { m } ) = R ( f ^ { k } ) \cdot \Theta ( \log n ).$$

Remark. The statement of Theorem 16 in [17] only mentions the first identity explicitly. However, as discussed in their Section II, the theorem statement holds for functions with any finite range. 2 Therefore, the theorem holds for the function f k as well as f .

Proof of Corollary 4. By Corollary 3, there exists a function f : { 0 1 , } n → { 0 1 , } which satisfies R( f k ) = Θ( k log k · R( f )). Combining this result with Theorem 16, we obtain

$$\lambda \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdot \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdot \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdot \, \cdot \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdot \, \cdots \, \cdot \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdot \, \cdot \, \cdot \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cd: \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cd: \, \cdots \, \cdots \, \cd: \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cd: \, \cdots \, \cdots \, \cdot \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cd: \, \cdots \, \cd: \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cd: \, \cdots \, \cd: \, \cd: \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cd: \, \cd: \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cd: \, \cdots \, \cd: \, \cd> \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cd.: \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cd> \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cd: \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \. \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \
 \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots \, \cdots$$

## 4 Conclusions and Open Problems

In this work, we prove a strong direct sum theorem for average-case randomized query complexityto compute f k with probability ε in the average-case query complexity model, one must spend k times the resources of computing f with error ε/k . We then give the first total function f whose query complexity scales with log(1 /ε ), matching the blowup one gets from standard error reduction. We believe a strong direct sum-type theorem should also hold for many composed functions . A natural first step would be to prove an XOR Lemma in the strong direct sum setting.

Conjecture 1. (Strong Direct Sum for xor .) For all functions f , all positive integers k ≥ 2 , and all 0 &lt; ε &lt; 1 / 3 ,

$$\overline { R } _ { \varepsilon } ( x o R _ { k } \circ f ) = \Theta ( k \cdot \overline { R } _ { \varepsilon / k } ( f ) ) \.$$

We believe a similar result should hold for the majority function maj k .

Conjecture 2. (Strong Direct Sum for maj .) For all functions f , all positive integers k ≥ 2 , and all 0 &lt; ε &lt; 1 / 3 ,

$$\overline { R } _ { \varepsilon } ( \text{MAJ} _ { k } \circ f ) = \Theta ( k \cdot \overline { R } _ { \varepsilon / k } ( f ) ) \.$$

More generally, let us say that a total function g : { 0 1 , } k → { 0 1 , } admits a strong direct sum theorem if for all functions f : { 0 1 , } n →{ 0 1 , } , for all positive integers k ≥ 2, and for all 0 &lt; ε &lt; 1 / 3, we have R ( ε g ◦ f ) = Θ( k · R ε/k ( f )). Using this terminology, Conjectures 1 and 2 posits that xor k and maj k admit strong direct sum theorems. These two conjectures are special cases of the following general problem.

Open Problem 1. Which functions g : { 0 1 , } k →{ 0 1 , } admit strong direct sum theorems?

In a different direction, we note that while we identified one total function whose randomized query complexity scales logarithmically with the inverse of the error parameter ε , we don't have a good understanding of which functions scale this way.

Open Problem 2. Characterize the functions f : { 0 1 , } n →{ 0 1 , } whose average-case randomized query complexity satisfies R ε ( f ) = Ω( R 1 / 3 ( f ) · log(1 /ε )) for all ε &gt; 2 -n Ω(1) .

## Acknowledgments

The first author thanks Alexander Belov and Shalev Ben-David for enlightening discussions and helpful suggestions. The second author thanks Peter Winkler for insightful discussions. Both authors wish to thank the anonymous referees for valuable feedback and for the reference to [26].

2 In fact, their theorem also holds in even more general settings such as when f is a partial function or a relation, for example.

## References

| [1]   | Scott Aaronson, Shalev Ben-David, and Robin Kothari. Separations in query complexity using cheat sheets. In Proceedings 48th Annual ACM Symposium on Theory of Computing , pages 863-876, 2016.                                                                                                                     |
|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [2]   | Andris Ambainis, Kaspars Balodis, Aleksandrs Belovs, Troy Lee, Miklos Santha, and Juris Smotrovs. Separations in query complexity based on pointer functions. Journal of the ACM , 64(5):32, 2017.                                                                                                                  |
| [3]   | Andris Ambainis, Martins Kokainis, and Robin Kothari. Nearly optimal separations between communication (or query) complexity and partitions. In Proceedings 31st Annual Conference on Computational Complexity , page 4, 2016.                                                                                      |
| [4]   | Anurag Anshu, Aleksandrs Belovs, Shalev Ben-David, Mika G¨¨s, oo Rahul Jain, Robin Kothari, Troy Lee, and Miklos Santha. Separations in communication complexity using cheat sheets and information complexity. In Proceedings 57th Annual IEEE Symposium on Foundations of Computer Science , pages 555-564, 2016. |
| [5]   | Ziv Bar-Yossef, Thathachar S Jayram, Ravi Kumar, and DSivakumar. An information statistics approach to data stream and communication complexity. Journal of Computer and System Sciences , 68(4):702-732, 2004.                                                                                                     |
| [6]   | Boaz Barak, Mark Braverman, Xi Chen, and Anup Rao. How to compress interactive commu- nication. SIAM Journal on Computing , 42(3):1327-1363, 2013.                                                                                                                                                                  |
| [7]   | Yosi Ben-Asher and Ilan Newman. Decision trees with AND, OR queries. In Proceedings 10th Annual Structure in Complexity Theory Conference , pages 74-81, 1995.                                                                                                                                                      |
| [8]   | Shalev Ben-David and Robin Kothari. Randomized query complexity of sabotaged and com- posed functions. Theory of Computing , 14(1):1-27, 2018.                                                                                                                                                                      |
| [9]   | Mark Braverman and Anup Rao. Information equals amortized communication. IEEE Trans- actions on Information Theory , 60(10):6058-6069, 2014.                                                                                                                                                                        |
| [10]  | Harry Buhrman, Ilan Newman, Hein R¨hrig, o and Ronald de Wolf. Robust polynomials and quantum algorithms. Theory Comput. Syst. , 40(4):379-395, 2007.                                                                                                                                                               |
| [11]  | Amit Chakrabarti, Yaoyun Shi, Anthony Wirth, and Andrew Chi-Chih Yao. Informational complexity and the direct sum problem for simultaneous message complexity. In Proceedings 42nd Annual IEEE Symposium on Foundations of Computer Science , pages 270-278, 2001.                                                  |
| [12]  | Benny Chor, Oded Goldreich, Johan H˚stad, a Joel Friedman, Steven Rudich, and Roman Smolensky. The bit extraction problem or t-resilient functions. In Proceedings 26th Annual IEEE Symposium on Foundations of Computer Science , pages 396-407, 1985.                                                             |
| [13]  | Andrew Drucker. Improved direct product theorems for randomized query complexity. Com- putational Complexity , 21(2):197-244, 2012.                                                                                                                                                                                 |
| [14]  | Tom´s a Feder, Eyal Kushilevitz, Moni Naor, and Noam Nisan. Amortized communication com- plexity. SIAM Journal on Computing , 24(4):736-750, 1995.                                                                                                                                                                  |
| [15]  | Anat Ganor, Gillat Kol, and Ran Raz. Exponential separation of information and communica- tion. In Proceedings 55th Annual IEEE Symposium on Foundations of Computer Science , pages 176-185, 2014.                                                                                                                 |

| [16]   | Mika G¨¨s, oo Toniann Pitassi, and Thomas Watson. Deterministic communication vs. partition number. In Proceedings 56th Annual IEEE Symposium on Foundations of Computer Science , pages 1077-1088, 2015.                                                                   |
|--------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [17]   | Mika G¨¨s, oo Toniann Pitassi, and Thomas Watson. Query-to-communication lifting for BPP. In Proceedings 58th Annual IEEE Symposium on Foundations of Computer Science , 2017.                                                                                              |
| [18]   | Russell Impagliazzo, Ran Raz, and Avi Wigderson. A direct product theorem. In Proceedings 9th Annual Structure in Complexity Theory Conference , pages 88-96, 1994.                                                                                                         |
| [19]   | Rahul Jain, Hartmut Klauck, and Miklos Santha. Optimal direct sum results for deterministic and randomized decision tree complexity. Inf. Process. Lett. , 110(20):893-897, 2010.                                                                                           |
| [20]   | Mauricio Karchmer, Ran Raz, and Avi Wigderson. Super-logarithmic depth lower bounds via the direct sum in communication complexity. Computational Complexity , 5(3):191-204, 1995.                                                                                          |
| [21]   | Marco Molinaro, David P. Woodruff, and Grigory Yaroslavtsev. Beating the direct sum theorem in communication complexity with implications for sketching. In Proceedings 24th Annual ACM- SIAM Symposium on Discrete Algorithms , pages 1738-1756, 2013.                     |
| [22]   | Marco Molinaro, David P Woodruff, and Grigory Yaroslavtsev. Amplification of one-way infor- mation complexity via codes and noise sensitivity. In Proceedings 42nd Annual International Colloquium on Automata, Languages, and Programming , pages 960-972. Springer, 2015. |
| [23]   | Sagnik Mukhopadhyay and Swagato Sanyal. Towards better separation between determinis- tic and randomized query complexity. In Proceedings 35th Annual Foundations of Software Technology and Theoretical Computer Science , pages 206-220, 2015.                            |
| [24]   | Noam Nisan, Steven Rudich, and Michael E. Saks. Products and help bits in decision trees. SIAM Journal on Computing , 28(3):1035-1050, 1999.                                                                                                                                |
| [25]   | Ronen Shaltiel. Towards proving strong direct product theorems. Computational Complexity , 12(1-2):1-22, 2003.                                                                                                                                                              |
| [26]   | Alexander Sherstov. The power of asymmetry in constant-depth circuits. SIAM Journal on Computing , 47(6):2362-2434, 2018.                                                                                                                                                   |
Eric Blais Joshua Brody
Optimal Separation and Strong Direct Sum for Randomized Query Complexity
We establish two results regarding the query complexity of bounded-error
randomized algorithms.
  * Bounded-error separation theorem. There exists a total function $f :
\{0,1\}^n \to \{0,1\}$ whose $\epsilon$-error randomized query complexity
satisfies $\overline{\mathrm{R}}_\epsilon(f) = \Omega( \mathrm{R}(f) \cdot
\log\frac1\epsilon)$.
  * Strong direct sum theorem. For every function $f$ and every $k \ge 2$, the
randomized query complexity of computing $k$ instances of $f$ simultaneously
satisfies $\overline{\mathrm{R}}_\epsilon(f^k) = \Theta(k \cdot
\overline{\mathrm{R}}_{\frac\epsilon k}(f))$.
  As a consequence of our two main results, we obtain an optimal superlinear
direct-sum-type theorem for randomized query complexity: there exists a
function $f$ for which $\mathrm{R}(f^k) = \Theta( k \log k \cdot
\mathrm{R}(f))$. This answers an open question of Drucker (2012). Combining
this result with the query-to-communication complexity lifting theorem of
G\"o\"os, Pitassi, and Watson (2017), this also shows that there is a total
function whose public-coin randomized communication complexity satisfies
$\mathrm{R}^{\mathrm{cc}} (f^k) = \Theta( k \log k \cdot
\mathrm{R}^{\mathrm{cc}}(f))$, answering a question of Feder, Kushilevitz,
Naor, and Nisan (1995).