Online and offline learning of player objectives from partial observations in dynamic games

Lasse Peters, Vicenc Rubies-Royo, Claire J. Tomlin, Laura Ferranti, Javier Alonso-Mora, Cyrill Stachniss, David Fridovich-Keil · DOI

TL;DR

This paper introduces a novel method for learning the objectives of multiple interacting agents in dynamic games, even when only partial and noisy observations of their behavior are available. By jointly estimating agent objectives and their future trajectories, the method achieves more robust and accurate predictions compared to existing approaches, making it suitable for real-world applications like autonomous driving.

What Problem Does This Paper Address?

In many real-world scenarios, such as autonomous driving, multiple agents (e.g., cars) interact within a shared environment. These interactions are often modeled using dynamic game theory, where each agent has its own objective (e.g., reaching a destination quickly while maintaining safety). A significant challenge in applying these models is that the agents' objectives are usually unknown. Traditional methods for inferring these objectives (Inverse Optimal Control or Inverse Reinforcement Learning) often require complete and noise-free observations of all agents' states and actions, which is rarely the case in practice. This paper tackles the problem of learning these unknown objectives from partial, noisy, and temporally incomplete observations of agent behavior in non-cooperative dynamic games.

Methods

The core contribution is a novel formulation for Equilibrium-Constrained Cost Learning. This approach frames the inverse dynamic game problem as a nonconvex optimization problem. The key innovation lies in jointly estimating both the unknown cost parameters of each player and the forward game trajectory consistent with those parameters. This is achieved by relaxing the equilibrium constraints (Nash equilibrium conditions) into KKT (Karush-Kuhn-Tucker) conditions and solving a single, coupled optimization problem.

This formulation allows the method to:

  • Handle partial observations: By treating states and inputs as variables to be estimated, the method can infer missing information.
  • Be robust to noise: The joint estimation process inherently accounts for measurement noise.
  • Perform online learning and prediction: The framework is naturally extended to receding horizon scenarios, where the system learns from incoming data and predicts future behavior simultaneously.

The method builds upon existing work in Inverse Optimal Control and Inverse Dynamic Games but extends it by:

  • Enforcing equilibrium constraints as actual constraints rather than minimizing their residuals.
  • Jointly estimating states, inputs, and cost parameters, unlike sequential approaches that first estimate states/inputs and then infer objectives.

Datasets

The paper does not introduce new datasets. Instead, it uses simulated data generated from controlled experiments for evaluation. These simulations are based on:

  • A 5-player highway driving scenario (Figure 1) where agents aim for forward progress at an unknown nominal speed.
  • A 2-player collision-avoidance scenario where agents aim for specific goal locations.

The simulations involve generating ground truth trajectories based on known objectives and then creating noisy, partial observations of these trajectories to test the learning algorithms.

Key Insights and Ideas

  • Joint estimation is crucial: Simultaneously learning objectives and trajectories, rather than doing so sequentially, significantly improves robustness to noise and partial observations. This is because the equilibrium constraints provide a strong coupling that helps resolve ambiguities in incomplete data.
  • Equilibrium constraints as a powerful prior: By enforcing the game-theoretic equilibrium conditions, the method gains a strong inductive bias that helps it infer objectives even with limited data.
  • Online learning and prediction synergy: The formulation naturally allows for real-time adaptation and prediction, making it directly applicable to dynamic environments where agents must react to ongoing interactions.
  • Graceful degradation: Unlike baseline methods that can fail catastrophically with noise or partial observations, this approach shows a more graceful performance degradation, making it more reliable in real-world conditions.

Key Results

The paper demonstrates superior performance of their proposed method compared to a state-of-the-art KKT residual baseline across various scenarios:

  • Parameter Estimation: The proposed method consistently achieves lower mean parameter cosine error, indicating more accurate recovery of true objective parameters, especially under increasing noise and partial observations. For instance, in the 2-player collision avoidance example, the method's performance degrades much more gracefully with noise than the baseline.
  • Trajectory Reconstruction: The method also shows significantly lower trajectory reconstruction errors, meaning the learned objectives better explain the observed behavior.
  • Robustness: The method is demonstrably more robust to observation noise and partial state observability.
  • Online Learning & Prediction: In online scenarios, the method successfully learns objectives and predicts future trajectories from limited past observations, outperforming the baseline which struggles to couple past learning with future prediction.
  • Scalability: The approach scales to larger multi-agent scenarios (5 players) and demonstrates its effectiveness in both offline and online settings.

Limitations and Future Work

  • Computational Complexity: While the method is more robust, it can be computationally more expensive than simpler baselines, especially in online settings where repeated optimization is required. The authors note that their current implementation is not optimized for speed.
  • Parametric Objective Assumption: The method assumes objectives belong to a known parametric function class. While they use interpretable structures, more general function approximators (like neural networks) could be explored.
  • Equilibrium Concept: The current work focuses on Open-Loop Nash Equilibria (OLNE). Future work could extend the formulation to more complex equilibrium concepts like feedback Nash equilibria.
  • Real-world Deployment: The authors suggest that the online, receding horizon learning and prediction procedure is well-suited for deployment on autonomous vehicles, where the "ego" agent could learn other vehicles' objectives and plan its own actions accordingly.

Summary updated

BibTeX
@article{peters2023online,
  author = {Lasse Peters and Vicenc Rubies-Royo and Claire J. Tomlin and Laura Ferranti and Javier Alonso-Mora and Cyrill Stachniss and David Fridovich-Keil},
  title = {{Online and offline learning of player objectives from partial observations in dynamic games}},
  journal = {Int. J. Robotics Res.},
  year = {2023},
  doi = {10.1177/02783649231182453},
}
Figure