TL;DR
PAIR (Parallel Asymmetric Inference with Reader-Reasoner Separation) is a novel inference framework that splits context-based question answering into two distinct roles: a small "Reader" model that processes the full context and a large "Reasoner" model that handles logic without directly seeing the context. By fusing their predictions at the logit level, PAIR achieves up to 96% of a large model's accuracy while using only 25% of the KV memory and delivering up to 3.2× higher throughput.
What Problem Does This Paper Address?
As Large Language Models (LLMs) tackle increasingly long contexts—such as entire codebases or long conversation histories—they hit a "memory wall." The Key-Value (KV) cache, which stores intermediate activations for every token in the context, grows linearly with context length. For a large model (e.g., 32B parameters), this cache can quickly exceed the memory capacity of even high-end GPUs.
Existing solutions generally fall into two camps:
- Token Reduction: Dropping "unimportant" tokens from the cache (e.g., SnapKV). However, if a dropped token becomes relevant for a later question, accuracy plummets.
- Quantization: Compressing the cache to lower precision (e.g., 4-bit or 2-bit). This saves memory but often does little to improve the latency caused by running a massive model.
The authors of PAIR identify a fundamental redundancy: a model doesn't need its full reasoning capacity just to read and extract evidence, nor does it necessarily need to re-scan a 50k-token document to reason once the relevant facts are found.
Methods
PAIR introduces a multi-model approach that separates evidence extraction from answer reasoning.
- The Reader (Small Model): This model (e.g., Qwen2.5-7B) processes the entire long context and the question. It maintains a full, high-fidelity KV cache of the document.
- The Reasoner (Large Model): This model (e.g., Qwen2.5-32B) sees only the question and the tokens generated so far. It never attends to the raw context, meaning its KV cache is tiny.
- Logit Fusion: At every decoding step, both models produce a set of logits (next-token predictions). These are combined using a weighted linear sum: $z_t = \lambda z_{read,t} + (1 - \lambda) z_{reason,t}$. The resulting token is then fed back into both models for the next step.
To make this collaboration work, the authors use Correlated Fine-Tuning. They first adapt the Reader to identify relevant evidence, then tune the Reasoner (with the Reader frozen) to improve the joint prediction. This ensures the Reasoner learns to "trust" the evidence the Reader writes into the shared output sequence.
Datasets
The authors evaluated PAIR on four long-context QA benchmarks:
- HotpotQA & MuSiQue: Single-question tasks expanded to 40-document contexts (approx. 6k to 45k tokens).
- LooGLE & LoCoMo: Multi-turn "accumulated context" tasks where multiple questions are asked about the same long document, testing the model's ability to retain information over time.
For training, they developed two specialized corpora: S-solo (for Reader specialization in retrieval) and L-fusion (synthetic "binding" tasks to help the Reasoner link questions to extracted evidence).
Key Insights and Ideas
- Role Complementarity: The Reader provides context-specific evidence early in the generation, while the Reasoner provides superior logic once that evidence is present in the generated prefix.
- The "Writing" Mechanism: Because the models share a generated sequence, the Reader can "write" evidence into the reasoning trace. Once written, the Reasoner can see it without needing to attend to the original 40k-token document.
- Robustness in Multi-turn QA: Unlike token-eviction methods that might discard a token that seems useless for Question 1 but is vital for Question 5, PAIR's Reader keeps the full context intact, making it much more reliable for long-running conversations.
Key Results
PAIR consistently outperforms single-model baselines on the accuracy-efficiency frontier:
- Memory Savings: On HotpotQA, PAIR (32B Reasoner + 7B Reader) uses roughly 25% of the KV memory of a full-context 32B model.
- Accuracy Retention: It retains 89–96% of the F1 score of the full 32B model across all benchmarks, significantly beating token-reduction baselines like SnapKV at similar memory budgets.
- Throughput Gains: At context lengths of 45.7k tokens, PAIR achieves 3.2× higher end-to-end throughput than the 32B baseline on a single GPU.
- Generalization: The approach works across different model families, including Qwen2.5, OLMo-3, and Gemma-3.
Limitations and Future Work
- Fixed Fusion Weights: Currently, PAIR uses a fixed $\lambda$ for each benchmark. The authors suggest that dynamic, per-token weighting could further improve performance.
- Context Lengths: While tested up to 45.7k tokens, the behavior at "extreme" scales (100k+ tokens) remains to be explored.
- Training Overhead: While the fine-tuning is relatively lightweight (using LoRA), it still requires a specialized training pipeline for each model family.
Overall, PAIR offers a compelling architectural path for deploying large, capable models on long-context tasks without the prohibitive memory costs usually associated with them.
Summary updated