Liaoruo Wang and John E. Hopcroft Dept. of Computer Engineering & Computer Science, Cornell University In Proc. 7th Annual Conference on Theory and Applications.

Slides:



Advertisements
Similar presentations
Complexity ©D.Moshkovits 1 Where Can We Draw The Line? On the Hardness of Satisfiability Problems.
Advertisements

Max Cut Problem Daniel Natapov.
Theory of Computing Lecture 18 MAS 714 Hartmut Klauck.
Lecture 23. Subset Sum is NPC
Lecture 22: April 18 Probabilistic Method. Why Randomness? Probabilistic method: Proving the existence of an object satisfying certain properties without.
NP-Completeness: Reductions
An NP-completeness Example. The graph CLIQUE problem Undirected Graph G = (V, E) –a clique is a complete subgraph of G Subset V’ of vertices that are.
Department of Computer Science & Engineering
The Probabilistic Method Shmuel Wimer Engineering Faculty Bar-Ilan University.
Complexity 11-1 Complexity Andrei Bulatov NP-Completeness.
Approximation Algoirthms: Semidefinite Programming Lecture 19: Mar 22.
CS21 Decidability and Tractability
February 23, 2015CS21 Lecture 201 CS21 Decidability and Tractability Lecture 20 February 23, 2015.
Computability and Complexity 15-1 Computability and Complexity Andrei Bulatov NP-Completeness.
Semidefinite Programming
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
Approximation Algorithms Lecture for CS 302. What is a NP problem? Given an instance of the problem, V, and a ‘certificate’, C, we can verify V is in.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
Computability and Complexity 16-1 Computability and Complexity Andrei Bulatov NP-Completeness.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 23 Instructor: Paul Beame.
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 24 Instructor: Paul Beame.
Complexity ©D.Moshkovitz 1 Paths On the Reasonability of Finding Paths in Graphs.
Clique Cover Cook’s Theorem 3SAT and Independent Set
February 25, 2015CS21 Lecture 211 CS21 Decidability and Tractability Lecture 21 February 25, 2015.
Theory of Computing Lecture 19 MAS 714 Hartmut Klauck.
Randomized Algorithms Morteza ZadiMoghaddam Amin Sayedi.
The Theory of NP-Completeness 1. What is NP-completeness? Consider the circuit satisfiability problem Difficult to answer the decision problem in polynomial.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
Tonga Institute of Higher Education Design and Analysis of Algorithms IT 254 Lecture 8: Complexity Theory.
Lecture 22 More NPC problems
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
NP-complete Problems SAT 3SAT Independent Set Hamiltonian Cycle
Prabhas Chongstitvatana1 NP-complete proofs The circuit satisfiability proof of NP- completeness relies on a direct proof that L  p CIRCUIT-SAT for every.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
CSE 024: Design & Analysis of Algorithms Chapter 9: NP Completeness Sedgewick Chp:40 David Luebke’s Course Notes / University of Virginia, Computer Science.
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
Additional NP-complete problems
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
NP-completeness Section 7.4 Giorgi Japaridze Theory of Computability.
CSCI 3130: Formal languages and automata theory Andrej Bogdanov The Chinese University of Hong Kong The Cook-Levin.
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.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
Chapter 11 Introduction to Computational Complexity Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.
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.
CSC 413/513: Intro to Algorithms
CSCI 2670 Introduction to Theory of Computing December 2, 2004.
CSCI 2670 Introduction to Theory of Computing December 7, 2005.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
 2005 SDU Lecture15 P,NP,NP-complete.  2005 SDU 2 The PATH problem PATH = { | G is a directed graph that has a directed path from s to t} s t
Theory of Computational Complexity Probability and Computing Chapter Hikaru Inada Iwama and Ito lab M1.
Advanced Algorithms NP-hard and NP-Complete Problems Instructor: Saeid Abrishami Ferdowsi University of Mashhad.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
More NP-Complete and NP-hard Problems
More NP-complete problems
(xy)(yz)(xz)(zy)
CS21 Decidability and Tractability
Intro to Theory of Computation
CS154, Lecture 16: More NP-Complete Problems; PCPs
Where Can We Draw The Line?
ICS 353: Design and Analysis of Algorithms
Theory of Computability
NP-Complete Problems.
CS21 Decidability and Tractability
CS154, Lecture 16: More NP-Complete Problems; PCPs
CS21 Decidability and Tractability
CSE 589 Applied Algorithms Spring 1999
Instructor: Aaron Roth
Presentation transcript:

Liaoruo Wang and John E. Hopcroft Dept. of Computer Engineering & Computer Science, Cornell University In Proc. 7th Annual Conference on Theory and Applications of Models of Computation (TAMC), June 2010 Presented by Nam Nguyen

 Motivation  Introduction  Contributions of the paper  Definitions  WHISKER is NP-Complete.  Algorithms.

 C.S is a classical but still-hot topic in complex networks.  Previous studies: Communities were assumed to be densely connected inside but sparsely connected outside.  A different point of view: We should disregard “whiskers” and elaborate “cores” in the networks.

 Roughly speaking ◦ Whiskers: Subsets of vertices that are barely connected to the rest of the network. ◦ Cores: Connected subgraphs that are densely connected inside and well-connected to the rest of the network, i.e., “real communities”  Why??? ◦ For real-world societies, communities are also well connected to the rest of the network. ◦ Imagine a close-nit community, CISE Dept., with only one connection with the outer world.  Definitions come right away.

 More concrete definitions of “whiskers” and “cores” in a networks.  WHISKER is NP-Complete  Three heuristic algorithms for finding approximate cores.  Simulation results.

 Graph G = (V,E) undirected, A = (A i,j ). For S⊆V, let S C = V\S.  Conduction of S where  A suitable cut

 A k-whisker  A maximal k-whisker

 A whisker  A maximal whisker

 A core

Proof The only suitable cut of size = 26 |S ⋃ T| = 25 >

Proof (1a) e xr + e xz + e yr + e yz ≤ v x + v y (1b) e yr + e xy + e zr + e xz ≤ v y + v z (1c) e xr + e yr + e zr > v x + v z (1a) + (1b) and use (1c) gives e xr +2e yr +e zr +e xy +e yz +2e xz ≤ v x +2v y +v z < e xr +e yr +e zr +v y  e yr + e xy + e yz < v y

 NAE-3-SAT: The problem of determining whether there exists a truth assignment for a 3-CNF Boolean formula such that each clause has at least one true literal and at least one false literal. Fact: NAE-3-SAT is NP-Complete [1]  WHISKER: Given an unweighted undirected graph, determine whether there exists a whisker or not. WHISKER is NP-Complete (of course, from a reduction from NAE-3-SAT)

 Road map ◦ 1. Construct a special graph G of 2n vertices and show that G admits 2 n whiskers and no more. ◦ 2. Construct a G-like graph for the 3- SAT problem. ◦ 3. Make a reduction from NAE-3-SAT problem to WHISKER

 WHISKER is in NP  Reduction from NAE-3-SAT to WHISKER ◦ Consider the following graph (constructed in poly time)  At each row, pick only one vertex (i.e., either x i or ¬x i )  The resulted graph G of n vertices is a whisker  Total number of whiskers is 2 n …………  And no more than that

 2 n whiskers and no more than that!!! Why???  Suppose there is a whisker W of 2k+j vertices  Cut size of W  By definition of suitable cut size, we have which implies !!!!

 NAE-3-SAT ≤ P WHISKER  Consider an instance of NAE-3-SAT with n variables and c clauses.  Construct G 1, G 2, …, G c as follow

 NAE-3-SAT ≤ P WHISKER  Now, combine all G i ’s and add up all edge weights to get G’.  Next GG G’ G* 3CNF has a satisfied assignment  contains a whisker update

 Update G ( )  Update G’ ◦ Amplify all edge weights of G’ by a small amount δ where cn 2 δ << 1  All whiskers in new G are the same as in old G.

 G* = G + G’  Goal: If the 3CNF instance has a satisfied truth assignment, then selecting true literal from each row of G* gives us a whisker of size n, and vice versa.  For any truth assignment of 3SAT, rearrange the literals in to TRUE and FALSE columns.  If there is a satisfied not-all-equal assignment for 3SAT ◦ Each clause must have one TRUE and one FALSE literals. ◦ Not all the literals in each clause can be in the same column. ◦ For each i th clause, G i contains n 2 -2 edges connecting its two columns ◦ Total cut size is required to satisfied

 If there is NO satisfied not-all-equal assignment for 3SAT ◦ At least one clause i has its literals located in the same column  n 2 edges between the two columns of G i. ◦ For the other (c-1) clauses, there are at most (n 2 -2) edges connecting the their two columns. Total number of edges: (c-1)(n 2 -2)+n 2 = cn 2 –2c+2. ◦ Of course, we don’t want selecting the true literal in each row give us a whisker, thus Combining the two inequalities, if ℇ and δ is chosen such that Then If the 3CNF instance has a satisfied truth assignment, then selecting true literal from each row of G* gives us a whisker of size n, and vice versa. ◦ Hence, NAE-3-CNF ≤ P WHISKER □

 On random graph ◦ Alg 2 can positively find an approximate core ◦ Alg 3 fails to find approximate core ◦ The size of core growing linearly with d = np (fixed n) and logarithmically with n (fixed d) ◦ ??? G(n,p) displays core structure with high probability when p > 1/n ???

 Textual graph ◦ Vertices and Edges: Words and their semantic Correlations ◦ Data is crawled from 10K scientific papers of KDD conf. ( ) ◦ Pointwise mutual information ◦ Total: 685 vertices and edges

 Both alg 2 and 3 successfully find approximate cores.  Higher values of λ indicate smaller core sizes.  Fig (b), the best community of the textual graph has a large conductance of.3  best community has as many internal edges as cut edges.  Alg 3 is believed to be more useful.

 Is a “whisker” make sense?

 [1] Schaefer, T. J. The complexity of satisfiability problems. In Proc. 10th Ann. ACM Symp. on Theory of Computing (1978), Association for Computing Machinery, pp