Proclaiming Dictators and Juntas or Testing Boolean Formulae Michal Parnas Dana Ron Alex Samorodnitsky.

Slides:



Advertisements
Similar presentations
Tests of Hypotheses Based on a Single Sample
Advertisements

Property Testing of Data Dimensionality Robert Krauthgamer ICSI and UC Berkeley Joint work with Ori Sasson (Hebrew U.)
Approximate List- Decoding and Hardness Amplification Valentine Kabanets (SFU) joint work with Russell Impagliazzo and Ragesh Jaiswal (UCSD)
Circuit and Communication Complexity. Karchmer – Wigderson Games Given The communication game G f : Alice getss.t. f(x)=1 Bob getss.t. f(y)=0 Goal: Find.
Gillat Kol joint work with Ran Raz Locally Testable Codes Analogues to the Unique Games Conjecture Do Not Exist.
Cook’s Theorem The Foundation of NP-Completeness.
Gibbs sampler - simple properties It’s not hard to show that this MC chain is aperiodic. Often is reversible distribution. If in addition the chain is.
6.896: Topics in Algorithmic Game Theory Lecture 11 Constantinos Daskalakis.
Learning Juntas Elchanan Mossel UC Berkeley Ryan O’Donnell MIT Rocco Servedio Harvard.
Having Proofs for Incorrectness
1 Distribution-free testing algorithms for monomials with a sublinear number of queries Elya Dolev & Dana Ron Tel-Aviv University.
Distribution-free testing algorithms for monomials with a sublinear number of queries Elya Dolev & Dana Ron Tel-Aviv University.
1 The Monte Carlo method. 2 (0,0) (1,1) (-1,-1) (-1,1) (1,-1) 1 Z= 1 If  X 2 +Y 2  1 0 o/w (X,Y) is a point chosen uniformly at random in a 2  2 square.
Property Testing: A Learning Theory Perspective Dana Ron Tel Aviv University.
Asaf Shapira (Georgia Tech) Joint work with: Arnab Bhattacharyya (MIT) Elena Grigorescu (Georgia Tech) Prasad Raghavendra (Georgia Tech) 1 Testing Odd-Cycle.
Oded Goldreich Shafi Goldwasser Dana Ron February 13, 1998 Max-Cut Property Testing by Ori Rosen.
Testing the Diameter of Graphs Michal Parnas Dana Ron.
Putting a Junta to the Test Joint work with Eldar Fischer, Dana Ron, Shmuel Safra, and Alex Samorodnitsky Guy Kindler.
Some Techniques in Property Testing Dana Ron Tel Aviv University.
Deciding Primality is in P M. Agrawal, N. Kayal, N. Saxena Slides by Adi Akavia.
Testing of Clustering Noga Alon, Seannie Dar Michal Parnas, Dana Ron.
Sublinear Algorithms for Approximating Graph Parameters Dana Ron Tel-Aviv University.
Michael Bender - SUNY Stony Brook Dana Ron - Tel Aviv University Testing Acyclicity of Directed Graphs in Sublinear Time.
Testing Metric Properties Michal Parnas and Dana Ron.
On Proximity Oblivious Testing Oded Goldreich - Weizmann Institute of Science Dana Ron – Tel Aviv University.
1 On approximating the number of relevant variables in a function Dana Ron & Gilad Tsur Tel-Aviv University.
On Testing Convexity and Submodularity Michal Parnas Dana Ron Ronitt Rubinfeld.
1 On the Benefits of Adaptivity in Property Testing of Dense Graphs Joint work with Mira Gonen Dana Ron Tel-Aviv University.
1 Algorithmic Aspects in Property Testing of Dense Graphs Oded Goldreich – Weizmann Institute Dana Ron - Tel-Aviv University.
1 On the Benefits of Adaptivity in Property Testing of Dense Graphs Joint works with Mira Gonen and Oded Goldreich Dana Ron Tel-Aviv University.
Lecture 20: April 12 Introduction to Randomized Algorithms and the Probabilistic Method.
On Testing Computability by small Width OBDDs Oded Goldreich Weizmann Institute of Science.
A Tutorial on Property Testing Dana Ron Tel Aviv University.
Some 3CNF Properties are Hard to Test Eli Ben-Sasson Harvard & MIT Prahladh Harsha MIT Sofya Raskhodnikova MIT.
Dana Moshkovitz, MIT Joint work with Subhash Khot, NYU.
PAC learning Invented by L.Valiant in 1984 L.G.ValiantA theory of the learnable, Communications of the ACM, 1984, vol 27, 11, pp
Correlation testing for affine invariant properties on Shachar Lovett Institute for Advanced Study Joint with Hamed Hatami (McGill)
The Polynomial Time Algorithm for Testing Primality George T. Gilbert.
Ragesh Jaiswal Indian Institute of Technology Delhi Threshold Direct Product Theorems: a survey.
Quantum Computing MAS 725 Hartmut Klauck NTU TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A.
February 18, 2015CS21 Lecture 181 CS21 Decidability and Tractability Lecture 18 February 18, 2015.
Property Testing: Sublinear-Time Approximate Decisions Oded Goldreich Weizmann Institute of Science Talk at CTW, July 2013.
Quantum Computing MAS 725 Hartmut Klauck NTU
CS151 Complexity Theory Lecture 16 May 20, The outer verifier Theorem: NP  PCP[log n, polylog n] Proof (first steps): –define: Polynomial Constraint.
狄彥吾 (Yen-Wu Ti) 華夏技術學院資訊工程系 Property Testing on Combinatorial Objects.
Complexity and Efficient Algorithms Group / Department of Computer Science Testing the Cluster Structure of Graphs Christian Sohler joint work with Artur.
Why almost all satisfiable k - CNF formulas are easy? Danny Vilenchik Joint work with A. Coja-Oghlan and M. Krivelevich.
Approximation Algorithms based on linear programming.
Pseudorandomness: New Results and Applications Emanuele Viola IAS April 2007.
Complexity and Efficient Algorithms Group / Department of Computer Science Testing the Cluster Structure of Graphs Christian Sohler joint work with Artur.
Theory of Computational Complexity Probability and Computing Chapter Hikaru Inada Iwama and Ito lab M1.
P & NP.
Tali Kaufman (Bar-Ilan)
On Sample Based Testers
Dana Ron Tel-Aviv University
Property Testing (a.k.a. Sublinear Algorithms )
Stochastic Streams: Sample Complexity vs. Space Complexity
Dana Ron Tel Aviv University
On Testing Dynamic Environments
Vitaly Feldman and Jan Vondrâk IBM Research - Almaden
On Approximating the Number of Relevant Variables in a Function
From dense to sparse and back again: On testing graph properties (and some properties of Oded)
Lecture 18: Uniformity Testing Monotonicity Testing
NP-Completeness Yin Tat Lee
Local Decoding and Testing Polynomials over Grids
CIS 700: “algorithms for Big Data”
Noise-Insensitive Boolean-Functions are Juntas
NP-Completeness Yin Tat Lee
Every set in P is strongly testable under a suitable encoding
Switching Lemmas and Proof Complexity
Presentation transcript:

Proclaiming Dictators and Juntas or Testing Boolean Formulae Michal Parnas Dana Ron Alex Samorodnitsky

Testing Properties of Functions or: Testing membership in Function Classes f : {0,1} n -> {0,1} – Tested function; F – Class of functions (e.g. class of parity functions); dist(f,F) - min gF (Pr[f(x)g(x)]) f xf(x)f(x) If fF should accept with probability  2/3 If dist(f,F) >  should reject with probability  2/3

In this work: We consider “The most basic” function classes: Singletons: Monomials: DNF:

Motivation Use testing as preliminary step to learning. That is, to decide what hypothesis class to use. Gain new understanding about function class F through Property Testing perspective.

Previous Work on Property Testing Initially defined by Rubinfeld and Sudan in the context of Program Testing. Tested algebraic properties of functions: low-degree polynomials. Other work on testing algebraic properties: [BLR,R,EKKRV...]. Non-algebraic properties: Monotonicity [GGLRS,DGLRSS,B,FN]. Properties of functions: Properties of other objects: Main focus: Graph properties: [GGR,GR,AK,AFKS,BR,PR,CS...] Growing body of work deals with properties of strings [AKNS,N,PRR], sets of points [PR], geometric objects [CSZ], distributions [BFRW], and more.

Our Results Test whether f is a singleton using queries. Test whether f is a monomial using queries. Test whether f is a monotone DNF with at most t terms using queries. Common theme: no dependence in query complexity on size of input, n, and polynomial dependence on distance parameter, .

Learning Boolean Formulae Basic observation: (proper) learning implies testing. Can learn singletons and monomials under uniform distribution using queries [BEHW]. Can properly learn monotone DNF with t terms and r literals using queries [A+BJT]. Main difference in our work: no dependence on n (though worse dependence on  and t ), and different algorithmic approach.

Testing (Monotone) Singletons Singletons satisfy: (1) (2) Natural test: check, by sampling, that conditions hold (approximately). Can analyze natural test for case that distance between function and class of singletons is not too big (bounded from 1/2).

Testing Singletons II - Parity Testing Observation: Singletons are a special case of parity functions (i.e., functions of the form.) Claim: Let. If then Modified algorithm: (1) Test whether f is a parity function (with dist. par.  ) using algorithm of [BLR]. (2) Uniformly select constant number of pairs x,y and check whether any is a violating pair (i.e.: ).

Testing Singletons III - Self Correcting Use Self-Corrector of [BLR] to “fix” f into parity function (g), and then test violations on self-corrected version. This “almost works”: If f is singleton - always accepted. If f is  -far from parity - rejected w.h.p. But if f is  -close to parity function g, then cannot simply apply claim to argue that many violating pairs w.r.t. f. If we could only test violations w.r.t. g instead of f...

Testing Singletons IIII - The Algorithm Final Algorithm for Testing Singletons: (1) Test whether f is a parity function with dist. par.  using algorithm of [BLR]. (2) Uniformly select constant number of pairs x,y. Verify that Self-Cor(f,x)  Self-Cor(f,y) = Self-Cor(f,xy). (3) Verify that Self-Cor( ) = 1.

Testing (Monotone) Monomials Monomials satisfy: (1) for some int k (2) Here too use some additional structure: In addition to checking conditions (1) and (2), algorithm tests whether F 1 is an affine subspace. (How do we test affinity? Why does this help us? ) If f is a monomial, then F 1 ={x: f(x)=1} is an affine subspace (i.e., exist linear subspace V and y{0,1} n s.t. F 1 =Vy).

Testing Monomials II - Affinity Testing Fact: H is an affine subspace i.f.f. The Affinity Test: Repeat O(1/  2 ) times: Uniformly select x,yF 1, z {0,1} n, verify that ( implies )

Testing Monomials III - Affinity Lemmas Lemma2 (implications of test): If f is close to function g s.t. G 1 =[g(x)=1] is an affine subspace but g is not a monomial then is large. Lemma1 (correctness of affinity test): If f is monomial then affinity test always passes. If f is far from every function g s.t. G 1 =[g(x)=1] is an affine subspace, then test rejects w.h.p. What if f is far from every monomial (so should be rejected) but close to a function g s.t. G 1 =[g(x)=1] is an affine subspace (so may pass affinity test)?

Testing Monomials IIII - The Algorithm Algorithm for Testing Monomials: (1) Check that Pr[f(x)=1] is close to 2 -k for some integer k. (2) Test whether F 1 ={x: f(x)=1} is an affine subspace: Repeat O(1/ 2 ) times: Uniformly select x,yF 1, z {0,1} n, verify that (3) Repeat O(1/  ) times: Uniformly select xF 1, y{0,1} n check whether

Testing Monotone DNF If f is a t-term DNF, then f is the disjunction (“or”) of t monomials f 1,…,f t. High Level Description of Algorithm: Works in (at most t) iterations. In i’th iteration finds string x i that can be used to (implicitly) define function g i. Tests whether each g i is a monotone monomial. Basic idea: Reduce testing DNF to testing monomials.

Testing Monotone DNF II Can Show:  If f is monotone t-term DNF then, w.h.p. all g i ’s are monotone monomials.  If f is far from monotone t-term DNF then, at least one g i is far from monotone monomials (or don’t finish after t iterations). What are x i ’s and how are the g i ’s defined? If f is DNF then x i ’s are “single-term representatives”. That is, each satisfies a single term (monomial) f i in f. Define g i (y)=1 i.f.f. f(x)=1 and f(x i y)=1

Testing Monotone DNF III - Finding Single-Term Rep’s Basic Idea: Suppose f is DNF. For x in F 1 let S(x) denote subset of (indices of) terms satisfied by x. (Note that single-term-rep equiv to S(x).) Consider x,y in F 1. Then S(xy)=S(x)S(y). Furthermore, for fixed x, w.h.p. over random y in F 1, |S(xy)|(3/4)|S(x)|. On the other hand, can bound probability that |S(xy)|=0. Hence, if we start from some x in F 1 (s.t. S(x) contains term that is not yet represented) can obtain new single-term-rep (i.e., x’ s.t. S(x’)=1) w.h.p. in O(log t) steps.

Further Research Are parity/affinity tests necessary for singletons/monomials? Can (cubic) dependence on 1/  in monomial test be improved? Is polynomial (or even linear) dependence on t (num of terms in DNF) really necessary? Can algorithm for testing monotone DNF be extended to general DNF?