DNF Sparsification and Counting Raghu Meka (IAS, Princeton) Parikshit Gopalan (MSR, SVC) Omer Reingold (MSR, SVC)

Slides:



Advertisements
Similar presentations
How to Solve Longstanding Open Problems In Quantum Computing Using Only Fourier Analysis Scott Aaronson (MIT) For those who hate quantum: The open problems.
Advertisements

Agnostically Learning Decision Trees Parikshit Gopalan MSR-Silicon Valley, IITB00. Adam Tauman Kalai MSR-New England Adam R. Klivans UT Austin
Analysis of Algorithms
Pseudorandomness from Shrinkage David Zuckerman University of Texas at Austin Joint with Russell Impagliazzo and Raghu Meka.
Pseudorandom Generators for Polynomial Threshold Functions 1 Raghu Meka UT Austin (joint work with David Zuckerman)
Linear-Degree Extractors and the Inapproximability of Max Clique and Chromatic Number David Zuckerman University of Texas at Austin.
Sep 16, 2013 Lirong Xia Computational social choice The easy-to-compute axiom.
Pseudorandom Generators from Invariance Principles 1 Raghu Meka UT Austin.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
COMPLEXITY THEORY CSci 5403 LECTURE XVI: COUNTING PROBLEMS AND RANDOMIZED REDUCTIONS.
Pseudorandomness from Shrinkage David Zuckerman University of Texas at Austin Joint with Russell Impagliazzo and Raghu Meka.
Extracting Randomness David Zuckerman University of Texas at Austin.
10/7/2014 Constrainedness of Search Toby Walsh NICTA and UNSW
A threshold of ln(n) for approximating set cover By Uriel Feige Lecturer: Ariel Procaccia.
Sep 15, 2014 Lirong Xia Computational social choice The easy-to-compute axiom.
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
Restriction Access, Population Recovery & Partial Identification Avi Wigderson IAS, Princeton Joint with Zeev Dvir Anup Rao Amir Yehudayoff.
Propositional and First Order Reasoning. Terminology Propositional variable: boolean variable (p) Literal: propositional variable or its negation p 
Queries with Difference on Probabilistic Databases Sanjeev Khanna Sudeepa Roy Val Tannen University of Pennsylvania 1.
Counting Algorithms for Knapsack and Related Problems 1 Raghu Meka (UT Austin, work done at MSR, SVC) Parikshit Gopalan (Microsoft Research, SVC) Adam.
Better Pseudorandom Generators from Milder Pseudorandom Restrictions Raghu Meka (IAS) Parikshit Gopalan, Omer Reingold (MSR-SVC) Luca Trevian (Stanford),
Yi Wu (CMU) Joint work with Parikshit Gopalan (MSR SVC) Ryan O’Donnell (CMU) David Zuckerman (UT Austin) Pseudorandom Generators for Halfspaces TexPoint.
Adaptive annealing: a near-optimal connection between sampling and counting Daniel Štefankovi č (University of Rochester) Santosh Vempala Eric Vigoda (Georgia.
Derandomization: New Results and Applications Emanuele Viola Harvard University March 2006.
1 Polynomial Church-Turing thesis A decision problem can be solved in polynomial time by using a reasonable sequential model of computation if and only.
Arithmetic Hardness vs. Randomness Valentine Kabanets SFU.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
1 Polynomial Time Reductions Polynomial Computable function : For any computes in polynomial time.
NP-Complete Problems Problems in Computer Science are classified into
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
CS151 Complexity Theory Lecture 6 April 15, 2004.
In a World of BPP=P Oded Goldreich Weizmann Institute of Science.
1 The Theory of NP-Completeness 2 NP P NPC NP: Non-deterministic Polynomial P: Polynomial NPC: Non-deterministic Polynomial Complete P=NP? X = P.
Pseudorandom Generators for Combinatorial Shapes 1 Parikshit Gopalan, MSR SVC Raghu Meka, UT Austin Omer Reingold, MSR SVC David Zuckerman, UT Austin.
CSEP 521 Applied Algorithms Richard Anderson Lecture 10 NP Completeness.
Endre Szemerédi & TCS Avi Wigderson IAS, Princeton.
An FPTAS for #Knapsack and Related Counting Problems Parikshit Gopalan Adam Klivans Raghu Meka Daniel Štefankovi č Santosh Vempala Eric Vigoda.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
Amplification and Derandomization Without Slowdown Dana Moshkovitz MIT Joint work with Ofer Grossman (MIT)
CS 3343: Analysis of Algorithms Lecture 25: P and NP Some slides courtesy of Carola Wenk.
My Favorite Ten Complexity Theorems of the Past Decade II Lance Fortnow University of Chicago.
CSE 6311 – Spring 2009 ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS Lecture Notes – Feb. 3, 2009 Instructor: Dr. Gautam Das notes by Walter Wilson.
NPC.
NP Completeness Piyush Kumar. Today Reductions Proving Lower Bounds revisited Decision and Optimization Problems SAT and 3-SAT P Vs NP Dealing with NP-Complete.
Young CS 331 D&A of Algo. NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and.
Pseudo-random generators Talk for Amnon ’ s seminar.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
NP-Completeness A problem is NP-complete if: It is in NP
Chapter 10 NP-Complete Problems.
Computational Complexity Theory
Richard Anderson Lecture 26 NP-Completeness
Richard Anderson Lecture 26 NP-Completeness
Monomer-dimer model and a new deterministic approximation algorithm for computing a permanent of a 0,1 matrix David Gamarnik MIT Joint work with Dmitriy.
Intro to Theory of Computation
Queries with Difference on Probabilistic Databases
Tight Fourier Tails for AC0 Circuits
My Favorite Ten Complexity Theorems of the Past Decade II
ICS 353: Design and Analysis of Algorithms
Pseudo-derandomizing learning and approximation
Richard Anderson Lecture 25 NP-Completeness
NP-Completeness Proofs
Chapter 11 Limitations of Algorithm Power
DNF Sparsification and Counting
NP-Completeness Yin Tat Lee
CSE 6408 Advanced Algorithms.
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979.
CSE 589 Applied Algorithms Spring 1999
On Derandomizing Algorithms that Err Extremely Rarely
Presentation transcript:

DNF Sparsification and Counting Raghu Meka (IAS, Princeton) Parikshit Gopalan (MSR, SVC) Omer Reingold (MSR, SVC)

Can we Count? 2 Count proper 4-colorings? 533,816,322,048!O(1)

Can we Count? 3 Count satisfying solutions to a 2-SAT formula? Count satisfying solutions to a DNF formula? Count satisfying solutions to a CNF formula? Seriously?

Counting vs Solving Counting interesting even if solving “easy”. Four colorings: Always solvable!

Counting vs Solving Counting interesting even if solving “easy”. Matchings Solving – Edmonds 65 Counting – Jerrum, Sinclair 88 Jerrum, Sinclair Vigoda 01

Counting vs Solving Counting interesting even if solving “easy”. Spanning Trees Counting/Sampling: Kirchoff’s law, Effective resistances

Counting vs Solving Counting interesting even if solving “easy”. Thermodynamics = Counting

Conjunctive Normal Formulas Width w Size m

Conjunctive Normal Formulas Extremely well studied Width three = 3-SAT

Disjunctinve Normal Formulas Extremely well studied

Counting for CNFs/DNFs INPUT: CNF f OUTPUT: No. of accepting solutions INPUT: DNF f OUTPUT: No. of accepting solutions #CNF #DNF #P-Hard

Counting for CNFs/DNFs INPUT: CNF f OUTPUT: Approximation for No. of solutions INPUT: DNF f OUTPUT: Approximation for No. of solutions #CNF #DNF

Approximate Counting Focus on additive for good reason Additive error: Compute p

Counting for CNFs/DNFs Randomized algorithm: Sample and check “The best throw of the die is to throw it away” -

Derandomizing simple classes is important. –Primes is in P - Agarwal, Kayal, Saxena 2001 –SL=L – Reingold 2005 CNFs/DNFs as simple as they get Why Deterministic Counting? #P introduced by Valiant in Can’t solve #P-hard problems exactly. Duh. Approximate Counting ~ Random Sampling Jerrum, Valiant, Vazirani 1986 Approximate Counting ~ Random Sampling Jerrum, Valiant, Vazirani 1986 Triggered counting through MCMC: Eg., Matchings (Jerrum, Sinclair, Vigoda 01) Does counting require randomness?

Counting for CNFs/DNFs ReferenceRun-Time Ajtai, Wigderson 85 Sub-exponential Nisan, Wigderson 88 Quasi-polynomial Luby, Velickovic, Wigderson Luby, Velickovic 91Better than quasi, but worse than poly. Karp, Luby 83 – MCMC counting for DNFs No improvemnts since!

Our Results Main Result: A deterministic algorithm. New structural result on CNFs Strong “junta theorem’’ for CNFs New approach to switching lemma –Fundamental result about CNFs/DNFs, Ajtai 83, Hastad 86; proof mysterious

Counting Algorithm Step 1: Reduce to small-width –Same as Luby-Velickovic Step 2: Solve small-width directly –Structural result: width buys size

How big can a width w CNF be? Eg., can width = O(1), size = poly(n)? Recall: width = max-length of clause size = no. of clauses Width vs Size Size does not depend on n or m!

Proof of Structural result Observation 1: Many disjoint clauses => small acceptance prob.

Proof of Structural result 2: Many clauses => some (essentially) disjoint (Core) Petals Assume no negations. Clauses ~ subsets of variables. Assume no negations. Clauses ~ subsets of variables.

Proof of Structural result 2: Many clauses => some (essentially) disjoint Many small sets => Large

Lower Sandwiching CNF Error only if all petals satisfied k large => error small Repeat until CNF is small

Upper Sandwiching CNF Error only if all petals satisfied k large => error small Repeat until CNF is small

“Quasi-sunflowers” (Rossman 10) with appropriately adapted analysis: Main Structural Result Setting parameters properly: Suffices for counting result. Not the dependence we promised. Suffices for counting result. Not the dependence we promised.

Implications of Structural Result PRGs for small-width DNFs DNF Counting

PRGs for Narrow DNFs Sparsification Lemma: Fooling small-width same as fooling small-size. Small-bias fools small size: DETT10 (Baz09, KLW10). Previous best (AW85, Tre01) : Thm: PRG for width w with seed

Counting Algorithm Step 1: Reduce to small-width –Same as Luby-Velickovic Step 2: Solve small-width directly –Structural result: width buys size PRG for width w with seed

Hash using pairwise independence Use PRG for small-width in each bucket Most large clauses break; discard others Reducing width for #CNF (LV91) x1 x2 x3 … … xn x5 x4 xk … … x1 x3 xk x5 x4 x2 12t … … xn … … x5 x4 x2 2t xn x3 xk x5

Open Question Necessary: Q: Deterministic polynomial time algorithm for #CNF? PRG?

Thank you