LongTraceRL: Learning Long-Context Reasoning from Search Agent Trajectories with Rubric Rewards

Nianyi Lin, Jiajie Zhang, Lei Hou, Juanzi Li


Abstract
Long-context reasoning remains a central challenge for large language models, which often fail to locate and integrate key information in extensive distracting content. Reinforcement learning with verifiable rewards (RLVR) has shown promise for this task, yet existing methods are limited by low-confusability distractors and sparse, outcome-only reward signals that cannot supervise intermediate reasoning steps. To address these issues, we introduce LongTraceRL. For data construction, we generate multi-hop questions via knowledge graph random walks and leverage search agent trajectories to build tiered distractors: documents the agent read but did not cite (high confusability) and documents that appeared in search results but were never opened (low confusability), producing training contexts that are far more challenging than those built by random sampling or naive search. For reward design, we propose a rubric reward that uses the gold entities along each reasoning chain as fine-grained, entity-level process supervision. This rubric reward is applied only to responses with correct final answers (positive-only strategy), distinguishing the reasoning quality among correct responses and preventing reward hacking. Experiments on three reasoning LLMs (4B–30B) across five long-context benchmarks demonstrate that LongTraceRL consistently outperforms strong baselines and encourages comprehensive, evidence-grounded reasoning.
Anthology ID:
2026.findings-emnlp.1222
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2026
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
Findings
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
25862–25882
Language:
URL:
https://aclanthology.org/2026.findings-emnlp.1222/
DOI:
10.18653/2026.findings-emnlp.1222
Bibkey:
Cite (ACL):
Nianyi Lin, Jiajie Zhang, Lei Hou, and Juanzi Li. 2026. LongTraceRL: Learning Long-Context Reasoning from Search Agent Trajectories with Rubric Rewards. In Findings of the Association for Computational Linguistics: EMNLP 2026, pages 25862–25882, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
LongTraceRL: Learning Long-Context Reasoning from Search Agent Trajectories with Rubric Rewards (Lin et al., Findings 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.findings-emnlp.1222.pdf