Towards Direct Latent-Space Synthesis for Parallel Branches in LLM-Agent Workflows
Shikun Liu, Mufei Li, Dongqi Fu, Haoyu Wang, Yinglong Xia, Hong Li, Hong Yan, Pan Li
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Reasoning, Memory & RAG › Self-Evolving Agent Memory · Type: new method · Keywords: parallel agent workflows, cache-based synthesis, LLM agents, efficient generation, KV cache alignment
Areas: LLM Reasoning › Reasoning Strategies › Agent Memory and Reasoning; AI Agents › Agent Systems and Interactions › Agent Orchestration
Summary
Parallel-Synthesis is a plug-and-play framework that enables a synthesizer to directly consume KV caches from parallel LLM-agent branches, improving efficiency and performance over traditional text concatenation.
Explained to a 5-year-old
Some computer programs have many helpers that work on different tasks at the same time. Usually the final answer writer waits for each helper to finish and then writes down all their answers one after another. The new idea lets the final answer writer look at all the helpers' work at once, without waiting for them to finish one by one. This way the final answer comes out much faster. The computer learns how to do this by practicing with many examples.
Explained to a 5-year-old, longer
Imagine a team of robots that each solve a piece of a puzzle. They work on their parts at the same time, so they don't have to wait for each other. After they finish, a special robot reads all their solutions together. In the old way, the special robot would read each robot's answer one after another, which took a long time. The new idea lets the special robot look at all the robots' work at once, like flipping through a stack of pictures. This makes the final answer appear quickly, almost instantly. The computer learns how to do this by practicing with many examples, similar to how children learn to solve puzzles by trying many times. It also learns to combine the different pieces of information smoothly, so the final answer makes sense. This helps the system work better on many different kinds of problems, from math questions to coding tasks. By using the robots' work together, the system saves time and uses less energy. It also helps the robots understand each other's answers better, leading to more accurate results. Overall, this new method makes the whole process faster, smarter, and more efficient for solving complex tasks.
For a technical reader
The system introduces a cache mapper that aligns KV caches from parallel agents and a fine-tuned adapter that can generate text directly from these caches. Training uses synthetic parallel cache contexts and distills reasoning from conventional concatenation-based synthesis. Evaluation across nine diverse datasets shows performance parity or improvement on most tasks and a 2.5×-11× reduction in time-to-first-token, indicating significant efficiency gains.
Problem
Current LLM-agent workflows synthesize results by concatenating textual outputs from parallel branches, which discards the parallel structure and wastes computation. This sequential text interface is inefficient for native parallel agent synthesis.
Method
The approach uses a cache mapper to calibrate independently generated KV caches from parallel worker agents and a fine-tuned synthesizer adapter that can generate from these non-sequential cache contexts. Training data exposes the synthesizer to parallel cache contexts, teaches aggregation across cached branches, and distills reasoning from standard text-concatenation synthesis.
Results
The approach matches or outperforms text-based synthesis on seven of nine datasets and stays close on the remaining two, while reducing time-to-first-token by 2.5× to 11×.
Contributions
A plug-and-play framework that directly consumes parallel KV caches for synthesis, a cache mapper and adapter for non-sequential cache interfaces, and empirical evidence of improved efficiency and performance across diverse tasks.
Practical relevance
It enables faster, more efficient synthesis for parallel LLM-agent workflows, potentially reducing compute costs and improving response latency.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction