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

β–Ά
satisfiability of ordering
SMART_READER_LITE
LIVE PREVIEW

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 ,


slide-1
SLIDE 1

Satisfiability of Ordering CSPs Above Average Is Fixed-Parameter Tractable

Yury Makarychev, TTIC Konstantin Makarychev, Microsoft Research Yuan Zhou, MIT

slide-2
SLIDE 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 𝑦1 𝑦8 𝑦3 𝑦7 𝑦2 𝑦4 𝑦7

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

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

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

slide-6
SLIDE 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 𝑦1 𝑦8 𝑦3 𝑦7 𝑦2 𝑦4 𝑦7

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

slide-8
SLIDE 8

Random Assignment

There is a trivial approximation algorithm for

  • rdering CSP:
  • rder 𝑦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.

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

slide-10
SLIDE 10

Advantage over Random

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

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

slide-12
SLIDE 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 𝑔

𝑙 𝑒 π‘žπ‘π‘šπ‘§π‘™(𝑛 + π‘œ)

slide-13
SLIDE 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”

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

slide-15
SLIDE 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)

slide-16
SLIDE 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

  • n at least 𝑠 variables then Var π‘Ž β‰₯ 𝑏 𝑠.

Corollary If Var π‘Ž < 𝑏′ 𝑒2 then the instance depends on at most 𝑑𝑙𝑒2 variables. We are in case 1.

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

!

slide-18
SLIDE 18

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.

Approach

slide-19
SLIDE 19

Main Theorems

Theorem 1 If the instance (non-trivially) depends

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

slide-20
SLIDE 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.
slide-21
SLIDE 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 𝑙.

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

slide-23
SLIDE 23

Efronβ€”Stein Decomposition

Consider π‘œ = 1.Then 𝑔(𝑦1) = 𝑔

βˆ… + 𝑔 1(𝑦1)

where

  • 𝑔

βˆ… = E 𝑔

  • 𝑔

1 𝑦1 = 𝑔 𝑦1 βˆ’ 𝑔 βˆ…

slide-24
SLIDE 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)

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

slide-26
SLIDE 26

Explicit Formulas

Define 𝑔

βŠ‚π‘ˆ = E 𝑔 𝑦𝑗 with 𝑗 ∈ π‘ˆ]

Then 𝑔

𝑇 = π‘ˆβŠ†π‘‡

βˆ’1 |π‘‡βˆ–π‘ˆ| 𝑔

βŠ‚π‘ˆ

slide-27
SLIDE 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

  • f degree at most 𝑙.
  • By linearity, 𝐽𝑇 and π‘Žπ‘‡ are of the same form.
slide-28
SLIDE 28

ES decomposition of π‘Ž

π‘ŽS = 1 𝐡𝑙 π‘žβ€²πœŒ 𝑦𝑇 𝐽{π‘¦πœŒ 𝑑1 < π‘¦πœŒ 𝑑2 < β‹― } Thus if π‘Žπ‘‡ β‰  0 Var π‘Žπ‘‡ β‰₯ 𝐢𝑙 > 0

slide-29
SLIDE 29

Proof of Theorem 1

Theorem 1 If the instance (non-trivially) depends

  • n 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 [π‘Žπ‘‡] β‰₯ 𝑠𝐢𝑙/𝑙
slide-30
SLIDE 30

Proof of Theorem 2

Theorem 2 If Var π‘Ž β‰₯ 𝑠 then π‘ƒπ‘„π‘ˆ β‰₯ π΅π‘Šπ» + 𝑐 𝑠 Need to show that E π‘Ž βˆ’ π΅π‘Šπ» 4 < 𝐷𝑙Var π‘Ž 2 Then by [Alon et al] π‘Ž > π΅π‘Šπ» + 𝑐 𝑠 with positive probability.

slide-31
SLIDE 31

Bonami Lemma

Bonami Lemma. Let 𝑔 be a polynomial of degree 𝑙 on βˆ’1, 1 π‘œ E 𝑔4 ≀ 9𝑙E 𝑔2 2 Bonami Lemma for ES. Let 𝑔 be a function with ES decomposition of degree 𝑙. Then E 𝑔4 ≀ 81𝑙𝐷𝑙 E 𝑔2 2 If 𝐹 𝑔

𝑇1𝑔 𝑇2𝑔 𝑇3𝑔 𝑇4 ≀ 𝐷𝑙 𝑗

Var 𝑔

𝑇𝑗 1/2

slide-32
SLIDE 32

Proof of Theorem 2

Theorem 2 If Var π‘Ž β‰₯ 𝑠 then π‘ƒπ‘„π‘ˆ β‰₯ π΅π‘Šπ» + 𝑐 𝑠 Letting 𝑔 = π‘Ž βˆ’ π΅π‘Šπ», get E π‘Ž βˆ’ π΅π‘Šπ» 4 < 𝐷𝑙81𝑙 Var π‘Ž 2 Then π‘Ž > π΅π‘Šπ» + 𝑐 𝑠 with positive probability.

slide-33
SLIDE 33

Other Results

Result applies to CSPs on domain [0, 1] with constraints defined by linear or bounded degree inequalities with bounded integer coefficients. E.g., constraints of the form

  • 𝑦𝑗 is greater than the average of π‘¦π‘˜ and 𝑦𝑙, or
  • 𝑦𝑗 is closer to π‘¦π‘˜ than to 𝑦𝑙
slide-34
SLIDE 34

Summary

  • Proved the conjecture of Gutin, van Iersel, Mnich,

and Yeo

  • Proved a Bonami-type Inequality for the Efronβ€”

Stein decomposition.

  • Proved that the satisfiability beyond average is

fixed parameter tractable for a new class of CSPs defined by LPs & low degree polynomials.