LoongRL: Reinforcement Learning for Advanced Reasoning over Long Contexts
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Reasoning over long contexts is essential for large language models. While reinforcement learning (RL) enhances short-context reasoning by inducing "Aha" moments in chain-of-thought, the advanced thinking patterns required for long-context reasoning remain largely unexplored, and high-difficulty RL data are scarce. In this paper, we introduce LoongRL, a data-driven RL method for advanced long-context reasoning. Central to LoongRL is KeyChain, a synthesis approach that transforms short multi-hop QA into high-difficulty long-context tasks by inserting UUID chains that hide the true question among large collections of distracting documents. Solving these tasks requires the model to trace the correct chain step-by-step, identify the true question, retrieve relevant facts and reason over them to answer correctly. RL training on KeyChain data induces an emergent plan-retrieve-reason-recheck reasoning pattern that generalizes far beyond training length. Models trained at 16K effectively solve 128K tasks without prohibitive full-length RL rollout costs. On Qwen2.5-7B and 14B, LoongRL substantially improves long-context multi-hop QA accuracy by +23.5% and +21.1% absolute gains. The resulting LoongRL-14B reaches a score of 74.2, rivaling much larger frontier models such as o3-mini (74.5) and DeepSeek-R1 (74.9). It also improves long-context retrieval, passes all 128K needle-in-a-haystack stress tests, and preserves short-context reasoning capabilities.
Key facts. Cited by 29 papers in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 32 of its 41 references that are in the map. First posted on arXiv 22 Oct 2025.
Builds on
32 of 41 references.
Closest ancestors · 1
Same direction, newest first
Other references · 31
- 2023GPT-4 Technical Reportcited by 18,396
- 2025Qwen3 Technical Reportcited by 8,820
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Let's Verify Step by Stepcited by 3,789
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2024OpenAI o1 System Cardcited by 1,244
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,228
- 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,210
- 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
19 more
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
- 2024DeepSeek-V3 Technical Reportcited by 811
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2025Beyond the 80/20 Rule: High-Entropy Minority Tokens Drive Effective Reinforcement Learning for LLM Reasoningcited by 559
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379
- 2025Cognitive Behaviors that Enable Self-Improving Reasoners, or, Four Habits of Highly Effective STaRscited by 377
- 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 313
- 2025Reinforcement Learning for Reasoning in Large Language Models with One Training Examplecited by 295
- 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 166
- 2024HELMET: How to Evaluate Long-Context Language Models Effectively and Thoroughlycited by 125
- 2025OpenCodeReasoning: Advancing Data Distillation for Competitive Codingcited by 113
- 2025rStar2-Agent: Agentic Reasoning Technical Reportcited by 54
- 2025rStar-Coder: Scaling Competitive Code Reasoning with a Large-Scale Verified Datasetcited by 51
- 2025LongReason: A Synthetic Long-Context Reasoning Benchmark via Context Expansioncited by 50
- 2025Search and Refine During Think: Facilitating Knowledge Refinement for Improved Retrieval-Augmented Reasoningcited by 35
- 2024Large Language Models Can Self-Improve in Long-context Reasoningcited by 29
- 2024ALR2: A Retrieve-then-Reason Framework for Long-context Question Answeringcited by 26
- 2025LongRoPE2: Near-Lossless LLM Context Window Scalingcited by 24
- 2025SelfCite: Self-Supervised Alignment for Context Attribution in Large Language Modelscited by 20
Built on by
Citing papers per year: 2026: 29.
29 papers.
Sort:
By area:
- 2026LongR: Unleashing Long-Context Reasoning via Reinforcement Learning with Dense Utility Rewardscited by 10
- 2026GoLongRL: Capability-Oriented Long Context Reinforcement Learning with Multitask Alignmentcited by 6
- 2026SparDA: Sparse Decoupled Attention for Efficient Long-Context LLM Inferencecited by 5
- 2026Beyond Teacher Likelihood: Group-Calibrated On-Policy Distillation for Long-Context Reasoningcited by 4
- 2026Incentivizing In-depth Reasoning over Long Contexts with Process Advantage Shapingcited by 3
- 2026LongAct: Harnessing Intrinsic Activation Patterns for Long-Context Reinforcement Learningcited by 3
- 2026Self-Pruned Key-Value Attention: Learning When to Write by Predicting Future Utilitycited by 2
- 2026LongTraceRL: Learning Long-Context Reasoning from Search Agent Trajectories with Rubric Rewardscited by 2
- 2026On the Generalization Gap in LLM Planning: Tests and Verifier-Reward RLcited by 1
- 2026A Decomposition Perspective to Long-context Reasoning for LLMscited by 1
- 2026How Post-Training Shapes Biological Reasoning Modelscited by 1
- 2026Beyond Reward Engineering: A Data Recipe for Long-Context Reinforcement Learningcited by 1
17 more
- 2026Evidence-State Rewards for Long-Context Reasoningcited by 1
- 2026Copy Less, Ground More: Overcoming Repetitive Copying in Long-Context Reasoning via Evidence-Aware Reinforcement Learningcited by 1
- 2026REFACT: Adaptive Fact Restatement for Compact and Faithful Chain-of-Thought Reasoningcited by 1
- 2026Document Reconstruction Unlocks Scalable Long-Context RLVRcited by 0
- 2026π2: Structure-Originated Reasoning Data Improves Long-Context Reasoning Ability of Large Language Modelscited by 0
- 2026Customer-Agent: Overcoming Context Limitations in Ultra-Long Shopping Trajectories via Tool-Augmented Agents and RLVRcited by 0
- 2026PI-Mem: Pushing Long-Context Reasoning to 3.6M Tokens with Parallel-Iterative Memorycited by 0
- 2026When Entropy Is Not Enough: Reclaiming Lost Semantics in LLM Output Length Predictioncited by 0
- 2026Not Just Reason, Not Just Scan: Reinforcement Learning for Proactive Scientific Error Verification over Academic Papercited by 0
- 2026Tracking the Moving Frontier: Long-Short Term Advantage Estimatorcited by 0
- 2026Highlight-Then-Summarize: Learning to Compress Evidence for Long-Context Understandingcited by 0
- 2026REALHOP: Rethinking Multi-Hop Reasoning Evaluation via Behavioral Auditingcited by 0
- 2026StateTree: Enhancing Long-Term Dialogue Reasoning via Reinforcement Learningcited by 0
- 2026LatentHarness: Learning Latent Actions for Memory and Reasoning via Counterfactual Policy Distillationcited by 0
- 2026TrajLong: Co-Designing Agentic and Long-Context Supervision for Mid-Trainingcited by 0
- 2026LongHarness: Advancing Agentic Reasoning over 100M-Token Corpora via Stateful Evidence Managementcited by 0
- 2026Titan-Llama: Retrofitting Pre-trained LLMs with External Neural Memory Modulescited by 0
- 2026Titan-Llama: Retrofitting Pre-trained LLMs with External Neural Memory Modules13 Oct 2026
- 2026LongHarness: Advancing Agentic Reasoning over 100M-Token Corpora via Stateful Evidence Management9 Oct 2026
- 2026TrajLong: Co-Designing Agentic and Long-Context Supervision for Mid-Training4 Oct 2026
- 2026LatentHarness: Learning Latent Actions for Memory and Reasoning via Counterfactual Policy Distillation30 Sep 2026
- 2026StateTree: Enhancing Long-Term Dialogue Reasoning via Reinforcement Learning30 Sep 2026
- 2026REALHOP: Rethinking Multi-Hop Reasoning Evaluation via Behavioral Auditing29 Sep 2026
- 2026Highlight-Then-Summarize: Learning to Compress Evidence for Long-Context Understanding25 Sep 2026
- 2026Tracking the Moving Frontier: Long-Short Term Advantage Estimator6 Sep 2026
- 2026Not Just Reason, Not Just Scan: Reinforcement Learning for Proactive Scientific Error Verification over Academic Paper27 Aug 2026
- 2026Beyond Teacher Likelihood: Group-Calibrated On-Policy Distillation for Long-Context Reasoning19 Aug 2026
- 2026When Entropy Is Not Enough: Reclaiming Lost Semantics in LLM Output Length Prediction16 Aug 2026
- 2026PI-Mem: Pushing Long-Context Reasoning to 3.6M Tokens with Parallel-Iterative Memory4 Aug 2026
17 more
- 2026REFACT: Adaptive Fact Restatement for Compact and Faithful Chain-of-Thought Reasoning23 Jul 2026
- 2026Copy Less, Ground More: Overcoming Repetitive Copying in Long-Context Reasoning via Evidence-Aware Reinforcement Learning21 Jul 2026
- 2026Evidence-State Rewards for Long-Context Reasoning2 Jul 2026
- 2026Beyond Reward Engineering: A Data Recipe for Long-Context Reinforcement Learning17 Jun 2026
- 2026How Post-Training Shapes Biological Reasoning Models15 Jun 2026
- 2026Customer-Agent: Overcoming Context Limitations in Ultra-Long Shopping Trajectories via Tool-Augmented Agents and RLVR6 Jun 2026
- 2026SparDA: Sparse Decoupled Attention for Efficient Long-Context LLM Inference3 Jun 2026
- 2026LongTraceRL: Learning Long-Context Reasoning from Search Agent Trajectories with Rubric Rewards29 May 2026
- 2026GoLongRL: Capability-Oriented Long Context Reinforcement Learning with Multitask Alignment19 May 2026
- 2026Self-Pruned Key-Value Attention: Learning When to Write by Predicting Future Utility13 May 2026
- 2026LongAct: Harnessing Intrinsic Activation Patterns for Long-Context Reinforcement Learning16 Apr 2026
- 2026A Decomposition Perspective to Long-context Reasoning for LLMs9 Apr 2026
- 2026π2: Structure-Originated Reasoning Data Improves Long-Context Reasoning Ability of Large Language Models6 Apr 2026
- 2026Document Reconstruction Unlocks Scalable Long-Context RLVR9 Feb 2026
- 2026LongR: Unleashing Long-Context Reasoning via Reinforcement Learning with Dense Utility Rewards5 Feb 2026
- 2026On the Generalization Gap in LLM Planning: Tests and Verifier-Reward RL20 Jan 2026
- 2026Incentivizing In-depth Reasoning over Long Contexts with Process Advantage Shaping18 Jan 2026
- 2026LongR: Unleashing Long-Context Reasoning via Reinforcement Learning with Dense Utility Rewardscited by 10
- 2026Incentivizing In-depth Reasoning over Long Contexts with Process Advantage Shapingcited by 3
- 2026LongAct: Harnessing Intrinsic Activation Patterns for Long-Context Reinforcement Learningcited by 3
- 2026Self-Pruned Key-Value Attention: Learning When to Write by Predicting Future Utilitycited by 2
- 2026LongTraceRL: Learning Long-Context Reasoning from Search Agent Trajectories with Rubric Rewardscited by 2
- 2026A Decomposition Perspective to Long-context Reasoning for LLMscited by 1
- 2026How Post-Training Shapes Biological Reasoning Modelscited by 1
- 2026Copy Less, Ground More: Overcoming Repetitive Copying in Long-Context Reasoning via Evidence-Aware Reinforcement Learningcited by 1
- 2026REFACT: Adaptive Fact Restatement for Compact and Faithful Chain-of-Thought Reasoningcited by 1
- 2026π2: Structure-Originated Reasoning Data Improves Long-Context Reasoning Ability of Large Language Modelscited by 0
- 2026PI-Mem: Pushing Long-Context Reasoning to 3.6M Tokens with Parallel-Iterative Memorycited by 0
- 2026Not Just Reason, Not Just Scan: Reinforcement Learning for Proactive Scientific Error Verification over Academic Papercited by 0
12 most cited of 15 All 15 (JSON)
- 2026LatentHarness: Learning Latent Actions for Memory and Reasoning via Counterfactual Policy Distillation30 Sep 2026
- 2026StateTree: Enhancing Long-Term Dialogue Reasoning via Reinforcement Learning30 Sep 2026
- 2026REALHOP: Rethinking Multi-Hop Reasoning Evaluation via Behavioral Auditing29 Sep 2026
- 2026Not Just Reason, Not Just Scan: Reinforcement Learning for Proactive Scientific Error Verification over Academic Paper27 Aug 2026
- 2026PI-Mem: Pushing Long-Context Reasoning to 3.6M Tokens with Parallel-Iterative Memory4 Aug 2026
- 2026REFACT: Adaptive Fact Restatement for Compact and Faithful Chain-of-Thought Reasoning23 Jul 2026
- 2026Copy Less, Ground More: Overcoming Repetitive Copying in Long-Context Reasoning via Evidence-Aware Reinforcement Learning21 Jul 2026
- 2026How Post-Training Shapes Biological Reasoning Models15 Jun 2026
- 2026LongTraceRL: Learning Long-Context Reasoning from Search Agent Trajectories with Rubric Rewards29 May 2026
- 2026Self-Pruned Key-Value Attention: Learning When to Write by Predicting Future Utility13 May 2026
- 2026LongAct: Harnessing Intrinsic Activation Patterns for Long-Context Reinforcement Learning16 Apr 2026
- 2026A Decomposition Perspective to Long-context Reasoning for LLMs9 Apr 2026
12 newest of 15 All 15 (JSON)
- 2026Customer-Agent: Overcoming Context Limitations in Ultra-Long Shopping Trajectories via Tool-Augmented Agents and RLVRcited by 0
- 2026TrajLong: Co-Designing Agentic and Long-Context Supervision for Mid-Trainingcited by 0
- 2026LongHarness: Advancing Agentic Reasoning over 100M-Token Corpora via Stateful Evidence Managementcited by 0
- 2026LongHarness: Advancing Agentic Reasoning over 100M-Token Corpora via Stateful Evidence Management9 Oct 2026
- 2026TrajLong: Co-Designing Agentic and Long-Context Supervision for Mid-Training4 Oct 2026
- 2026Customer-Agent: Overcoming Context Limitations in Ultra-Long Shopping Trajectories via Tool-Augmented Agents and RLVR6 Jun 2026
- 2026GoLongRL: Capability-Oriented Long Context Reinforcement Learning with Multitask Alignmentcited by 6
- 2026SparDA: Sparse Decoupled Attention for Efficient Long-Context LLM Inferencecited by 5
- 2026On the Generalization Gap in LLM Planning: Tests and Verifier-Reward RLcited by 1
- 2026Evidence-State Rewards for Long-Context Reasoningcited by 1
- 2026Document Reconstruction Unlocks Scalable Long-Context RLVRcited by 0
- 2026Tracking the Moving Frontier: Long-Short Term Advantage Estimatorcited by 0
- 2026Highlight-Then-Summarize: Learning to Compress Evidence for Long-Context Understandingcited by 0
- 2026Highlight-Then-Summarize: Learning to Compress Evidence for Long-Context Understanding25 Sep 2026
- 2026Tracking the Moving Frontier: Long-Short Term Advantage Estimator6 Sep 2026
- 2026Evidence-State Rewards for Long-Context Reasoning2 Jul 2026
- 2026SparDA: Sparse Decoupled Attention for Efficient Long-Context LLM Inference3 Jun 2026
- 2026GoLongRL: Capability-Oriented Long Context Reinforcement Learning with Multitask Alignment19 May 2026
- 2026Document Reconstruction Unlocks Scalable Long-Context RLVR9 Feb 2026
- 2026On the Generalization Gap in LLM Planning: Tests and Verifier-Reward RL20 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2025Interleaved Reasoning for Large Language Models via Reinforcement Learning
- 2025Training Language Models to Reason Efficiently
- 2025Demystifying Long Chain-of-Thought Reasoning in LLMs
- 2025Rethinking Reasoning Quality in Large Language Models through Enhanced Chain-of-Thought via RL
- 2025ProRL: Prolonged Reinforcement Learning Expands Reasoning Boundaries in Large Language Models
- 2026Long-Context Reasoning Through Proxy-Based Chain-of-Thought Tuning
- 2025QwenLong-L1.5: Post-Training Recipe for Long-Context Reasoning and Memory Management
- 2025Scaling Up RL: Unlocking Diverse Reasoning in LLMs via Prolonged Training