NP-hardness of Minimum Circuit Size Problem for OR-AND-MOD Circuits - - PowerPoint PPT Presentation

β–Ά
np hardness of
SMART_READER_LITE
LIVE PREVIEW

NP-hardness of Minimum Circuit Size Problem for OR-AND-MOD Circuits - - PowerPoint PPT Presentation

NP-hardness of Minimum Circuit Size Problem for OR-AND-MOD Circuits Shuichi Hirahara (The University of Tokyo) Igor C. Oliveira (University of Oxford) Rahul Santhanam (University of Oxford) CCC 2018 @ San Diego June 22, 2018 Talk Outline


slide-1
SLIDE 1

NP-hardness of Minimum Circuit Size Problem for OR-AND-MOD Circuits

CCC 2018 @ San Diego

Shuichi Hirahara (The University of Tokyo) Igor C. Oliveira (University of Oxford) Rahul Santhanam (University of Oxford)

June 22, 2018

slide-2
SLIDE 2

Talk Outline

  • 1. MCSP and Its background
  • 2. π’Ÿ-MCSP for a circuit class π’Ÿ
  • 3. Our Results
  • 4. Proof Sketch
slide-3
SLIDE 3

Talk Outline

  • 1. MCSP and Its background
  • 2. π’Ÿ-MCSP for a circuit class π’Ÿ
  • 3. Our Results
  • 4. Proof Sketch
slide-4
SLIDE 4

Minimum Circuit Size Problem (MCSP)

Input

π’šπŸ π’šπŸ‘ π’šπŸ βŠ• π’šπŸ‘ 1 1 1 1 1 1

  • Truth table π‘ˆ ∈ 0,1 2𝑒 of a

function 𝑔: 0,1 𝑒 β†’ 0,1

Output

Is there a circuit of size ≀ 𝑑 that computes 𝑔?

Example: 𝑑 = 5 𝑔 = Output: β€œYES”

  • Size parameter 𝑑 ∈ β„•
slide-5
SLIDE 5

Brief History of MCSP

1970s Levin delayed publishing his work because he wanted to say something about MCSP. 2000 Kabanets and Cai revived interest, based on natural proofs. [Razborov & Rudich (1997)] 1950s Recognized as an important problem in the Soviet Union [Trakhtenbrot’s survey] 1979 Masek proved NP-completeness of DNF-MCSP.

Since then many papers and results appeared; however, the complexity of MCSP remains elusive.

slide-6
SLIDE 6

Current Knowledge about MCSP

βœ“No strong evidence against NP-completeness

  • Weak evidence: [Hirahara-Santhanam (CCC’17)] [Allender-Hirahara 17]…

βœ“No strong evidence for NP-completeness

  • Some new evidence: [Impagliazzo-Kabanets-Volkvovich (CCC’18)] & This work

➒ Lower bound: βˆƒpseudorandom function generators ⟹ MCSP βˆ‰ 𝐐 ➒ No consensus about the exact complexity of MCSP ➒ Big Open Question: Is MCSP NP-hard? ➒ Upper bound: MCSP ∈ 𝐎𝐐

slide-7
SLIDE 7

Kabanets-Cai Obstacle: Why so difficult?

πœ’ ∈ SAT

↦

➒ Suppose that we want to construct a reduction from SAT to MCSP. (𝑔, 𝑑) πœ’ βˆ‰ SAT

↦

(𝑔, 𝑑) CircSize 𝑔 ≀ 𝑑 CircSize 𝑔 > 𝑑 Need to prove a circuit lower bound! ➒ Natural reduction techniques would imply E ⊈ SIZE π‘œπ‘ƒ 1 .

[Kabanets-Cai (2000)]

slide-8
SLIDE 8

Talk Outline

  • 1. MCSP and Its background
  • 2. π’Ÿ-MCSP for a circuit class π’Ÿ
  • 3. Our Results
  • 4. Proof Sketch
slide-9
SLIDE 9

π’Ÿ-MCSP for a circuit class π’Ÿ

Input

  • Truth table π‘ˆ ∈ 0,1 2𝑒 of a

function 𝑔: 0,1 𝑒 β†’ 0,1

Output

Is there a π’Ÿ-circuit of size ≀ 𝑑 that computes 𝑔?

  • Size parameter 𝑑 ∈ β„•

DNFβˆ’MCSP is NP-hard.

Theorem [Masek (1978 or 79, unpublished)]

slide-10
SLIDE 10

DNF-MCSP

Input

  • Truth table π‘ˆ ∈ 0,1 2𝑒 of a

function 𝑔: 0,1 𝑒 β†’ 0,1

Output

Is there a DNF formula of size ≀ 𝑑 that computes 𝑔?

  • Size parameter 𝑑 ∈ β„•

Example of DNFs:

Depth: 2 ¬𝑦1 ∧ 𝑦2 ∨ 𝑦2 ∧ ¬𝑦3 ∨ ¬𝑦2

∧ ∨ ∧

¬𝑦1

∧

𝑦2 𝑦2 ¬𝑦3 ¬𝑦2

≑

The size of DNF ≔ #(clauses) Size: 3

slide-11
SLIDE 11

π’Ÿ-MCSP for π’Ÿ βŠƒ DNF

➒ Beyond DNFs, no NP-hardness was proved since the work of Masek (1979). ➒ To quote Allender, Hellerstein, McCabe, Pitassi, and Saks (2008):

β€œThus an important open question is to resolve the NP-hardness of … function minimization results above for classes that are stronger than DNF.”

slide-12
SLIDE 12

Known results about π’Ÿ-MCSP

DNF-MCSP AC𝑒

0-MCSP for large 𝑒

MCSP

Hardness based on cryptography Known to be NP-hard

[Masek (1979)]

More expressive

Depth3-MCSP β‹― β‹―

No hardness result Remark: The complexity is not necessarily monotone increasing or decreasing. e.g.) Blum integer factorization [AHMPS08]

slide-13
SLIDE 13

Talk Outline

  • 1. MCSP and Its background
  • 2. π’Ÿ-MCSP for a circuit class π’Ÿ
  • 3. Our Results
  • 4. Proof Sketch
slide-14
SLIDE 14

➒ The first NP-hardness result for π’Ÿ-MCSP for a class π’Ÿ βŠƒ DNF

Our Results

➒ Our proof techniques extend to:

  • DNF ∘ MOD𝑛 -MCSPβ€² is NP-hard for any 𝑛 β‰₯ 2,

but the input is a truth table of an 𝑛-valued function 𝑔: β„€/𝑛℀ 𝑒 β†’ 0,1 .

DNF ∘ XOR βˆ’MCSP is NP-hard under polynomial-time many-one reductions.

Theorem (Main Result)

slide-15
SLIDE 15

DNF ∘ XOR circuits

Depth 3

∧ ∨ ∧

¬𝑦1

∧

𝑦2 ¬𝑦3 ¬𝑦2 The size of DNF ∘ XOR circuits ≔ The number of AND gates

βŠ• βŠ• βŠ• βŠ• Example

1st layer: an OR gate 2nd layer: AND gates 3rd layer: XOR gates Size 3

➒ This is a convenient circuit size measure as advocated by Cohen & Shinkar (2016). 1. Nice combinatorial meaning 2. W.l.o.g., # XOR gates ≀ π‘œ β‹… #(AND gates) (2Ξ© π‘œ circuit lower bound is known)

[Cohen & Shinkar (2016)]

➒ Our proof techniques extend to the number of all the gates in a DNF ∘ XOR formula.

slide-16
SLIDE 16

DNF ∘ XOR circuits

Depth 3

∧ ∨ ∧

¬𝑦1

∧

𝑦2 ¬𝑦3 ¬𝑦2

βŠ• βŠ• βŠ• βŠ• Example

1st layer: an OR gate 2nd layer: AND gates 3rd layer: XOR gates Size 3

1 βŠ• 𝑦1 βŠ• 𝑦2 βŠ• 1 βŠ• 𝑦3 = 1 𝑦2 βŠ• 1 βŠ• 𝑦3 = 1 The subcircuit

  • utputs 1. ⟺

⟺

𝑦1, 𝑦2, 𝑦3 ∈ 𝐡 (for some affine subspace 𝐡 βŠ† GF 2 π‘œ) ← Some linear equations over GF 2 (2Ξ© π‘œ circuit lower bound is known)

[Cohen & Shinkar (2016)]

slide-17
SLIDE 17

DNF ∘ XOR circuits

Depth 3

∧ ∨ ∧

¬𝑦1

∧

𝑦2 ¬𝑦3 ¬𝑦2

βŠ• βŠ• βŠ• βŠ• Example

1st layer: an OR gate 2nd layer: AND gates 3rd layer: XOR gates Size 3 𝑔: 0,1 π‘œ β†’ 0,1 𝐡1 𝐡2 𝐡3

π‘”βˆ’1 1 = 𝐡1 βˆͺ 𝐡2 βˆͺ 𝐡3

(2Ξ© π‘œ circuit lower bound is known)

[Cohen & Shinkar (2016)]

slide-18
SLIDE 18

The Important Observation

The minimum DNF ∘ XOR circuit size for computing 𝑔 The minimum number 𝑛 of affine subspaces needed to cover π‘”βˆ’1 1 : that is, βˆƒπ΅1, … , 𝐡𝑛: affine subspaces of 0,1 π‘œ

=

𝐡𝑗 βŠ† π‘”βˆ’1 1 𝐡1 βˆͺ β‹― βˆͺ 𝐡𝑛 = π‘”βˆ’1 1 and

slide-19
SLIDE 19

Talk Outline

  • 1. MCSP and Its background
  • 2. π’Ÿ-MCSP for a circuit class π’Ÿ
  • 3. Our Results
  • 4. Proof Sketch
slide-20
SLIDE 20

➒ Our proof was inspired by a simple proof of Masek’s result given by [Allender, Hellerstein, McCabe, Pitassi, and Saks (2008)]. ➒ We extend and generalize their ideas significantly.

slide-21
SLIDE 21

Proof Outline

2-factor approx. of 𝑠-Bounded Set Cover ≀𝑛

ZPP

DNF ∘ XOR -MCSP for partial functions DNF ∘ XOR -MCSP ≀𝑛

ZPP

[Naor & Naor (1993)] (NP-hard [Trevisan 2001])

Derandomization using πœ—-biased generators

NP ≀𝑛

π‘ž

DNF ∘ XOR βˆ’MCSP

Theorem (Main Result) Step 1. Step 2. DNF ∘ XOR -MCSP for partial functions Step 3.

slide-22
SLIDE 22

Proof Outline

2-factor approx. of 𝑠-Bounded Set Cover ≀𝑛

ZPP

DNF ∘ XOR -MCSP for partial functions DNF ∘ XOR -MCSP ≀𝑛

ZPP

[Naor & Naor (1993)] (NP-hard [Trevisan 2001])

Derandomization using πœ—-biased generators

NP ≀𝑛

π‘ž

DNF ∘ XOR βˆ’MCSP

Theorem (Main Result) Step 1. Step 2. DNF ∘ XOR -MCSP for partial functions Step 3.

slide-23
SLIDE 23

The Set Cover Problem

The minimum π’Ÿ such that π’Ÿ βŠ† 𝒯 and Ϊ‚π·βˆˆπ’Ÿ 𝐷 = 𝑉 Example: 𝑉 = { … }, 𝒯 = { … } Input: A universe 𝑉 and a collection of sets 𝒯 βŠ† 2𝑉 Output:

slide-24
SLIDE 24

The Set Cover Problem

The minimum π’Ÿ such that π’Ÿ βŠ† 𝒯 and Ϊ‚π·βˆˆπ’Ÿ 𝐷 = 𝑉 Example: 𝑉 = { … }, 𝒯 = { … } Input: A universe 𝑉 and a collection of sets 𝒯 βŠ† 2𝑉 Output:

A minimum cover π’Ÿ:

slide-25
SLIDE 25

The 𝑠-Bounded Set Cover Problem

The minimum π’Ÿ such that π’Ÿ βŠ† 𝒯 and Ϊ‚π·βˆˆπ’Ÿ 𝐷 = 𝑉 Example: 𝑉 = { … }, 𝒯 = { … } Input: A universe 𝑉 and a collection of sets 𝒯 βŠ† 2𝑉 Output: such that 𝑇 ≀ 𝑠 for every 𝑇 ∈ 𝒯.

4-bounded, but not 3-bounded [Feige (1998)] [Trevisan (2001)] Approximation of 1 βˆ’ 𝑝 1 ln 𝑠 is NP-hard. ➒ We set 𝑠 to be large enough so that a 2-factor approx. is NP-hard.

slide-26
SLIDE 26

Proof Outline

2-factor approx. of 𝑠-Bounded Set Cover ≀𝑛

ZPP

DNF ∘ XOR -MCSP for partial functions DNF ∘ XOR -MCSP ≀𝑛

ZPP

[Naor & Naor (1993)] (NP-hard [Trevisan 2001])

Derandomization using πœ—-biased generators

NP ≀𝑛

π‘ž

DNF ∘ XOR βˆ’MCSP

Theorem (Main Result) Step 1. Step 2. DNF ∘ XOR -MCSP for partial functions Step 3.

slide-27
SLIDE 27

DNF ∘ XOR -MCSPβˆ— for partial functions

π’šπŸ π’šπŸ‘ π’ˆ π’šπŸ, π’šπŸ‘ βˆ— 1 1 1 βˆ— 1 1

Example:

𝑔 =

Input

  • Truth table of a partial

function 𝑔: 0,1 𝑒 β†’ 0,1,βˆ—

Output

Is there a circuit of size ≀ 𝑑 that agrees with 𝑔 on inputs from π‘”βˆ’1 0,1 ?

  • Size parameter 𝑑 ∈ β„•
slide-28
SLIDE 28

2-factor approx. of 𝑠-Bounded Set Cover ≀𝑛

ZPP

Claim DNF ∘ XOR -MCSP for partial functions ➒ Given: 𝑉 = 1, … , 𝑂 , 𝒯 = {𝑇1, … , 𝑇𝑛} 𝑗 ∈ 𝑉 𝑀𝑗 ∼ 0,1 𝑒

(A uniformly random vector)

𝑇

π‘˜ ∈ 𝒯

spanπ‘—βˆˆπ‘‡π‘˜ 𝑀𝑗 βŠ† 0,1 𝑒 DNF ∘ XOR -MCSP Set Cover ↦ ↦ π’Ÿ βŠ† 𝒯 Cover ↦ ራ

π‘‡βˆˆπ’Ÿ

spanπ‘—βˆˆπ‘‡ 𝑀𝑗 βŠ† 0,1 𝑒 ➒ Goal: Construct 𝑔: 0,1 𝑒 β†’ 0,1,βˆ— for 𝑒 = 𝑃 log 𝑂

slide-29
SLIDE 29

1

𝑉 = 1,2,3 , 𝒯 = {𝑇1, 𝑇2}

2 3

𝑇1 = 1,2 𝑇2 = 2,3

DNF ∘ XOR -MCSP Set Cover

➒ 𝑔 𝑀𝑗 ≔ 1 for any 𝑗 ∈ 𝑉. ➒ 𝑔 𝑦 ≔ 0 for all 𝑦 βˆ‰ span 𝑀1, 𝑀2 βˆͺ span 𝑀2, 𝑀3 . ➒ 𝑔 𝑧 ≔ βˆ— for any other vector 𝑧 ∈ 0,1 𝑒.

  • The minimum DNF ∘ XOR circuit size for computing 𝑔

The minimum number of affine subspaces 𝐡 βŠ† π‘”βˆ’1 1,βˆ— needed to cover π‘”βˆ’1 1 = 𝑀1, 𝑀2, 𝑀3 .

=

𝑔: 0,1 𝑒 β†’ 0,1,βˆ—

slide-30
SLIDE 30

Intuition: When 𝐡 is Linear

𝐡 βŠ† π‘”βˆ’1 1,βˆ— = span 𝑀1, 𝑀2 βˆͺ span(𝑀2, 𝑀3)

⟹

with high probability (if 𝐡 is a linear subspace)

𝐡 βŠ† span 𝑀1, 𝑀2 or 𝐡 βŠ† span(𝑀2, 𝑀3)

⟹

The set of points 𝑗 ∈ 1,2,3 𝑀𝑗 ∈ 𝐡 } covered by 𝐡 is contained in some legal set 𝑇1 or 𝑇2 ∈ 𝒯.

⟹

The minimum number of linear subspaces needed to cover {𝑀1, 𝑀2, 𝑀3}

= The minimum set cover size

Random linear subspaces of small dimension 𝑠

slide-31
SLIDE 31

Intuition: When 𝐡 is Affine

𝐡 βŠ† π‘”βˆ’1 1,βˆ— = span 𝑀1, 𝑀2 βˆͺ span(𝑀2, 𝑀3)

⟹

with high probability (if 𝐡 is an affine subspace)

𝐡 βŠ† span 𝑀1, 𝑀2 or 𝐡 βŠ† span(𝑀2, 𝑀3) The set of points 𝑗 ∈ 1,2,3 𝑀𝑗 ∈ 𝐡 } covered by 𝐡 is contained in 𝑇𝑏 βˆͺ 𝑇𝑐 for some two legal sets 𝑇𝑏, 𝑇𝑐 ∈ 𝒯

⟹ The minimum number of affine subspaces needed to cover 𝑀1, 𝑀2, 𝑀3

is a 2-factor approximation of the minimum set cover size.

?

Counterexample: 𝐡 ≔ 𝑀1, 𝑀3 = 𝑀1 βŠ• 0, 𝑀1 βŠ• 𝑀3 ➒ Still, we can prove that:

slide-32
SLIDE 32

Fomally:

For 𝑒 β‰₯ 𝑃 𝑠 log 𝑂 , the following holds with high probability: The minimum set cover size ≀ 2 Γ— The minimum DNF ∘ XOR circuit size

Claim (Hard part)

The minimum DNF ∘ XOR circuit size ≀ The minimum set cover size

Claim (Easy part)

𝑔 𝑦 = ቐ 1 βˆ— (𝑦 = 𝑀𝑗 for some 𝑗) (𝑦 βˆ‰Ϊ‚π‘‡βˆˆπ’― spanπ‘—βˆˆπ‘‡(𝑀𝑗)) (otherwise)

𝑔: 0,1 𝑒 β†’ 0,1,βˆ—

➒ By a delicate probabilistic argument, it can be shown:

slide-33
SLIDE 33

Summary of Step 1

1. Input: 𝑉 = 1, … , 𝑂 , 𝒯 = {𝑇1, … , 𝑇𝑛} 2. Let 𝑒 ≔ Θ log 𝑂 . 3. Pick 𝑀𝑗 ∼ 0,1 𝑒 randomly for each 𝑗 ∈ 𝑉. 4. Verify that 𝑀𝑗

π‘—βˆˆπ‘‰ satisfies a certain condition.

5. Define 𝑔: 0,1 𝑒 β†’ {0,1,βˆ—} as follows and output its truth table.

𝑔 𝑦 = ቐ 1 βˆ— (𝑦 = 𝑀𝑗 for some 𝑗) (𝑦 βˆ‰Ϊ‚π‘‡βˆˆπ’― spanπ‘—βˆˆπ‘‡(𝑀𝑗)) (otherwise)

slide-34
SLIDE 34

Proof Outline

2-factor approx. of 𝑠-Bounded Set Cover ≀𝑛

ZPP

DNF ∘ XOR -MCSP for partial functions DNF ∘ XOR -MCSP ≀𝑛

ZPP

[Naor & Naor (1993)] (NP-hard [Trevisan 2001])

Derandomization using πœ—-biased generators

NP ≀𝑛

π‘ž

DNF ∘ XOR βˆ’MCSP

Theorem (Main Result) Step 1. Step 2. DNF ∘ XOR -MCSP for partial functions Step 3.

slide-35
SLIDE 35

DNF ∘ XOR -MCSP for partial functions ≀𝑛

ZPP

Claim DNF ∘ XOR -MCSP ➒ Given: a partial function 𝑔: 0,1 𝑒 β†’ {0,1,βˆ—} ➒ Output: a total function 𝑕: 0,1 𝑒+𝑑 β†’ 0,1 ➒ For each 𝑦 ∈ 0,1 𝑒, we encode each value 𝑔 𝑦 ∈ {0,1,βˆ—} as a Boolean function 𝑕𝑦 ≔ 𝑕 𝑦,β‹… on a hypercube 0,1 𝑑.

Step 2: Making it a total function

slide-36
SLIDE 36

𝑔 𝑦 ∈ 0,1

𝑔 𝑦

𝑔 𝑦 = βˆ—

1 1 1

𝑕𝑦: 0,1 𝑑 β†’ 0,1

➒ Pick a random linear subspace 𝑀𝑦 and define 𝑕𝑦 as its characteristic function.

For each 𝑦 ∈ 0,1 𝑒:

➒ Define 𝑕 𝑦, 𝑧 ≔ 𝑕𝑦 𝑧 .

𝑕𝑦 0𝑑 ≔ 𝑔(𝑦) 𝑕𝑦 𝑧 ≔ 0 elsewhere

slide-37
SLIDE 37

➒Imagine an optimal way of covering π‘•βˆ’1 1 .

  • π‘•βˆ’1 1 consists of π‘”βˆ’1 1 Γ— 0 𝑑 and 𝑦 Γ— 𝑀𝑦 for each 𝑦 ∈ π‘”βˆ’1 βˆ— .

➒In order to cover π‘•βˆ’1 1 by affine subspaces, random linear subspaces 𝑦 Γ— 𝑀𝑦 should be used for each 𝑦 ∈ π‘”βˆ’1(βˆ—). ➒Then we need to cover π‘”βˆ’1 1 Γ— 0 𝑑, but we may optionally cover π‘”βˆ’1 βˆ— Γ— 0 𝑑. (The minimum DNF ∘ XOR circuit size for 𝑕) = Claim (The minimum circuit size for 𝑔) + π‘”βˆ’1 βˆ— The following holds with high probability:

Idea:

slide-38
SLIDE 38

Proof Outline

2-factor approx. of 𝑠-Bounded Set Cover ≀𝑛

ZPP

DNF ∘ XOR -MCSP for partial functions DNF ∘ XOR -MCSP ≀𝑛

ZPP

[Naor & Naor (1993)] (NP-hard [Trevisan 2001])

Derandomization using πœ—-biased generators

NP ≀𝑛

π‘ž

DNF ∘ XOR βˆ’MCSP

Theorem (Main Result) Step 1. Step 2. DNF ∘ XOR -MCSP for partial functions Step 3.

slide-39
SLIDE 39

Step 3: Derandomization

Fact (folklore; a nearly optimal PRG for AND ∘ XOR circuits) Any πœ—-biased generator πœ—-fools any AND ∘ XOR circuit. ➒ Can be proved by using a simple Fourier analysis. ➒ Our probabilistic arguments work even if randomness is replaced by the output of an πœ—-biased generator.

  • Careful analysis: sub-conditions can be checked by AND ∘ XOR circuits

➒ Extending the fact to AND ∘ MOD𝑛 requires some extra work.

slide-40
SLIDE 40

Open Problems

➒NP-hardness of Depth3-AC0-MCSP under quasipolynomial-time deterministic reductions, or randomized polynomial-time reductions?

  • The Kabanets-Cai obstacle is not applied to these

reductions.

➒What about π’Ÿ-MCSP for π’Ÿ = MAJ ∘ MAJ, OR ∘ MAJ?