How to Evaluate Behavioral Models

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

TL;DR

Behavioral game theorists often disagree on how to measure model performance, leading to a "wild west" of conflicting loss functions like negative log-likelihood (NLL) and error rate. This paper provides a principled, axiomatic framework to identify the ideal loss function, ultimately recommending squared L2 error as the gold standard for evaluating how well models capture human behavior.

What Problem Does This Paper Address?

In fields like behavioral game theory, researchers build models to predict how humans will act in strategic situations. However, there is no consensus on how to evaluate these models. Should we care about the "error rate" (how often the model predicts the exact right action)? Or the "likelihood" of the data given the model?

The choice isn't just academic—different loss functions often disagree on which model is "best." A model that looks superior under NLL might look mediocre under the Brier score. This paper seeks to move beyond subjective preference by asking: What fundamental properties (axioms) must a loss function have to be a fair and interpretable measure of behavioral model quality?

Methods

The authors employ an axiomatic approach. They define five key requirements that any "good" loss function for behavioral modeling should satisfy:

  1. Alignment Axioms (DPA & SPA): These ensure that if a model’s predictions are "unambiguously closer" (a Pareto improvement) to the true distribution or the observed data, the loss function must reward it with a lower score.
  2. Interpretability Axioms:
    • Empirical Distribution Sufficiency (EDS): The loss should only depend on the distribution of the data, not the number of observations or their order.
  3. Counterfactual Pareto-Regularity (CPR): If the data itself changes to become closer to a fixed prediction, the loss should decrease.
  4. Zero-Minimum (ZM): A perfect prediction should always result in a loss of exactly zero, providing a clear baseline for "perfect" performance.

The authors then mathematically characterize the family of functions that satisfy these axioms, which they name diagonal bounded Bregman divergences (DBBD).

Datasets

To demonstrate the practical impact of their theory, the authors use experimental data from two versions of the "Traveler’s Dilemma" game (Goeree and Holt 2001). They evaluate three classic behavioral models on this data:

  • Nash Equilibrium: The standard "rational" prediction.
  • Level-k: A model where players assume others are less sophisticated than themselves.
  • Quantal Cognitive Hierarchy (QCH): A more complex model combining bounded rationality and hierarchical thinking.

Key Insights and Ideas

  • Scoring Rules vs. Evaluation Metrics: A major "aha" moment is the distinction between training and evaluation. The authors show that the entire class of "scoring rules" (which includes NLL and Brier score) is excellent for training models but fails as an evaluation metric. Specifically, scoring rules cannot satisfy both Pareto-alignment and the Zero-Minimum requirement simultaneously.
  • The Failure of NLL: Negative log-likelihood, perhaps the most common choice in the field, is shown to be problematic because it scales linearly with the number of observations (violating EDS) and can assign infinite loss to models that are "mostly right" but miss a single rare action (violating Pareto-alignment).
  • Squared L2 Error is the Winner: Among all commonly used losses, only the squared L2 error between the predicted and empirical distributions satisfies all the proposed axioms.
Table 1: A "report card" showing how common loss functions fail various axioms. Only Squared L2 error passes every test.

Key Results

The theoretical results are stark: most popular loss functions are flawed for evaluation.

  • Error Rate violates almost every axiom, including the basic requirement that a perfect prediction should minimize the loss.
  • MAE (Mean Absolute Error) fails to elicit the true distribution in expectation (violating Distributional Propriety).
  • NLL, Cross-entropy, and Brier score all fail the interpretability axioms, often because they lack a stable zero-baseline or don't respect data changes correctly.

In the empirical test on the Traveler's Dilemma, the authors show that these theoretical failures have real-world consequences. For instance, in the "high penalty" game, the error rate actually ranks a perfect prediction worse than a flawed Nash equilibrium model.

Figure 1: Comparison of different loss functions on real behavioral data. Note how the ranking of models (Nash, Lk, QCH) shifts depending on which loss is used.

Limitations and Future Work

  • Discrete Outcomes Only: The current axioms, particularly Counterfactual Pareto-Regularity (CPR), are designed for discrete outcome spaces (like choosing between actions A, B, or C). Extending this to continuous outcomes (like predicting a person's future income) remains an open challenge.
  • Aggregation: While the paper discusses how to aggregate losses across multiple settings, it notes that more work is needed to define axioms that prevent "unreasonable" methods of averaging results across very different experiments.
  • Action Identities: The current framework treats all actions as abstract categories. Future work could incorporate the "meaning" of actions (e.g., in Rock-Paper-Scissors, knowing that Rock is related to Paper) into the loss function.

Summary updated

BibTeX
@inproceedings{deon2024how,
  author = {Greg d'Eon and Sophie Greenwood and Kevin Leyton-Brown and James R. Wright},
  title = {{How to Evaluate Behavioral Models}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i9.28820},
}
Figure