TL;DR
While modern Large Language Models (LLMs) boast massive context windows capable of processing millions of tokens, their ability to perform complex reasoning over long documents remains surprisingly weak. To bridge this gap, the authors introduce ProxyCoT, a two-stage training framework that first teaches models to generate high-quality chain-of-thought (CoT) reasoning traces on short, information-dense "proxy contexts," and then trains them to ground these exact reasoning steps within full, long-context inputs. This approach significantly boosts long-context reasoning performance across different model families while drastically reducing training and inference costs.
What Problem Does This Paper Address?
We are living in the era of massive context windows, with models routinely accepting inputs up to millions of tokens long. However, a frustrating paradox remains: if you ask an LLM to solve a complex, multi-step reasoning problem embedded within a massive document, it often fails.
Interestingly, the authors observe a massive performance disparity: if you strip away the fluff and present the model with only the specific sentences or metadata needed to answer the question—termed the proxy context—the model performs beautifully.
As shown in Figure 1, models excel when evaluated on short proxy contexts (~650 tokens) compared to full long contexts (128K tokens), even though both require the exact same underlying reasoning steps. When forced to read the full text, LLMs struggle to ground their reasoning in the relevant evidence, often hallucinating specific facts despite setting up a plausible high-level plan.
Directly training models to reason over long contexts using Reinforcement Learning (RL) is prohibitively expensive due to the computational cost of sampling long sequences. ProxyCoT addresses this by leveraging short proxy contexts as a stepping stone.
Methods
ProxyCoT operates on a simple but powerful hypothesis: the underlying reasoning process should be invariant to the length of the context representation. The framework trains models using a two-stage teacher-student paradigm:
-
Stage 1: Acquiring CoT on Short Proxy Contexts The goal here is to obtain high-quality reasoning traces ($t$) using only the compact proxy context ($C^p$). The authors propose two ways to do this (Figure 2, right):
-
ProxyCoT-ZS (Zero-Shot Distillation): A large, powerful off-the-shelf teacher model generates reasoning traces on the short proxy context. Only traces that yield correct answers are kept.
- ProxyCoT-RL (Reinforcement Learning): If a teacher model isn't available, the target model is trained directly on the proxy contexts using Reinforcement Learning with Verifiable Rewards (RLVR). Because the context is short, this RL exploration is highly efficient.
- Stage 2: Grounding CoT in Full Long Contexts The student model (the target model) is fine-tuned via Supervised Fine-Tuning (SFT). Crucially, it is given the full long context ($C$) but is trained to reproduce the high-quality reasoning traces ($t$) and answers ($a$) derived from the proxy context in Stage 1. This teaches the model how to locate and ground its reasoning within extensive text.
Datasets
The framework was evaluated on two primary long-context question-answering benchmarks, scaled up to 128K tokens:
- SciTrek: A benchmark testing reasoning over collections of full-text scientific articles. The proxy context used was a structured textual representation of article metadata (titles, authors, references).
- HotpotQA: A multi-hop QA dataset based on Wikipedia. The authors expanded the context length by appending cited distractor articles. The proxy context consisted of the human-annotated supporting sentences.
- Loong: An out-of-domain benchmark featuring financial reports and academic papers, used strictly to test the model's generalization capabilities.
Key Insights and Ideas
- Reasoning Invariance as a Training Signal: Instead of forcing a model to learn how to think and where to look at the same time over 128K tokens, ProxyCoT decouples these challenges. It teaches the model how to think on short text first, then teaches it where to look in long text.
- RL on Short Proxies is a Cheat Code: Running RLVR on 128K tokens is a computational nightmare. Running it on <1K token proxies allows smaller models to discover task-specific reasoning structures efficiently, which can then be transferred to long contexts.
- Shorter Inference Traces: Surprisingly, models trained via ProxyCoT-RL actually generate shorter and more concise reasoning traces at inference time compared to standard SFT or zero-shot baselines, leading to lower inference-time compute budgets.
Key Results
The authors experimented using Qwen3-4B-Instruct and Gemma3-4B-IT. The results show substantial improvements over standard long-context training baselines:
- SciTrek Performance: On full long contexts, zero-shot Qwen3-4B scored 30.8% Exact Match (EM). ProxyCoT-RL boosted this to 46.5%, approaching the performance of the massive Qwen3-235B teacher model (48.8%). Gemma3-4B-IT saw an even more dramatic leap, skyrocketing from a baseline of 3.0% to 43.7% EM.
- HotpotQA Accuracy: Qwen3-4B improved from a zero-shot baseline of 44.5% to 52.7% using ProxyCoT-RL.
- Out-of-Domain Generalization: When models trained on SciTrek were evaluated on the completely unseen Loong benchmark, they showed remarkable cross-domain gains. For instance, on academic papers within Loong, Gemma3-4B-IT's score jumped from 3.55 to 24.32 (on a 1–100 scale judged by GPT-5-mini).
Limitations and Future Work
Despite its success, ProxyCoT relies on a significant assumption: the availability of high-quality proxy contexts (like human annotations or structured metadata). For many real-world datasets, these proxies do not exist out of the box. While the authors showed that the method is robust to a moderate amount of injected noise, performance drops sharply if proxies are built using naive information retrieval methods (like standard BM25 or embedding searches).
Future work will focus on developing algorithms to automatically discover or construct effective proxy contexts from raw, unannotated long documents.
Summary updated