Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 9

Fair Allocation in Photoshoots: Zero-Sum, Non-Zero-Sum, and Shapley Value

Recommended resources

Welcome back. In our last lesson, we delved into the world of repeated, non-cooperative games, analyzing how strategies like Tit-for-Tat and Win-Stay, Lose-Shift can foster long-term cooperation in the hotwife-bull dynamic, even without binding agreements. We saw that the "shadow of the future" can be enough to align incentives toward mutual benefit.

Today, we shift our focus to a different class of interactions: cooperative games. Here, players can communicate and form binding agreements to work together. This raises a new fundamental question: when a team collaborates to create value—to "grow the pie"—how should that value be divided fairly among its members?

This brings us to this lesson's objective: to distinguish between zero-sum and non-zero-sum elements in allocating photoshoot time, and apply cooperative game theory (Shapley value) to fairly attribute the 'sexiness' value generated by a team (model, photographer, stylist). We will dissect a creative collaboration, understand the inherent tensions between cooperation and competition, and use a powerful tool from game theory to assign credit where it's due.

1. Growing the Pie vs. Dividing the Pie

Most complex human endeavors are a mix of cooperation and competition. A boudoir photoshoot is a perfect example. On one hand, the model, photographer, and stylist have a shared goal: to create the most stunning and "sexy" portfolio possible. When their skills synergize, they create a result far greater than the sum of their individual efforts. This is a positive-sum (or non-zero-sum) game. The pie gets bigger.

On the other hand, resources are finite.

  • Time: The hours in the studio are limited. Time spent perfecting one look is time not spent on another. Allocating this fixed resource is a zero-sum game. More time for outfit A means less time for outfit B.
  • Credit: After a successful shoot, who gets the lion's share of the credit? The model for her performance, the photographer for their eye, or the stylist for the concept? The division of professional acclaim and financial reward often has zero-sum characteristics.

This tension is at the heart of many collaborations. While everyone works to make the pie bigger, they are also implicitly competing for the largest slice.

All is fair in love and war, on Zero-sum games in life - LessWrong

This article from the blog LessWrong explores the prevalence and importance of zero-sum games in life. While the author's use of game theory terminology is sometimes informal, the core ideas and the ensuing discussion are highly relevant.

First, read the section in life to get a feel for different domains where zero-sum competition arises. Pay special attention to the fourth category, "hidden" in positive-sum games. This directly captures the photoshoot scenario. Then, in the comments section, review the insightful discussion thread that begins with the comment, "Yes, the choice...". This commentary provides a more rigorous framing of the pie-growing versus pie-dividing problem.

The key takeaway is that to sustain a successful collaboration, the "division of the pie" problem must be addressed. If contributors feel their efforts are not being fairly recognized or rewarded, the incentive to cooperate dwindles. This is where cooperative game theory, and specifically the Shapley value, provides a solution.


2. The Shapley Value: A Fair Share for All

In the 1950s, mathematician and economist Lloyd Shapley developed a method to fairly distribute the total value created by a coalition of cooperating players. The Shapley value is a player's average marginal contribution to the group. It answers the question: "On average, how much extra value did this person bring to the table, considering all the possible ways the team could have been formed?"

The following video provides an exceptionally clear and intuitive explanation of the Shapley value, using a simple taxi-sharing problem.

How to fairly split weird bills using GAME THEORY

Dr. Trefor Bazett's video, "How to fairly split weird bills using GAME THEORY," is a masterclass in making a complex concept accessible.

Please watch from the beginning until the first part of the video. As you watch, focus on these key stages: The initial problem and why simple divisions are unfair (bad answers). The core concept of marginal contribution based on the order of joining (the idea). The calculation process: listing all permutations and averaging the marginal contributions for each player (the table).

As the video demonstrates, the Shapley value isn't just an arbitrary calculation. It is the unique solution that satisfies four intuitive axioms of fairness.

Shapley value

The Wikipedia article provides a concise and formal overview of the Shapley value and its properties.

First, read the introduction for a summary of the concept. Next, review the formal definition and the mathematical formula. Finally, read the section on Properties to understand the four axioms—Efficiency, Symmetry, Linearity, and Null Player—that guarantee its fairness.

Now, let's apply this powerful tool to our photoshoot scenario.


3. Calculating the Value of a Creative Team

Imagine our team consists of three players: a Model (M), a Photographer (P), and a Stylist (S). Their goal is to produce a portfolio with the highest possible "sexiness" score, which we'll measure on a scale of 0 to 100. Through preliminary test shoots or expert evaluation, we've determined the value each possible coalition can generate. This is our characteristic function, .

  • (No one shows up, no value is created.)
  • (Model takes high-quality selfies. Good, but limited.)
  • (Photographer has a great setup but shoots a mannequin. Technically proficient, but lacks life.)
  • (Stylist creates a fantastic look and posts a flat-lay photo. Good for social media, but not a full shoot.)
  • (Model and photographer work together. Great images, but the styling is improvised, limiting the artistic ceiling.)
  • (Model wears the stylist's look and takes selfies. The look is professional, elevating the selfies' quality.)
  • (Photographer shoots the stylist's look on a mannequin. A step up from either alone, but still missing the key element.)
  • (The grand coalition. All three collaborate, achieving the maximum possible score.)

Our task is to divide the total value of 100 among M, P, and S. We'll do this by calculating the average marginal contribution of each player across all 3! = 6 possible permutations of them joining the team.

Let's build the table of marginal contributions, just as in the video. The marginal contribution of a player is , where is the set of players who joined before player .

Order Marginal Contribution of M Marginal Contribution of P Marginal Contribution of S
M, P, S = 20 = 50 = 30
M, S, P = 20 = 50 = 30
P, M, S = 65 = 5 = 30
P, S, M = 85 = 5 = 10
S, M, P = 40 = 50 = 10
S, P, M = 85 = 5 = 10
Total 315 165 120
Average 315 / 6 = 52.5 165 / 6 = 27.5 120 / 6 = 20.0

The Shapley values are:

  • Model (ΦM): 52.5
  • Photographer (ΦP): 27.5
  • Stylist (ΦS): 20.0

Notice that 52.5 + 27.5 + 20.0 = 100, satisfying the Efficiency axiom. The entire value of the grand coalition has been fairly distributed.

Interpretation:
The result quantifies the contribution of each team member. The Model is the most critical player, contributing 52.5% of the total value. This aligns with intuition; without her, the "sexiness" score is severely capped. The Photographer is the next most vital, contributing 27.5%. The synergy between Model and Photographer is powerful (their two-person coalition creates a high value of 70). The Stylist, while adding crucial value and elevating the final product, contributes 20%.

This doesn't mean the stylist is "less important" in a colloquial sense, but that their marginal impact, averaged across all contexts, is captured by this value. It provides a principled, objective basis for dividing profits, royalties, or even just professional credit.


4. A Modern Application: Explaining AI Models

The Shapley value has seen a major resurgence in a field you are quite familiar with: machine learning. The SHAP (SHapley Additive exPlanations) framework uses this exact concept to explain the output of complex predictive models.

In this context:

  • The "players" are the input features of the model.
  • The "game" is the prediction for a single data point.
  • The "value" is the difference between the model's prediction and the average prediction.
  • The Shapley value (or SHAP value) of a feature tells us how much that feature contributed to pushing the prediction away from the average.
A SHAP force plot explaining a single prediction from a housing price model. The base value E[f(X)] is the average prediction. Features in red (like MedInc) push the prediction higher, while features in blue (like Longitude) push it lower. The size of the bar corresponds to the magnitude of that feature's Shapley value.

This plot is a direct visualization of the Shapley values for each feature's contribution to one specific prediction. It powerfully demonstrates how a concept from 1950s game theory provides the theoretical foundation for cutting-edge explainable AI (XAI), a testament to its enduring relevance.


Conclusion

In this lesson, we bridged the gap between non-cooperative and cooperative game theory. We saw that even in positive-sum collaborations like a photoshoot, zero-sum elements of division are unavoidable. By applying the Shapley value, we found a rigorous and fair method to attribute the collaboratively generated "sexiness" value back to the individual contributors.

Key Takeaways:

  • Collaborative projects are typically non-zero-sum, but the division of finite resources (like time) and rewards (like credit) introduces zero-sum dynamics.
  • The Shapley value from cooperative game theory provides a fair way to divide the total value created by a team.
  • It is calculated as a player's average marginal contribution across all possible sequences of coalition formation.
  • Its fairness is underpinned by four mathematical axioms: Efficiency, Symmetry, Null Player, and Linearity.
  • This concept is not just theoretical; it is the foundation for modern techniques like SHAP used in explainable artificial intelligence.

In our previous lessons, we analyzed strategic interactions where players act independently. In this lesson, we assumed players agreed to cooperate and focused on fairly dividing the gains. But how is that initial agreement reached? In our next lesson, we will explore this negotiation process by formulating a cooperative bargaining model for the hotwife and bull to negotiate the terms of their encounters.