Satisfiability of Ordering CSPs Above Average Is Fixed-Parameter Tractable Yury Makarychev, TTIC Konstantin Makarychev, Microsoft Research Yuan Zhou, MIT
Ordering CSP Given a set of π variables and π constraints. β’ Variables π¦ 1 , β¦ , π¦ π β’ Constraints π 1 , β¦ , π π Find a linear ordering of π¦ 1 , β¦ , π¦ π that maximizes the number of satisfied constraints. π¦ 5 π¦ 7 π¦ 1 π¦ 4 π¦ 8 π¦ 3 π¦ 7 π¦ 2
Ordering CSP Given a set of π variables and π constraints. β’ Variables π¦ 1 , β¦ , π¦ π β’ Constraints π 1 , β¦ , π π Find a linear ordering of π¦ 1 , β¦ , π¦ π that maximizes the number of satisfied constraints. β’ Each constraints π π has arity at most π . β’ π π (π¦ π 1 , π¦ π 2 , β¦ , π¦ π π ) specifies a list of orderings of π¦ π 1 , β¦ , π¦ π π . β’ π π is satisfied if the relative ordering of π¦ π 1 β¦ , π¦ π π is in the list.
Example 1: Max Acyclic Subgraph β’ Given a directed graph π» on π¦ 1 , β¦ , π¦ π . β’ Find a linear ordering of vertices so as to maximize the number of edges going forward.
Example 1: Max Acyclic Subgraph β’ Given a directed graph π» on π¦ 1 , β¦ , π¦ π . β’ Find a linear ordering of vertices so as to maximize the number of edges going forward. Each edge (π¦ π , π¦ π ) defines constraint π¦ π < π¦ π #forward edges = #satisfied constraints The problem is an ordering CSP of arity 2.
Example 2: Betweenness β’ Given a set of vertices π¦ 1 , β¦ , π¦ π and β’ a set of betweenness constraints. Each constraint is of the form β π¦ π lies between π¦ π and π¦ π β π¦ π < π¦ π < π¦ π or π¦ π < π¦ π < π¦ π Find an ordering that maximizes the number of satisfied constraints. π¦ 5 π¦ 7 π¦ 1 π¦ 4 π¦ 8 π¦ 3 π¦ 7 π¦ 2
NP-hardness Max Acyclic Subgraph β’ If all the constraints are satisfiable, the problem can be easily solved. β’ If πππ = 1 β π π , the problem is NP-hard. Betweenness β’ The problem is NP-hard even when all the constraints are satisfiable.
Random Assignment There is a trivial approximation algorithm for ordering CSP: order π¦ 1 , β¦ , π¦ π randomly. Max Acyclic Subgraph: each constraint is satisfied with probability Β½. Satisfy π΅ππ» = π/2 constraints in expectation. Betweenness: each constraint is satisfied with probability 1/3. Satisfy π΅ππ» = π/3 constraints in expectation.
Hardness of Approximation (UGC) [Guruswami, HΓ₯stad, Manokaran, Raghavendra, Charikar] There is no non-trivial multiplicative approximation algorithm for ordering CSP of any arity π . For every π > 0 : No polynomial-time algorithm can find a solution satisfying at least 1 + π π΅ππ» constraints if πππ = 1 β π π .
Advantage over Random [GHMRC] No algorithm performs considerably better than random. Can we get some additive advantage over random?
Advantage over Random [GHMRC] No algorithm performs considerably better than random. Can we get some additive advantage over random? Conjecture of Gutin, van Iersel, Mnich, and Yeo. There a fixed-parameter algorithm that decides whether πππ β₯ π΅ππ» + π’ or not.
Fixed Parameter Tractability Conjecture of Gutin, van Iersel, Mnich, and Yeo. For every π , there a fixed-parameter tractable that decides whether πππ β₯ π΅ππ» + π’ or not. The running time of the algorithm is π π π’ ππππ§ π (π + π)
Fixed Parameter Tractability [Alon, Gutin, Kim, Szeider, Yeo] Satisfiability above average is fixed- parameter tractable for all βregularβ (non-ordering) CSPs Conjecture was proved for: Gutin, Kim, Szeider, Yeo Max Acyclic Subgraph Gutin, Kim, Mnich, Yeo Betweenness Gutin, van Iersel, Mnich, Yeo Ordering CSPs of arity 3 [GIMY] βit appears technically very difficult to extend results obtained for arities π = 2 and 3 to π > 3 β
Our Results Prove the conjecture of Gutin et al. Prove that the satisfiability above average is fixed- parameter tractable for a large class of CSPs, which includes ordering CSPs.
Approach Follow the high-level approach of Alon, Gutin, Kim, Szeider, and Yeo. Prove that there are two possibilities: 1. The instance depends on at most π π π’ 2 variables. Then try all possible orderings of these variables in time 2 π(π’ 2 log π’) and find the optimal solution. πππ β₯ π΅ππ» + π’. 2. (in case 1, there is a kernel on π π π’ 2 variables)
Approach Consider a random ordering of π¦ 1 , β¦ , π¦ π . Let r.v. π be the number of constraints satisfied by the random ordering. E π = π΅ππ». Theorem 1 If the instance (non-trivially) depends on at least π variables then Var π β₯ π π . Corollary If Var π < πβ² π’ 2 then the instance depends on at most π π π’ 2 variables. We are in case 1.
Approach Consider a random ordering of π¦ 1 , β¦ , π¦ π . Let r.v. π be the number of constraints satisfied by the random ordering. E π = π΅ππ». Theorem 2 If Var π β₯ π then πππ β₯ π΅ππ» + π π Var π β₯ π implies that π deviates by at least π from ! π΅ππ» . For arbitrary r.v. π , it doesnβt follow that max π β₯ π΅ππ» + π π .
Approach Consider a random ordering of π¦ 1 , β¦ , π¦ π . Let r.v. π be the number of constraints satisfied by the random ordering. E π = π΅ππ». Theorem 2 If Var π β₯ π then πππ β₯ π΅ππ» + π π Corollary If Var π β₯ π π’ 2 then πππ β₯ π΅ππ» + π’ . We are in case 2.
Main Theorems Theorem 1 If the instance (non-trivially) depends on at least π variables then Var π β₯ π π . Theorem 2 If Var π β₯ π then πππ β₯ π΅ππ» + π π Use the Fourier analysis: the Efron β Stein decomposition. Prove a Bonami-type lemma for the Efron β Stein decomposition.
Efron β Stein Decomposition To use the Fourier analysis β want to work with a product space. The product space should be large, but shouldnβt depend on π . β’ Assume that each π¦ π β [0,1] . β’ Each assignment (π¦ 1 , β¦ , π¦ π ) β 0,1 π defines a linear ordering of π¦ 1 , β¦ , π¦ π a.s. β’ Random assignment defines a random ordering.
Fourier Analysis on the Boolean Cube ES decomposition is similar to Fourier decomposition of functions on β1,1 π . For π: β1,1 π β β π = π π π π πβ{1,β¦,π} β’ Function π π π π depends only on variables in π . β’ Functions π π π π are mutually orthogonal. β’ Var π = Var[ π π π π ] β’ Have only π π with π β€ π for CSPs of arity π .
Efron β Stein Decomposition Consider π: [0,1] π β β . There is a decomposition π = π π πβ{1,β¦,π} Such that β’ Function π π depends only on variables in π . β’ Functions π π are mutually orthogonal. β’ Var π = Var[π π ] β’ Have only π π with π β€ π for CSPs of arity π .
Efron β Stein Decomposition Consider π = 1 .Then π(π¦ 1 ) = π β + π 1 (π¦ 1 ) where β’ π β = E π β’ π 1 π¦ 1 = π π¦ 1 β π β
Efron β Stein Decomposition Consider π = 2 . Assume π = π π¦ 1 β β(π¦ 2 ) Then π = π β + π 1 π¦ 1 β β + β 2 π¦ 2 = π β β β + π 1 π¦ 1 β β + π β β 2 π¦ 2 + π 1 π¦ 1 β 2 π¦ 2 Let β’ π β = π β β β β’ π {1} = π 1 (π¦ 1 )β β β’ π {2} = π β β 2 (π¦ 2 ) β’ π {1,2} = π 1 (π¦ 1 )β 2 (π¦ 2 )
Efron β Stein Decomposition For π > 2 . Assume π = π (1) π¦ 1 β π 2 π¦ 2 β¦ π π (π¦ π ) Decompose each π (π) π + π π π π¦ π π (π) = π β Expand the expression for π , get 2 π terms β one for each set π . Extend by linearity to all functions π: [0,1] π β β .
Explicit Formulas Define π βπ = E π π¦ π with π β π] Then β1 |πβπ| π π π = βπ πβπ
ES decomposition of π β’ π is a sum of indicators π½ of elementary events of the form π¦ 1 < π¦ 2 < β― < π¦ π . β’ Use explicit formulas to compute the ES decomposition of π½ . π½ βπ = 1 π π π¦ π π½{π¦ π π‘ 1 < π¦ π π‘ 2 < β― } π΅ π where π π are polynomials with integer coefficients of degree at most π . β’ By linearity, π½ π and π π are of the same form.
ES decomposition of π π S = 1 πβ² π π¦ π π½{π¦ π π‘ 1 < π¦ π π‘ 2 < β― } π΅ π Thus if π π β 0 Var π π β₯ πΆ π > 0
Proof of Theorem 1 Theorem 1 If the instance (non-trivially) depends on at least π variables then Var π β₯ π π . Proof Idea: β’ Consider the ES decomposition of π β’ Each π π depends on at most k variables β’ There are at least π /π non-zero terms. β’ For each of them, Var π π β₯ πΆ π β’ Thus Var π = Var [π π ] β₯ π πΆ π /π
Recommend
More recommend