CMAD: Cooperative Multi-Agent Diffusion via Stochastic Optimal Control
Riccardo Barbano, Alexander Denker, Zeljko Kereta, Runchang Li, Francisco Vargas
TL;DR
The paper addresses compositional generation with multiple pretrained diffusion models when the target distribution is not explicitly known. It reframes composition as a cooperative stochastic optimal control problem where each diffusion model is an agent with state $X_t^{u,i}$ and the joint objective depends on the aggregated output $Y_t = \varphi(\{X_t^{u,i}\}_i,t)$. An Iterative Diffusion Optimisation (IDO) procedure performs coordinate-descent updates of the agent controls to minimize the SOC objective $\mathcal{J}(u)$, using Monte Carlo estimates and backpropagation through time; a Tweedie look-ahead provides a stable running cost. Experimental results on MNIST show CMAD achieving lower terminal loss and higher realism than a per-step gradient baseline (CDPS), across configurations with 2–3 agents. These results indicate that SOC-based cooperative control enables flexible, task-driven composition of diffusion models without requiring explicit algebraic density combinations, with potential for scaling to higher-dimensional problems.
Abstract
Continuous-time generative models have achieved remarkable success in image restoration and synthesis. However, controlling the composition of multiple pre-trained models remains an open challenge. Current approaches largely treat composition as an algebraic composition of probability densities, such as via products or mixtures of experts. This perspective assumes the target distribution is known explicitly, which is almost never the case. In this work, we propose a different paradigm that formulates compositional generation as a cooperative Stochastic Optimal Control problem. Rather than combining probability densities, we treat pre-trained diffusion models as interacting agents whose diffusion trajectories are jointly steered, via optimal control, toward a shared objective defined on their aggregated output. We validate our framework on conditional MNIST generation and compare it against a naive inference-time DPS-style baseline replacing learned cooperative control with per-step gradient guidance.
