1 of 19

Adversary lower bound for the k-sum problem

Aleksandrs Belovs (U Latvia)�

Robert Špalek (Google)

2 of 19

Knapsack packing problem

For a fixed k,�is there a k-tuple among n numbers�that sums up to a prescribed number?

Measure number of queries, not time.

3 of 19

Orthogonal arrays

A subset T ⊂ [q]k of size qk-1 is called an orthogonal array iff for every index i and�every vector (x1... xi-1, xi+1... xk), there is�exactly one xi such that x∈ T.

  • k-tuples with a fixed sum form an orthogonal array
  • general problem:�Is there S⊂[n] with |S|=k such that xS∈ TS ?

4 of 19

Known results

  • Classically, ϴ(n) queries are sufficient and necessary for bounded-error algorithms.�
  • Using quantum walks, one can solve this problem with only O(nk/(k+1)) queries [Ambainis '03].
  • By polynomial method, element distinctness needs Ω(n2/3) queries [Aaronson & Shi '01].�Their lower bound applies to k-sum for k≥2.

5 of 19

Our result and technique

  • We prove a matching Ω(nk/(k+1)) bound�(when alphabet size q≥nk).

We use general adversary method Adv± [Høyer, Lee & Š '06]:

  • Adv± generalizes nonnegative-weight adversary method Adv+�[Ambainis'03, Barnum, Saks & Szegedy '03],
  • Adv± characterizes quantum query complexity [Reichardt '09].

6 of 19

Implication of our result

The O(nk/(k+1)) quantum algorithm searches for a 1-certificate. It works for any function with 1-certificate complexity k.

Some functions can be computed faster.�k-distinctness needs just o(n3/4) queries [B '12], because its 1-certificates have structure.

  • For k-sum, searching for a 1-certificate�as a whole is the best one can do,�and the general algorithm is optimal.

7 of 19

Novelty of our technique

Adv± is tight, but its bounds are expressed by solutions to exponentially large SDP (in #bits).

Adv± bounds stronger than Adv+ were only known for functions on constant #bits, and they were found by numerical optimization.

  • We show how to design the optimal adversary matrix for a large function.

8 of 19

Merits of our technique

The polynomial method-based Ω(n2/3) bound doesn't compose and wasn't generalized since 2001.

  • Adversary bounds compose by definition.
  • After Belovs designed an Adv± matrix reproving the Ω(n2/3) bound for k=2, we easily generalized it for all k.
  • Using our technique, an almost optimal�Ω~(n9/7) bound for triangle-sum was soon obtained by [B & Rosmanis '12].

9 of 19

Technical part

10 of 19

Adversary bound

  • Γ is a real adversary matrix
    • rows indexed by 1-inputs of f
    • columns indexed by 0-inputs of f
  • ‖.‖ is spectral norm, ○ is entrywise product
  • Δi [x,y]=0 when xi=yi , and =1 otherwise
  • Adv+ imposes entrywise constraint Γ≥0

Q2(f) = ϴ(Adv±(f)) [HLŠ '06, Reichardt '09]

11 of 19

Adv+ versus Adv±

  • Γ+ is a probability distribution.�By putting all weight on hard-to-distinguish input pairs, one usually gets a decent bound, e.g. Ω(√n) for element distinctness.�
  • Γ± is a linear combination of orthogonal projectors. Projectors usually cannot be expressed using nonnegative coefficients.�It's harder to bound the spectral norms.

12 of 19

Adversary matrix for k-sum

  1. Embed Γ into a larger matrix Γ~
    • allow indexing multiple rows by the same 1-input
    • columns are indexed by all inputs, not just 0-inputs��
  2. Split Γ~ into slices GS of size
    • GS has rows containing a k-sum at the positions S

13 of 19

Adversary matrix for k-sum

  • Write���projector Fm corresponds to m loaded inputs�
  • Bound ‖Γ~‖ from both sides using simple combinatorics, thanks to its simple structure

14 of 19

Adversary matrix for k-sum

  1. Instead of mapping exactly Γ~ Γ~Δ1 , change arbitrarily entries with x1=y1 , and apply ‖Γ~1Δ1‖ ≤ 2‖Γ~1‖ thanks to γ2(Δ1)≤2.�
  2. This Γ~1 has as simple structure as Γ~,�hence we can bound ‖Γ~1‖ similarly.

15 of 19

Adversary matrix for k-sum

  • Optimize {αm} to maximize Adv±.�max α0 s.t.

... is minimal for r=nk/(k+1)

16 of 19

Adversary matrix for k-sum

  • Show that the bound for Γ~ applies to Γ when the alphabet is large enough.�
    • delete "illegal" columns corresponding to 1-inputs, and obtain a valid adversary matrix
    • upper bounds on ‖Γ ○ Δi‖ still hold
    • lower bound on ‖Γ‖ get constant-times worse�when alphabet size q≥nk

17 of 19

Concluding remarks

18 of 19

Summary

  1. First nontrivial lower bound using Adv±
  2. Easily applicable and generalizable
  3. New tricks for analyzing adversary matrices
  4. Search for a 1-certificate as a whole is optimal for some functions

19 of 19

Open problems

  • Relax the alphabet size requirement
  • Lower bound for k-collision
  • Lower bound for k-distinctness
  • Lower bound for graph collision