Learning to model other minds

OpenAI Blog Papers

Summary

OpenAI and University of Oxford researchers present LOLA (Learning with Opponent-Learning Awareness), a reinforcement learning method that enables agents to model and account for the learning of other agents, discovering cooperative strategies in multi-agent games like the iterated prisoner's dilemma and coin game.

We’re releasing an algorithm which accounts for the fact that other agents are learning too, and discovers self-interested yet collaborative strategies like tit-for-tat in the iterated prisoner’s dilemma. This algorithm, Learning with Opponent-Learning Awareness (LOLA), is a small step towards agents that model other minds.
Original Article
View Cached Full Text

Cached at: 04/20/26, 02:43 PM

# Learning to model other minds Source: [https://openai.com/index/learning-to-model-other-minds/](https://openai.com/index/learning-to-model-other-minds/) LOLA, a collaboration by researchers at OpenAI and the University of Oxford, lets a reinforcement learning \(RL\) agent take account of the learning of others when updating its own strategy\. Each LOLA agent adjusts its policy in order to shape the learning of the other agents in a way that is advantageous\. This is possible since the learning of the other agents depends on the rewards and observations occurring in the environment, which in turn can be influenced by the agent\. This means that the LOLA agent, “Alice,” models how the parameter updates of the other agent, “Bob,” depend on its own policy and how Bob’s parameter update impacts its own future expected reward\. Alice then updates its own policy in order to make the learning step of the other agents, like Bob, more beneficial to its own goals\. LOLA agents can discover effective, reciprocative strategies, in games like the iterated[*prisoner’s dilemma*⁠\(opens in a new window\)](http://www.econlib.org/library/Enc/PrisonersDilemma.html), or the[coin game⁠\(opens in a new window\)](https://arxiv.org/abs/1707.01068)\. In contrast, state\-of\-the\-art deep reinforcement learning methods, like Independent PPO, fail to learn such strategies in these domains\. These agents typically learn to take selfish actions that ignore the objectives of other agents\. LOLA solves this by letting agents act out of a self\-interest that incorporates the goals of others\. It also works without requiring hand\-crafted rules, or environments set up to encourage cooperation\. The inspiration for LOLA comes from how people collaborate with one another: Humans are great at reasoning about how their actions can affect the future behavior of other humans, and frequently invent ways to collaborate with others that leads to a win–win\. One of the reasons humans are good at collaborating with each other is that they have a sense of a “theory of mind” about other humans, letting them come up with strategies that lead to benefits for their collaborators\. So far, this sort of “theory of mind” representation has been absent from deep multi\-agent reinforcement learning\. To a state of the art deep\-RL agent there is no inherent difference between another learning agent and a part of the environment, say a tree\. The key to LOLA’S performance is the inclusion of term: \(∂V1\(θi1,θi2\)∂θi2\)T∂2V2\(θi1,θi2\)∂θi1∂θi2⋅δη,\\left\( \\frac\{\\partial V^1 \(\\theta^1\_i,\\theta^2\_i\) \}\{\\partial \\theta^2\_i\} \\right\)^T \\frac\{\\partial^2 V^2 \(\\theta^1\_i,\\theta^2\_i\)\}\{\\partial \\theta^1\_i \\partial \\theta^2\_i\} \\cdot \\delta \\eta, LOLA lets us train agents that succeed at the[coin game⁠\(opens in a new window\)](https://arxiv.org/abs/1707.01068), in which two agents, red and blue, compete with one another to pick up red and blue colored coins\. Each agent gets a point for picking up any coin, but if they pick up a coin which isn’t their color then the other agent will receive a –2 penalty\. Thus, if both agents greedily pick up both coins, everyone gets zero points on average\. LOLA agents learn to predominantly pick up coins of their own color, leading to high scores \(shown above\)\.

Similar Articles

Learning with opponent-learning awareness

OpenAI Blog

OpenAI presents LOLA (Learning with Opponent-Learning Awareness), a multi-agent reinforcement learning method where agents shape the anticipated learning of other agents. The approach demonstrates emergence of cooperation in iterated prisoner's dilemma and convergence to Nash equilibrium in game-theoretic settings.

Learning to cooperate, compete, and communicate

OpenAI Blog

OpenAI presents research on multi-agent reinforcement learning environments where agents learn to cooperate, compete, and communicate. The paper introduces MADDPG (Multi-Agent DDPG), a centralized critic approach that enables agents to learn collaborative strategies and communication protocols more effectively than traditional decentralized methods.

Learning to communicate

OpenAI Blog

OpenAI researchers demonstrate that cooperative AI agents can develop their own grounded and compositional language through reinforcement learning in simple worlds. The agents learn to communicate by being rewarded for achieving goals that require coordination, creating shared symbolic languages to coordinate behavior.

PopuLoRA: Co-Evolving LLM Populations for Reasoning Self-Play

arXiv cs.AI

PopuLoRA introduces a population-based asymmetric self-play framework for RLVR post-training of LLMs, where teacher and student LoRA adapters co-evolve to generate increasingly complex problems, overcoming the self-calibration limitation of single-agent self-play.

Learning policy representations in multiagent systems

OpenAI Blog

OpenAI researchers propose a general framework for learning representations of agent policies in multiagent systems using minimal interaction data, casting the problem as representation learning with applications to competitive control and cooperative communication environments.