Polynomial-Time Problems Lecture 3: The polynomial method Part I: - - PowerPoint PPT Presentation

โ–ถ
polynomial time problems
SMART_READER_LITE
LIVE PREVIEW

Polynomial-Time Problems Lecture 3: The polynomial method Part I: - - PowerPoint PPT Presentation

Complexity Theory of Polynomial-Time Problems Lecture 3: The polynomial method Part I: Orthogonal Vectors Sebastian Krinninger Organization of lecture No lecture on 26.05. (State holiday) 2 nd exercise sheet: Next week Tutorials:


slide-1
SLIDE 1

Complexity Theory of Polynomial-Time Problems

Lecture 3: The polynomial method Part I: Orthogonal Vectors

Sebastian Krinninger

slide-2
SLIDE 2

Organization of lecture

  • No lecture on 26.05. (State holiday)
  • 2nd exercise sheet: Next week
  • Tutorials:
  • New slot: Friday, 12:15 - 14:00, U12 E1.1, biweekly
  • Fr, 13.05. (tomorrow)
  • Fr, 03.06.
  • Etc.
slide-3
SLIDE 3

The polynomial method

  • Recently developed technique in Algorithm Design
  • Current fastest algorithms for
  • All-Pairs Shortest Paths [Williams 14]
  • Orthogonal Vectors [Abboud/Williams/Yu 15]
  • Hamming Nearest Neighbors [Alman/Williams 15]
  • Two main tools

1. Razborov-Smolensky from Circuit Complexity 2. Fast rectangular matrix multiplication

slide-4
SLIDE 4

Reminder: Orthogonal Vectors Problem

Input: Two sets ๐ต, ๐ถ โІ 0,1 ๐‘’ of ๐‘’-dimensional 0/1-vectors of size ๐‘œ Output: Is there a pair ๐‘ โˆˆ ๐ต, ๐‘ โˆˆ ๐ถ s.t. ๐‘ and ๐‘ are orthogonal? โˆƒ๐‘ โˆˆ ๐ต, ๐‘ โˆˆ ๐ถ: โŒฉ๐‘, ๐‘โŒช = 0 ๐‘™=1

๐‘’

๐‘ ๐‘™ โ‹… ๐‘ ๐‘™ = 0 โˆ€1 โ‰ค ๐‘™ โ‰ค ๐‘’: (๐‘ ๐‘™ = 0) โˆจ (๐‘ ๐‘™ = 0) Trivial algorithms:

  • ๐‘ƒ ๐‘œ2๐‘’
  • ๐‘ƒ(2๐‘’๐‘œ)

Interesting Regime: ๐‘’ = ๐‘‘ log ๐‘œ

slide-5
SLIDE 5

Todayโ€™s result

Reminder: State of the art: In this lecture: ๐‘œ2โˆ’1/๐‘ƒ(log ๐‘’) Algorithm is randomized and correct with high probability, i.e., probability โ‰ฅ 1 โˆ’ 1/๐‘œ

Conjecture: There is no algorithm for the orthogonal vectors problem with running time ๐‘ƒ(๐‘œ2โˆ’๐œ—poly(๐‘’)) for any ๐œ— > 0. Theorem: There is an algorithm for the orthogonal vectors problem with running time ๐‘œ2โˆ’1/๐‘ƒ(log(๐‘’/ log ๐‘œ)).

slide-6
SLIDE 6

Overview

  • 1. Reduce problem to many subproblems of very small size
  • 2. Precompute small circuits for solving subproblems
  • 3. Evaluate circuits with probabilistic polynomials of low degree
  • 4. Evaluate polynomials using fast rectangular matrix multiplication
slide-7
SLIDE 7

Overview

  • 1. Reduce problem to many subproblems of very small size
  • 2. Precompute small circuits for solving subproblems
  • 3. Evaluate circuits with probabilistic polynomials of low degree
  • 4. Evaluate polynomials using fast rectangular matrix multiplication
slide-8
SLIDE 8

Dividing into smaller subproblems

1. Divide ๐ต and ๐ถ into ๐‘Ÿ = โŒˆ

๐‘œ ๐‘กโŒ‰ subsets of size โ‰ค ๐‘ก:

๐ต1, โ€ฆ , ๐ต๐‘Ÿ and ๐ถ1, โ€ฆ , ๐ถ๐‘Ÿ

2. Construct a polynomial ๐‘„(๐‘1 1 , โ€ฆ ๐‘1 ๐‘’ , โ€ฆ , ๐‘๐‘ก 1 โ€ฆ , ๐‘๐‘ก ๐‘’ , ๐‘1 1 , โ€ฆ ๐‘1 ๐‘’ , โ€ฆ , ๐‘๐‘ก 1 โ€ฆ , ๐‘๐‘ก 1 )

๐‘„ ๐ต๐‘—, ๐ถ

๐‘˜ = 1 if and only if ๐ต๐‘—, ๐ถ ๐‘˜ contains orthogonal pair

โ€ฆonly with high probability

3. For every pair of subsets ๐ต๐‘—, ๐ถ

๐‘˜: evaluate ๐‘„ on ๐ต๐‘—, ๐ถ ๐‘˜

โ€ฆsimultaneously! โ†’ ๐‘ƒ(

๐‘œ2 ๐‘ก2 polylog(๐‘œ))

4. Return โ€œyesโ€ if some ๐ต๐‘—, ๐ถ

๐‘˜ contains orthogonal pair, โ€œnoโ€ otherwise

We set ๐‘ก = 2๐œ— log ๐‘œ/ log ๐‘’ = ๐‘œ๐œ—/ log ๐‘’ for some sufficiently small ๐œ—

slide-9
SLIDE 9

Questions

  • 1. How to construct suitable polynomial ๐‘„?
  • 2. How to evaluate ๐‘„ fast on all pairs of inputs?
slide-10
SLIDE 10

Overview

  • 1. Reduce problem to many subproblems of very small size
  • 2. Precompute small circuits for solving subproblems
  • 3. Evaluate circuits with probabilistic polynomials of low degree
  • 4. Evaluate polynomials using fast rectangular matrix multiplication
slide-11
SLIDE 11

Boolean circuits

Boolean circuit

  • Directed acyclic graph
  • Sources: input bits
  • Sink: output bit
  • Inner nodes: Boolean operations
  • AND: โˆง
  • OR: โˆจ
  • Arbitrary โ€œfan-inโ€
slide-12
SLIDE 12

Circuit for checking orthogonality of vectors

Are ๐‘ฆ and ๐‘ง orthogonal? ๐‘ฆ and ๐‘ง orthogonal iff ยฌโˆƒ๐‘—: ๐‘ฆ ๐‘— = 1 โˆง ๐‘ง ๐‘— = 1 Output bit ๐‘จ = 1 iff ๐‘ฆ and ๐‘ง orthogonal AND of ORs with

  • 2๐‘’ negated inputs
  • 1 output

โˆจ

ยฌ๐‘ฆ[1] ยฌ๐‘ง[1]

โˆจ

ยฌ๐‘ฆ[2] ยฌ๐‘ง[2]

โˆจ

ยฌ๐‘ฆ[๐‘’] ยฌ๐‘ง[๐‘’] โ€ฆ โ€ฆ

โˆง

๐‘จ

slide-13
SLIDE 13

Circuit for finding orthogonal pair

Is there an orthogonal pair? Check orthogonality for every pair ๐‘ฆ1, ๐‘ง1 orthogonal OR ๐‘ฆ1, ๐‘ง2 orthogonal OR โ€ฆ OR ๐‘ฆ๐‘ก, ๐‘ง๐‘ก orthogonal? OR of ANDs of ORs 2๐‘’๐‘ก2 negated inputs

โˆจ โˆง

โ€ฆ โ€ฆ โ€ฆ โ€ฆ

โˆจ โˆจ โˆง โˆจ โˆจ โˆง โˆจ โˆจ

โ€ฆ โ€ฆ โ€ฆ โ€ฆ โ€ฆ โ€ฆ ยฌ๐‘ฆ1[1] ยฌ๐‘ง1[1] ๐‘จ ยฌ๐‘ฆ1[1] ยฌ๐‘ง2[1] ยฌ๐‘ฆ๐‘ก[๐‘’] ยฌ๐‘ง๐‘ก[๐‘’] โ€ฆ โ€ฆ โ€ฆ

slide-14
SLIDE 14

Overview

  • 1. Reduce problem to many subproblems of very small size
  • 2. Precompute small circuits for solving subproblems
  • 3. Evaluate circuits with probabilistic polynomials of low degree
  • 4. Evaluate polynomials using fast rectangular matrix multiplication
slide-15
SLIDE 15

From circuits to polynomials

  • Obtain polynomial over ๐บ2 outputting 1 if and only if circuit outputs 1
  • ๐บ2: Field of {0, 1} with operations โŠ• and โ‹…
  • โŠ• is XOR-operation:
  • 0 โŠ• 0 = 0

1 โŠ• 0 = 1 0 โŠ• 1 = 1 1 โŠ• 1 = 0

  • XOR of multiple variables:

๐‘ฆ1 โŠ• ๐‘ฆ2 โŠ• โ‹ฏ โŠ• ๐‘ฆ๐‘™ = 1 if and only if odd number of ๐‘ฆ๐‘—โ€™s is 1

  • Expanded polynomials:
  • ๐‘ โ‹… ๐‘ โŠ• ๐‘‘ โ‹… ๐‘ โŠ• ๐‘ โŠ• ๐‘’ = ๐‘๐‘‘ โŠ• ๐‘๐‘๐‘‘ โŠ• ๐‘๐‘๐‘’ โŠ• ๐‘๐‘‘๐‘’
  • XOR of monomials
  • Goal: Few monomials allows fast evaluation later
slide-16
SLIDE 16

Representing circuit by polynomial

Straightforward approach:

  • AND:

๐‘ โˆง ๐‘ โ‡’ ๐‘ โ‹… ๐‘

  • Negation: ยฌ๐‘ โ‡’ 1 โŠ• ๐‘

(addition=subtraction in ๐บ2)

  • OR:

๐‘ โˆจ ๐‘ โ‡’ ยฌ(ยฌ๐‘ โˆง ยฌ๐‘) (DeMorganโ€™s Law) Example: Bottom-level of circuit ยฌ๐‘ โˆจ ยฌ๐‘ โ‡’ 1 โŠ• ๐‘ โ‹… ๐‘

slide-17
SLIDE 17

Expanding a multiplication (distributive law)

๐‘ฆ1,1 โŠ• โ‹ฏ โŠ• ๐‘ฆ1,๐‘™ โ‹… ๐‘ฆ2,1 โŠ• โ‹ฏ โŠ• ๐‘ฆ2,๐‘™ โ‹… โ€ฆ โ‹… ๐‘ฆ๐‘ข,1 โŠ• โ‹ฏ โŠ• ๐‘ฆ๐‘ข,๐‘™ = ๐‘ฆ1,1 โ‹… ๐‘ฆ2,1 โ‹… โ€ฆ โ‹… ๐‘ฆ๐‘ข,1 โŠ• โ‹ฏ โŠ• ๐‘ฆ1,๐‘™ โ‹… ๐‘ฆ2,๐‘™ โ‹… โ€ฆ โ‹… ๐‘ฆ๐‘ข,๐‘™

โŠ• โˆง โŠ• โŠ•

๐‘ฆ๐‘ข,๐‘™ ๐‘ฆ1,1 โ€ฆ ๐‘ฆ1,๐‘™ โ€ฆ โ€ฆ AND of ๐‘ข XORs Each XOR has ๐‘™ inputs ๐‘ฆ๐‘ข,1 โ€ฆ โ€ฆ

โˆง โŠ• โˆง โˆง

๐‘ฆ๐‘ข,๐‘™ ๐‘ฆ1,1 โ€ฆ ๐‘ฆ๐‘ข,1 โ€ฆ โ€ฆ XOR of ๐‘™๐‘ข ANDs Each AND has ๐‘ข inputs ๐‘ฆ1,๐‘™ โ€ฆ โ€ฆ ๐‘™ choices ๐‘™ choices ๐‘™ choices ๐‘™๐‘ข monomials Running time: ๐‘ƒ(๐‘™๐‘ข๐‘ข โ‹… deg) where deg is degree after expansion (maximum size of any monomial); here deg โ‰ค ๐‘ข

slide-18
SLIDE 18

Razborov/Smolensky trick [Raz87] [Smo87]

Naรฏve representation of OR DeMorgan: ๐‘ƒ๐‘† ๐‘ฆ1, โ€ฆ , ๐‘ฆ๐‘™ = 1 โŠ•

๐‘—=1 ๐‘™

1 โŠ• ๐‘ฆ๐‘— After expansion: 2๐‘™ monomials Probabilistic representation of OR Parameter ๐‘ข Fewer monomials, correct whp โŠ• โˆจ โŠ• โŠ•

๐‘ฆ๐‘™ ๐‘ฆ1 โ€ฆ ๐‘ฆ2 โ€ฆ โ€ฆ OR of ๐‘ข XORs Add each edge With probability 1

2

โˆจ

๐‘ฆ1 ๐‘ฆ2 ๐‘ฆ๐‘™ โ€ฆ โ€ฆ

slide-19
SLIDE 19

Correct representation with high probability

Case 1: ๐‘ฆ1 โˆจ โ‹ฏ โˆจ ๐‘ฆ๐‘™ = 0

Easy case: each XOR outputs 0, top OR outputs 0

Case 2: ๐‘ฆ1 โˆจ โ‹ฏ โˆจ ๐‘ฆ๐‘™ = 1

Let ๐‘Œ be set of inputs with ๐‘ฆ๐‘— = 1 For each XOR:

  • If XOR has odd number of links to ๐‘Œ: XOR outputs 1

(good event: top OR outputs 1)

  • If XOR has even number of links to ๐‘Œ: XOR outputs

0 (bad event!) Probability that XOR has even number of links to ๐‘Œ: = 1/2 because last element of X โ€œdecidesโ€ whether number of links is even or odd (each with prob. 1/2)

Probabilistic representation of OR

โŠ• โˆจ โŠ• โŠ•

๐‘ฆ๐‘™ ๐‘ฆ1 โ€ฆ ๐‘ฆ2 โ€ฆ โ€ฆ OR of ๐‘ข XORs Add each edge With probability 1

2

โ‡’ Probability that all XORs output 0: =

1 2 ๐‘ข

=

1 2๐‘ข

โ‡’ Probability that OR outputs 1: = 1 โˆ’

1 2๐‘ข

slide-20
SLIDE 20

Bounding number of monomials

Formal definition of polynomial For ๐‘— = 1 โ€ฆ ๐‘ข, ๐‘˜ = 1 โ€ฆ ๐‘™:

  • With probability

1 2: Set ๐‘  ๐‘—,๐‘˜ = 1

  • Otherwise:

Set ๐‘ 

๐‘—,๐‘˜ = 0

Polynomial: ๐‘ƒ๐‘†๐‘ข ๐‘ฆ1, โ€ฆ , ๐‘ฆ๐‘™ = 1 โŠ•

๐‘—=1 ๐‘ข

1 โŠ•โŠ•๐‘˜=1

๐‘™

๐‘ 

๐‘—,๐‘˜ โ‹… ๐‘ฆ๐‘—

After expansion: ๐‘™ + 1 ๐‘ข monomials Probabilistic representation of OR โŠ• โˆจ โŠ• โŠ•

๐‘ฆ๐‘™ ๐‘ฆ1 โ€ฆ ๐‘ฆ2 โ€ฆ โ€ฆ OR of ๐‘ข XORs Add each edge With probability 1

2

slide-21
SLIDE 21

Formal definition

Example: OR-gate represented by ๐‘ƒ๐‘†๐‘ข ๐‘ฆ1, โ€ฆ , ๐‘ฆ๐‘™ = 1 โŠ• ๐‘—=1

๐‘ข

1 โŠ•โŠ•๐‘˜=1

๐‘™

๐‘ 

๐‘—,๐‘˜ โ‹… ๐‘ฆ๐‘—

with error ๐œ€ = 1 โˆ’

1 2๐‘ข

Definition: Let ๐ท be a Boolean circuit with ๐‘™ input gates and let ๐ธ be a finite distribution of polynomials on ๐‘™ variables over a ring ๐‘† containing 0 and 1(โˆ—). The distribution ๐ธ is a probabilistic polynomial over ๐‘† representing ๐ท with error ๐œ€ if for all ๐‘ฆ1, โ€ฆ , ๐‘ฆ๐‘™ โˆˆ 0,1 ๐‘™: Pr

๐‘žโˆผ๐ธ ๐‘ž ๐‘ฆ1, โ€ฆ , ๐‘ฆ๐‘™ = ๐ท ๐‘ฆ1, โ€ฆ , ๐‘ฆ๐‘™

> 1 โˆ’ ๐œ€.

(*) In our case, ๐‘† is the field ๐บ2

slide-22
SLIDE 22

Representing OV circuit I

Are ๐‘ฆ and ๐‘ง orthogonal? Bottom OR: ยฌ๐‘ฆ ๐‘™ โˆจ ยฌ๐‘ง ๐‘™ โ‡’ 1 โŠ• ๐‘ฆ[๐‘™] โ‹… ๐‘ง[๐‘™] Middle AND:

  • 1. DeMorgan
  • 2. Razborov/Smolensky

with ๐‘ข1 = 3 log ๐‘ก Number of monomials: ๐‘’ + 1 ๐‘ข1

โˆจ

ยฌ๐‘ฆ[1] ยฌ๐‘ง[1]

โˆจ

ยฌ๐‘ฆ[2] ยฌ๐‘ง[2]

โˆจ

ยฌ๐‘ฆ[๐‘’] ยฌ๐‘ง[๐‘’] โ€ฆ โ€ฆ

โˆง

๐‘จ

slide-23
SLIDE 23

Representing OV circuit II

Is there an orthogonal pair?

โˆจ โˆง

โ€ฆ โ€ฆ โ€ฆ โ€ฆ

โˆจ โˆจ โˆง โˆจ โˆจ โˆง โˆจ โˆจ

โ€ฆ โ€ฆ โ€ฆ โ€ฆ โ€ฆ โ€ฆ ยฌ๐‘ฆ1[1] ยฌ๐‘ง1[1] ๐‘จ ยฌ๐‘ฆ1[1] ยฌ๐‘ง2[1] ยฌ๐‘ฆ๐‘ก[๐‘’] ยฌ๐‘ง๐‘ก[๐‘’] โ€ฆ โ€ฆ โ€ฆ

Middle ANDs: XOR of ๐‘ก2 polynomials, each with ๐‘’ + 1 ๐‘ข1 monomials โ‡’ ๐‘ก2 ๐‘’ + 1 ๐‘ข1 monomials Top OR: Raz/Smol with ๐‘ข2 = 2 โ‡’ ๐‘ก2 ๐‘’ + 1 ๐‘ข1 ๐‘ข2 monomials = ๐‘ก4 ๐‘’ + 1 6 log ๐‘ก

slide-24
SLIDE 24

Analysis of error

We apply Razborov/Smolensky

  • ๐‘ก2 times with ๐‘ข1 = 3 log ๐‘ก
  • 1 time with ๐‘ข2 = 2

Union Bound: Pr ๐‘Œ โˆช ๐‘ โ‰ค Pr ๐‘Œ + Pr ๐‘ Probability of error: โ‰ค

๐‘ก2 2๐‘ข1 + 1 2๐‘ข2 = ๐‘ก2 ๐‘ก3 + 1 4 = 1 ๐‘ก + 1 4 โ‰ค 1 3 (1/๐‘ก is small enough for instances with sufficiently large ๐‘œ)

slide-25
SLIDE 25

Plugging in the right values

๐‘ก = 2๐œ— log ๐‘œ/ log ๐‘’ ๐œ— = 1/160 #monomials: ๐‘› โ‰ค ๐‘ก4 ๐‘’ + 1 6 log ๐‘ก โ‰ค ๐‘ก4 ๐‘’ + 1 6๐œ— log ๐‘œ/ log ๐‘’ โ‰ค 4๐œ— log ๐‘œ + 12๐œ— log ๐‘œ = 0.1 log ๐‘œ

โ‡’ ๐‘› โ‰ค ๐‘œ0.1

slide-26
SLIDE 26

Running time for expanding polynomial

We explicitly have to expand our polynomial into XOR of monomials! Running time dominated by applications of distributive law 1st expansion (repeated ๐‘ก2 times):

  • Degree after expansion: ๐‘ƒ(๐‘ข1)
  • Total time: ๐‘ƒ(๐‘ก2 ๐‘’ + 1 ๐‘ข1๐‘ข1

2)

2nd expansion :

  • Degree after expansion: ๐‘ƒ(๐‘ข1๐‘ข2)
  • Running time: ๐‘ƒ

๐‘ก2 ๐‘’ + 1 ๐‘ข1 ๐‘ข2 ๐‘ข1

2๐‘ข2 2

โ‰ค ๐‘ƒ ๐‘œ0.1 ๐‘ข1

2๐‘ข2 2 โ‰ค ๐‘ƒ ๐‘œ0.1 log2 ๐‘œ

โ‡’ Total time: ๐‘ƒ ๐‘œ0.1 log2 ๐‘œ (negligible)

slide-27
SLIDE 27

Summary for probabilistic polynomial

We can construct polynomial ๐‘„ over ๐บ2 with 2๐‘ก๐‘’ inputs such that, given two sets ๐ตโ€ฒ, ๐ถโ€ฒ โІ 0,1 ๐‘’ of ๐‘’-dimensional 0/1-vectors of size ๐‘ก, with probability >

2 3: ๐‘„ ๐ตโ€ฒ, ๐ถโ€ฒ = 1 iff ๐ตโ€ฒ and ๐ถโ€ฒ have orthogonal pair.

slide-28
SLIDE 28

Overview

  • 1. Reduce problem to many subproblems of very small size
  • 2. Precompute small circuits for solving subproblems
  • 3. Evaluate circuits with probabilistic polynomials of low degree
  • 4. Evaluate polynomials using fast rectangular matrix multiplication
slide-29
SLIDE 29

Fast matrix multiplication

  • Goal: Compute ๐ท = ๐ต ร— ๐ถ where ๐ต and ๐ถ are ๐‘œ ร— ๐‘œ matrices
  • Naรฏve algorithm: ๐‘ƒ ๐‘œ3
  • Strassenโ€™s algorithm: ๐‘ƒ ๐‘œ2.807
  • Current fastest: ๐‘ƒ ๐‘œ2.373
  • Best we can hope for: ๐‘ƒ ๐‘œ2
slide-30
SLIDE 30

Rectangular matrix multiplication

Lemma: There is an algorithm for multiplying an ๐‘‚ ร— ๐‘‚0.17 matrix with an ๐‘‚0.17 ร— ๐‘‚ matrix in time ๐‘ƒ(๐‘‚2 log2 ๐‘œ). ๐‘‚0.1 ๐‘‚ Also works for finite fields such as ๐บ2! ร— =

slide-31
SLIDE 31

Fast evaluation of polynomial

  • Given: Polynomial ๐‘„(๐‘ฆ[1], โ€ฆ , ๐‘ฆ[๐ฟ], ๐‘ง[1], โ€ฆ , ๐‘ง[๐ฟ]) over ๐บ2
  • With at most ๐‘‚0.1 monomials
  • Two sets of inputs:

๐‘Œ = ๐‘ฆ1, โ€ฆ , ๐‘ฆ๐‘‚ โІ 0,1 ๐ฟ, ๐‘ = ๐‘ง1, โ€ฆ , ๐‘ง๐‘‚ โІ 0,1 ๐ฟ

  • Evaluate ๐‘„ on all pairs ๐‘ฆ๐‘—, ๐‘ง๐‘˜ โˆˆ ๐‘Œ ร— ๐‘ simultaneously

in time ๐‘ƒ(๐‘‚2polylog ๐‘œ )

slide-32
SLIDE 32

Reduction to matrix multiplication

๐‘ฆ1 โ‹ฎ ๐‘ฆ๐‘‚ ร— ๐‘‚0.1 monomials ๐‘ง1 โ€ฆ ๐‘ง๐‘‚ ๐‘‚0.1 monomials

Entry ๐‘—, ๐‘˜ : Restriction of ๐‘˜-th monomial to input ๐‘ฆ๐‘— Entry ๐‘—, ๐‘˜ : Restriction of ๐‘—-th monomial to input ๐‘ง๐‘˜

slide-33
SLIDE 33

Evaluating OV-polynomial on all subgroups

  • 1. Divide ๐ต and ๐ถ into ๐‘Ÿ = โŒˆ

๐‘œ ๐‘กโŒ‰ subsets of size โ‰ค ๐‘ก:

๐ต1, โ€ฆ , ๐ต๐‘Ÿ and ๐ถ1, โ€ฆ , ๐ถ๐‘Ÿ

  • 2. Construct a polynomial ๐‘„(๐‘1 1 , โ€ฆ ๐‘1 ๐‘’ , โ€ฆ , ๐‘๐‘Ÿ 1 โ€ฆ , ๐‘๐‘Ÿ ๐‘’ ,

๐‘1 1 , โ€ฆ ๐‘1 ๐‘’ , โ€ฆ , ๐‘๐‘Ÿ 1 โ€ฆ , ๐‘๐‘Ÿ 1 )

๐‘„ ๐ต๐‘—, ๐ถ

๐‘˜ = 1 if and only if ๐ต๐‘—, ๐ถ ๐‘˜ contains orthogonal pair

  • 3. For every pair of subsets ๐ต๐‘—, ๐ถ

๐‘˜: evaluate ๐‘„ on ๐ต๐‘—, ๐ถ ๐‘˜

๐‘„ has โ‰ค ๐‘œ0.1 monomials Simultaneous evaluation in time ๐‘ƒ(๐‘œ2/๐‘ก2 polylog ๐‘œ ) โ‰ค ๐‘œ2โˆ’1/๐‘ƒ(log ๐‘’)

๐‘ก = 2๐œ— log ๐‘œ/ log ๐‘’ = ๐‘œ๐œ—/ log ๐‘’ for ๐œ— = 1/160

slide-34
SLIDE 34

Remarks

Correctness with high probability

  • Polynomial is only correct with probability โ‰ฅ 2/3
  • Amplify the success probability by repeating with 10 log ๐‘œ independent

polynomials and taking majority value

  • โ‡’ Chernoff Bound

Faster algorithm:

  • ๐‘œ2โˆ’1/๐‘ƒ(log(๐‘’/ log ๐‘œ))
  • Just needs better estimate for number of monomials and slightly different

choice of ๐‘ก