Computing Shapley Values, Manipulating Value Distribution Schemes, and Checking Core Membership in Multi-Issue Domains Vincent Conitzer and Tuomas Sandholm.

Slides:



Advertisements
Similar presentations
Complexity Classes: P and NP
Advertisements

NP-Hard Nattee Niparnan.
A Short Tutorial on Cooperative Games
Max Cut Problem Daniel Natapov.
Negotiating a stable distribution of the payoff among agents may prove challenging. The issue of coalition formation has been investigated extensively,
Lecture 23. Subset Sum is NPC
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 
© The McGraw-Hill Companies, Inc., Chapter 8 The Theory of NP-Completeness.
Cooperative/coalitional game theory Vincent Conitzer
The Probabilistic Method Shmuel Wimer Engineering Faculty Bar-Ilan University.
Yoram Bachrach Jeffrey S. Rosenschein November 2007.
Complexity 11-1 Complexity Andrei Bulatov NP-Completeness.
Computational problems, algorithms, runtime, hardness
Prisoners Dilemma rules 1.Binding agreements are not possible. Note in Prisoners dilemma, if binding agreements were possible, there would be no dilemma.
Computability and Complexity 15-1 Computability and Complexity Andrei Bulatov NP-Completeness.
The Allocation of Value For Jointly Provided Services By P. Linhart, R. Radner, K. G. Ramkrishnan, R. Steinberg Telecommunication Systems, Vol. 4, 1995.
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.
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.
The Theory of NP-Completeness
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
Complexity of Mechanism Design Vincent Conitzer and Tuomas Sandholm Carnegie Mellon University Computer Science Department.
Complexity ©D.Moshkovitz 1 Paths On the Reasonability of Finding Paths in Graphs.
Collusion and the use of false names Vincent Conitzer
Introduction While it may not be efficient to write out the justification for each step when solving equations, it is important to remember that the properties.
1.1 Chapter 1: Introduction What is the course all about? Problems, instances and algorithms Running time v.s. computational complexity General description.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
Coalition Games: A Lesson in Multiagent System Based on Jose Vidal’s book Fundamentals of Multiagent Systems Henry Hexmoor SIUC A C B.
The Theory of NP-Completeness 1. What is NP-completeness? Consider the circuit satisfiability problem Difficult to answer the decision problem in polynomial.
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.
Computational problems associated with a solution concept Why we need the compact representation of coalitional games Compactly-represented coalitional.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
All that remains is to connect the edges in the variable-setters to the appropriate clause-checkers in the way that we require. This is done by the convey.
Tonga Institute of Higher Education Design and Analysis of Algorithms IT 254 Lecture 8: Complexity Theory.
Lecture 22 More NPC problems
Theory of Computation, Feodor F. Dragan, Kent State University 1 NP-Completeness P: is the set of decision problems (or languages) that are solvable in.
Auction Theory תכנון מכרזים ומכירות פומביות Topic 7 – VCG mechanisms 1.
CSC 172 P, NP, Etc. “Computer Science is a science of abstraction – creating the right model for thinking about a problem and devising the appropriate.
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.
Additional NP-complete problems
Complexity of Determining Nonemptiness of the Core Vincent Conitzer, Tuomas Sandholm Computer Science Department Carnegie Mellon University.
Automated Mechanism Design Tuomas Sandholm Presented by Dimitri Mostinski November 17, 2004.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
Manipulating the Quota in Weighted Voting Games (M. Zuckerman, P. Faliszewski, Y. Bachrach, and E. Elkind) ‏ Presented by: Sen Li Software Technologies.
Linear Program Set Cover. Given a universe U of n elements, a collection of subsets of U, S = {S 1,…, S k }, and a cost function c: S → Q +. Find a minimum.
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.
CPS Computational problems, algorithms, runtime, hardness (a ridiculously brief introduction to theoretical computer science) Vincent Conitzer.
Unique Games Approximation Amit Weinstein Complexity Seminar, Fall 2006 Based on: “Near Optimal Algorithms for Unique Games" by M. Charikar, K. Makarychev,
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
CSC 413/513: Intro to Algorithms
Definition and Complexity of Some Basic Metareasoning Problems Vincent Conitzer and Tuomas Sandholm Computer Science Department Carnegie Mellon University.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
Non-LP-Based Approximation Algorithms Fabrizio Grandoni IDSIA
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
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.
CSE 332: NP Completeness, Part II Richard Anderson Spring 2016.
Computing Shapley values, manipulating value division schemes, and checking core membership in multi-issue domains Vincent Conitzer, Tuomas Sandholm Computer.
Complexity of Determining Nonemptiness of the Core
Hard Problems Some problems are hard to solve.
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
CPS Cooperative/coalitional game theory
NP-Completeness Yin Tat Lee
NP-Complete Problems.
Trevor Brown DC 2338, Office hour M3-4pm
Presentation transcript:

Computing Shapley Values, Manipulating Value Distribution Schemes, and Checking Core Membership in Multi-Issue Domains Vincent Conitzer and Tuomas Sandholm

Coalitional Games  Coalition formation is a key part of automated negotiation between self-interested agents Several of companies can unite into a virtual organization to take more diverse orders and gain more profit Several of companies can unite into a virtual organization to take more diverse orders and gain more profit Truck delivery companies can share truck space, as the cost is mostly dependant on the distance rather than on the weight carried Truck delivery companies can share truck space, as the cost is mostly dependant on the distance rather than on the weight carried  Coalition formation has been studied extensively in game theory, and solution concepts were adopted in multi agent systems

Coalitional Games Solutions  Given a coalitional game we want to find the distribution of the gains of the coalition between the agents  Different solution concepts have different objectives The Core promotes stability The Core promotes stability The Shapley value promotes fairness The Shapley value promotes fairness  Game theory has studied these solution concepts for quite some time, but the computational aspect has received little attention

Some Questions to Keep in Mind  How much should each of the employees of the company be paid to make sure a group of them won’t be bought away by another company? Get a value division in the core Get a value division in the core  A few truck delivery companies unite to carry a high load of deliveries. How can the profits be divided fairly? The Shapley value division The Shapley value division

Coalitional Games With Side Payments  The game is presented as a characteristic function  Let A be the set of agents (players)  Each potential coalition S has a value v(S) The value is independent of what the non members of the coalition do The value is independent of what the non members of the coalition do  The characteristic function:  Typically it is increasing:

Super additivity  The characteristic function is super additive if for all disjoint sets of a S,T we have:  This means every two subsets can do better if they unite  Finally we would get the grand coalition of all the agents  This does not always hold: Hard optimization problem to decide what to do united Hard optimization problem to decide what to do united Anti trust laws Anti trust laws

Solution Concepts  On a super additive game, the grand coalition is likely to form, and the coalition gets v(A)  How much does each agent gets?  We want a value division  We want to divide all the gains:

The Core  The best known solution concept  Proposed by Gillies (1953) and von Neumann & Morgenstein (1947)  A value division is in the core if no sub coalition has an incentive to break away  A value division d is blocked by a sub coalition S if  If d is blocked by S, it is not in the core  Some coalitional games have an empty core

Player Types  Dummy players add nothing to all coalitions:  Equivalent players add the same to any coalition that does not contain any of the two players:

The Shapley Value (Cont.)  A well know value division scheme  Aims to distribute the gains in a fair manner  A value division that conforms to the set of the following axioms: Dummy players get nothing Dummy players get nothing Equivalent players get the same Equivalent players get the same If a game v can be decomposed into two sub games, an agent gets the sum of values in the two games: If a game v can be decomposed into two sub games, an agent gets the sum of values in the two games:  Only one such value division scheme exists

The Shapley Value  Given an ordering of the agents in A, we define to be the set of agents of A that appear before a in  The Shapley value is defined as the marginal contribution of an agent to its set of predecessors, averaged on all possible permutations of the agents:

A Simple Way to Compute The Shapley Value  Simply go over all the possible permutations of the agents and get the marginal contribution of the agent, sum these up, and divide by |A|!  Extremely slow  Can we use the fact that a game may be decomposed to sub games, each concerning only a few of the agents?

Computing the Shapley Value  If v can be decomposed to several sub games, we know (from the axioms) that  If only concerns then for any player a, we have

Computing the Shapley Value  We do not really need to sum over all possible orderings, but rather on all possible subsets of agents that arrive before player a  For each such sub set we get the same marginal contribution of player a.  If the sub set S has n agents, there are n! ordering on the players inside. There are then (|A|-n-1)! ways to complete this ordering to an ordering on all agents. We get:

Computing the Shapley Value Quickly in Multi Issue Domains  Compute the Shapley value for each sub game, using the previous formula, only taking into account the concerning agents, then sum these up  If we assume computation of factorials, multiplication and addition in constant time we get an time complexity of or less precisely

Marginal Contribution Based Value Division Schemes  A marginal contribution scheme is a scheme that chooses some ordering of the players, and distributes the gains to the players according to their marginal contribution  If on the chosen orderings you add much to the value of the coalition of the players before you on the ordering, you deserve a nice share of the profits

 We didn’t go beyond this point in class, but I left the rest of the slides in case someone was interested.

Marginal Contribution Based Value Division Schemes  For the Shapley value we have considered an average on all possible orders  If we consider just one of the possible orderings, the value an agent gets depends on it location in the ordering Obviously, the agent has a specific location it wants to be in Obviously, the agent has a specific location it wants to be in If the game is convex (you add to a coalition at least as much as you add to any of its subsets), you want to be last in the ordering If the game is convex (you add to a coalition at least as much as you add to any of its subsets), you want to be last in the ordering

Marginal Contribution Based Value Division Schemes (Cont.)  If we randomly choose a permutation the expectancy of the value distribution for an agent is its Shapley value This requires a trusted source of randomness / cryptography This requires a trusted source of randomness / cryptography  Another way is to show that even if an agent has total control on the ordering chosen, it would still be computationally intractable for that agent to find the optimal ordering for him  The computational complexity is used as a barrier for manipulation

Maximal Marginal Contribution  Let v be a game decomposed as follows: and the game only concerns and the game only concerns  We are given an agent a and a number k, and are asked if there is some such that the value  We want to see if we can find a subset of the agents to which a’s marginal contribution is at least k These would be the agents before a in the ordering a would choose These would be the agents before a in the ordering a would choose

NP-Completeness of Max- Marginal-Contribution  Conitzer and Sandholm have shown that Max-Marginal-Contribution is NP- Complete, even in the case that and all ‘s take values in {0,1,2}  The problem is in NP since for a given subset of agents we can simply calculate the marginal contribution of a to this subset

NP-Completeness of Max- Marginal-Contribution  NP-hardness is proven by reducing an arbitrary MAX2SAT instance to a Max-Marginal-Contribution instance  In MAX2SAT we are given a set V of Boolean variables and a set of clauses C, each with 2 literals, and a target number r of satisfied clauses  For each variable v in V there is an agent Av  We also have an agent a, whose contribution we want to maximize  For every clause c there is a sub game (issue) tc, that only concerns the agents a and the agents representing the variables in the clause c

NP-Completeness of Max- Marginal-Contribution  The sub game results are as follows: 1 point for having a in the coalition 1 point for having a in the coalition 1 point for having all the agents representing the negative literals 1 point for having all the agents representing the negative literals But, if you want to get 2 points, you also have to have one of the agents representing the positive literals But, if you want to get 2 points, you also have to have one of the agents representing the positive literals  The marginal contribution we want is k=r

NP-Completeness of Max- Marginal-Contribution  If there is a solution to MAX2SAT with r satisfied clauses, take V+ - the variables set to true What is the marginal contribution of a to this subset? What is the marginal contribution of a to this subset? Hint: you either satisfied the clause by setting one of the negative literals to false, or if you didn’t, you’ve set one of the positive literals to true Hint: you either satisfied the clause by setting one of the negative literals to false, or if you didn’t, you’ve set one of the positive literals to true  Given a solution S to max-marginal-contribution, look at the assignment of true to everything in S, false otherwise If a sub game tc has increased the value by 1 due to adding a, what can you say about the clause? If a sub game tc has increased the value by 1 due to adding a, what can you say about the clause?  Open question: we have used increasing games here, so the problem is NP-Complete even if the game is known to be increasing. What is the complexity for super additive games?

Checking Core Membership  Let v be a game decomposed as follows: and the game only concerns and the game only concerns  We are given a value division that may not even be feasible If it isn’t we can increase only the value of the grand coalition to the point where it is (the help of an outside benefactor for the stability) If it isn’t we can increase only the value of the grand coalition to the point where it is (the help of an outside benefactor for the stability)  We are asked if the division is in the core, or if there is no blocking sub coalition for it

NP-Completeness of Checking Core Membership  Conitzer and Sandholm have shown that checking core membership (CHECKE-IF- BLOCKED) is NP-Complete  The problem is in NP since for a given subset of agents we can simply calculate the sum of their values in the division and see if it is less than v(S)

NP-Completeness of Checking Core Membership  NP-hardness is proven by reducing an arbitrary VERTEX-COVER instance to a core membership problem  We have an agent for each vertex, av, and another special agent a  We have a sub game for each edge, that only concerns agent a and the agents of the edge’s vertices  The value of the sub game is 1 if the coalition contains agent a and at least one of the edge’s vertices (we have agent a, and the edge is covered)  The value distribution to check:

NP-Completeness of Checking Core Membership  If there is a vertex cover with W vertices What is the value of the coalition of these vertices and agent a? What is the value of the coalition of these vertices and agent a? How much do they get according to the value distribution? How much do they get according to the value distribution?  If a set of agents is a blocking coalition It has to contain agent a (or they get nothing) It has to contain agent a (or they get nothing) Consider the set of vertices of the agents in the blocking coalition, W Consider the set of vertices of the agents in the blocking coalition, W How much do they get according to the value distribution? How much do they get according to the value distribution? Can the number of vertices in W be smaller than r? Can the number of vertices in W be smaller than r? To block, v(S) must be greater than v(a), since a is in the blocking coalition To block, v(S) must be greater than v(a), since a is in the blocking coalition But then we have to get 1 for every sub game, so we have covered all the edges, with r vertices or less But then we have to get 1 for every sub game, so we have covered all the edges, with r vertices or less

Conclusions  Coalitional games important for automated negotiation between agents  Such games can be decomposed to sub games (issues) which only concern some of the agents  We can quickly compute the Shapley value in some of these cases  Other marginal contribution value distribution schemes can be manipulated, but the general case is hard (an NP-complete problem) So such distribution schemes are acceptable in some cases, even if some of the agents have control on the chosen ordering So such distribution schemes are acceptable in some cases, even if some of the agents have control on the chosen ordering  Checking if a value distribution is stable (in the core) is hard (and NP-Complete problem in the general case)

Open Questions  NTU games (no side payments)  Finding value divisions the are even harder to manipulate (eg. PSPACE-hard)  Finding stability concepts that take into account the complexity of finding a beneficial deviation  The complexity of other (longer term) solution concepts