TL;DR
Imagine two autonomous cars approaching an intersection from a pre-recorded dataset: they can either let Car A go first, or let Car B go first, while averaging the two choices results in a crash. When we train generative AI "teachers" to learn these coordinated behaviors and distill them into fast, independent "student" agents, random noise-to-action pairing during training tangles the teacher’s internal map—causing students to crash right into that invalid middle ground. This paper introduces MoSDOT, a method that neatly partitions the teacher's noise space using optimal transport before training, ensuring decentralized agents cleanly inherit distinct, safe coordination strategies.
What Problem Does This Paper Address?
In offline Multi-Agent Reinforcement Learning (MARL), agents must learn to cooperate solely from a fixed dataset of past experiences, without testing actions in a live environment. Typically, this follows Centralized Training with Decentralized Execution (CTDE): a centralized model sees everything during training, while deployed agents act independently using only local observations.
Real-world datasets are often multimodal—containing multiple distinct, equally valid ways for a team to coordinate. Standard unimodal policies average these distinct modes into disastrous "in-between" actions. Expressive generative models (like diffusion or flow matching) capture multiple modes well, but their multi-step sampling is slow at execution time. To get speed and expressiveness, recent methods train a centralized flow-matching teacher over joint actions and distill it into fast, one-step decentralized students.
Here lies an upstream trap: standard flow matching pairs input Gaussian noise with dataset actions independently at random. Nearby points in noise space get routed toward conflicting coordination modes, creating "spurious bridges" or off-support fans of invalid actions. Worse, because decentralized students only see their own local observation and local noise, standard $\ell_2$ distillation forces them to output the conditional mean of whatever is hidden from them—propagating and amplifying the teacher's routing mess into collapsed, uncoordinated behavior.
Methods
While prior work tweaks the student distillation loss, the authors fix the upstream teacher before distillation even starts using Mode-Support Semi-Discrete Optimal Transport (MoSDOT):
- Mode Support & Capacities (New): For a given joint observation, replay joint actions are clustered into a finite discrete set of representative coordinated behaviors—the mode support (using exact action identity for discrete tasks and simple quantization for continuous ones). Each mode gets a capacity matching its empirical frequency in the dataset.
- Conditional SDOT Routing (New application): Borrowing Semi-Discrete Optimal Transport (SDOT) from image generation, MoSDOT partitions the continuous Gaussian noise space into contiguous regions (Laguerre cells). Each cell is assigned to a single joint mode with volume matching its prescribed capacity.
- Flow Teacher & Student Distillation (Standard): A standard flow-matching teacher learns straight velocity paths from noise samples to their SDOT-assigned modes. Centralized Q-value-guided $\ell_2$ distillation then trains decentralized one-step student actors.
- Shared-Randomness Probe (Diagnostic variant): Even with a flawless teacher, strictly independent agents cannot execute anti-correlated tasks like XOR—e.g., choosing between
(+1, -1)and(-1, +1)without accidentally hitting(+1, +1). The authors call this fundamental limit the strict-product gap and test a variant where agents read a shared random number at execution (without sharing observations) to isolate it.
Datasets
- Controlled Diagnostics: Two synthetic tasks isolate specific failure modes—a 3-agent Landmark task (introducing six anchor endpoints to measure multi-mode teacher routing and locality) and a 2-agent XOR task (adapted from MAC-Flow to isolate anti-correlated support).
- Offline MARL Benchmarks: Standard discrete-action benchmarks SMACv1 (5 maps across Good, Medium, and Poor datasets) and SMACv2 (3 replay maps), plus the continuous-action MPE Simple Spread benchmark (Expert, Medium, Medium-Replay, and Random datasets).
Key Insights and Ideas
- Sharp endpoints don't guarantee distillable teachers: A teacher can land accurately on valid modes yet still fail during distillation. Baselines like Drifting hit valid targets 98.5% of the time, but Agent $i$'s action heavily depends on Agent $j$'s noise (measured via a high Jacobian off-diagonal ratio). Because local student $i$ never sees Agent $j$'s noise, distillation averages across modes anyway.
- Clean geometry survives distillation: Pre-sorting the noise space into clean, local Laguerre cells keeps cross-agent noise sensitivity low, allowing simple $\ell_2$ regression to transfer multimodal rays to decentralized students without fan-shaped averaging artifacts.
- Untangling two distinct errors: Comparing MoSDOT with and without shared execution noise cleanly separates teacher routing errors (fixable during centralized training) from the strict-product gap (an intrinsic mathematical limit of independent execution).
Key Results
- Landmark Diagnostics: MoSDOT is the only method excelling on both endpoint accuracy and local routing, reaching 0.972 route consistency (vs. 0.856 for Flow Matching, 0.857 for IMLE, and 0.653 for Drifting) alongside 0.991 strict success and 0.961 mode balance.
- SMACv1 & SMACv2: On SMACv1, MoSDOT achieves the highest average reward of 16.7 across 15 datasets (surpassing DoF and MAC-Flow, tied at 15.6), with notable jumps on noisy multimodal datasets like
3m-Poor(16.4 vs. DoF's 10.9). On SMACv2, it averages 11.9 (trailing DoF's 14.0 and MAC-Flow's 13.1, dragged down by high-dimensionalterran_10_vs_10). - MPE Simple Spread: MoSDOT reaches an average reward of 82.6 (vs. 65.8 for MAC-Flow and 58.8 for ICQ). Gains shine on diverse, multimodal datasets—scoring 95.97 on Medium (vs. MAC-Flow's 80.1) and 75.92 on Random (vs. ICQ's 34.4)—while matching baselines on unimodal Expert data (104.40).
Limitations and Future Work
- The Strict-Product Constraint: Independent local noise fundamentally cannot represent arbitrary correlated joint distributions (like XOR). Shared randomness exposes this gap, and investigating when shared execution signals are practical in deployment is a key next step.
- Scaling Mode Aggregation: When joint-action spaces grow huge relative to dataset coverage per state (e.g., 10-agent
terran_10_vs_10), naive identity or quantization rules fail to group actions into meaningful clusters, degrading into noisy sample-level pairing. Learning smarter mode aggregation rules ($q_\mathbf{x}$), as well as extending MoSDOT to longer horizons and value-reweighted capacities, remains open for future work.
Summary updated