Stronger Connections Between Circuit Analysis and Circuit Lower - - PowerPoint PPT Presentation
Stronger Connections Between Circuit Analysis and Circuit Lower - - PowerPoint PPT Presentation
Stronger Connections Between Circuit Analysis and Circuit Lower Bounds, via PCPs of Proximity Lijie Chen Ryan Williams Context: The Algorithmic Method for Proving Circuit Lower Bounds Proving limitations on non-uniform circuits is extremely
Context: The Algorithmic Method for Proving Circuit Lower Bounds
Proving limitations on non-uniform circuits is extremely hard. Prior approaches (restrictions, polynomial approximations, etc.) face barriers (Relativization, Algebrization, Natural Proofs).
Algorithmic Method
- Non-trivial circuit-analysis algorithm โ Circuit Lower Bounds.
- Breakthroughs where previous approaches failed (NEXP โ ACC0).
- Believed to be possible for strong circuits (even ๐/๐๐๐๐ง).
Context: A Frontier of Circuit Complexity, Depth-2 Threshold Circuits
THR gates : ๐ ๐ฆ = ๐ฅ โ ๐ฆ โฅ ๐ข ๐ฅ โ ๐๐, ๐ข โ ๐. MAJ gates : when ๐ฅ๐โs and ๐ข are bounded by poly(n). THRโTHR
THR THR THR THR
We can also define ๐ผ๐ฐ๐บ โ ๐ต๐ฉ๐ฒ ๐ต๐ฉ๐ฒ โ ๐ผ๐ฐ๐บ ๐ต๐ฉ๐ฒ โ ๐ต๐ฉ๐ฒ
Context: A Frontier of Circuit Complexity, Depth-2 Threshold Circuits
Exponential Lower Bounds are known for ๐๐ต๐พ โ ๐๐ต๐พ [Hajnal-Maass-Pudlรกk-Szegedy-Turรกnโ93] ๐๐ต๐พ โ ๐๐ผ๐ [Nisanโ94] ๐๐ผ๐ โ ๐๐ต๐พ [Forster-Krause-Lokam-Mubarakzjanov-
Schmitt-Simonโ01]
Frontier Open Question: Is NEXP โ ๐ผ๐ฐ๐บ โ ๐ผ๐ฐ๐บ? Potential Approaches in this talk.
NEXP Non-deterministic Exponential Time.
Motivation: Apply the Algorithmic Method to THR of THR?
โญ-SAT
๐ท โ๐ฆ ?
โ x s.t. ๐ท ๐ฆ = 1?
โญ-CAPP
๐ท
Estimate quantity Pr
๐ฆโผ๐๐[๐ท ๐ฆ = 1],
with additive error ๐
๐ฆ โผ ๐๐ What Circuit-Analysis Tasks?
Non-trivial Circuit- Analysis Algorithms โCircuit Lower Bounds
Derandomization!!
๐: constant or inverse polynomial
2๐/๐๐(1) time?
Most previous work on the algorithmic method exploits SAT algorithms.
Problem
SAT of THR of THR is probably very hard. A special case is MAX-๐-SAT, for which no non- trivial (2๐/๐๐(1) time) algorithm is known for ๐ = ๐(log ๐) and ๐๐๐๐ง(๐) clauses. Considered to be a barrier for the Algorithmic Approach.
THRโTHR
THR THR THR THR
MAX-๐-SAT
MAJ ๐๐๐ ๐๐๐ ๐๐๐
Motivation: Apply the Algorithmic Method to THR of THR?
SAT of THR of THR : probably very hard But derandomization is widely believed to be possible.
From Derandomization (CAPP) โ Circuit Lower Bounds For a circuit class โญ,
- 2๐/๐๐(1)-time CAPP for (๐๐๐๐ช๐ฉ๐ฆ๐ณ(๐) โ ๐๐๐ โ ๐ฏ)
โ ๐๐น๐๐ โ โญ [Williamsโ13/14, Santhanam Williamsโ14, Ben-Sasson Violaโ14]
- 2๐/๐๐(1)-time CAPP for (๐ฉ๐ซ๐ โ ๐ฏ)
โ ๐๐น๐๐ canโt be
1 2 + ๐(1)-approximated by โญ [R. Chen Oliveira
Santhanamโ18]
- 2๐โ๐๐-time CAPP for (๐๐๐๐ช๐ฉ๐ฆ๐ณ(๐) โ ๐๐๐ โ ๐ฏ)
โ ๐๐ ๐ โ โญ [Murray Williamsโ18]
- 2๐โ๐๐-time CAPP for (๐๐๐ โ ๐ฏ)
โ ๐๐ ๐ canโt be
1 2 + ๐(1)-approximated by โญ [L. Chenโ19]
NQP Non-deterministic Quasi-Polynomial
- Time. (๐๐๐๐๐๐๐๐(๐))
Motivation: Apply the Algorithmic Method to THR of THR?
Back to THR of THR
SAT of THR of THR : probably very hard To show ๐๐น๐๐ โ ๐๐ผ๐ โ ๐๐ผ๐, we need to derandomize ANDpoly(๐) โ OR3 โ ๐๐ผ๐ โ ๐๐ผ๐, which could be harder. Our result 1 It suffices to derandomize ๐๐ผ๐ โ ๐๐ผ๐. Our result 2 Surprisingly, it indeed only suffices to derandomize ๐๐ผ๐ โ ๐๐ต๐พ or ๐๐ต๐พ โ ๐๐ต๐พ!
General Result: A Stronger Connection Between Circuit-Analysis Algorithms and Circuit Lower Bounds
For a circuit class โญ:
- ๐๐/๐๐(๐)-time CAPP for โ2โ โญ, ๐ต๐๐ธ2 โ โญ, or ๐๐2 โ โญ
โ ๐๐น๐๐ โ โญ.
- ๐๐โ๐๐ป-time CAPP for โ2โ โญ, ๐ต๐๐ธ2 โ โญ, or ๐๐2 โ โญ
โ ๐๐ ๐ โ โญ.
Why the constant โ2โ?
- Short answer: A PCP system needs
to make at least 2 queries.
- Long answer: See the paperโบ
Tighter Connections for Algorithms/Lower Bounds for THR of THR
Luckily, the โ2โ doesnโt matter for ๐๐ผ๐ โ ๐๐ผ๐ โบ
โ๐โ ๐ผ๐ฐ๐บ โ ๐ผ๐ฐ๐บ โ ๐ผ๐ฐ๐บ โ ๐ผ๐ฐ๐บ
2๐/๐๐(1)-time CAPP algorithm for ๐๐ผ๐ โ ๐๐ผ๐ โ ๐๐น๐๐ โ ๐๐ผ๐ โ ๐๐ผ๐. 2๐/๐๐(1)-time CAPP algorithm for ๐๐ท๐ โ ๐๐น๐๐ โ ๐๐ท๐. ๐ผ๐ซ๐: depth-d, poly-size, linear threshold circuits
Let Us Make Our Life Even Easier
THR THR THR THR MAJ MAJ MAJ MAJ
Poly-size ๐ผ๐ฐ๐บ โ ๐ผ๐ฐ๐บ and ๐ต๐ฉ๐ฒ โ ๐ต๐ฉ๐ฒ are equivalent for Non-Trivial (2๐/๐๐(1) time) CAPP Algorithms when ๐ = 1/๐๐๐๐ง ๐ !
Proved by new structure lemmas for ๐๐ผ๐ โ ๐๐ผ๐
Let Us Make Our Life Even Easier
THR THR THR THR THR MAJ MAJ MAJ
Poly-size ๐ผ๐ฐ๐บ โ ๐ผ๐ฐ๐บ and ๐ผ๐ฐ๐บ โ ๐ต๐ฉ๐ฒ are equivalent for Non-Trivial (2๐/๐๐(1) time) CAPP Algorithms for any constant ๐ > 0!
Proved by new structure lemmas for ๐๐ผ๐ โ ๐๐ผ๐
Corollary
If there are
2๐/๐๐(1)-time CAPP for ๐๐ต๐พ โ ๐๐ต๐พ with ๐ = 1/๐๐๐๐ง(๐), or a 2๐/๐๐(1)-time CAPP for ๐๐ผ๐ โ ๐๐ต๐พ with constant ๐,
then ๐ถ๐ญ๐๐ธ โ ๐ผ๐ฐ๐บ โ ๐ผ๐ฐ๐บ.
Another Application: Inapproximability by Depth-2 Neural Networks
Depth-2 Neural Network
โ THR THR THR
๐ฅ1 ๐ฅ2 ๐ฅ3
โ ReLU ReLU ReLU
๐ฅ1 ๐ฅ2 ๐ฅ3
Thm For every ๐ and constant ๐ < 1/2, there is a function ๐ โ ๐๐ such that ๐ cannot be ๐ approximated by Depth-2 Neural Networks of size ๐๐ Improved [Wilโ18], which proved that there is such an ๐ โ ๐๐ which cannot be exactly computed by Depth-2 Neural Networks of size ๐๐.
๐ ๐ฆ โ เท
๐
๐ฅ๐ โ ๐๐ผ๐๐ ๐ฆ โ โ ๐ ๐ฆ โ เท
๐
๐ฅ๐ โ ๐๐๐๐๐ ๐ฆ โ โ
Philosophy
Using PCP Algorithmically to Prove Circuit Lower Bounds (Remember: PCPs are algorithms!)
If you want to prove ๐ธ = ๐ถ๐ธ, then PCPs should make your life much easier (now you only need an algorithm for (
๐ ๐ + ๐ป)-
approximation to 3-SAT!) [Hรฅstadโ97]
(Well, I donโt really believe in ๐ = ๐๐.) We only want to derandomize circuits. But PCPs still make our life easier (though in a more indirect way)
Starting Point: Non-deterministic Derandomization Suffices for Circuit Lower Bounds
โญ-GAP-TAUT (tautology)
๐ท
Distinguish between
- 1. Pr
๐ฆ [๐ท ๐ฆ = 1] = 1.
(Yes Case)
- 2. Pr
๐ฆ [๐ท ๐ฆ = 1] โค ๐.
(No Case)
๐ฆ โผ ๐๐ [Wilโ13] 2๐/๐๐(1) time non-deterministic algorithm for GAP-TAUT
- n poly-size general
circuits with ๐ = 1/2 โ ๐๐น๐๐ โ ๐/๐๐๐๐ง.
Non-deterministic Algorithm for GAP-TAUT
Given a general circuit ๐ท, we want a 2๐/๐๐(1) time non-deterministic algo ๐น, such that:
- 1. If ๐ท is a tautology, then ๐น accepts on some guesses.
- 2. If Pr
๐ฆ ๐ท ๐ฆ = 1 โค 1/2, ๐น rejects on all guesses.
Proof Overview: Outline
Assume ๐๐น๐๐ โ โญ Non-trivial CAPP on OR3 โ โญ with constant ๐ 2๐/๐๐(1) non- deterministic GAP- TAUT for ๐/๐๐๐๐ง ๐๐น๐๐ โ ๐/๐๐๐๐ง โ ๐๐น๐๐ โ โญ Contradiction!
Starting Point [Wilโ13]
2๐/๐๐(1) time non-deterministic algorithm for GAP-TAUT
- n poly-size general circuits with ๐ = 1/2
โ ๐๐น๐๐ โ ๐/๐๐๐๐ง. Key point: make use of this assumption as much as possible!
Think of โญ as ๐๐ผ๐ โ ๐๐ผ๐
Goal: Designing the Algorithm under Assumption
Goal
Given an ๐๐ต๐๐ธ circuit ๐ท, under the two assumptions, design a 2๐/๐๐(1) time non-deterministic algo ๐น, such that:
- 1. If ๐ท is a tautology, then ๐น accepts on some guesses.
- 2. If Pr
๐ฆ ๐ท ๐ฆ = 1 โค 1/2, ๐น rejects on all guesses.
๐๐ต๐๐ธ ๐ฆ, ๐ง โ ๐๐๐(๐ต๐๐ธ(๐ฆ, ๐ง)) It is universal
Assume ๐๐น๐๐ โ โญ Non-trivial CAPP on OR3 โ โญ with constant ๐ 2๐/๐๐(1) non-deterministic GAP-TAUT
- n ๐/๐๐๐๐ง
Think of โญ as ๐๐ผ๐ โ ๐๐ผ๐
Review: Approach of [Wilโ14] Guess-and-Verify-Equivalence
๐๐น๐๐ โ โญ implies ๐/๐๐๐๐ง collapses to โญ. That is, under assumption, the given general circuit ๐ท has an equivalent ๐ฏ circuit ๐ฌ. If we can find ๐ฌ, then we can derandomize ๐ธ instead, where we have algorithms!
Problem: How to find ๐ฌ?
Allowed to use non-determinism so one can guess ๐ธ. But still have to verify ๐ธ is equivalent to ๐ท, which seems HARD.
Solution
Well, just guess more
circuits!
Review: Approach of [Wilโ14] Guess-and-Verify-Equivalence
Suppose ๐ท has ๐ gates, let ๐ท1, ๐ท2, โฏ , ๐ท๐ be the corresponding sub-circuits.
- 1. ๐ท๐ is the output gate.
- 2. ๐ท1, โฏ , ๐ท๐ are inputs.
๐๐น๐๐ โ โญ implies ๐/๐๐๐๐ง collapses to โญ. We guess โญ circuits ๐ธ1, ๐ธ2, โฏ , ๐ธ๐, hoping that ๐ธ๐ โก ๐ท๐.
We wish to check ๐ธ๐ โก ๐ท โก ๐ท๐. To do this, for each ๐ โ {๐ + 1, ๐ + 2, โฏ , ๐}, suppose gate-๐ has inputs from gate-๐1 and gate-๐2. We verify ๐ถ๐ฉ๐ถ๐ฌ ๐ฌ๐๐ ๐ , ๐ฌ๐๐ ๐ โก ๐ฌ๐ ๐ . Then run CAPP on ๐ธ๐. Problem
Checking ๐ถ๐ฉ๐ถ๐ฌ ๐ฌ๐๐ ๐ , ๐ฌ๐๐ ๐ = ๐ฌ๐ ๐ for all ๐ requires solving SAT for ๐ฉ๐ถ๐ฌ๐ โ ๐ฏ.
A Local-checkable Proof System View
Problem: the previous approach requires solving SAT for ๐ต๐๐ธ3 โ โญ.
Let ๐ ๐ฆ โ ๐ธ๐+1 ๐ฆ , ๐ธ๐+2 ๐ฆ , โฏ , ๐ธ๐ ๐ฆ . This is a Claimed Proof for ๐ท๐ ๐ฆ = 1 by giving values at all gates. Intuitively, it is supposed to be the computation history of ๐ซ on input ๐.
Local checks on ๐ โ ๐(๐)
- For each ๐ โ {๐ + 1, ๐ + 2, โฏ , ๐},
๐๐ต๐๐ธ ๐ธ๐1 ๐ฆ , ๐ธ๐2 ๐ฆ = ๐ธ๐(๐ฆ).
- ๐ธ๐ ๐ฆ = 1.
What is so good about this proof ๐(๐ฆ)?
A Local-checkable Proof System View
Let ๐ ๐ฆ โ ๐ธ๐+1 ๐ฆ , ๐ธ๐+2 ๐ฆ , โฏ , ๐ธ๐ ๐ฆ . A Claimed Proof for ๐ท๐ ๐ฆ = 1 by giving values at all gates. One can get โ = ๐ ๐ = ๐๐๐๐ง(๐) functions ๐บ
1, ๐บ2, โฏ , ๐บโ on
๐ฆ โ ๐(๐ฆ), such that
- Each ๐บ๐ is an ๐ท๐บ of 3 bits (or their negations) from ๐ฆ โ ๐(๐ฆ).
- If ๐ท ๐ฆ = 1, on the correct guesses ๐ธ๐+1, โฏ , ๐ธ๐, all ๐บ๐โs are
satisfied by ๐ฆ โ ๐ ๐ฆ . (Completeness)
- If ๐ท ๐ฆ = 0, for all possible ๐ ๐ฆ , at least one ๐บ๐ is not
satisfied by ๐ฆ โ ๐ ๐ฆ . (Soundness)
Guess circuits ๐ธ๐+1, , โฏ , ๐ธ๐, let ๐ ๐ฆ โ ๐ธ๐+1 ๐ฆ , ๐ธ๐+2 ๐ฆ , โฏ , ๐ธ๐ ๐ฆ . Estimate ๐ฝ๐โ[โ]๐ฝ๐ฆ[๐บ๐(๐ฆ โ ๐(๐ฆ))]. (๐บ๐ ๐ฆ โ ๐ ๐ฆ โ ๐๐3 โ โญ.) (โ:number of ๐บ๐โs)
- If ๐ท is a tautology. Then on the correct guess,
๐ฝ๐โ[โ]๐ฝ๐ฆ ๐บ๐ ๐ฆ โ ๐ ๐ฆ = 1.
- If Pr
๐ฆ ๐ท ๐ฆ = 1 โค 1/2, then on all guesses,
๐ฝ๐โ[โ]๐ฝ๐ฆ ๐บ๐ ๐ฆ โ ๐ ๐ฆ โค 1 โ
1 2โ.
An Attempt
- To distinguish the above two cases, we need a CAPP algo with
error
1 2โ = 1 ๐๐๐๐ง(๐).
- But we only assume a CAPP algo with constant error!
What Went Wrong?
One can get โ = ๐(๐) functions ๐บ
1, ๐บ 2, โฏ , ๐บ โ on ๐ฆ โ ๐(๐ฆ), such that
- Each ๐บ
๐ is an ๐๐ of 3 bits (or their negations) from ๐ฆ โ ๐(๐ฆ).
- If ๐ท ๐ฆ = 1, on the correct guess ๐ธ๐+1, โฏ , ๐ธ๐, all ๐บ
๐โs are satisfied by ๐ฆ โ ๐ ๐ฆ .
(Completeness is 1)
- If ๐ท ๐ฆ = 0, for all possible ๐ ๐ฆ , at least one ๐บ
๐ is not satisfied by ๐ฆ โ ๐ ๐ฆ .
(Soundness is ๐ โ ๐/โ)
This is an extremely ``badโโ PCP! Why not just use the PCP theorem?
If there is a verifier who picks a random ๐ โ โ , and checks whether ๐บ
๐ ๐ฆ โ ๐ ๐ฆ
= 1. She detects an error only with probability ๐/โ when ๐ท ๐ฆ = 0.
Proof System Vie iew ๐(๐ฆ) : a claimed proof of ๐ท ๐ฆ = 1 ๐บ๐ : local check of the verifier
Issues When Applying PCPs Directly
Recall that in the end we want to estimate ๐ฝ๐โ[โ]๐ฝ๐ฆ ๐บ๐ ๐ฆ โ ๐ ๐ฆ . Key properties being used in previous attempt:
These local checks ๐ฎ๐ (verifierโs queries positions) do not depend on the input ๐!
Use PCPs of Proximity!
Like PCPs but both input and proof are given as oracles. PCPs V ๐ฆ (input) ๐(๐ฆ) (proof)
Unlimited access 3 queries
Now, ๐บ
๐(๐ฆ โ ๐(๐ฆ)) can depend on many bits of ๐ฆ.
PCPs of Proximity V ๐ฆ (input) ๐(๐ฆ) (proof)
3 queries in total
๐บ๐ ๐ฆ โ ๐ ๐ฆ โ ๐๐3 โ โญ
Issues When Applying PCP Directly
Therefore, we want a proof system for verifying ๐ท ๐ฆ = 1, such that given the random bits, verifier ๐ queries both input ๐ and proof ๐(๐).
- 1. If ๐ท ๐ฆ = 1, โ ๐(๐ฆ), such that ๐๐ฆโ๐(๐ฆ) always accept.
- 2. If ๐ท ๐ฆ = 0, โ ๐(๐ฆ), ๐๐ฆโ๐(๐ฆ)rejects w.h.p.
Counter-example?
Suppose ๐ท computes the parity. Parity changes if we flip a random bit of ๐ฆ. The verifier canโt distinguish unless she queried that bit.
Solution
Give ๐ access to an error correcting code of ๐ฆ!
Combing PCP of Proximity and ECCs
PCP of Proximity
Verifier ๐ is given both the input (๐) and the proof ๐(๐) as oracles and makes 3 queries.
- ๐๐ฆโ๐(๐ฆ) accepts w.p. 1, when ๐ท ๐ฆ = 1;
- ๐๐ฆโ๐(๐ฆ) accepts w.p. ๐ < 1, when ๐ฆ makes ๐ท robustly output ๐
(๐ซ is zero in a small hamming ball around ๐ฆ). (like property testing)
How it avoids the parity counter example? No inputs can make parity robustly output ๐! V
๐ฆ (input) ๐(๐ฆ) (proof)
3 queries in total
PCP of Proximity with ECCs
Verifier ๐ is given both the encoded input (๐น๐ท๐ท(๐ฆ)) and the proof ๐(๐ฆ) as oracles and makes 3 queries.
- ๐๐น๐ท๐ท(๐ฆ)โ๐(๐ฆ) accepts w.p. 1, when ๐ท ๐ฆ = 1;
- ๐๐น๐ท๐ท(๐ฆ)โ๐(๐ฆ) accepts w.p. ๐บ < ๐, when ๐ท ๐ฆ = 0.
Use ๐ธ๐ซ๐ธ of Proximity for verifying ๐ญ ๐ โ ๐ซ ๐ฌ๐ญ๐ซ ๐ = ๐, ๐น๐ท๐ท(๐ฆ) makes ๐น(โ ) robustly output ๐ when ๐ท ๐ฆ = 0! DEC(corrupted ๐น๐ท๐ท(๐ฆ)) is still ๐ฆ โบ
Final Algorithm
Estimate ๐ฝ๐โ[โ]๐ฝ๐ฆ[๐บ๐(๐น๐ท๐ท(๐ฆ) โ ๐(๐ฆ))]. (๐บ๐ ๐ฆ โ ๐ ๐ฆ โ ๐๐3 โ โญ.).
- If ๐ท is a tautology. Then on the correct guesses,
๐ฝ๐โ[โ]๐ฝ๐ฆ ๐บ๐ ๐ฆ โ ๐ ๐ฆ = 1.
- If Pr
๐ฆ ๐ท ๐ฆ = 1 โค 1/2, then on all guesses,
๐ฝ๐โ[โ]๐ฝ๐ฆ ๐บ๐ ๐ฆ โ ๐ ๐ฆ โค 1 โ ๐/2. Guess circuits ๐ธ๐+1, , โฏ , ๐ธ๐, let ๐ ๐ฆ โ ๐ธ๐+1 ๐ฆ , ๐ธ๐+2 ๐ฆ , โฏ , ๐ธ๐ ๐ฆ . Fix ๐น๐ท๐ท to be ๐พ2-linear. That is, ๐น๐ท๐ท ๐ฆ ๐ is a parity on a subset of bits in ๐ฆ. Suppose there is uniform parity circuit in โญ for now (this assumption can be avoided) Now constant error CAPP algo for ๐๐3 โ โญ suffices!