Manuscript Offprint

arXiv:2610.40227

EpiAgent: Epistemic Self-Play for LLM Agents

Xuanfa Jin, Xinyu Cui, Zhijian Ma, Xue Yan, Jian Zhao, Haifeng Zhang, Jun Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Epistemic game theory explains an agent's strategic behavior via the beliefs it holds about others and how these beliefs are updated as the interactions unfold. Modern LLM-based agents, however, often lack an explicit mechanism for learning and updating such beliefs to guide decisions under incomplete information. To bridge this gap, we propose EpiAgent, a framework that equips LLM-based agents with an explicit, learnable epistemic layer, which maintains beliefs over others' private information and combines these beliefs with the agent's available information into an epistemic state for action selection. Concretely, the agent's policy is decomposed into two coupled stages: Epistemic Update, which updates these beliefs from interaction histories, and Action Planning, which selects actions conditioned on the updated epistemic state. By formulating their dependency as a bi-level optimization problem, we introduce Epistemic Self-Play, an algorithm that alternately optimizes the two stages through self-play, utilizing an intrinsic prediction reward to evaluate how well inferred beliefs predict subsequent observations. Empirical results across both mixed and competitive scenarios show that EpiAgent consistently outperforms prompting-based and RL-based baselines. Further analyses reveal the benefits of dedicated epistemic training, improvements in belief inference accuracy, and the contribution of learned beliefs to action planning. These results demonstrate the value of an explicit, learnable epistemic layer for effective multi-agent interactions.

1 Introduction

Large Language Models (LLMs) have demonstrated impressive capabilities in reasoning and planning [Achiam et al., 2023, Guo et al., 2025], sparking a growing interest in deploying LLM-based agents with Multi-Agent Systems (MAS) to tackle complex tasks [Qian et al., 2024, Liang et al., 2024, Schmidgall et al., 2025]. Unlike single-agent tasks where LLMs have excelled [Lu et al., 2025a, Jin et al., 2025], multi-agent scenarios introduce significant non-stationarity and incomplete information. In these settings, environment dynamics and outcomes are determined not only by the ego agent's own decisions but also by the policies of other agents, who often possess private information that is unobservable to others [Littman, 1994, Albrecht et al., 2024]. Since such private information can influence other agents' behavior, inferring it from interaction histories can help an agent anticipate their future behaviors and adapt its own decisions accordingly.

Inspired by epistemic game theory (EGT) [Aumann, 1999, Dekel and Siniscalchi, 2015], we view an agent's strategic behavior as being explained via the beliefs that agents hold about others, and the way these beliefs are updated through the game. From this perspective, an agent's decision can be naturally understood in terms of two coupled components: an interim belief over the private information of others, updated from the observed interaction history, and a belief-conditioned action that is guided by this belief. The agent's own private information, observed history and its current belief jointly constitute its epistemic state, which guides the agent's strategic reasoning and action selection [Perea, 2012]. Many LLM-based agents, however, lack such an explicit epistemic layer in their decision-making pipeline. They usually map observations directly to actions [Nakano et al., 2021, Wang et al., 2023], or rely on prompting to elicit free-form reasoning [Wei et al., 2022, Zhao et al., 2024] that is treated as a byproduct of generation rather than as a structured epistemic process. Even when explicit opponent modeling is introduced, it is typically decoupled from the

*Correspondence: jun.wang@cs.ucl.ac.uk agent’s policy learning and does not co-evolve with it [Cross et al., 2024, Kim et al., 2025]. This motivates developing an explicit, learnable epistemic layer whose learning is coordinated with that of the action policy through interaction.

To this end, we propose EpiAgent, a framework that equips LLM-based agents with an explicit epistemic layer for decision-making. We first formulate multi-agent interaction scenarios with fixed private information within a partially observable stochastic game (POSG) [Hansen et al., 2004] framework, which formally specifies each agent's private information and the interaction dynamics of multiple agents. Within this framework, an agent's policy is unfolded into two coupled stages: Epistemic Update, which updates the agent's belief from its observed interaction histories, and Action Planning, which selects actions based on the updated epistemic state. However, training such an agent is non-trivial due to the mutual dependence between the two stages: epistemic update learns from interaction trajectories generated by the action policy, while action planning learns to make decisions based on the evolving beliefs. We cast this dependency as a bi-level optimization problem and introduce Epistemic Self-Play, an algorithm that alternately optimizes the two stages through self-play. Given that the ground-truth labels for other agents' private information are often inaccessible in real-world scenarios, we further introduce an intrinsic prediction reward to train epistemic updates with subsequent observations.

To validate the performance of our method, we adopt two distinct yet challenging multi-agent environments: Bargaining and Kuhn Poker, both of which exemplify the complexities of incomplete information. The Bargaining scenario represents a mixed negotiation game where agents must trade off self-interest against the risk of breakdown. Meanwhile, the Kuhn Poker scenario represents a competitive game involving stochasticity and deception. Empirical results demonstrate that EpiAgent greatly outperforms both prompting-based baselines and an RL-trained baseline without an explicit epistemic layer. Furthermore, ablation results demonstrate that dedicated training of the epistemic update stage provides additional performance benefits, while evaluations of belief inference show improved accuracy over training. Belief interventions further show that the learned beliefs contribute to effective action planning. These results suggest that the performance gains of our method are not solely attributable to action planning optimization, but also benefit from improved epistemic reasoning. Our main contributions are summarized as follows:

• We propose EpiAgent, an LLM-based agent framework that introduces an explicit epistemic layer into the agent's decision-making pipeline by decomposing the agent's policy into an Epistemic Update stage and an Action Planning stage.

• We introduce Epistemic Self-Play, an algorithm designed to promote the co-evolution of epistemic update and action planning through alternating self-play, equipped with an intrinsic prediction reward that trains the agent's epistemic inference without ground-truth labels.

• We provide comprehensive empirical results showing that EpiAgent outperforms both prompting-based and RL-based baselines, and that its learned beliefs effectively improve action planning, demonstrating the value of an explicit, learnable epistemic layer for multi-agent interactions.

References (76)