Streamlining the Collaborative Chain of Models into A Single Forward Pass in Generation-Based Tasks
On the map: Retrieval-augmented generation → Agentic RAG, agents and memory
Abstract (arXiv)
In Retrieval-Augmented Generation (RAG) and agent-based frameworks, the "Chain of Models" approach is widely used, where multiple specialized models work sequentially on distinct sub-tasks. This approach is effective but increases resource demands as each model must be deployed separately. Recent advancements attempt to address this by applying prompt tuning, which allows a shared base model to adapt to multiple tasks with minimal parameter changes. However, a key challenge remains: intermediate outputs, passed between models as plain text, require recomputation of hidden states (i.e., Key and Value (KV) states in Transformers) during inference. In this paper, we introduce FTHSS, a novel prompt-tuning method that enables models to share KV hidden states, eliminating redundant forward passes and reducing KV cache storage. By modifying input and attention masks during training, FTHSS allows models to effectively utilize KV hidden states from prior models in both single- and multi-round scenarios. Empirical results on four tasks show that FTHSS matches the performance of traditional model chains while improving inference efficiency.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Agentic RAG, agents and memory, one of 15 directions in Retrieval-augmented generation. First posted on arXiv 16 Feb 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025PromptBridge: Cross-Model Prompt Transfer for Large Language Models
- 2025Fine-tuning with RAG for Improving LLM Learning of New Skills
- 2026GRADRAG: Cross-Component Prompt Adaptation for Coordinated Multi-Agent RAG
- 2024RAG-DDR: Optimizing Retrieval-Augmented Generation Using Differentiable Data Rewards
- 2024Towards Understanding Systems Trade-offs in Retrieval-Augmented Generation Model Inference
- 2026CWM: Controllable White-Box Meta-Prompting for Adaptive Retrieval-Augmented Generation and Reasoning Ability
- 2026Retrieval-Augmented LLM Agents: Learning to Learn from Experience
- 2025s3: You Don't Need That Much Data to Train a Search Agent via RL