PAIR: Memory-Efficient and Fast Inference with Reading--Reasoning Fusion
Abstract
For context-based question answering, using one large model for both evidence extraction and answer reasoning requires substantial memory and computation. Existing approaches trade accuracy for efficiency within a single model only. We propose a multi-model approach for efficient inference: our method, PAIR, employs two differently sized models for evidence extraction and answer reasoning, respectively. A smaller Reader model processes and retains the full context, while a larger Reasoner model sees only the question and generated sequence without directly attending to the context. These capabilities are fused at the logit level: at each token, both Reader and Reasoner produce a prediction, and their logits are combined into one, behaving as a single next-token-prediction model. Fine-tuning further boosts their performance. On HotpotQA, PAIR with a 32B Reasoner retains 96% of that same 32B model's full-context accuracy while using roughly one quarter of its KV memory. At 45.7K-token contexts, PAIR achieves up to 3.2 higher end-to-end throughput than the full-context 32B model on the same GPU. PAIR also improves the accuracy-memory and accuracy-throughput trade-offs over evaluated token-reduction baselines. Its accuracy-preserving behavior generalizes across Qwen2.5, OLMo-3, and Gemma-3 model families.
Create a lesson
Metadata
- Comments
- 34 pages, 8 figures
Related papers
DKnown-Jev-2: Article-Level Answer-Evidence Classification and Efficient Inference with a Pre-trained Language Model
Shared title terminologycs.CLQi Li, Jianjun Xu, Jiu Li et al.
LimeTree: Linear-Memory Graph Neural Networks over Tree-Graphs for Resource-Efficient Language Modeling and Context Extrapolation
Shared title terminologycs.CLElisabeth Fink
DoubtLess: Training-Free Contrastive Decoding for Efficient Reasoning
Shared title terminologycs.CLMinghao Luo, Liang Chen
Efficiently Learning To Reason or Not to Reason: Root-token Policy Optimization for Adaptive Thinking
Shared title terminologycs.CLTaehyeon Kim, Hyunsoo Lee, Youngsoo Jang et al.
Many Steps into One: Reasoning Contraction and the Limits of Safe Memory Reuse for LLM Agents
Shared title terminologycs.CLJianghong Zhou, Hao Rong, Chen Lin et al.
Lightweight Reasoning Transfer via Chain-of-Thought Vector Projection
Shared title terminologycs.CLYulin Qi, Shuo Xu, Shuxia Lin et al.