AI Pulse by Inblix

MADDPG: The Algorithm Where AI Agents Learn to Cooperate and Compete

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

Curated by the Inblix editorial team


Featured image for article: MADDPG: The Algorithm Where AI Agents Learn to Cooperate and Compete

OpenAI has taken a swing at one of AI’s stickiest problems: getting multiple agents to learn in the same sandbox without things devolving into chaos. Their new algorithm, MADDPG, is designed to let agents both cooperate and compete, and it works by giving each one a backstage pass to what everyone else is seeing and doing during training. The core idea is a twist on actor-critic reinforcement learning. In a standard setup, each agent (the “actor”) gets tips from its own “critic” that estimates future rewards. In a multiagent world, that falls apart fast because every agent is simultaneously trying to predict what the others will do, turning the environment into a moving target. MADDPG fixes this by making the critics omniscient during training—they can see the observations and intended actions of every agent in the simulation. This critical difference transforms an unpredictable environment into a stable one for learning. The agents don’t need this global view when they are actually deployed; they act on their own observations and their learned predictions of their peers’ behavior.

What’s clever here is the natural curriculum this creates. The difficulty of the environment scales with the skill of the other agents. If you’re training against past versions of yourself, the challenge is always perfectly calibrated to your current abilities. There is no stable equilibrium, just constant pressure to get smarter. The results are genuinely fun to watch. The team tested it on a variety of tasks where traditional decentralized methods like DDPG or deep Q-learning completely flounder. In one demo, two agents trying to reach a landmark learn to split up to hide their intentions from an opponent. In another, an agent learns to communicate the name of a specific landmark to a partner, and a trio of agents figures out how to navigate to points without collisions.

The team ran into a telling problem with older methods that highlights why this matters. In cooperative communication tasks, a “listener” agent would often just give up on a “speaker” if its messages were inconsistent. It would literally set the neural network weights for the speaker’s messages to zero, deafening itself. From that point, training was wrecked—the speaker never got feedback, so it could never learn to speak clearly. The researchers even tried a brute-force fix from hierarchical RL research that forced the listener to pay attention, but that didn’t solve the core issue of the speaker not knowing what was relevant to say. The centralized critic in MADDPG gets past this deadlock because it helps the speaker learn which utterances might actually matter to other agents’ actions.

This is a meaningful step beyond the classic agent modeling research that historically focused on small, simple games. The approach can handle arbitrary reward structures, including purely adversarial ones where agents have opposing goals. It’s not a magic bullet—the paper makes clear that just adding a critic wasn’t enough on its own and failed on some environments without the full centralized insight during training. But for building AI that can navigate a world full of other AIs, something like this isn’t just a nice-to-have. It’s a prerequisite.

💡 Key Takeaways

  1. MADDPG gives agents access to all other agents' observations and actions during training, turning an unpredictable multiagent environment into a stable, predictable one for learning.
  2. Traditional decentralized RL methods catastrophically fail in competitive or cooperative settings, with agents often learning to completely ignore each other rather than collaborate.
  3. A multiagent environment acts as a perfect automatic curriculum because an agent competes against its own past skill level, creating relentless pressure to improve without hitting a stable equilibrium.
  4. The algorithm's centralized critic is only used during training; at test time, agents act independently using only their own observations and learned predictions of peer behavior.

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