The Subgraph Testing Model

Slides:



Advertisements
Similar presentations
Hardness of testing 3- colorability in bounded degree graphs Andrej Bogdanov Kenji Obata Luca Trevisan.
Advertisements

Finding Cycles and Trees in Sublinear Time Oded Goldreich Weizmann Institute of Science Joint work with Artur Czumaj, Dana Ron, C. Seshadhri, Asaf Shapira,
Deterministic vs. Non-Deterministic Graph Property Testing Asaf Shapira Tel-Aviv University Joint work with Lior Gishboliner.
Approximating Average Parameters of Graphs Oded Goldreich, Weizmann Institute Dana Ron, Tel Aviv University.
Christian Sohler | Every Property of Hyperfinite Graphs is Testable Ilan Newman and Christian Sohler.
Artur Czumaj Dept of Computer Science & DIMAP University of Warwick Testing Expansion in Bounded Degree Graphs Joint work with Christian Sohler.
CSC5160 Topics in Algorithms Tutorial 2 Introduction to NP-Complete Problems Feb Jerry Le
Testing of ‘massively parametrized problems’ - Ilan Newman Haifa University Based on joint work with: Sourav Chakraborty, Eldar Fischer, Shirley Halevi,
Proximity Oblivious Testing Oded Goldreich Weizmann Institute of Science Joint work with Dana Ron.
Testing the Diameter of Graphs Michal Parnas Dana Ron.
Proximity Oblivious Testing Oded Goldreich Weizmann Institute of Science Joint work with Dana Ron.
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.
On Testing Computability by small Width OBDDs Oded Goldreich Weizmann Institute of Science.
Finding Cycles and Trees in Sublinear Time Oded Goldreich Weizmann Institute of Science Joint work with Artur Czumaj, Dana Ron, C. Seshadhri, Asaf Shapira,
Some 3CNF Properties are Hard to Test Eli Ben-Sasson Harvard & MIT Prahladh Harsha MIT Sofya Raskhodnikova MIT.
Complexity Classes Kang Yu 1. NP NP : nondeterministic polynomial time NP-complete : 1.In NP (can be verified in polynomial time) 2.Every problem in NP.
Correlation testing for affine invariant properties on Shachar Lovett Institute for Advanced Study Joint with Hamed Hatami (McGill)
Sub-Constant Error Low Degree Test of Almost-Linear Size Dana Moshkovitz Weizmann Institute Ran Raz Weizmann Institute.
A Property Testing Double-Feature of Short Talks Oded Goldreich Weizmann Institute of Science Talk at Technion, June 2013.
Lecture 22 More NPC problems
CSE 024: Design & Analysis of Algorithms Chapter 9: NP Completeness Sedgewick Chp:40 David Luebke’s Course Notes / University of Virginia, Computer Science.
Lower Bounds for Property Testing Luca Trevisan U.C. Berkeley.
Property Testing: Sublinear-Time Approximate Decisions Oded Goldreich Weizmann Institute of Science Talk at CTW, July 2013.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
Artur Czumaj DIMAP DIMAP (Centre for Discrete Maths and it Applications) Computer Science & Department of Computer Science University of Warwick Testing.
CS 461 – Nov. 30 Section 7.5 How to show a problem is NP-complete –Show it’s in NP. –Show that it corresponds to another problem already known to be NP-complete.
Data Reduction for Graph Coloring Problems Bart M. P. Jansen Joint work with Stefan Kratsch August 22 nd 2011, Oslo.
Complexity and Efficient Algorithms Group / Department of Computer Science Testing the Cluster Structure of Graphs Christian Sohler joint work with Artur.
CSC 413/513: Intro to Algorithms
Complexity and Efficient Algorithms Group / Department of Computer Science Testing the Cluster Structure of Graphs Christian Sohler joint work with Artur.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
The NP class. NP-completeness
P & NP.
Chapter 10 NP-Complete Problems.
On Sample Based Testers
Property Testing (a.k.a. Sublinear Algorithms )
Lower Bounds for Property Testing
Randomness and Computation
Richard Anderson Lecture 26 NP-Completeness
Lecture 2-2 NP Class.
On Testing Dynamic Environments
Finding Cycles and Trees in Sublinear Time
Richard Anderson Lecture 26 NP-Completeness
From dense to sparse and back again: On testing graph properties (and some properties of Oded)
Implications of the ETH
On Learning and Testing Dynamic Environments
NP-Completeness Yin Tat Lee
CS21 Decidability and Tractability
ICS 353: Design and Analysis of Algorithms
Richard Anderson Lecture 25 NP-Completeness
Bart Jansen Polynomial Kernels for Hard Problems on Disk Graphs
Introduction to PCP and Hardness of Approximation
Chapter 8 NP and Computational Intractability
NP-Complete Problems.
Graphs and Algorithms (2MMD30)
NP-Completeness Yin Tat Lee
CSE 6408 Advanced Algorithms.
Every set in P is strongly testable under a suitable encoding
Trevor Brown DC 2338, Office hour M3-4pm
Instructor: Aaron Roth
Presentation transcript:

The Subgraph Testing Model Oded Goldreich Weizmann Institute of Science Joint work with Dana Ron.

Property Testing: informal definition A relaxation of a decision problem: For a fixed property P and any given object O, determine whether O has property P or is far from having property P (i.e., O is far from any other object having P). Objects viewed as functions. Inspecting = querying the function/oracle. Focus: sub-linear time algorithms = performing the task by inspecting the object at few locations. ? Objects viewed as functions, inspecting == querying the function/orcale

Property Testing: the standard (one-sided error) def’n A property P = n Pn , where Pn is a set of functions with domain Dn. The tester T gets explicit input n and , and oracle access to a function f with domain Dn. If f  Pn then Prob[Tf(n,) accepts] = 1 (or > 2/3). If f is -far from Pn then Prob[Tf(n,) rejects] > 2/3. (Distance is defined as fraction of disagreements.) N.B.: special (but not exclusive) focus on testability within complexity independent of the domain size. Focus: query complexity, q(n,) « |Dn| Special focus: q(n,)=q(), independent of n. Terminology:  is called the proximity parameter.

The new model: Testing properties of subgraphs For a fixed base graph G=(V,E), let PG be a set of Boolean functions with domain E representing a set of subgraphs of G. The tester T gets explicit input G=(V,E) and , and oracle access to a function f:E0,1. If f  PG then Prob[Tf(G,) accepts] = 1 (or > 2/3). If f is -far from PG then Prob[Tf(G,) rejects] > 2/3. (Distance is defined as fraction of disagreements.) Terminology: Base graph. Tested objects are subgraphs of the base graph, which is fixed or given explicitly. The orientation model [FLMNY] has the same syntax, but a different semantics. Focus: query complexity, q(G,) « |E| Special focus: q(G,)=q(), independent of G. Terminology:  is called the proximity parameter.

Initial observations and actual focus The tester T gets explicit (based graph) input G=(V,E) and , and oracle access to a function f:E0,1. If f  PG then Prob[Tf(G,) accepts] = 1 (or > 2/3). If f is -far from PG then Prob[Tf(G,) rejects] > 2/3. (Distance is defined as fraction of disagreements.) The dense graph model is a special case (on input n, let G = n-vertex clique). Testing Boolean functions is a special case (on input n, let G = n-vertex “augmented” path). BDG = Bounded-Degree Graph. In the DENSE graph mdel, graphs are represented by the adjacency predicate; that is G=(V,E) is represented by g:[n][n]{0,1} s.t. g(u,v)=1 iff {u,v}E. Focus: The base graph G has bounded-degree. Compare the complexity of testing properties of subgraphs to complexity in the BDG model.

Background: the bounded-degree graph (BDG) model For a fixed d, we consider properties of graphs of max. degree d, represented by their incidence function. An n-vertex graph is represented by g:[n][d][n]0 such that g(v,i) is the ith neighbor of v (and g(v,i)=0 if v has less than I neighbors). The tester T gets explicit input n and , and oracle access to a function g representing an n-vertex graph. If f  Pn then Prob[Tf(n,) accepts] = 1 (or > 2/3). If f is -far from Pn then Prob[Tf(n,) rejects] > 2/3. (Distance is defined as fraction of disagreements.) Recalling the BDG model: Graphs (of degree bound d) are represented by their incidence function.

Results (sample): Downward Monotone Properties Downwards monotone = Preserved under omission of edges. Thm1: If a down.mono.  is testable within query complexity Qd(,n) in the BDG model, then, for every n-vertex graph G of degree d, testing whether a subgraph of G is in  can be done in query complexity Qd(/d,n). Note: If G, then all subgraphs are in  (i.e., testing is trivial). Thm2: For c2,3, testing c-colorability of subgraphs of some base graphs is as hard as testing c-colorability in the BDG model; that is, (n) for c=3, and (n1/2) for c=2 and =1/polylog(n). BDG = Bounded-Degree Graph. Thm1 is proved by emulation (and the analysis uses the down.mono.). Thm2 is proved by reductions: For c=2 we reduce by allowing to embed any bounded-degree graph in the base graph; For c=3 we reduce 3SAT to 3COL (the formula is mapped to a base graph and the assignment to a subgraph), and use the hardness of testing assignments for 3CNF [BHR].  Take home msg (from Thms 1 & 2): Testing subgraphs in never harder than testing in BDG model, but it may be just as hard.

Results (sample): Non-Downward Monotone Properties Thm3 (testing subgraphs may be harder than in the BDG): There exist (upwards mono.)  that is testable within complexity poly(1/) in the BDG model; but, for some bounded-degree n-vertex graph G, testing whether a subgraph of G is in  requires (loglog(n)) queries. Thm4: For every bounded-degree graph, connectivity of subgraphs can be tested using poly(1/) queries. BDG = Bounded-Degree Graph. In Thm4 the bound is quadratic. Thm3 is proved by reduction from the orientation model [FLMNY]. In Open1 we ask for *any* since for sure the answer is yes (via triviality) for some base graphs. The partial answer uses the set of d-regular graphs that are 3-colorable. If the d-regular base graph is nort 3-colorable, then trivial. O.w., test degrees. Note: The bound in Thm4 matches the bound in the BDG model. Open: What about 2-connectivity?

Results (more): Non-Downward Monotone Propoerties Thm5: Let  be a locally characterizable property (i.e., it can be expressed as conjunction of constraints on O(1)-neighborhoods) and suppose that the base graph G is outerplanar. Then, we can test whether the subgraph of G is in  using O(-1log(n)) queries. Note: Generalizes to base graphs with O(1)-size separators. Open Problems: Can this be improved to poly(1/)? How about testing regularity or even just 1-regularity (which means perfect-matching)? What about testing regularity (or just 1-regularity) when the base graph G is a (two-dim) grid? What about testing if the subgraph is Eulerian? Can do it in poly(1/) time when G is a grid, but what about any base graph? BDG = Bounded-Degree Graph. Open 1 refer to outerplanar based graph. In Open 2 we consider a simple non-outerplanar base graph.

A kind of partial summary Sometimes (e.g., for all Down. Mono. properties) testing in the subgraph model is not harder than in the BDG model, and sometimes they are not easier. Sometimes (e.g., Thm3), testing in the subgraph model is harder than in the BDG model, and sometimes they are easier for some base graphs (e.g., trivial cases). BDG = Bounded-Degree Graph. In Thm4 the bound is quadratic. Thm3 is proved by reduction from the orientation model [FLMNY]. In Open1 we ask for *any* since for sure the answer is yes (via triviality) for some base graphs. The partial answer uses the set of d-regular graphs that are 3-colorable. If the d-regular base graph is nort 3-colorable, then trivial. O.w., test degrees. Open: Can testing subgraphs be easier for any base graph? Yes, if the property is allowed to depend on the degree bound in the BDG model (i.e.,  contains only d-regular graphs).

We have introduced a new model, presented a few results, and posed many open problem. END Slides available at http://www.wisdom.weizmann.ac.il/~oded/T/subgraph.pptx Paper available at http://www.wisdom.weizmann.ac.il/~oded/p_subg.html Summarize: We have introduced a new model, presented a few results, and suggest lots of open problems.

Property Testing (super-fast approximate decision): an illustration Gothic cathedral ? One Motivation: Real objects are far apart. Other motivations: Approx. per se, or a preliminary step. Compare to learning/deciding which cathedral this is… Deciding by inspecting few locations in the object.