arXiv:2610.02554cs.LGOct 2026

Manuscript Offprint

arXiv:2610.02554

Test-time Multi-agent Coordination by Decomposed Value Gradient Flow

Dongsu Lee, Haoran Xu, Amy Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Offline multi-agent reinforcement learning (MARL) faces a persistent trade-off. Expressive generative policies can represent multi-modal coordination in the data, but cannot distinguish high-value regions, while value-optimized policies exploit the learned Q-function but collapse the multi-modal into a single dominant mode. A single agent's mode collapse can break joint coordination, and simultaneous drift across agents can push the joint policy into unseen regions of the action space. We propose scalable coordination via optimal unified transport (SCOUT), the first offline MARL framework to combine a generative foundation model with a learned value function through test-time action refinement. SCOUT trains two decoupled components: a flow-matching behavioral prior and a decomposed value function. At test-time, it transports behavioral samples toward high-value regions via Stein variational gradient descent. The number of transport steps controls adaptive test-time scaling, replacing a fixed regularization coefficient. Under the individual-global-max (IGM) principle, we prove a single-term KL bound on the joint soft-value gap that vanishes as transport converges, with an irreducible additive residual proportional to the IGM violation. Empirically, SCOUT achieves the best average performance across discrete and continuous offline MARL benchmarks and yields performance improvements in all offline-to-online configurations.

Figure

reference policy μi\mu_{i}

via flow BC

Figure

decomposed value QiQ_{i}

via VDN

(a) Setup

Figure

stein

transport

stein

transport

μi(ai∣oi)exp⁡(Qi(oi,ai)/β)\mu_i(a_i|o_i)\exp(Q_i(o_i,a_i)/\beta)

closed form KL

solution

1P∑j=1P[1αk(ai,j(t),a)∇ai,j(t)Qi(oi,ai,j(t))+∇ai,j(t)k(ai,j(t),a)]\frac{1}{P}\sum_{j=1}^P\left[\frac{1}{\alpha}k(a_{i,j}^{(t)},a)\nabla_{a_{i,j}^{(t)}}Q_i(o_i,a_{i,j}^{(t)})+\nabla_{a_{i,j}^{(t)}}k(a_{i,j}^{(t)},a)\right]

stein variational

gradient descent

1Zoexp⁡(Qi(oi,ai)/α)\frac{1}{Z_o}\exp(Q_i(o_i,a_i)/\alpha)

MaxEnt RL

solution

(b) SCOUT: test-time transport via decomposed value gradient

Figure 1: Overview of the proposed solution. (a) The prerequisite for SCOUT is to train the reference policy via flow matching and decomposed value via a value decomposition network (VDN). (b) SCOUT transports the behavior distribution at test time via Stein variational gradient descent.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

1 Introduction

Offline MARL is motivated by the need to learn coordinated multi-agent behaviors in safety-critical or cost-constrained domains where active data collection is infeasible or expensive, e.g., autonomous driving [1], logistics [2], and robotics [3]. In this setting, the learning objective is twofold. Agents must learn to coordinate their behavior from heterogeneous and suboptimal demonstrations, while avoiding the distributional shift that arises when the learned policy visits state-action regions unsupported by the data. Early offline MARL methods [4–6] rely on simple policy classes (i.e., Gaussian), which struggle to represent multi-modal and coordinated joint action distributions. When offline data contains a mixture of diverse coordination strategies, a unimodal policy often collapses onto a single mode and produces out-of-distribution joint actions that no agent in the data ever executed together.

To address this expressiveness gap, recent works adopt powerful generative models, including diffusion models [7, 8] and flow matching models [9, 10], as policy representations in offline MARL. Although these models improve the representational power of policy, their iterative sampling process incurs a high inference cost. MAC-Flow [10] and OM 2^{2}P [9] mitigate this via one-step distillation and mean-flow generation, respectively. However, improved expressiveness and faster inference do not resolve a more fundamental limitation. Since the outcome policy is optimized against a learned Q-function, it inherently tends to collapse diverse coordination modes into a single or blurred one.

Methods that parameterize a policy and optimize it to maximize a learned Q-function must balance value improvement against staying close to the behavioral distribution. A fixed regularization coefficient controls this trade-off. If it is too large, the policy stays too close to suboptimal data; if it is too small, the policy exploits errors in the learned Q-function and produces OOD actions. Although this tension is well-known in single-agent offline RL [11, 12], the multi-agent setting introduces the following compounding difficulty. Training-time value maximization deforms each agent's policy away from the behavioral prior, and the regularization coefficient bounds how far each marginal may drift, but cannot bound the compound effect on the joint. Even when every marginal remains within its individual support, the joint policy can place mass on action combinations that no trajectory in the data ever visited (i.e., regions where the learned Q-function is least reliable). In fact, the data may support multiple distinct joint modes of comparably high estimated value, but committing each marginal to a single greedy mode at training time discards the others before the agent has any way to tell them apart. Once new interaction data arrives, the policy can no longer use it to discriminate which mode is truly higher-value, because the alternatives have already been suppressed.

A natural alternative is to decouple two objectives, motivated by test-time training [13–15]. Instead of learning a policy that directly maximizes value, we keep the behavioral policy as a foundational prior and defer value-based refinement to test time. At deployment, we sample action candidates from this prior and then move them toward high-value regions using value gradients. The extent of this adjustment acts as adaptive control, replacing the need for a fixed regularization coefficient.

In this work, we ask a question not yet studied by prior works:

How do we avoid explicit policy parameterization for value maximization, and instead recover coordination at test time by directly transporting behavioral samples toward high-value regions?

We answer this question with the proposed solution, SCOUT (scalable coordination via optimal unified transport), an offline MARL framework that combines flow-matching behavioral priors with decomposed value gradient for test-time action refinement. Our key contributions are:

• We propose a policy-free value maximization for offline MARL that separates behavioral modeling from value improvement, replacing training-time regularization tuning with a test-time refinement budget.

• We derive decomposed value gradient transport under the IGM principle, enabling fully decentralized test-time refinement that recovers inter-agent coordination with a bounded approximation gap.

• Empirically, test-time refinement strengthens coordination without retraining, achieving the best average performance in continuous and discrete domains. Notably, unlike existing flow-based MARL, our method yields improvements in all offline-to-online RL experiments.

References (56)