Manuscript Offprint

arXiv:2609.31286

G2MAF: Test-Time Gradient Guidance for Multi-Agent Flow Policies

Guowei Zou, Haitao Wang, Guoxin Wang, Zhiquan Chen, Beiwen Zhang, Guojie Wang, Hejun Wu

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

G²MAF: Test-Time Gradient Guidance for Multi-Agent Flow Policies

Guowei Zou, Haitao Wang, Guoxin Wang, Zhiquan Chen, Beiwen Zhang, Guojie Wang, Hejun Wu

Sun Yat-sen University

Figure

Figure 1 Motivation and G²MAF at test time. A frozen generative policy proposes a joint action, and a frozen centralized behavior critic supplies one joint gradient step toward higher predicted team value within the neighborhood supported by the behavior data. The right panel decomposes the samplewise coordination gap into the value gain recovered by G²MAF and the remaining local headroom.

Project Page: https://g2maf.github.io/

Code: https://github.com/g2maf/G2MAF

Models: https://huggingface.co/g2maf/G2MAF

Datasets: https://huggingface.co/datasets/Guowei-Zou/CoFlow-datasets

Abstract

Offline multi-agent reinforcement learning (MARL) learns cooperative policies from fixed datasets without further environment interaction and a learned policy is frozen at deployment. Such a frozen policy typically proposes a single joint action and executes it directly at deployment time. However, this one-shot deployment often commits to a suboptimal proposal, even when better nearby alternatives remain consistent with the behavior data. To address this issue, we propose Gradient Guided Multi Agent Flow (G²MAF), a refinement framework for optimizing joint policies at test-time. G²MAF applies one globally normalized, projected critic gradient to guide and coordinate all agents' corrections while keeping the action both feasible and close to the frozen policy proposal. Across 24 MPE and SMAC settings, its canonical variant improves 20 frozen settings, with mean relative gains of 9.2% on MPE and 8.9% on SMAC, with model inference latency increased by about 6% only.

References (60)