satisfiability of ordering
play

Satisfiability of Ordering CSPs Above Average Is Fixed-Parameter - PowerPoint PPT Presentation

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 ,


  1. Satisfiability of Ordering CSPs Above Average Is Fixed-Parameter Tractable Yury Makarychev, TTIC Konstantin Makarychev, Microsoft Research Yuan Zhou, MIT

  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. 𝑦 5 𝑦 7 𝑦 1 𝑦 4 𝑦 8 𝑦 3 𝑦 7 𝑦 2

  3. 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.

  4. 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.

  5. 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.

  6. 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

  7. 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.

  8. 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.

  9. 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 βˆ’ 𝜁 𝑛 .

  10. Advantage over Random [GHMRC] No algorithm performs considerably better than random. Can we get some additive advantage over random?

  11. 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.

  12. 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 𝑔 𝑙 𝑒 π‘žπ‘π‘šπ‘§ 𝑙 (𝑛 + π‘œ)

  13. 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 ”

  14. 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.

  15. 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)

  16. 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.

  17. 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 π‘Ž β‰₯ π΅π‘Šπ» + 𝑐 𝑠 .

  18. 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.

  19. 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.

  20. 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.

  21. 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 𝑙 .

  22. 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 𝑙 .

  23. Efron β€” Stein Decomposition Consider π‘œ = 1 .Then 𝑔(𝑦 1 ) = 𝑔 βˆ… + 𝑔 1 (𝑦 1 ) where β€’ 𝑔 βˆ… = E 𝑔 β€’ 𝑔 1 𝑦 1 = 𝑔 𝑦 1 βˆ’ 𝑔 βˆ…

  24. 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 )

  25. 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] π‘œ β†’ ℝ .

  26. Explicit Formulas Define 𝑔 βŠ‚π‘ˆ = E 𝑔 𝑦 𝑗 with 𝑗 ∈ π‘ˆ] Then βˆ’1 |π‘‡βˆ–π‘ˆ| 𝑔 𝑔 𝑇 = βŠ‚π‘ˆ π‘ˆβŠ†π‘‡

  27. 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.

  28. ES decomposition of π‘Ž π‘Ž S = 1 π‘žβ€² 𝜌 𝑦 𝑇 𝐽{𝑦 𝜌 𝑑 1 < 𝑦 𝜌 𝑑 2 < β‹― } 𝐡 𝑙 Thus if π‘Ž 𝑇 β‰  0 Var π‘Ž 𝑇 β‰₯ 𝐢 𝑙 > 0

  29. 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