Imitation Learning of Correlated Policies in Stackelberg Games

Kuang-Da WangarXiv 2025 · DOI

TL;DR

This paper introduces the Latent Stackelberg Differential Network (LSDN), a novel imitation learning framework for Stackelberg games that effectively models correlated policies. By leveraging Multi-output Geometric Brownian Motion (MO-GBM) in a latent space, LSDN captures the complex, interdependent dynamics of leader-follower interactions, outperforming existing methods in both simulated and complex multi-agent environments.

What Problem Does This Paper Address?

Stackelberg games, characterized by asymmetric, sequential decision-making (a leader commits to a strategy, and a follower responds), are prevalent in various domains like economics and security. Accurately modeling these interactions is crucial for optimizing strategies. Traditional multi-agent imitation learning (MAIL) methods often struggle with the inherent asymmetry and interdependence of Stackelberg games. They either assume independent actions, failing to capture correlated policies, or face scalability and stability issues when directly matching occupancy measures or using adversarial techniques. Existing methods also fail to adequately model the turn-based nature where one agent's action directly influences the other's state. This paper aims to bridge this gap by developing a MAIL approach specifically designed for Stackelberg games that can learn correlated policies and handle hierarchical dynamics.

Methods

The core of the proposed solution is the Latent Stackelberg Differential Network (LSDN). LSDN tackles the problem by:

  • Rethinking Occupancy Measures for Stackelberg Games: Instead of directly matching occupancy measures, LSDN models state transitions in a latent space. This latent space captures the hierarchical interactions by representing agent behaviors as trajectories.
  • Latent Dynamics with Multi-output Geometric Brownian Motion (MO-GBM): LSDN employs MO-GBM, a stochastic process, to model these latent state transitions. MO-GBM allows for the simultaneous modeling of agent policies and environmental dynamics, introducing a beneficial inductive bias. It separates environmental influences from agent-driven transitions, enabling more accurate modeling of interdependent policies.
  • Variational Inference and Inverse Dynamics: The framework uses variational inference to learn the latent dynamics. An inverse dynamics model is then used to reconstruct actions from latent states, allowing the learned policies to interact with the environment. This approach avoids adversarial training, leading to improved stability and efficiency.

Datasets

The paper evaluates LSDN on the following environments:

  • Iterated Prisoner's Dilemma (IPD): A classic deterministic Stackelberg game with a fixed number of steps.
  • Leduc Hold'em: A more complex strategic card game with a larger state and action space, also adapted to a Stackelberg setting.
  • Multi-Particle Environment (MPE): Specifically, the "Keep-away" and "Predator-prey" scenarios, which are highly stochastic and challenging multi-agent environments. These were adapted to a Stackelberg framework by enforcing turn-based actions.

Demonstration data for these environments was generated using various methods, including DQN, Deep Monte Carlo (DMC), and behavior cloning.

Key Insights and Ideas

  • Correlated Policies are Crucial for Stackelberg Games: The paper strongly emphasizes that accurately modeling Stackelberg games necessitates learning correlated policies, as agents' actions are interdependent and influence each other's future states.
  • Latent Space Modeling for Stackelberg Dynamics: By projecting interactions into a latent space and modeling them with MO-GBM, LSDN effectively disentangles environmental factors from agent-driven transitions, leading to a more robust representation of Stackelberg dynamics.
  • MO-GBM as a Beneficial Inductive Bias: The use of MO-GBM provides a structured way to model stochasticity and hierarchical decision-making, which is particularly advantageous in complex, real-world scenarios.
  • Avoiding Adversarial Training for Stability: The shift from adversarial methods to a divergence minimization objective in the latent space significantly improves training stability and efficiency.

Key Results

  • Superior Performance in Deterministic Games: In the Iterated Prisoner's Dilemma and Leduc Hold'em, LSDN significantly outperformed baseline methods (iMA-GAIL, iMA-CoDAIL) in recovering correlated policies and underlying strength relationships. For IPD, LSDN achieved the best performance in terms of average performance gaps.
  • Effective in Stochastic Environments: In the MPE scenarios (Keep-away and Predator-prey), LSDN consistently achieved competitive or superior performance in terms of average reward gap compared to baselines like STEER-IL and iMA-CoDAIL.
  • Accurate Interaction Modeling: Visualizations and Jensen-Shannon Divergence (Dis JSD) metrics showed that LSDN's learned policies closely aligned with demonstrator behavior, indicating high-quality interaction modeling.
  • Ablation Study Confirms MO-GBM's Importance: Removing MO-GBM (LSDN w/o MO-GBM) led to a decrease in effectiveness, particularly in handling environmental stochasticity, highlighting the crucial role of MO-GBM in LSDN's success.

Limitations and Future Work

  • Discontinuous Dynamics: LSDN struggles with environments exhibiting discontinuous dynamics, such as state resets in Atari games like Pong or Tennis, which are unrelated to agent actions.
  • Reconstruction Errors: While the inverse dynamics model is crucial, reconstruction errors can lead to misalignments between LSDN's latent representation and the actual environment, especially in simpler environments.
  • Generalization to More Than Two Agents: While the paper mentions LSDN's potential for multi-agent systems with more than two players, its primary design and evaluation focus on two-agent Stackelberg games.
  • Future Work: The authors suggest that LSDN shows potential for broader applications in domains with Stackelberg-like structures, such as badminton, tennis, and LLM-based chatbot systems. Further exploration into handling more complex state-action mappings and environments with clearer state-action mappings is also implied.

Summary updated

BibTeX
@misc{wang2025imitation,
  author = {Kuang-Da Wang},
  title = {{Imitation Learning of Correlated Policies in Stackelberg Games}},
  year = {2025},
  eprint = {2503.08883},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.08883},
}
Figure