OpenAI Blog

Learning with opponent-learning awareness

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
Hugging Face Trending Papers
Jul 7

FootsiesGym: A Fighting Game Benchmark for Two-Player Zero-Sum Imperfect-Information Games

We present FootsiesGym, an open-source environment for learning in a non-trivial two-player, zero-sum, imperfect-information game. Built on HiFight's minimalist 2D fighting game Footsies, it isolates the cyclic, non-transitive strategic interactions of fighting game neutral play while remaining simple enough for efficient analysis.

arXiv AI
Oct 9

Constrained Command-Conditioned Reinforcement Learning with Bandit Strategy Selection in Real-Time Strategy Games

The paper presents a constrained command‑conditioned Proximal Policy Optimization (PPO) executor for the MicroRTS real‑time strategy environment, enabling a single execution policy to follow diverse strategic commands. A Thompson‑sampling bandit strategist selects command tuples based on in‑game observations of the opponent’s strategy, rather than relying on opponent identity. In controlled experiments, the strategist‑executor system outperforms a flat PPO baseline against three of the four strongest opponents on a training map, including two held‑out opponents, while showing no significant difference against the remaining opponents.

By Nick Leenders, Roy Lindelauf, Joost van Oijen, Boris Cule
arXiv AI
Oct 27

Centralized Critics for N-Agent Ad Hoc Teamwork

The paper investigates how to design centralized critics for N-agent ad hoc teamwork, where a learning agent must coordinate with an unknown set of uncontrolled teammates. It compares two advantage estimators: controlled history estimators that use only the learner’s own histories, and joint history estimators that also incorporate the uncontrolled teammates’ histories. The authors prove both estimators are unbiased, show conditions where joint history estimators have lower variance, and demonstrate empirically that joint history critics achieve better sample efficiency and final returns across various NAHT tasks.

By Andrew McAlinden, Caroline Wang, Steven Shi, Arrasy Rahman, Elad Liebman, Peter Stone