Skip to content
AI News HubLIVE
Original source2 min read

Octopus: One Brain, Many Branches for Latent-KV Multi-Agent Reinforcement Learning

Summary

Octopus is a single-model multi-agent reinforcement learning framework where all threads share one backbone and coordinate over a GPU-resident DAG of KV states via five primitives. It combines zero-copy radix forking, attention-only KV mounting, and a packed DAG-GRPO trainer, achieving significant gains on BrowseComp-Plus and OpenResearcher while improving throughput and reducing KV memory.

SourcearXiv Machine LearningAuthor: Tianming Sha
Octopus: One Brain, Many Branches for Latent-KV Multi-Agent Reinforcement Learning
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

[Submitted on 3 Nov 2026]

Title:Octopus: One Brain, Many Branches for Latent-KV Multi-Agent Reinforcement Learning

View a PDF of the paper titled Octopus: One Brain, Many Branches for Latent-KV Multi-Agent Reinforcement Learning, by Tianming Sha

View PDF HTML (experimental)

Abstract:Multi-agent LLM systems explore in parallel by spawning sub-agents with isolated context windows, whereas single-agent systems append every search and verification step into one growing trajectory. However, existing multi-agent frameworks duplicate prefix KV caches across branches, exchange findings by re-prefilling text summaries, and flatten or drop cross-branch dependencies during reinforcement learning (RL).

We introduce Octopus, a single-model multi-agent RL framework in which all threads share one backbone and coordinate over a GPU-resident directed acyclic graph (DAG) of KV states through five primitives (fork, read_thread, wait_threads, rewind, commit). Octopus combines three co-designed mechanisms: (1) Zero-Copy Radix Forking, which spawns branches as $\mathcal{O}(1)$ cursor views over shared physical KV pages; (2) Attention-Only KV Mounting, which mounts a sibling thread's terminal KV blocks directly into full-attention layers while bypassing linear-recurrent states (Gated DeltaNet / Mamba-2), cutting off-task hijacking by $21\times$ ($57.9\% \to 2.7\%$) while retaining $92.2\%$ of full-text mutual information at zero extra KV allocation; and (3) a Packed DAG-GRPO Trainer, which packs all episode branches into one block-sparse attention pass and assigns counterfactual branch credit via leave-one-branch-out marginal rewards.

Trained end-to-end with GRPO on Qwen3.5-4B over a sparse BM25 corpus, Octopus reaches $49.6\%$ accuracy on BrowseComp-Plus ($+17.5$ points over single-agent GRPO at 143K context and $+12.5$ points over text-summary multi-agent RL) and $51.2\%$ on OpenResearcher, outperforming dense-retrieval agents up to $250\times$ larger while increasing training throughput $3.3\times$ and cutting peak KV memory $2.8\times$.

Comments: 19 pages, 12 figures, 7 tables

Subjects:

Machine Learning (cs.LG); Computation and Language (cs.CL)

Cite as: arXiv:2611.06956 [cs.LG]

(or arXiv:2611.06956v1 [cs.LG] for this version)

https://doi.org/10.48550/arXiv.2611.06956

arXiv-issued DOI via DataCite

Submission history

From: Tommy Sha [view email] [v1] Tue, 3 Nov 2026 22:42:25 UTC (2,416 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled Octopus: One Brain, Many Branches for Latent-KV Multi-Agent Reinforcement Learning, by Tianming Sha

View PDF

HTML (experimental)

TeX Source

view license

Additional Features

Audio Summary

Current browse context:

cs.LG

new | recent | 2026-11

Change to browse by:

cs cs.CL

References & Citations

SciX

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

IArxiv recommender toggle

IArxiv Recommender (What is IArxiv?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • Octopus addresses KV cache duplication and lost cross-branch dependencies in multi-agent frameworks through zero-copy radix forking and attention-only KV mounting.
  • Trained with GRPO on Qwen3.5-4B, Octopus reaches 49.6% accuracy on BrowseComp-Plus, +17.5 points over single-agent GRPO.
  • It increases training throughput 3.3×, cuts peak KV memory 2.8×, and achieves 51.2% on OpenResearcher.

Highlights and analysis are generated automatically and may contain errors. Check the original source.