0 Fall, 2016 Lirong Xia Computational social choice The easy-to-compute axiom.

Slides:



Advertisements
Similar presentations
Sep 16, 2013 Lirong Xia Computational social choice The easy-to-compute axiom.
Advertisements

Sep 15, 2014 Lirong Xia Computational social choice The easy-to-compute axiom.
Theory of Computing Lecture 18 MAS 714 Hartmut Klauck.
Computing Kemeny and Slater Rankings Vincent Conitzer (Joint work with Andrew Davenport and Jayant Kalagnanam at IBM Research.)
Polynomial-time reductions We have seen several reductions:
Sep 12, 2013 Lirong Xia Introduction to computation.
Lecture 21 NP-complete problems
The Theory of NP-Completeness
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
CSC5160 Topics in Algorithms Tutorial 2 Introduction to NP-Complete Problems Feb Jerry Le
Computability and Complexity 15-1 Computability and Complexity Andrei Bulatov NP-Completeness.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
1 Polynomial Time Reductions Polynomial Computable function : For any computes in polynomial time.
NP-Complete Problems Problems in Computer Science are classified into
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 23 Instructor: Paul Beame.
Analysis of Algorithms CS 477/677
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
1 The Theory of NP-Completeness 2 NP P NPC NP: Non-deterministic Polynomial P: Polynomial NPC: Non-deterministic Polynomial Complete P=NP? X = P.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
1 The Theory of NP-Completeness 2012/11/6 P: the class of problems which can be solved by a deterministic polynomial algorithm. NP : the class of decision.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
Approximation Algorithms
Polynomial-time reductions We have seen several reductions:
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
NP-Complete problems.
CS 3343: Analysis of Algorithms Lecture 25: P and NP Some slides courtesy of Carola Wenk.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
CSE 6311 – Spring 2009 ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS Lecture Notes – Feb. 3, 2009 Instructor: Dr. Gautam Das notes by Walter Wilson.
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
Young CS 331 D&A of Algo. NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and.
CSCI 2670 Introduction to Theory of Computing December 2, 2004.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
CSC 3130: Automata theory and formal languages Andrej Bogdanov The Chinese University of Hong Kong NP-complete.
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
COMPLEXITY. Satisfiability(SAT) problem Conjunctive normal form(CNF): Let S be a Boolean expression in CNF. That is, S is the product(and) of several.
1 The Theory of NP-Completeness 2 Review: Finding lower bound by problem transformation Problem X reduces to problem Y (X  Y ) iff X can be solved by.
34.NP Completeness. Computer Theory Lab. Chapter 34P.2.
CSE 332: NP Completeness, Part II Richard Anderson Spring 2016.
TU/e Algorithms (2IL15) – Lecture 10 1 NP-Completeness, II.
Young CS 530 Ad. Algo. D&A NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey.
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
Chapter 10 NP-Complete Problems.
Richard Anderson Lecture 26 NP-Completeness
Richard Anderson Lecture 26 NP-Completeness
NP-Completeness (36.4-5) P: yes and no in pt NP: yes in pt NPH  NPC
NP-complete problems The Chinese University of Hong Kong Fall 2008
NP-Completeness Yin Tat Lee
Intro to Theory of Computation
CS154, Lecture 16: More NP-Complete Problems; PCPs
ICS 353: Design and Analysis of Algorithms
Richard Anderson Lecture 25 NP-Completeness
Chapter 34: NP-Completeness
1. for (i=0; i < n; i+=2) if (A[i] > A[i+1]) swap(A[i], A[i+1])
NP-Complete Problems.
NP-Completeness Yin Tat Lee
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979.
More on NP-completeness
CS154, Lecture 16: More NP-Complete Problems; PCPs
Computational social choice
CSE 589 Applied Algorithms Spring 1999
Lecture 23 NP-Hard Problems
Presentation transcript:

0

Fall, 2016 Lirong Xia Computational social choice The easy-to-compute axiom

 Linear programming variables are positive real numbers all constraints are linear, the objective is linear in P  (Mixed) Integer programming (Some) All variables are integer NP-hard  Basic computation Big O Polynomial-time reduction 2 Last class: linear programming and computation

 Computational social choice: the easy-to- compute axiom voting rules that can be computed in P satisfies the axiom Kemeny: a full proof of NP-hardness IP formulation of Kemeny 3 Today’s schedule

 Polynomial-time reduction: convert an instance of A to an instance of another decision problem B in polynomial-time so that answer to A is “yes” if and only if the answer to B is “yes”  If you can do this for all instances of A, then it proves that B is HARDER than A w.r.t. polynomial-time reduction 4 How a reduction works? Instance of A Instance of B Yes No Yes No P-time

 NP-hard problems the decision problems “harder” than any problem in NP for any problem A in NP there exits a P-time reduction from A  NP-complete problems the decision problems in NP that are NP-hard the “hardest” problems in NP 5 NP-hard and NP-complete problems P NP-hard NP NP-C

 How to put an elephant in a fridge Step 1. open the door Step 2. put the elephant in Step 3. close the door  To prove a decision problem B is NP-hard Step 1. find a problem A to reduce from Step 2. prove that A is NP-hard Step 3. find a p-time reduction from A to B  To prove B is NP-complete prove B is NP-hard prove B is in NP (find a p-time verification for any correct answer) 6 How to prove a problem is NP-hard

 3SAT Input: a logical formula F in conjunction normal form (CNF) where each clause has exactly 3 literals F = ( x 1 ∨ x 2 ∨ x 3 ) ∧ ( ¬x 1 ∨ ¬x 3 ∨ x 4 ) ∧ ( ¬x 2 ∨ x 3 ∨ ¬x 4 ) Answer: Is F satisfiable?  3SAT is NP-complete (Cook-Levin theorem) 7 The first known NP-complete problem

 Kendall tau distance K ( R,W )= # {different pairwise comparisons}  Kemeny( P )=argmin W K(P,W) = argmin W Σ V ∈ P K(V,W)  For single winner, choose the top-ranked alternative in Kemeny( P ) 8 Kemeny’s rule K( b ≻ c ≻ a, a ≻ b ≻ c ) = 2

Profile P WMG K ( P, a ≻ b ≻ c ≻ d )=0+1+2*3+2*5=17 9 Example c d a b

 For each linear order W ( m ! iter) for each vote R in D ( n iter) compute K ( R, W )  Find W* with the smallest total distance W*= argmin W K ( D,W ) = argmin W Σ R ∈ D K ( R,W ) top-ranked alternative at W* is the winner  Takes exponential O ( m ! n ) time! 10 Computing the Kemeny winner

 Ranking W → direct acyclic complete graph G ( W )  Given the WMG G ( P ) of the input profile P  K ( P,W ) = Σ a → b ∈ G ( W ) #{ V ∈ P : b ≻ a in V } =Σ a → b ∈ G ( W ) ( n+w ( b → a )) /2 = nm(m-1)/4 + Σ a → b ∈ G ( W ) w ( b → a ) /2  argmin W K ( P,W ) = argmin W Σ a → b ∈ G ( W ) w ( b → a ) = argmin W Total weight on inconsistent edges in WMG 11 Kemeny a ≻ b ≻ c ≻da ≻ b ≻ c ≻d ba cd

 Total weight on inconsistent edges between W and P is: Example W= a ≻ b ≻ c ≻ d b a cd Profile P : ab cd

 Reduction from feedback arc set (FAC) Given a directed graph G and a number k does there exist a way to eliminate no more than k edges to obtain an acyclic graph? 13 Kemeny is NP-hard to compute d a b c J. Bartholdi III, C. Tovey, M. Trick, Voting schemes for which it can be difficult to tell who won the election, Social Choice Welfare 6 (1989) 157–165.

 The KendallDistance problem: Given a profile P and a number k, Does there exist a ranking W whose total Kendall distance is at most k ? 14 Proof Instance of FAC Instance of KendallDistance Yes No Yes No P-time d a b c k k’=2k+nm(m-1)/4-5 c d a b WMG( P ): G

 For any edge a → b ∈ G, define  P a → b = { a ≻ b ≻ others, Reverse(others) ≻ a ≻ b }  P = ∪ a → b ∈ G P a → b 15 Constructing the profile d a b c WMG( P a → b )= 2

 Vertex cover (VC): Given a undirected graph and a natural number k. Does there exists a set S of no more than k vertices so that every edge has an endpoint in S  Example: Does there exists a vertex cover of 4? 16 Vertex cover (VC)

 Given F= ( x 1 ∨ x 2 ∨ x 3 ) ∧ ( ¬x 1 ∨ ¬x 3 ∨ x 4 ) ∧ ( ¬x 2 ∨ x 3 ∨ ¬x 4 )  Does there exist a vertex cover of 4+2*3? 17 VC is NP-complete x3x3 x2x2 x1x1 ¬x1¬x1 x1x1 ¬x2¬x2 x2x2 ¬x3¬x3 x3x3 ¬x3¬x3 x4x4 ¬x1¬x1 x3x3 ¬x4¬x4 ¬x2¬x2 ¬x4¬x4 x4x4

 More details: 001/CW/npproof.html  A yes to B must correspond to a yes to A if yes↔no then this proves coNP-hardness  The best source for NP-complete problems Computers and Intractability: A Guide to the Theory of NP-Completeness by M. R. Garey and D. S. Johnson cited for >46k times [Google Scholar] vs the “most cited book” The Structure of Scientific Revolutions 59K 18 Notes

 A voting rule satisfies the easy-to- compute axiom if computing the winner can be done in polynomial time P: easy to compute NP-hard: hard to compute assuming P≠NP 19 The easy-to-compute axiom

 Given: a voting rule r  Input: a preference profile P and an alternative c input size: nm log m  Output: is c the winner of r under P ? 20 The winner determination problem

 If following the description of r the winner can be computed in p-time, then r satisfies the easy-to-compute axiom  Positional scoring rule For each alternative ( m iter) for each vote in D ( n iter) –find the position of m, find the score of this position Find the alternative with the largest score ( m iter) Total time O ( mn + m )= O ( mn ) 21 Computing positional scoring rules

 For each pair of alternatives c, d ( m ( m -1) iter) let k = 0 for each vote V ∈ P if c > d add 1 to the counter k if d > c subtract 1 from k the weight on the edge c → d is k 22 Computing the weighted majority graph

23 Satisfiability of easy-to-compute RuleComplexity Positional scoring P Plurality w/ runoff STV Copeland Maximin Ranked pairs Kemeny NP-hard Slater Dodgson

 For each pair of alternatives a, b there is a binary variable x ab  x ab = 1 if a > b in W  x ab = 0 if b > a in W  max Σ a, b w ( a → b ) x ab s.t. for all a, b, x ab +x ba =1 for all a, b, c, x ab +x bc +x ca ≤ 2  Do we need to worry about cycles of >3 vertices? Next homework 24 Solving Kemeny in practice No edges in both directions No cycle of 3 vertices

 Approximation  Randomization  Fixed-parameter analysis 25 Advanced computational techniques