LongZero: Enhancing Long-Context Reasoning in LLMs from Zero Data

Zhennan Wan, Jianfei Chen

arXiv:2610.30132 · 2026-11-01 공개 · arXiv · PDF

reinforcement-learning llm long-context grpo synthetic-data multi-hop-reasoning self-supervised zero-data

Abstract

Reinforcement learning (RL) is an effective way to strengthen the long-context reasoning of large language models (LLMs), but it needs training data that are long, diverse, challenging, and verifiable. Human annotation of such data is expensive, naturally occurring data are too scarce to sustain RL, and existing synthesis methods depend on external corpora or stronger teacher models, which become harder to obtain as the trained models get stronger. Recently, RL from zero data, in which a model learns from tasks it proposes itself, has achieved excellent performance, but existing methods target short-context tasks. Therefore, we propose LongZero, a method that lets an LLM improve its own long-context reasoning without any external data. Instead of writing questions and answers over existing documents, LongZero first has the model synthesize the question and answer with its supporting evidence in a compact structured form, and only then separately expands the evidence into a long multi-document context. LongZero combines these self-written multi-hop reasoning tasks with self-written multi-round retrieval tasks and trains the model with GRPO. We evaluate LongZero on two LLMs across five long-context reasoning benchmarks and compare it with RL on data synthesized from external corpora. Experimental results show that LongZero can generalize to real tasks, and outperforms both baselines, suggesting a viable and promising path to improving long-context reasoning of LLMs.

한국어 요약

한 줄 요약

LongZero는 외부 데이터 없이 LLM의 장문 맥락 추론 능력을 향상시키는 새로운 RL 기반 방법이다.

핵심 기여도

핵심 아이디어

기존 RL 기반 장문 추론 학습은 외부 문서나 강력한 선생 모델에 의존하는 한계가 있었다. LongZero는 이 문제를 해결하기 위해 모델이 자체적으로 질문, 증거, 답변을 먼저 구조화된 형식으로 생성한 후, 이를 장문 맥락으로 확장하는 방식을 제안한다. 이는 모델이 스스로 학습 데이터를 생성하면서도 답변의 정확성을 보장할 수 있도록 설계되었다. LongZero는 이와 같은 자체 생성된 추론 과제와 자기 생성된 다라운드 참조 해결(MRCR) 과제를 결합하여 GRPO를 통해 학습한다. 이 방식은 모델이 동일한 질문에 대해 일관되지 않은 답변을 할 때만 학습 신호를 생성함으로써, 효과적인 학습을 유도한다.

기술적 접근법

주요 결과

의의 및 한계

LongZero는 외부 데이터 없이 LLM이 장문 맥락 추론 능력을 향상시키는 새로운 가능성을 제시한다. 기존 방법들이 외부 문서나 선생 모델에 의존하는 반면, LongZero는 모델 자체가 데이터를 생성하고 학습함으로써 독립적인 학습 프레임워크를 구축한다. 그러나 LongZero는 현재까지는 가상 문서에서 생성된 데이터에만 기반하고 있으며, 실제 세계의 복잡한 맥락을 완전히 반영하지 못할 가능성도 있다. 또한, 생성된 데이터의 정확성 보장이 핵심인데, 이는 모델의 내재적 지식에 의존하기 때문에 오류가 발생할 수 있다.

실용적 활용

LongZero는 데이터 생성 비용이 높은 산업 분야에서 유용하게 활용될 수 있다. 특히, 문서 검색, 법률 분석, 의료 기록 분석 등 장문 맥락을 다루는 분야에서 모델의 추론 능력을 향상시키는 데 기여할 수 있다. 또한, 선생 모델이나 외부 데이터가 부족한 연구 환경에서도 효과적인 학습 방법으로 활용될 수 있다.