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

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

2 Sep 2026arXiv:2609.02264added by Syntology

Jinxi Yu, Yubei Li, Eric Hanchen Jiang, Zhi Zhang, Dong Liu, Wenxiao Zhao, Levina Li, Kai-Wei Chang, Ying Nian Wu

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Adapting the communication topology of an LLM multi-agent system to each query improves both accuracy and efficiency, yet current designers treat this as conditional graph generation: a variational, autoregressive, or diffusion decoder searches the N ×N adjacency space, and a graph-network proxy trained on utility and a structural cost such as edge count ranks the sampled candidates. We argue that this formulation is misaligned with the problem. Empirically, topologies that survive a reward filter collapse to about six distinct graphs even when the codebook capacity grows from 8 to 64; edge count is negatively correlated with measured token consumption (Pearson r ≈-0.4), so sparsifying the graph makes inference more expensive; and a message-passing scorer over agent-profile nodes is adjacency-invariant whenever agents share a profile---the default configuration of published benchmarks---so it cannot rank candidates at all in that regime. These three facts motivate Codebook Agent: a vector-quantized autoencoder compresses successful topologies into a query-independent 16-entry codebook; a reward-weighted MLP maps the query embedding to a distribution over codes; and an MLP proxy that reads the flattened adjacency, regressed on measured utility and per-task normalized token cost, reranks the top decoded candidates in a single batched forward pass. With no iterative search and no message passing at test time, Codebook Agent is the most accurate method on all six benchmarks we compare (84.6 average against 83.0 for the strongest prior designer), emits a topology in 2.4 ms, and uses 21.9--33.2% fewer LLM tokens.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2609.02264")

Code

Syntology Ran 0 of 18 code samples harvested from 1 repository linked to this paper; 18 have no recorded run.

By repository: found in paper text by Syntology: 18 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jinxiy1104/CodebookAgent found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 0 ran; 0 honoured the contract we drafted; 18 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

18unverified

Licence: 18 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from jinxiy1104/CodebookAgent. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

check_correctness jinxiy1104/CodebookAgent/benchmarks/humaneval_dataset.py found in paper text by Syntology unverified no licence file found · pointer only · a2b71c1db65fa88c · report
dataloader jinxiy1104/CodebookAgent/experiments/run_gsm8k.py found in paper text by Syntology unverified no licence file found · pointer only · ded2dee441b71d0d · report
delete_extra_zero jinxiy1104/CodebookAgent/benchmarks/gsm8k_dataset.py found in paper text by Syntology unverified no licence file found · pointer only · 1311b1da2c08b63b · report
get_timestep_embedding jinxiy1104/CodebookAgent/codebook_agent/topology/diffusion_model.py found in paper text by Syntology unverified no licence file found · pointer only · aa6ecaa91965abd8 · report
gsm_data_process jinxiy1104/CodebookAgent/benchmarks/gsm8k_dataset.py found in paper text by Syntology unverified no licence file found · pointer only · 54b831c1e15e7821 · report
gsm_get_predict jinxiy1104/CodebookAgent/benchmarks/gsm8k_dataset.py found in paper text by Syntology unverified no licence file found · pointer only · 096880688731661e · report
humaneval_data_process jinxiy1104/CodebookAgent/benchmarks/humaneval_dataset.py found in paper text by Syntology unverified no licence file found · pointer only · 3f336f3980547916 · report
humaneval_get_predict jinxiy1104/CodebookAgent/benchmarks/humaneval_dataset.py found in paper text by Syntology unverified no licence file found · pointer only · c74a49d80b21e6d8 · report
load_result jinxiy1104/CodebookAgent/experiments/run_gsm8k.py found in paper text by Syntology unverified no licence file found · pointer only · f56ba650da6274d1 · report
load_result jinxiy1104/CodebookAgent/experiments/run_math.py found in paper text by Syntology unverified no licence file found · pointer only · bcde03579f1c0bee · report
load_result jinxiy1104/CodebookAgent/experiments/run_mmlu.py found in paper text by Syntology unverified no licence file found · pointer only · ea6dc23b572af8d8 · report
math_data_process jinxiy1104/CodebookAgent/benchmarks/math_dataset.py found in paper text by Syntology unverified no licence file found · pointer only · 105ff03c866c0012 · report
math_get_predict jinxiy1104/CodebookAgent/benchmarks/math_dataset.py found in paper text by Syntology unverified no licence file found · pointer only · b4c384d94837ebb0 · report
mmlu_check_correctness jinxiy1104/CodebookAgent/benchmarks/mmlu_dataset.py found in paper text by Syntology unverified no licence file found · pointer only · de8750d7c8549e31 · report
mmlu_data_process jinxiy1104/CodebookAgent/benchmarks/mmlu_dataset.py found in paper text by Syntology unverified no licence file found · pointer only · 628f35aec1200854 · report
mmlu_get_predict jinxiy1104/CodebookAgent/benchmarks/mmlu_dataset.py found in paper text by Syntology unverified no licence file found · pointer only · c9f7f2c48d0fa4bb · report
offdiag_index jinxiy1104/CodebookAgent/codebook_agent/topology/vqvae_model.py found in paper text by Syntology unverified no licence file found · pointer only · 025a4076cdecc356 · report
train_proxy_model_pyg jinxiy1104/CodebookAgent/codebook_agent/topology/proxy_reward_model.py found in paper text by Syntology unverified no licence file found · pointer only · f9fb41d699fca91c · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2609.02264, was issued in September 2026, after that date, so the archive has no leaderboard rows for it.

Placed on leaderboards by Syntology Syntology

Syntology's extractor considered 6 leaderboards for this paper and placed the paper on none of them: 6 refused by a rule. What is not shown.

Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections