This post's main contribution is the formalization of game-theoretic defection as gaining personal utility at the expense of coalitional utility.
Rereading, the post feels charmingly straightforward and self-contained. The formalization feels obvious in hindsight, but I remember being quite confused about the precise difference between power-seeking and defection—perhaps because popular examples of taking over the world are also defections against the human/AI coalition. I now feel cleanly deconfused about this distinction. And if I was confused about it, I'd bet a lot of other people were, too.
I think this post is valuable as a self-contained formal insight into the nature of defection. If I could vote on it, I'd give it a 4 (or perhaps a 3, if the voting system allowed it).
Planned summary for the Alignment Newsletter:
We often talk about cooperating and defecting in general-sum games. This post proposes that we say that a player P has defected against a coalition C (that includes P) currently playing a strategy S when P deviates from the strategy S in a way that increases his or her own personal utility, but decreases the (weighted) average utility of the coalition. It shows that this definition has several nice intuitive properties: it implies that defection cannot exist in common-payoff games, uniformly weighted constant-sum games, or arbitrary games with a Nash equilibrium strategy. A Pareto improvement can also never be defection. It then goes on to show the opportunity for defection can exist in the Prisoner’s dilemma, Stag hunt, and Chicken (whether it exists depends on the specific payoff matrices).
As others have mentioned, there's an interpersonal utility comparison problem. In general, it is hard to determine how to weight utility between people. If I want to trade with you but you're not home, I can leave some amount of potatoes for you and take some amount of your milk. At what ratio of potatoes to milk am I "cooperating" with you, and at what level am I a thieving defector? If there's a market down the street that allows us to trade things for money then it's easy to do these comparisons and do Coasian payments as necessary to coordinate on maximizing the size of the pie. If we're on a deserted island together it's harder. Trying to drive a hard bargain and ask for more milk for my potatoes is a qualitatively different thing when there's no agreed upon metric you can use to say that I'm trying to "take more than I give".
Here is an interesting and hilarious experiment about how people play an iterated asymmetric prisoner's dilemma. The reason it wasn't more pure cooperation is that due to the asymmetry there was a disagreement between the players about what was "fair". AA thought JW should let him hit "D" some fraction of the time to equalize the payouts, and JW thought that "C/C" was the right answer to coordinate towards. If you read their comments, it's clear that AA thinks he's cooperating in the larger game, and that his "D" aren't anti-social at all. He's just trying to get a "fair" price for his potatoes, and he's mistaken about what that is. JW, on the other hand, is explicitly trying use his Ds to coax A into cooperation. This conflict is better understood as a disagreement over where on the Pareto frontier ("at which price") to trade than it is about whether it's better to cooperate with each other or defect.
In real life problems, it's usually not so obvious what options are properly thought of as "C" or "D", and when trying to play "tit for tat with forgiveness" we have to be able to figure out what actually counts as a tit to tat. To do so, we need to look at the extent to which the person is trying to cooperate vs trying to get away with shirking their duty to cooperate. In this case, AA was trying to cooperate, and so if JW could have talked to him and explained why C/C was the right cooperative solution, he might have been able to save the lossy Ds. If AA had just said "I think I can get away with stealing more value by hitting D while he cooperates", no amount of explaining what the right concept of cooperation looks like will fix that, so defecting as punishment is needed.
In general, the way to determine whether someone is "trying to cooperate" vs "trying to defect" is to look at how they see the payoff matrix, and figure out whether they're putting in effort to stay on the Pareto frontier or to go below it. If their choice shows that they are being diligent to give you as much as possible without giving up more themselves, then they may be trying to drive a hard bargain, but at least you can tell that they're trying to bargain. If their chosen move is conspicuously below (their perception of) the Pareto frontier, then you can know that they're either not-even-trying, or they're trying to make it clear that they're willing to harm themselves in order to harm you too.
In games like real life versions of "stag hunt", you don't want to punish people for not going stag hunting when it's obvious that no one else is going either and they're the one expending effort to rally people to coordinate in the first place. But when someone would have been capable of nearly assuring cooperation if they did their part and took an acceptable risk when it looked like it was going to work, then it makes sense to describe them as "defecting" when they're the one that doesn't show up to hunt the stag because they're off chasing rabbits.
"Deliberately sub-Pareto move" I think is a pretty good description of the kind of "defection" that means you're being tatted, and "negligently sub-Pareto" is a good description of the kind of tit to tat.
As others have mentioned, there's an interpersonal utility comparison problem. In general, it is hard to determine how to weight utility between people.
I actually don't think this is a problem for the use case I have in mind. I'm not trying to solve the comparison problem. This work formalizes: "given a utility weighting, what is defection?". I don't make any claim as to what is "fair" / where that weighting should come from. I suppose in the EGTA example, you'd want to make sure eg reward functions are identical.
"Deliberately sub-Pareto move" I think is a pretty good description of the kind of "defection" that means you're being tatted, and "negligently sub-Pareto" is a good description of the kind of tit to tat.
Defection doesn't always have to do with the Pareto frontier - look at PD, for example. , , are usually all Pareto optimal.
Combining the two conditions, we have
Since , this holds for some nonempty subinterval of .
I want to check that I'm following this. Would it be fair to paraphrase the two parts of this inequality as:
1) If your credence that the other player is going to play Stag is high enough, you won't even be tempted to play Hare.
2) If your credence that the other player is going to play Hare is high enough, then it's not defection to play Hare yourself.
?
I guess the rightmost term could be zero or negative, right? (If the difference between T and P is greater than or equal to the difference between P and S.) In that case, the payoffs would be such that there's no credence you could have that the other player will play Hare that would justify playing Hare yourself (or justify it as non-defection, that is).
So my claim #1 is always true, but claim #2 depends on the payoff values.
In other words, Stag Hunt could be subdivided into two games: one where the payoffs never justify playing Hare (as non-defection), and one where they sometimes do, depending on your credence that the other player will play Stag.
It's worth being careful to acknowledge that this set of assumptions is far more limited than the game-theoretical underpinnings. Because it requires interpersonal utility summation, you can't normalize in the same ways, and you need to do a LOT more work to show that any given situation fits this model. Most situations and policies don't even fit the more general individual-utility model, and I suspect even fewer will fit this extension.
That said, I like having it formalized, and I look forward to the extension to multi-coalition situations. A spy can benefit Russia and the world more than they hurt the average US resident.
I very much agree that interpersonal utility comparability is a strong assumption. I'll add a note.
Thanks to Michael Dennis for proposing the formal definition; to Andrew Critch for pointing me in this direction; to Abram Demski for proposing non-negative weighting; and to Alex Appel, Scott Emmons, Evan Hubinger, philh, Rohin Shah, and Carroll Wainwright for their feedback and ideas.
There's a good chance I'd like to publish this at some point as part of a larger work. However, I wanted to make the work available now, in case that doesn't happen soon.
People talk about 'defection' in social dilemma games, from the prisoner's dilemma to stag hunt to chicken. In the tragedy of the commons, we talk about defection. The concept has become a regular part of LessWrong discourse.
Informal definition. A player defects when they increase their personal payoff at the expense of the group.
This informal definition is no secret, being echoed from the ancient Formal Models of Dilemmas in Social Decision-Making to the recent Classifying games like the Prisoner's Dilemma:
Given that the prisoner's dilemma is the bread and butter of game theory and of many parts of economics, evolutionary biology, and psychology, you might think that someone had already formalized this. However, to my knowledge, no one has.
Formalism
Consider a finite n-player normal-form game, with player i having pure action set Ai and payoff function Pi:A1×…×An→R. Each player i chooses a strategy si∈Δ(Ai) (a distribution over Ai). Together, the strategies form a strategy profile s:=(s1,…,sn). s−i:=(s1,…,si−1,si+1,…,sn) is the strategy profile, excluding player i's strategy. A payoff profile contains the payoffs for all players under a given strategy profile.
A utility weighting (αj)j=1,…,n is a set of n non-negative weights (as in Harsanyi's utilitarian theorem). You can consider the weights as quantifying each player's contribution; they might represent a percieved social agreement or be the explicit result of a bargaining process.
When all αj are equal, we'll call that an equal weighting. However, if there are "utility monsters", we can downweight them accordingly.
We're implicitly assuming that payoffs are comparable across players. We want to investigate: given a utility weighting, which actions are defections?
Definition. Player i's action a∈Ai is a defection against strategy profile s and weighting (αj)j=1,…,n if
If such an action exists for some player i, strategy profile s, and weighting, then we say that there is an opportunity for defection in the game.
Remark. For an equal weighting, condition (2) is equivalent to demanding that the action not be a Kaldor-Hicks improvement.
Our definition seems to make reasonable intuitive sense. In the tragedy of the commons, each player rationally increases their utility, while imposing negative externalities on the other players and decreasing total utility. A spy might leak classified information, benefiting themselves and Russia but defecting against America.
Definition. Cooperation takes place when a strategy profile is maintained despite the opportunity for defection.
Theorem 1. In constant-sum games, there is no opportunity for defection against equal weightings.
Theorem 2. In common-payoff games (where all players share the same payoff function), there is no opportunity for defection.
Edit: In private communication, Joel Leibo points out that these two theorems formalize the intuition between the proverb "all's fair in love and war": you can't defect in fully competitive or fully cooperative situations.
Proposition 3. There is no opportunity for defection against Nash equilibria.
An action a∈Ai is a Pareto improvement over strategy profile s if, for all players j,Pj(a,s−i)≥Pj(si,s−i).
Proposition 4. Pareto improvements are never defections.
Game Theorems
We can prove that formal defection exists in the trifecta of famous games. Feel free to skip proofs if you aren't interested.
Theorem 5. In 2×2 symmetric games, if the Prisoner's Dilemma inequality is satisfied, defection can exist against equal weightings.
Proof. Suppose the Prisoner's Dilemma inequality holds. Further suppose that R>12(T+S). Then 2R>T+S. Then since T>R but T+S<2R, both players defect from (C1,C2) with Di.
Suppose instead that R≤12(T+S). Then T+S≥2R>2P, so T+S>2P. But P>S, so player 1 defects from (C1,D2) with action D1, and player 2 defects from (D1,C2) with action D2. QED.
Theorem 6. In 2×2 symmetric games, if the Stag Hunt inequality is satisfied, defection can exist against equal weightings.
Proof. Suppose that the Stag Hunt inequality is satisfied. Let p be the probability that player 1 plays Stag1. We now show that player 2 can always defect against strategy profile (p,Stag2) for some value of p.
For defection's first condition, we determine when P2(p,Stag2)<P2(p,Hare2):
pR+(1−p)S<pT+(1−p)Pp<P−S(R−T)+(P−S).This denominator is positive (R>T and P>S), as is the numerator. The fraction clearly falls in the open interval (0,1).
For defection's second condition, we determine when
P1(p,Stag2)+P2(p,Stag2)>P1(p,Hare2)+P2(p,Hare2)2pR+(1−p)(T+S)>p(S+T)+(1−p)2Pp>12(P−S)+(P−T)(R−T)+(P−S).Combining the two conditions, we have
1>P−S(R−T)+(P−S)>p>12(P−S)+(P−T)(R−T)+(P−S).
Since P−T≤0, this holds for some nonempty subinterval of [0,1). QED.
Theorem 7. In 2×2 symmetric games, if the Chicken inequality is satisfied, defection can exist against equal weightings.
Proof. Assume that the Chicken inequality is satisfied. This proof proceeds similarly as in theorem 6. Let p be the probability that player 1's strategy places on Turn1.
For defection's first condition, we determine when P2(p,Turn2)<P2(p,Ahead2):
pR+(1−p)S<pT+(1−p)Pp>P−S(R−T)+(P−S)1≥p>S−P(T−R)+(S−P)>0.
The inequality flips in the first equation because of the division by (R−T)+(P−S), which is negative (T>R and S>P). S>P, so p>0; this reflects the fact that (Ahead1,Turn2) is a Nash equilibrium, against which defection is impossible (proposition 3).
For defection's second condition, we determine when
P1(p,Turn2)+P2(p,Turn2)>P1(p,Ahead2)+P2(p,Ahead2)2pR+(1−p)(T+S)>p(S+T)+(1−p)2Pp<12(P−S)+(P−T)(R−T)+(P−S)p<12(S−P)+(T−P)(T−R)+(S−P).
The inequality again flips because (R−T)+(P−S) is negative. When R≤12(T+S), we have p<1, in which case defection does not exist against a pure strategy profile.
Combining the two conditions, we have
12(S−P)+(T−P)(T−R)+(S−P)>p>S−P(T−R)+(S−P)>0.Because T>S,
12(S−P)+(T−P)(T−R)+(S−P)>S−P(T−R)+(S−P).QED.
Discussion
This bit of basic theory will hopefully allow for things like principled classification of policies: "has an agent learned a 'non-cooperative' policy in a multi-agent setting?". For example, the empirical game-theoretic analyses (EGTA) of Leibo et al.'s Multi-agent Reinforcement Learning in Sequential Social Dilemmas say that apple-harvesting agents are defecting when they zap each other with beams. Instead of using a qualitative metric, you could choose a desired non-zapping strategy profile, and then use EGTA to classify formal defections from that. This approach would still have a free parameter, but it seems better.
I had vague pre-theoretic intuitions about 'defection', and now I feel more capable of reasoning about what is and isn't a defection. In particular, I'd been confused by the difference between power-seeking and defection, and now I'm not.