Towards Direct Latent-Space Synthesis for Parallel Branches in LLM-Agent Workflows
About
Large language models increasingly serve as execution engines for agentic systems, yet they still consume context through a sequential text interface. This creates a mismatch with modern structured agent workflows, in which independent branches explore subtasks, retrieve evidence, or generate candidate solutions before a final synthesis step. Existing systems typically merge these branches by concatenating their textual outputs, which discards the parallel structure and incurs redundant prefill computation. In this work, we introduce Parallel-Synthesis, a plug-and-play framework that enables a synthesizer to directly consume the KV caches produced by parallel worker agents. Parallel-Synthesis combines a cache mapper that calibrates independently generated branch caches with a fine-tuned synthesizer adapter that enables generation from this non-sequential cache interface. We train Parallel-Synthesis using data that exposes the synthesizer to parallel cache contexts, teaches aggregation across cached branches, and distills reasoning behavior from standard text-concatenation-based synthesis. Across nine downstream datasets spanning math, science QA, code generation, GAIA, and multi-agent database diagnosis, Parallel-Synthesis matches or outperforms text-based synthesis on seven datasets and remains close on the other two. It also reduces time-to-first-token by 2.5x-11x, suggesting that direct cache-based synthesis is a promising interface for more native and efficient synthesis over parallel agent branches.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Code Generation | MBPP+ | Accuracy80.42 | 243 | |
| Mathematical Reasoning | AIME 2024 | AIME 2024 Accuracy63.33 | 60 | |
| Graduate-level Science QA | GPQA | Accuracy52.02 | 13 | |
| Code Generation | HumanEvalPlus | HumanEval+ Accuracy90.85 | 7 | |
| Agent Reasoning | GAIA Level-1 | Correct Samples23 | 7 | |
| Scientific QA | MedQA | Accuracy83.58 | 7 | |
| Agent Reasoning | GAIA Level 2 | Number Correct19 | 7 | |
| Agent Reasoning | GAIA Level 3 | Correct Samples2 | 7 | |
| Database Reasoning | MARBLE Database | Correct Samples Count36 | 5 |