cs.AISep 25, 2026

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

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

Organizations: Sun Yat-sen University

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 (G2MAF), a refinement framework for optimizing joint policies at test-time. G2MAF 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.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Value-Guidance MeanFlow for Offline Multi-Agent Reinforcement Learning

    Apr 9, 2026Teng Pang, Zhiqiang Dong, Yan Zhang +3Offline MARLCooperative MARL

  2. Flowing Faster to Coordinate: One-Step Online Multi-Agent Flow Policies

    Oct 1, 2026Zhuoran Li, Yunzhan Li, Xun Wang +2Flow MatchingMulti-Agent Coordination

  3. CoFlow: Coordinated Few-Step Flow for Offline Multi-Agent Decision Making

    May 2, 2026Guowei Zou, Haitao Wang, Beiwen Zhang +2Flow MatchingMulti-Agent Coordination