← Latest papers
🤖 machine learning

CODA: Coordination via On-Policy Diffusion for Multi-Agent Offline Reinforcement Learning

CODA is an algorithm-agnostic augmentation module that enables multi-agent offline reinforcement learning to achieve better coordination by using a diffusion-based trajectory generator to produce synthetic, on-policy experience that evolves alongside the agents' changing behaviors.

Original authors: Marcel Hedman, Kale-ab Abebe Tessera, Juan Claude Formanek, Anya Sims, Riccardo Zamboni, Trevor McInroe, John Torr, Elliot Fosong

Published 2026-04-28
📖 3 min read☕ Coffee break read

Original authors: Marcel Hedman, Kale-ab Abebe Tessera, Juan Claude Formanek, Anya Sims, Riccardo Zamboni, Trevor McInroe, John Torr, Elliot Fosong

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a group of dancers a complex, synchronized routine, but there is a catch: you aren't allowed to be in the room while they practice.

Instead, you have to give them a video of a previous performance and say, "Watch this, and try to do better."

This is the core problem the researchers in this paper are solving. In the world of AI, this is called Offline Multi-Agent Reinforcement Learning.

The Problem: The "Frozen Video" Trap

In "Online" learning, agents (the dancers) learn by interacting. If Dancer A moves left, Dancer B sees it and adjusts. They "co-adapt"—they evolve together in real-time.

In "Offline" learning, the agents are stuck looking at a "frozen video" (a static dataset). Because the video never changes, the dancers can't react to each other's improvements. If Dancer A decides to try a new, better move, they can't see if Dancer B is ready for it. They end up "miscoordinating"—one person tries to do a leap while the other tries to do a slide, and the whole performance falls apart.

The researchers call this Coordination Failure. Even if the video shows great dancing, the agents can't figure out how to improve together because they are essentially practicing in isolation, looking at a past that no longer reflects who they are becoming.

The Solution: CODA (The "Dream Simulator")

The researchers created CODA. Think of CODA not as a video, but as a high-tech Dream Simulator.

Instead of just re-watching the old video, CODA uses a technology called Diffusion (the same tech used to create AI art like Midjourney) to "dream up" new practice sessions.

But here is the genius part: These dreams are "On-Policy."

This means the simulator doesn't just dream of random dancing; it asks the dancers, "Based on how you are currently practicing, what would a successful routine look like if you both improved slightly?"

The Analogy: The Adaptive Mirror
Imagine the dancers are practicing in front of a magical, smart mirror.

  • Old Way: The dancers look at a photograph of yesterday's rehearsal. They can't learn from their new movements.
  • CODA Way: The dancers look into a magical mirror that shows them a "simulated future." As the dancers get better, the mirror's reflection updates instantly. If Dancer A starts moving faster, the mirror shows a version of Dancer B that is also moving faster to keep up.

By "dreaming" these updated scenarios, CODA provides the dancers with the missing feedback loop. It allows them to practice "co-adaptation" in their heads before they ever step onto the real stage.

Does it work?

The researchers tested CODA in two main ways:

  1. Simple Math Games: In games where agents had to coordinate to get a high score (like a multiplication game), the old methods failed and got stuck. CODA allowed them to find the perfect "rhythm" and reach the highest score.
  2. Complex Robot Simulations (MaMuJoCo): They tested it on complex, multi-robot tasks. CODA proved it could "steer" the simulated practice sessions toward much better, more expert-level movements.

In Short:

CODA takes the "static" problem of offline learning and makes it "dynamic" again. It uses AI to generate "what-if" scenarios that evolve alongside the agents, allowing them to learn how to work as a team, even when they can't actually interact with the real world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →