cs.CLOct 12, 2026

PAIR: Memory-Efficient and Fast Inference with Reading--Reasoning Fusion

Authors: Sejun Park, Haocheng Xia, Yongjoo Park

Organizations: Siebel School of Computing and Data Science, University of Illinois Urbana-Champaign, Urbana, IL 61801, USA

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×\times 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.

Figures & tables

Appendix figures & tables17 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. PI-Mem: Pushing Long-Context Reasoning to 3.6M Tokens with Parallel-Iterative Memory

    Aug 4, 2026Dawei Liu, Haixu Song, Shuang Cheng +9Memory-Augmented Language ModelsLong-Context QA

  2. PARSER: Read in Parallel, Reason in Depth for Long-Context LLM Agents

    Sep 6, 2026Kun Li, Zexuan Qiu, Tianhua Zhang +2Long-Context InferenceMulti-Agent LLMs

  3. Cache2LoRA: Understanding and Improving Context Internalization

    Oct 16, 2026Yi Fang, Gaurav Srivastava, Zhenyu Bi +2LLM Context CompressionKnowledge Augmentation for Language Models