OpenAI Blog
Sep 14, 2017

Learning to model other minds

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.

arXiv Machine Learning
Nov 6

Discovering Learning Rules that Shape Others

The paper introduces DUOS, a meta‑learned update rule for shaping opponents in general‑sum games. Unlike prior methods that require access to an opponent’s parameters or learning dynamics, DUOS learns a rule that maximises an agent’s expected return using only its own experience. Experiments show the discovered rule behaves like opponent shaping and achieves top performance in tournament settings.

By Hong Jun Lee, Ziyan Wang, Jun Wang, Stefanos Leonardos, Yali Du
arXiv Machine Learning
Sep 4

LLM-Guided Reinforcement Learning for Adaptive NPC Behavior in Multi-Agent Combat Games

The paper explores a runtime strategy-selection framework where a large language model (LLM) guides a pre‑trained reinforcement learning (RL) policy for non‑player characters (NPCs) in a Unity combat game without altering the underlying policy. Five NPC agents sharing a PPO policy were compared in a baseline setup and an LLM‑augmented setup, where a locally hosted Mistral 7B model assigns one of four tactical tags every five seconds based on live game state. Across 600 episodes against three scripted opponents, the LLM‑augmented agents more than doubled their win rate against a Balanced opponent, improved performance against an Evasive opponent, but struggled against an Aggressive opponent due to over‑reliance on encirclement; analysis of 2,430 strategy selections revealed limited zero‑shot differentiation with the model favoring Surround in 83.8% of cases.

By Hrithika Deepu Nair, Kayvan Karim
arXiv AI
Sep 28

Preference-based opponent shaping in differentiable games

The paper introduces Preference-based Opponent Shaping (PBOS), a method that incorporates a preference parameter into an agent’s loss function to directly consider an opponent’s loss during strategy updates. By jointly learning strategy and preference parameters, PBOS aims to guide agents toward cooperative or competitive behaviors without relying on simple opponent predictions. Experiments on differentiable games demonstrate that PBOS enables agents to achieve better reward distributions across various environments.

By Xinyu Qiao, Yudong Hu, Congying Han, Weiyan Wu, Tiande Guo