Inferensys

Glossary

Coalitional Game Theory

The mathematical field studying how groups of players form coalitions and distribute payoffs, providing the theoretical foundation for Shapley values.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
FOUNDATIONAL MATHEMATICS

What is Coalitional Game Theory?

Coalitional game theory is the branch of game theory that studies how groups of rational players, called coalitions, can form and how the total payoff generated by their cooperation should be fairly distributed among them.

Coalitional game theory focuses on the outcomes of group collaboration rather than the strategic moves of individual players. The central mathematical object is the characteristic function, which assigns a value to every possible subset (coalition) of players, representing the total payoff that coalition can guarantee itself regardless of the actions of players outside it. This framework abstracts away the specific actions taken and directly models the worth of cooperation, making it ideal for analyzing cost-sharing, profit allocation, and voting power.

The core intellectual challenge is defining a solution concept—a rule for dividing the coalition's total value among its members in a way that is both fair and stable. A stable allocation ensures no sub-coalition has an incentive to defect and achieve a higher payoff on its own. The most celebrated solution concept is the Shapley value, which uniquely satisfies axioms of efficiency, symmetry, null player, and additivity, providing a mathematically rigorous foundation for feature attribution in modern machine learning.

Axiomatic Foundations

Core Properties of Coalitional Games

Coalitional game theory provides the mathematical structure for reasoning about cooperation. These core properties define how value is created by groups and how it must be fairly distributed, forming the axiomatic basis for Shapley values.

01

Superadditivity

The fundamental incentive for cooperation. A game is superadditive if the value created by two disjoint coalitions working together is at least the sum of what they could achieve separately.

  • Formal definition: v(S ∪ T) ≥ v(S) + v(T) for all disjoint S, T ⊆ N
  • Interpretation: The whole is greater than the sum of its parts
  • Practical implication: In ML, this justifies why including more features never reduces the total predictive power available
  • Counterexample: A game without superadditivity has no incentive for grand coalition formation
02

Efficiency

The Efficiency axiom requires that the total value generated by the grand coalition (all players) is fully distributed among the players, with nothing left over and no deficit.

  • Formal definition: Σᵢ₌₁ⁿ φᵢ(v) = v(N)
  • SHAP translation: The sum of all feature attributions exactly equals the difference between the model prediction and the baseline
  • Why it matters: Ensures explanations are complete — no unexplained contribution is hidden
  • Audit significance: Compliance officers can verify that 100% of a decision is accounted for
03

Symmetry

Players who contribute identically to every possible coalition must receive identical payoffs. This is the fairness axiom.

  • Formal definition: If v(S ∪ {i}) = v(S ∪ {j}) for all S ⊆ N \ {i,j}, then φᵢ(v) = φⱼ(v)
  • SHAP translation: Two features with identical effects on the model receive identical SHAP values
  • Practical example: If age and years_of_experience have the exact same marginal contribution in every feature subset, they get equal attribution
  • Discrimination safeguard: Prevents arbitrary bias in feature importance assignment
04

Dummy Player (Null Player)

A player who contributes nothing to any coalition receives zero payoff. This is the axiom of non-entitlement.

  • Formal definition: If v(S ∪ {i}) = v(S) for all S ⊆ N \ {i}, then φᵢ(v) = 0
  • SHAP translation: Features that never affect the model prediction get SHAP values of zero
  • Missingness property: Directly corresponds to the SHAP requirement that absent features have zero attribution
  • Debugging utility: Non-zero SHAP for a supposedly irrelevant feature signals data leakage or spurious correlation
05

Linearity (Additivity)

The value assigned to a player across two separate games played simultaneously equals the sum of what they would receive in each game individually.

  • Formal definition: φᵢ(v + w) = φᵢ(v) + φᵢ(w) for any two games v and w
  • SHAP consequence: SHAP values are additive across models — the explanation of an ensemble is the average of individual model explanations
  • Computational benefit: Enables decomposition of complex models into interpretable components
  • Ensemble transparency: Random forest SHAP = weighted average of individual tree SHAP values
06

Marginal Contribution Principle

The marginal contribution of player i to coalition S is the additional value gained when i joins: v(S ∪ {i}) − v(S). The Shapley value is the weighted average of these marginal contributions over all possible coalition orderings.

  • All 2ⁿ⁻¹ subsets are considered for each player
  • Weighting: Each coalition size gets equal total weight, with permutations within a size uniformly weighted
  • SHAP computation: Each feature's value is masked in and out across all feature subsets
  • Computational challenge: Exact computation is NP-hard, motivating KernelSHAP and TreeSHAP approximations
COALITIONAL GAME THEORY

Frequently Asked Questions

Explore the mathematical foundations of cooperative game theory that underpin modern machine learning interpretability, focusing on how groups of players form coalitions and distribute payoffs.

Coalitional game theory is a branch of game theory that studies how groups of rational players, called coalitions, can cooperate to achieve better outcomes and how the resulting collective payoff should be fairly distributed among them. Unlike non-cooperative game theory, which analyzes individual strategic choices, coalitional game theory focuses on the value generated by subsets of players working together. The framework is defined by a characteristic function v(S) that assigns a real number to every possible coalition S, representing the total payoff that coalition can guarantee itself regardless of what other players do. The central question is one of allocation: given the total value v(N) generated by the grand coalition of all players, how should this value be divided among individuals in a way that is both fair and stable? Stability is often defined by the core, the set of allocations where no sub-coalition has an incentive to defect because they cannot achieve a higher payoff on their own. This mathematical structure provides the rigorous foundation for the Shapley value, which is the dominant solution concept used in machine learning to attribute a model's prediction to its input features.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.