Loss Functions for Behavioral Game Theory

Greg d'Eon, Sophie Greenwood, Kevin Leyton-Brown, James R. Wright · OpenReview

Abstract

Behavioral game theorists all use experimental data to evaluate predictive models of human behavior. However, they differ greatly in their choice of loss function for these evaluations, with error rate, negative log-likelihood, cross-entropy, Brier score, and L2 error all being common choices. We attempt to offer a principled answer to the question of which loss functions make sense for this task, formalizing desiderata that we argue loss functions should satisfy. We construct a family of loss functions, which we dub "diagonal bounded Bregman divergences", that satisfy all of these axioms and includes the squared L2 error. In fact, the squared L2 error is the only acceptable loss that is relatively commonly used in practice; we thus recommend its continued use to behavioral game theorists.

Introduction

In the behavioral sciences, a fundamental question often goes unasked: How do we determine if one model of human behavior is superior to another? While researchers have a variety of loss functions at their disposal—such as Negative Log-Likelihood (NLL), Brier score, or error rate—these metrics frequently disagree on which model "wins." This paper, presented at AAAI 2024, applies a rigorous axiomatic approach to demonstrate that many common metrics are mathematically flawed for evaluating behavioral models, ultimately identifying Squared $L_2$ error as the most principled choice.

The Challenge of Model Evaluation

In fields like behavioral game theory, researchers build models to predict human decision-making in scenarios like the "Traveler’s Dilemma." These models are typically interpretable, possessing few parameters, but are inherently misspecified because they cannot perfectly capture the complexity of human behavior.

The lack of consensus on loss functions creates a significant problem. If Model A yields a lower error rate while Model B provides a better NLL, the choice of metric can dictate the study's conclusions. The authors argue that this selection should be based on formal principles rather than convention or convenience.

An Axiomatic Framework for Loss Functions

The authors move away from "what feels right" and toward a first-principles axiomatic approach. They propose five primary axioms that a robust loss function for behavioral modeling should satisfy:

  1. Alignment Axioms (DPA & SPA): These ensure the loss function correctly ranks predictions. If Prediction A is "unambiguously closer" to the truth than Prediction B, it must receive a lower loss.
  2. Interpretability Axioms:
    • Empirical Distribution Sufficiency (EDS): The loss should depend on the distribution of the data, not the total number of observations (a criterion NLL fails).
  3. Counterfactual Pareto-Regularity (CPR): If the data shifts to more closely resemble a prediction, the loss for that prediction should decrease.
  4. Zero Minimum (ZM): A perfect prediction must result in a loss of exactly zero.

Using these axioms, the authors identify a mathematical family called diagonal bounded Bregman divergences (DBBDs) that satisfy all requirements.

Table 1: Comparison of common loss functions against the proposed axioms. Only Squared L2 error satisfies all criteria.

Key Insights and Results

The analysis reveals critical flaws in widely used metrics, as summarized in the axiomatic scorecard above:

  • The "Scoring Rule" Trap: Many researchers favor "proper" scoring rules like NLL or Brier score because they are minimized by the true distribution. However, while effective for training, they often fail interpretability axioms like Zero Minimum or Counterfactual Pareto-Regularity, making them poor choices for evaluation.
  • Failure of the Likelihood Principle: Standard statistical approaches often suggest using Likelihood. The authors argue this only works if the model class is "well-specified" (contains the true distribution). Since behavioral models are almost always approximations, the Likelihood Principle does not apply.
  • Squared $L_2$ as the Standard: Out of all commonly used metrics, only the squared $L_2$ error (the squared distance between the predicted and empirical distributions) satisfies all the proposed axioms.

The impact of these findings was validated using experimental data from Goeree and Holt (2001) on the "Traveler’s Dilemma." The choice of loss function was found to flip the results: while the error rate suggested the Nash Equilibrium was the superior model, NLL and Squared $L_2$ indicated that Level-k models were more accurate.

Conclusion and Future Directions

The study concludes that Squared $L_2$ error should be the standard for evaluating behavioral models. However, limitations remain. The current axioms are designed for discrete outcomes; extending this framework to continuous behaviors (e.g., monetary contributions) is a key area for future work. Additionally, while these axioms are vital for interpretable behavioral models, they may be less critical for high-capacity "black-box" models where pure prediction rather than understanding human cognition is the primary goal.

Summary updated

BibTeX
@inproceedings{deon2024loss,
  author = {Greg d'Eon and Sophie Greenwood and Kevin Leyton-Brown and James R. Wright},
  title = {{Loss Functions for Behavioral Game Theory}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i9.28820},
}
Figure