Do LLM-derived graph priors improve multi-agent coordination?

Nikunj Gupta, Rajgopal Kannan, Viktor PrasannaarXiv 2026

TL;DR

This paper introduces a novel framework that leverages compact, open-source Large Language Models (LLMs) to generate coordination graph priors for Multi-Agent Reinforcement Learning (MARL). By translating natural language descriptions of local agent observations into relational graph structures, the approach bootstraps Graph Neural Networks (GNNs) to significantly enhance multi-agent coordination and training efficiency without requiring large proprietary models or data-intensive structure learning.

What Problem Does This Paper Address?

In cooperative Multi-Agent Reinforcement Learning (MARL), a team of agents must work together to achieve a shared goal based only on their local, partial observations. A fundamental challenge here is determining who should coordinate with whom.

Traditional approaches to modeling these relationships fall into three categories, each with distinct drawbacks:

  1. Hand-specified/Fixed Graphs: Highly brittle and sensitive to the initial design quality.
  2. Proximity Heuristics: Simple rules (like coordinating with the closest agent) that fail when abstract roles matter more than physical distance.
  3. Learned Graphs: Methods that try to learn the coordination structure from scratch via environment interaction, which is incredibly data-intensive and slow to converge.

The authors address this gap by asking: Can we use the rich, semantic world knowledge embedded in LLMs to initialize these coordination graphs before learning even begins?

MARL applications and the coordination challenge.

Methods

The authors propose an end-to-end pipeline that integrates LLM-derived structural priors into a standard GNN-based MARL framework under the Centralized Training with Decentralized Execution (CTDE) paradigm.

The pipeline operates in four distinct stages:

  1. Natural Language Observation Descriptions: A hand-authored, deterministic function maps each agent's raw, local observation vector into a concise textual summary (e.g., "Agent 2 is a scout unit... observing two enemy units at close range").
  2. LLM-Based Graph Prior Generation: At the start of an episode, these text summaries are fed into a structured prompt. A compact LLM is queried zero-shot to output an $n \times n$ JSON matrix representing the coordination affinities between agents. This matrix is post-processed to ensure it is symmetric, normalized, and includes self-loops.
  3. GNN Observation Aggregation: The processed matrix serves as a fixed structural prior for a Graph Neural Network (GNN). The GNN uses graph convolutional layers to aggregate local agent embeddings, producing relationally enriched feature representations.
  4. MARL Policy Optimization: These enriched features are passed to a standard value-decomposition algorithm (QMIX). The entire neural network pipeline (encoders, GNN, and Q-networks) is trained end-to-end via standard temporal difference (TD) learning, while the LLM remains offline with no gradients flowing through it.
Figure 2. Overview of the proposed framework. Natural language descriptions of agent observations are passed to an LLM, which produces a coordination graph prior as a weighted adjacency matrix. This matrix is consumed by a GNN that aggregates agent observation embeddings, producing enriched relational feature representations that feed into a standard CTDE-based MARL policy optimization pipeline.

Datasets

The framework was evaluated using the Multi-Agent Particle Environment (MPE), a widely adopted benchmark for cooperative MARL featuring continuous 2D environments. The authors selected four distinct scenarios designed to test different coordination challenges:

  • Speaker-Listener: Tests directed information passing under strict observation asymmetry.
  • Reference: Tests mutual grounding and bidirectional communication under symmetric observation asymmetry.
  • Cooperative Push: Tests physical coordination and sustained role consistency to move a heavy object.
  • Adversary: A mixed cooperative-competitive scenario testing intra-team coordination and evasion strategies under adversarial pressure.

Key Insights and Ideas

  • LLMs as Structural Prior Generators, Not Policy Executors: Instead of using slow, expensive LLM inference at every single timestep to pick actions, the LLM is queried only once per episode to establish the relational structure. This drastically reduces computational overhead.
  • Bigger Isn't Always Better: In an ablation study across five compact open-source LLMs (ranging from 0.5B to 3B parameters), Qwen2.5-1.5B-Instruct achieved the best overall performance, outperforming its larger 3B sibling. This suggests that instruction-following quality and alignment matter more for structural reasoning at this scale than raw parameter count.
  • Semantic Bootstrapping Beats Learning from Scratch: Providing a semantically grounded initialization reduces the burden on the downstream MARL algorithm to discover coordination patterns solely from numerical reward signals.

Key Results

The LLM-Prior framework was compared against five baselines spanning independent learning (IQL), implicit coordination (VDN, QMIX), fixed graphs (DCG), and dynamically learned graphs (DICG).

  • Massive Gains under Adversarial Pressure: In the Adversary scenario, the LLM-Prior framework achieved a final test return of 62.9 ± 8.6, outperforming the next best baseline (DCG at 38.8 ± 1.3) by over 60%.
  • Outperforming Baselines in 3 out of 4 Tasks: The proposed method achieved the top results in Push (-8.3 ± 0.3) and Speaker-Listener (-16.9 ± 2.4).
  • The Symmetry Exception: The only scenario where the method did not place first was Reference, where it came in second behind DCG. The authors attribute this to the highly symmetric nature of the task, where a rigid, fixed graph provides a helpful constraint, whereas the LLM text descriptions occasionally introduced ambiguity.

Limitations and Future Work

The authors candidly note several limitations ripe for future exploration:

  • Hand-Authored Text Mapping: The function that translates raw observations into natural language summaries is currently hand-coded per environment. The authors suggest replacing this with a learned captioning model in future work.
  • Static Intra-Episode Priors: The coordination graph is generated at the start of an episode and held fixed. In highly dynamic environments, coordination needs can shift rapidly mid-episode. Developing lightweight trigger mechanisms for adaptive re-prompting is a key direction for future work.
  • Scalability Bottlenecks: As the number of agents ($n$) grows, the adjacency matrix scales quadratically ($O(n^2)$). Hierarchical prompting or sparse thresholding will be necessary to scale the framework to very large agent teams.

Summary updated

BibTeX
@misc{gupta2026do,
  author = {Nikunj Gupta and Rajgopal Kannan and Viktor Prasanna},
  title = {{Do LLM-derived graph priors improve multi-agent coordination?}},
  year = {2026},
  eprint = {2604.17191},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.17191},
}
Figure