Discovering How Agents Learn Using Few Data

Iosif Sakos, Antonios Varvitsiotis, Georgios Piliouras · OpenReview

Abstract

Decentralized learning algorithms are essential for designing autonomous multi-agent systems. However, identifying the underlying learning dynamics of these agents typically requires extensive data. This paper presents Side-Information Assisted Regression (SIAR), a framework for real-time identification of agent behavior using as few as five samples from a single system trajectory. By incorporating game-theoretic side-information—such as forward invariance and positive correlation—into a sum-of-squares (SOS) optimization problem, SIAR accurately recovers complex dynamics, including chaotic systems and equilibrium selection in congestion games.

Introduction

In multi-agent environments, such as financial markets or autonomous traffic networks, agents constantly adapt their strategies based on experience. Understanding these "learning rules" is vital for predicting system evolution and designing effective interventions. Traditionally, this is treated as a system identification problem. However, real-world scenarios often provide only a "short run" of data, making it difficult for standard data-driven methods to generalize.

The Challenge: Learning from Scarcity

Most machine learning approaches for system identification, such as Sparse Identification of Nonlinear Dynamics (SINDy), require large datasets to accurately map the governing equations of a system. When data is scarce, these models often produce solutions that are physically impossible—for instance, predicting that a player’s strategy will move outside the valid probability simplex. The core challenge is to identify the global structure of the agent's learning dynamics from a localized, brief observation.

Side-Information Assisted Regression (SIAR)

To overcome data scarcity, the SIAR framework treats system identification not just as a curve-fitting exercise, but as a constrained optimization problem. By encoding fundamental game-theoretic principles as "side-information," the search space for potential dynamics is significantly narrowed.

Key Constraints

The framework incorporates several critical axioms as constraints:

  • Forward Invariance: Ensures that agent strategies remain within the valid probability simplex (e.g., probabilities sum to one and are non-negative).
  • Anonymity: Assumes that agents with identical roles and payoffs should exhibit similar behavioral patterns.
  • Positive Correlation: Encodes the rational expectation that agents generally move toward strategies with higher payoffs.

Computational Framework

Enforcing these constraints—particularly non-negativity over a domain—is computationally intensive. SIAR utilizes Sum-of-Squares (SOS) optimization to transform these constraints into a hierarchy of Semidefinite Programs (SDPs). This allows for the efficient discovery of polynomial approximations of the agents' update rules that are guaranteed to satisfy the structural requirements of the game.

Experimental Evaluation

The SIAR framework was tested against several benchmarks designed to represent diverse dynamical behaviors:

  1. Matching Pennies: A classic game used to test the recovery of periodic, cycling dynamics.
  2. Chaotic Rock-Paper-Scissors: An $\epsilon$-perturbed version of RPS where replicator dynamics exhibit high sensitivity to initial conditions.
  3. Atomic Congestion Games: Large-scale games used to evaluate "equilibrium selection"—the ability to predict which stable state a system will reach based on initial interactions.

Results

The experiments demonstrated that SIAR significantly outperforms existing benchmarks like SINDy:

  • Minimal Data Requirements: SIAR achieved near-perfect recovery of the system's vector field using only 5 data points from a short trajectory.
  • Predictive Accuracy: In congestion games with up to 10 players, the model predicted the final converged equilibrium with 96% to 100% accuracy, even when the actual underlying dynamics were non-polynomial (e.g., Q-learning or log-barrier dynamics).
  • Handling Chaos: For chaotic systems, SIAR recovered the governing equations so precisely that predictions remained valid for up to 10 Lyapunov times—a significant feat given the inherent unpredictability of chaotic trajectories.

Conclusion and Future Directions

SIAR demonstrates that "game-informed" learning can bridge the gap between theory and data-driven identification. By baking rationality into the optimization process, we can understand complex agent behavior with minimal observations.

Future work will focus on scenarios where the game's payoff structure is unknown, requiring the simultaneous identification of both payoffs and learning rules. Ultimately, the ability to identify agent dynamics in real-time opens the door to proactive policy-making, where small, strategic "nudges" can steer multi-agent systems toward socially optimal outcomes.

Summary updated

Abstract

Decentralized learning algorithms are an essential tool for designing multi-agent systems, as they enable agents to autonomously learn from their experience and past interactions. In this work, we propose a theoretical and algorithmic framework for real-time identification of the learning dynamics that govern agent behavior using a short burst of a single system trajectory. Our method identifies agent dynamics through polynomial regression, where we compensate for limited data by incorporating side-information constraints that capture fundamental assumptions or expectations about agent behavior. These constraints are enforced computationally using sum-of-squares optimization, leading to a hierarchy of increasingly better approximations of the true agent dynamics. Extensive experiments demonstrated that our approach, using only 5 samples from a short run of a single trajectory, accurately recovers the true dynamics across various benchmarks, including equilibrium selection and prediction of chaotic systems up to 10 Lyapunov times. These findings suggest that our approach has significant potential to support effective policy and decision-making in strategic multi-agent systems.
BibTeX
@misc{sakos2023discovering,
  author = {Iosif Sakos and Antonios Varvitsiotis and Georgios Piliouras},
  title = {{Discovering How Agents Learn Using Few Data}},
  year = {2023},
  eprint = {2307.06640},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.06640},
}
Figure