arXiv paper· machine learning (LLM multi-agent systems)· method paper

Codebook Agent: Amortized Topology Design for LLM Multi-Agent Systems

Jinxi Yu, Yubei Li, Eric Hanchen Jiang, Zhi Zhang, Dong Liu, Wenxiao Zhao, Levina Li, Kai-Wei Chang, et al.

cs.AI · cs.LG · cs.MA

Quick verdict

Proposes VQ-codebook topology selection for LLM MAS, beating GTD by 1.6 pts at 2.4 ms; collapse premise partly circular, evidence is single-run.

Summary

The paper argues that query-adaptive communication-topology design for LLM multi-agent systems has been formulated wrongly as conditional graph generation. Three measurements motivate a redesign: reward-surviving topologies collapse to about six distinct graphs even as codebook capacity grows from 8 to 64; edge count correlates negatively with measured token consumption (Pearson r ≈ −0.4); and message-passing scorers over shared agent-profile embeddings are blind to topology on homogeneous teams. Codebook Agent therefore amortizes design into three feed-forward stages: a vector-quantized autoencoder compresses successful topologies into a 16-entry codebook; a reward-weighted MLP maps each query embedding to a distribution over codes; and an MLP reading the flattened adjacency, regressed on measured utility and per-task-normalized token cost, reranks the top five decoded candidates in one batched forward pass. On gpt-4o-mini it reports the highest average accuracy on all six benchmarks (84.62 vs 83.02 for the strongest prior designer GTD), emits topologies in 2.4 ms versus 301–396 ms, and uses 21.9–33.2% fewer tokens; it also leads under Qwen-3-8B (74.0 vs 72.7). Key limitations: all numbers come from a single evaluation run with no variance estimates; the six-graph collapse claim is partly an artifact of training data containing only six distinct topologies; and fixed-topology baselines are absent from the main table.

Review complete

Assessment at a glance

machine learning (LLM multi-agent systems)

5

risk flags identified

● high 2

● medium 2

● low 1

Reproducibility readinessmedium
Code & data availableyes
Review confidencehigh
AI text signal0/20 passages flagged
Deep research viableCode-reproducible

4 strengths · 5 weaknesses · 5 author questions

AI text signal = Binoculars zero-shot detector score over 20 sampled passages (Fast-DetectGPT co-reported) — absence does not prove human authorship, and a flag does not imply misconduct.

Levels reflect verification complexity — not a quality score. Evolve never rates your paper.

Key claims under review

  • Reward-surviving multi-agent topologies collapse to about six distinct graphs regardless of codebook capacity (8 to 64).
  • Edge count correlates negatively with measured token consumption (Pearson r ≈ −0.4), so the standard sparsity-based cost surrogate points the wrong way.
  • Message-passing scorers over shared agent-profile embeddings are adjacency-invariant on homogeneous teams and cannot rank candidate topologies at all.
  • Codebook Agent achieves the highest average accuracy on all six benchmarks (84.62 vs 83.02 for GTD) at 2.4 ms per topology with 21.9–33.2% fewer tokens, and the ordering transfers to Qwen-3-8B (74.0 vs 72.7).

Strengths

  • Correct and consequential degeneracy result

    Section 4.3 shows that with shared profile embeddings (x1=...=xN) any message-passing layer is constant in A — a crisp argument for why GNN scorers cannot rank topologies in the benchmark-default homogeneous regime, confirmed empirically by the token ordering GNN 1711 vs random 1249 vs MLP 927 on GSM8K (Figure 5c).

  • Execution-grounded cost objective

    Replacing |E| with per-task-normalized measured tokens (Eq. 2) is well motivated by the r ≈ −0.4 inversion and validated by the chain topology as an extreme positive control — sparsest connected yet most token-expensive on every math-format benchmark (Q3, Section 5.2).

  • Broad, mechanism-isolating evaluation

  • Honest negative reporting

Weaknesses

  • Circular collapse evidence

  • Single-run statistics

  • Fixed-topology baseline absent from the main table

  • Narrow task and regime diversity

  • Baseline reproduction opacity

Full Review Report

$1.99 · one-time

Unlock the complete preliminary analysis Evolve produced for this paper.

Report preview

Scope & Claims

The paper targets query-conditioned design of communication topologies for LLM multi-agent teams (Section 1) and rests on three empirical claims: (1) reward-surviving topologies collapse to about six distinct graphs regardless of VQ codebook capacity (8 to 64, Figure 5b); (2) edge count correlates negatively with measured tokens (r ≈ −0.4, Sections 3 and 5.2-Q3), inverting the standard |E| cost surrogate; (3) message-passing scorers over profile nodes are adjacency-invariant on homogeneous teams (Section 4.3), so ranking degenerates. From these it derives Codebook Agent: a 16-entry VQ codebook over successful topologies (Eqs. 3–5), a reward-weighted MLP code predictor (Eqs. 6–7), and a flattened-adjacency MLP proxy regressed on measured utility and per-task-normalized token cost (Eqs. 8–10), with one-pass test-time selection (Eq. 11). Headline results: best average accuracy on all six benchmarks (84.62 vs 83.02 for GTD, Table 1), 2.4 ms topology generation (Figure 3), 21.9–33.2% token reduction against the incumbent decoder-plus-GNN pipeline (Figure 4, Q4), and transfer to Qwen-3-8B (Table 2, 74.0 vs 72.7).

The remaining sections cover Methodology Assessment, Statistical Evidence, Results & Reproducibility, Limitations & Risks, and Verdict & Recommendations.

  • All 4 strengths & 5 weaknesses, analyzed in detail
  • 5 risk flags with severity, section & reviewer questions
  • Methods & statistical evidence assessment
  • 5 questions a peer reviewer would ask
  • Full six-dimension evaluation report & recommendations

One-time purchase · this paper only

One-time purchase, this paper only. AI-generated preliminary analysis — not peer review.

Frequently asked questions

What is Codebook Agent?

A method that pre-computes a 16-entry codebook of successful LLM multi-agent communication topologies using a vector-quantized autoencoder, predicts suitable codes from the query embedding with a small MLP, and reranks the decoded candidate topologies with an MLP trained on measured accuracy and token cost. It selects a topology in about 2.4 ms without iterative search or graph neural networks.

Why do GNN-based topology scorers fail on homogeneous agent teams?

When all agents share the same profile text, their node embeddings are identical. Message passing then aggregates the same features regardless of the adjacency matrix, so every candidate topology receives the same score and no ranking is possible. The paper demonstrates this degeneracy and replaces the GNN with an MLP that reads the flattened adjacency matrix directly.

How much faster and cheaper is Codebook Agent than prior topology designers?

It emits a topology in 2.4 ms versus 301–396 ms for iterative generators (over 120x faster), and uses 21.9–33.2% fewer LLM tokens than the incumbent decoder-plus-edge-count-GNN pipeline — for example 1239 to 927 tokens per query on GSM8K and 2304 to 1611 on MATH.

Does Codebook Agent outperform previous multi-agent topology design methods?

On gpt-4o-mini it reports the highest average accuracy on all six benchmarks (84.62 vs 83.02 for GTD, the strongest prior designer) and also leads under Qwen-3-8B (74.0 vs 72.7). Caveats: each number comes from a single evaluation run without variance estimates, and the paper notes that a fixed fully connected topology beats every generated configuration on MATH.

About this review

This is an AI-generated preliminary review by Evolve.Pub, produced from the openly available text of the paper. It is not peer review and does not represent the authors' views. The canonical record of the paper is at the publisher link above.

  • Figure-internal data points (Figures 1, 3, 4, 5) are not recoverable from text extraction; all figure-based numbers cited in this review come from captions and body text, which state the key values.
  • The supplied metadata omits Ying Nian Wu, who is listed as the final author in the embedded paper byline.

Go deeper on this paper

Wrote a paper? Stress-test it before reviewers do.

Upload your manuscript for the same structured scrutiny — reasoning, statistics, evidence, figures, and reproducibility.

Scan your paper
Codebook Agent: Amortized Topology Design for LLM Multi-Agent Systems | Evolve.Pub