Epistemic Social Learning: Latent Behavioral Structure under Endogenous Multi-Agent Interaction

Jainendra Shukla, Dhruv Jaiswal, Divyanshi Beniwal, Kiriti Kanjilal

It’s late, the coffee is cold, and you’re probably wondering why multi-agent systems have to be so complicated. The short answer? Because agents are "endogenous." In plain English: when I move, you react, and when you react, I learn something new—but only based on what I chose to do. We are essentially generating our own training data on the fly.

This paper from researchers at IIIT-Delhi introduces Epistemic Social Learning (ESL), a framework designed to help agents navigate this hall of mirrors. It’s about learning not just what an opponent will do next, but the underlying "behavioral prototypes" that make adaptation possible when the rules of the game—or the players—suddenly shift.

TL;DR

In a world where your actions change how your opponents behave, simply predicting their next move isn't enough to win. ESL uses a two-timescale approach—fast Bayesian "guessing" of an opponent's current type and slow learning of general "behavioral prototypes"—to ensure agents can adapt almost instantly when an opponent switches strategies.

What Problem Does This Paper Address?

The authors identify a subtle but deadly failure mode in multi-agent learning: the gap between predictive fit and decision-relevant adaptation.

Imagine you have a model that predicts your opponent’s moves with 99% accuracy. You’re feeling great. But then, the opponent changes their strategy. Suddenly, your model is useless because it only learned the "surface" of the behavior, not the underlying structure.

In "endogenous" interactions, your own policy might actually hide the differences between two very different opponent types. If your current strategy makes two different opponents look identical, you won't know which one you're facing until it's too late. The authors ask: How should agents learn shared behavioral structures when their own policies influence the evidence available for learning them?

Methods

ESL tackles this using a clever "two-timescale" architecture, which you can see visualized in the loop below:

Figure 1: ESL: Two-timescale belief-driven prototype learning. At the fast timescale (top), agents maintain pairwise beliefs over shared prototypes and update them when opponent signals are observed. Only observed signals enter the prototype-learning buffer, together with the corresponding pre-update belief snapshots. At the slow timescale (bottom), batches of M observed records yield belief-weighted gradients for the shared prototype update. This induces a feedback loop: beliefs shape interaction behavior and data generation, while accumulated evidence updates the shared prototypes, which in turn influence future beliefs and interactions.
  1. Fast Timescale (Epistemic Inference): During every single interaction, the agent maintains a Bayesian belief. It asks, "Based on the prototypes I know, which one is this specific opponent using right now?" This belief updates instantly with every new observation.
  2. Slow Timescale (Prototype Adaptation): Across many interactions and many different opponents, the agent slowly updates its "library" of behavioral prototypes. These aren't hard-coded; they are learned parameters that represent common strategies in the population.

By separating these, the agent can be "surprised" by a specific opponent (fast update) without immediately trashing its general understanding of how people play (slow update). The authors back this up with a heavy-duty theoretical characterization using controlled-Markov stochastic approximation, proving that these dynamics eventually settle into self-consistent regimes.

Datasets

The researchers put ESL through the ringer using a benchmark of twelve synthetic $3 \times 3$ games. These weren't just random numbers; they covered three distinct social "flavors":

  • Cooperative: Where agents want the same thing.
  • Coordination: Where agents need to sync up to win.
  • Adversarial: Classic zero-sum "me vs. you" scenarios (like Matching Pennies).

They also tested the system against "switching" opponents—players who would abruptly change their strategy mid-stream—to see how fast the learner could recover.

Key Insights and Ideas

  • Predictive Fit is a Trap: You can have a model that perfectly predicts the past but fails the future. ESL prioritizes "decision-relevant" learning over simple curve-fitting.
  • The Power of Prototypes: Instead of trying to model every unique opponent as a brand-new enigma, ESL treats them as variations of a few core "types." This allows the agent to pool experience across many different partners.
  • Endogenous Feedback: The paper formally acknowledges that the learner is part of the environment. By choosing actions that are "belief-conditioned," the agent actively probes the opponent to figure out who they are.

Key Results

The headline result is that ESL is a master of adaptation. The researchers measured Post-Switch Oracle Regret (PSR)—essentially, "How much did you lose right after the opponent changed their mind?"

Figure 2: Adaptation versus prediction on the twelve-game 3 × 3 benchmark. (a) ESL has the lowest mean post-switch oracle regret (PSR). (b) SA-FP has the lowest mean decision-relevant prediction regret (DPR). Error bars denote Student-t 95% confidence intervals across 120 game–seed cells (12 games × 10 seeds). Lower values are better for both metrics; the methods with the lowest PSR and DPR differ in this benchmark.

As shown in the charts above, ESL (the blue bar) consistently achieved the lowest PSR. Interestingly, a different method (SA-FP) was slightly better at predicting the next move (lower DPR), but it was significantly worse at adapting to win. This confirms the authors' core thesis: being a good "guesser" doesn't make you a good "player."

Specifically, in the 12-game benchmark, ESL's mean PSR was 163.0, significantly beating out Online EM (187.1) and Fixed-K Bayesian filtering (203.6).

Limitations and Future Work

While the results are impressive, the authors are honest about the boundaries:

  • Scale: Currently, this is tested on $3 \times 3$ games. Scaling this to high-dimensional "world-sized" problems (like StarCraft or complex robotics) remains a future challenge.
  • Fixed Complexity: The number of prototypes ($K$) is fixed. In the real world, the number of "types" of people you meet isn't set in stone.
  • Assumptions: The mathematical proofs rely on certain "mixing" conditions (how well the data spreads out) that might be harder to guarantee in messy, real-world data.

Ultimately, ESL provides a fascinating blueprint for "social" AI: one that doesn't just watch from the sidelines, but understands that it is an active participant in a changing world.

Summary updated

Abstract

In multi-agent interaction, a learner's actions shape the observations from which it infers other agents' behavior. A behavioral model may predict these observations well yet support poor adaptation when opponents change. We introduce Epistemic Social Learning (ESL), which couples fast, interaction-specific Bayesian beliefs with slower online learning of population-shared behavioral prototypes. Belief-conditioned decisions influence subsequent observations and, in turn, the representations learned from them. Under explicit regularity and averaging assumptions, we provide a conditional stochastic-approximation characterization of these coupled dynamics. Across twelve synthetic $3\times3$ cooperative, coordination, and adversarial games, ESL achieves the lowest aggregate post-switch regret among the evaluated online latent-adaptation methods, including a switch-aware Bayesian filter. Additional experiments examine observation loss, noise, and asymmetric incentives. These findings illustrate how predictive fit can differ from decision-relevant adaptation under policy-dependent interaction.
BibTeX
@inproceedings{shukla2026epistemic,
  author = {Jainendra Shukla and Dhruv Jaiswal and Divyanshi Beniwal and Kiriti Kanjilal},
  title = {{Epistemic Social Learning: Latent Behavioral Structure under Endogenous Multi-Agent Interaction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=hNvgA94KTi},
}
Figure