Inverse Game Theory for Stackelberg Games: the Blessing of Bounded Rationality

Jibang Wu, Weiran Shen, Fei Fang, Haifeng Xu

Abstract

Optimizing strategic decisions (a.k.a. computing equilibrium) is key to the success of many non-cooperative multi-agent applications. However, in many real-world situations, we may face the exact opposite of this game-theoretic problem—instead of prescribing equilibrium of a given game, we may directly observe the agents' equilibrium behaviors but want to infer the underlying parameters of an unknown game. This research question, also known as inverse game theory, has been studied in multiple recent works in the context of Stackelberg games. Unfortunately, existing works exhibit quite negative results, showing statistical hardness and computational hardness, assuming follower's perfectly rational behaviors. Our work relaxes the perfect rationality agent assumption to the classic quantal response model, a more realistic behavior model of bounded rationality. Interestingly, we show that the smooth property brought by such bounded rationality model actually leads to provably more efficient learning of the follower utility parameters in general Stackelberg games. Systematic empirical experiments on synthesized games confirm our theoretical results and further suggest its robustness beyond the strict quantal response model.

Introduction: The Inverse Problem

In classical game theory, the objective is typically to predict agent behavior given a known set of rules and payoffs. Inverse Game Theory flips this paradigm: given observed behaviors, can we reconstruct the underlying utility functions? This is a critical capability for real-world applications such as security games—where a defender must infer an attacker's priorities—and dynamic pricing, where platforms seek to understand consumer preferences through their reactions to price shifts.

Historically, this problem has been approached under the assumption of perfect rationality, where agents are assumed to always select the utility-maximizing action. Paradoxically, this assumption makes the inverse problem mathematically intractable. If an agent never selects a "suboptimal" action, the observer gains no information about the relative values of those unchosen options, leading to exponential statistical and computational complexity.

The Challenge of Perfect Rationality

Under perfect rationality, the follower's response is a step function: a tiny change in utility can lead to a discrete jump in behavior, or no change at all if the action remains suboptimal. This lack of "smoothness" creates an information gap.

A sample game matrix illustrating the difficulty of utility recovery. In this scenario, if the follower is perfectly rational, they will always choose action $j_2$ because its utility (1) is higher than $j_1$ (0.9). Consequently, an observer never sees $j_1$ played and cannot determine if its utility is 0.9 or -100.

As shown in the example above, if the follower always plays the best response, we cannot distinguish between payoffs that result in the same optimal choice. Previous research has demonstrated that this leads to significant hardness results in learning game parameters.

The "Blessing" of Bounded Rationality

This paper proposes a shift toward the Quantal Response (QR) model. In this framework, agents are "boundedly rational": they are more likely to choose actions with higher utilities, but they occasionally choose suboptimal options according to a logit (softmax) distribution.

While "noise" in behavior is often viewed as a hurdle, this work identifies it as a "blessing." Because every action is played with some non-zero probability, the frequency of suboptimal choices provides a gradient that reveals the underlying utility differences. The smoothness of the logit function transforms a combinatorial search problem into a continuous, convex optimization problem.

The PURE Algorithm

The authors introduce PURE (and its variant PURE-Exp), a framework designed for active utility recovery:

  1. Active Learning: The leader (e.g., the defender) strategically commits to actions to observe the follower's response distribution.
  2. Convex Optimization: The algorithm minimizes the cross-entropy loss between observed behavior and the predicted QR behavior. This formulation is computationally efficient and statistically robust.
  3. Exploration-Exploitation (PURE-Exp): In cases where the follower is highly rational (low noise), the algorithm introduces perturbations to the leader's strategy to ensure the resulting data is sufficiently informative to "invert" the game.

Key Results and Insights

  • Provable Efficiency: The authors establish a sample complexity of $\Theta(\frac{m \log(mn/\delta)}{\rho \epsilon^2})$. This represents a massive improvement over the exponential complexity required under perfect rationality.
  • Follower Action Independence: A surprising theoretical finding is that if the follower's full mixed strategy is observable, the number of queries needed is independent of the number of follower actions ($n$), depending only on the number of leader actions ($m$).
  • Robustness: Empirical tests on synthesized games show that the method remains effective even when follower behavior deviates from the strict QR model, suggesting applicability to the messy, non-idealized behaviors of real-world human agents.

Conclusion

By embracing the reality of bounded rationality, this work turns a perceived weakness of human behavior into a mathematical advantage. The transition from discrete, perfectly rational models to smooth, quantal response models enables the first provably efficient algorithms for inverse Stackelberg games. Future work may extend these "blessings" to other behavioral models, such as Prospect Theory, further bridging the gap between game-theoretic theory and practical application.

Summary updated

BibTeX
@inproceedings{wu2022inverse,
  author = {Jibang Wu and Weiran Shen and Fei Fang and Haifeng Xu},
  title = {{Inverse Game Theory for Stackelberg Games: the Blessing of Bounded Rationality}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=Subb1f1hf4},
}

Loading related content...

Figure