AI Pulse by Inblix

OpenAI's LOLA teaches AI the art of tit-for-tat

OpenAI Blog · Jul 20, 2026 · 2 min read · Read original article →

Curated by the Inblix editorial team


Featured image for article: OpenAI's LOLA teaches AI the art of tit-for-tat

Reinforcement learning agents are brilliant at many things, but they’ve always had a glaring blind spot: other agents. To a state-of-the-art deep RL system, there’s no functional difference between a learning opponent and a static object like a tree. That’s a problem if you want AI to navigate a world full of other minds. OpenAI and the University of Oxford just took a swing at fixing that with Learning with Opponent-Learning Awareness, or LOLA.

Here’s the core idea. A LOLA agent, let’s call her Alice, doesn’t just optimize for the current state of the game. She models how her own actions will change the learning of another agent, Bob. Alice essentially asks: if I do X, how will Bob update his strategy, and will that update ultimately benefit me? This means she can actively shape Bob’s future behavior, pushing him towards outcomes that are good for her too. The algorithm does this by including a term that multiplies how Alice’s return depends on Bob’s policy change by how Bob’s learning step depends on Alice’s policy.

The results are genuinely interesting. In the iterated prisoner’s dilemma, LOLA agents spontaneously discover reciprocative strategies like tit-for-tat. Standard methods like Independent PPO fail at this, defaulting to selfish actions that ignore others’ objectives. In a coin game where greedy play nets everyone zero points, LOLA agents learned to mostly pick up coins of their own color, leading to high scores. No hand-crafted rules, no environments explicitly rigged for cooperation—just an agent acting out of an enlightened self-interest that incorporates the goals of others.

It’s not all smooth sailing. The method is memory and compute intensive, relying on large batch sizes and full roll-outs for variance reduction. Opponent modeling can also lead to instability, which the team hopes to address. But as a step toward AI with something resembling a theory of mind, LOLA moves past treating every other entity as a glorified potted plant. That alone makes it worth watching.

💡 Key Takeaways

  1. LOLA agents learn to shape opponents' future strategies by anticipating how their own actions will change the opponent's learning step.
  2. Unlike standard deep RL methods that act selfishly, LOLA discovered tit-for-tat in the prisoner's dilemma and cooperative behavior in the coin game without hand-crafted rules.
  3. The approach is currently memory and compute intensive and can exhibit instability when using opponent modeling, which researchers plan to address.

Keep reading: See related articles below for more coverage on this topic.

Get smarter about AI

The sharpest AI news, curated daily. Delivered free to your inbox.

Learn more

Glossary terms

← Back to all articles