HyperAIHyperAI

Command Palette

Search for a command to run...

強化学習
LLM

強化学習による大規模言語モデルの自己学習の促進

Lingkai Kong Yuzhe Gu Haiteng Zhao Zijian Wu Youqing Fang Zhouqi Hua Yanan Sun Kai Chen Wenwei Zhang

概要

大規模言語モデル(LLM)は、知識集約型タスクを解くためにパラメトリック知識と検索拡張生成(RAG)を活用する。しかし、未知の領域における問題解決には、事実の検索・集約や事前に構成された文脈のみからの学習を超えて、知識獲得と推論を密接に連携させることが求められる。本研究では、長文の参考資料から自律的に検索・学習し、その場で知識を応用する「自己学習」を検討する。この能力を調べるため、教科書ベースの数学問題解決タスクを定式化する。LLMは教科書の解説を読み進め、関連する原理を学んで応用し、解答が伏せられた演習問題の証明を構築しなければならない。この人間に着想を得た学習プロセスを支援するBookNavigatorインターフェースを導入し、細粒度の報酬を用いた強化学習(RL)によって自己学習を促進する。実験の結果、提案手法は領域内および領域外の教科書・科目にわたって性能を向上させ、Intern-S2-Preview-35Bの総合的な証明精度を51.5%から79.5%に引き上げ、RLで訓練した教科書なしおよび固定検索のベースラインを上回った。これらの効果は、異なるタスク種別を含む複雑な長文脈ベンチマークにも波及し、BrowseComp-PlusとCL-benchにおいてベースモデルをそれぞれ1.7ポイント、2.3ポイント上回る改善を示した。以上の結果は、RLが領域に依存しない自己学習戦略を育みうることを示唆し、長文コーパスからの自己学習が複雑な長文脈タスクにおける広範な問題解決能力を強化する可能性を浮き彫りにする。

One-sentence Summary

Researchers from Shanghai AI Laboratory and collaborators propose the BookNavigator interface, which uses reinforcement learning with fine-grained rewards to incentivize self-learning in LLMs, enabling Intern-S2-Preview-35B to study long-form textbooks on the fly, raising its proof accuracy from 51.5%51.5\%51.5% to 79.5%79.5\%79.5% and improving performance on BrowseComp-Plus and CL-bench.

Key Contributions

  • The paper defines a textbook-based mathematical problem-solving task in which models must navigate long-form textbook exposition, learn relevant definitions and theorems, and construct proofs for exercises without access to reference solutions.
  • It introduces the BookNavigator interface and a fine-grained reinforcement learning reward scheme that credits study and navigation actions, encouraging autonomous knowledge acquisition and application within a single problem-solving episode.
  • Experiments show the method improves Intern-S2-Preview-35B’s overall proof accuracy from 51.5% to 79.5% across in-domain and out-of-domain textbooks and subjects, outperforms RL-trained textbook-free and fixed-retrieval baselines, and transfers to long-context benchmarks with gains of 1.7 points on BrowseComp-Plus and 2.3 points on CL-bench.

Introduction

Large language models acquire broad parametric knowledge during pretraining, and retrieval-augmented generation or search tools extend their access to external information at inference time, but solving unfamiliar problems also requires understanding new principles and integrating them into a developing solution. Prior work addresses related pieces through retrieval-trained agents, context-learning studies, and meta-RL or test-time adaptation, yet sustained autonomous study of long-form reference materials remains underexplored. The authors formulate a textbook-based mathematical problem-solving task in which models must study definitions, theorems, and proofs while constructing exercise solutions. Their main contribution is a training framework using the BookNavigator interface and fine-grained reinforcement learning with an annealed exploration bonus and round-level tool credit, which yields transferable self-learning improvements across unseen textbooks, unseen subjects, and non-mathematical complex-context tasks.

Dataset

The authors build a proof-problem dataset from advanced mathematics textbooks.

  • Sources and composition

    • The dataset is constructed from advanced mathematics textbooks.
    • It contains two main parts:
      • Proof problems extracted from exercises, paired with their solutions.
      • Structured reference material retained from expository textbook content, including definitions, theorems, explanatory passages, and proofs of general results.
  • Processing and filtering

    • Each textbook is parsed into chapter-indexed text sequences.
    • The hierarchical organization is preserved so that sections can be navigated and read in order.
    • Exercises and solutions are extracted separately from the expository content and linked to their source textbooks.
    • Exercises that explicitly refer to textbook section numbers are excluded.
    • This filtering is intended to make problem statements self-contained.
  • Schema and structure

    • The model-visible textbook is represented as an ordered sequence of sections.
    • Each section is stored as a triple: section identifier, title, and retained text.
    • Formally, the textbook is written as an ordered list of sections, where each section includes an identifier, a title, and the section text.
  • Usage in the model

    • The retained textbook sections serve as structured reference material available during problem solving.
    • The proof problems are designed to require deliberate, self-directed study rather than simple answer retrieval.
    • The paper does not provide explicit mixture ratios or split sizes in this section.

Method

The authors formalize self-learning within a textbook-based mathematical problem-solving framework, where a model constructs self-contained proofs through multi-round reasoning and structured textbook study. The overall pipeline and training loop are illustrated in the framework diagram.

To establish the learning environment, the authors employ an end-to-end pipeline to curate problem-textbook pairs from raw textbooks. Each textbook is parsed into a hierarchical sequence of sections, retaining definitions, theorems, and explanatory passages while separating exercises and their solutions. The model-visible textbook B\mathcal{B}B is represented as an ordered sequence of sections sk=(ιk,ℓk,xk)s_k = (\iota_k, \ell_k, x_k)sk​=(ιk​,ℓk​,xk​), where ιk\iota_kιk​, ℓk\ell_kℓk​, and xkx_kxk​ denote the section identifier, title, and text, respectively. This structured format ensures that tasks require deliberate, self-directed study rather than simple answer retrieval.

Given a problem qqq and the structured textbook B\mathcal{B}B, the policy πθ\pi_\thetaπθ​ interacts with the environment over multiple rounds. At each non-terminal round ttt, the model generates reasoning ztz_tzt​ and executes an action ata_tat​ from a textbook-access action space A\mathcal{A}A, receiving an observation oto_tot​. The interaction trajectory concludes at round TTT with the final proof y^\hat{y}y^​. The correctness of y^\hat{y}y^​ is evaluated by an LLM-as-judge against a withheld reference solution y⋆y^\stary⋆, yielding a binary reward r(τ)∈{−1,1}r(\tau) \in \{-1, 1\}r(τ)∈{−1,1}.

To facilitate effective textbook navigation, the authors design BookNavigator, which serves as the sole interface between the policy and the textbook. It supports three distinct operations: global orientation via get_toc to retrieve the table of contents, keyword-based retrieval via search_index to locate relevant sections, and detailed reading via read_section to access the full text of a specific section. This allows the model to seamlessly interleave mathematical reasoning with targeted information retrieval.

To optimize the policy, the authors refine the reinforcement learning process using fine-grained rewards that encourage productive exploration and penalize redundant access. They introduce an annealed exploration bonus b(τ)b(\tau)b(τ) for trajectories with correct solutions, added to the trajectory-level reward Rn(τ)=r(τ)+βnb(τ)I[r(τ)=1]R_n(\tau) = r(\tau) + \beta_n b(\tau) \mathbb{I}[r(\tau) = 1]Rn​(τ)=r(τ)+βn​b(τ)I[r(τ)=1], where βn\beta_nβn​ follows a cosine schedule to sustain exploration throughout training. Furthermore, to distinguish useful textbook study from unproductive interactions, a tool judge evaluates each round and assigns a credit label ct∈{useful, neutral, harmful}c_t \in \{\text{useful, neutral, harmful}\}ct​∈{useful, neutral, harmful}. This round-level credit is used to redistribute the trajectory-level advantage AAA, computing a refined advantage A~t=A+α∣A∣(ct−cˉ)\widetilde{A}_t = A + \alpha |A| (c_t - \bar{c})At​=A+α∣A∣(ct​−cˉ) for each round. The policy is then optimized using a GRPO objective that incorporates these redistributed advantages, ensuring that the learning signal accurately reflects the quality of individual textbook access decisions.

Experiment

The experiments train and evaluate a 35B model with GRPO on 5,183 problems from 158 mathematics textbooks, comparing an interactive Self-Learning protocol that interleaves reasoning and BookNavigator access against no-book and fixed-retrieval baselines across held-out book, subject, and cross-task benchmarks. The main results show that reinforcement learning reverses the initial weakness of Self-Learning, making it the best protocol overall and on out-of-domain books and subjects, while attribution analyses indicate the gains reflect stronger unaided reasoning plus robust knowledge acquisition rather than memorization of specific source sections. Cross-task evaluations find transfer to BrowseComp-Plus and CL-bench, though improvements are selective, and RL ablations show that round-level tool credit improves in-domain learning while an annealed exploration bonus preserves tool use and improves cross-domain transfer.

Before RL, self-learning had the lowest overall proof accuracy among the evaluated protocols. After RL, it achieved the highest overall accuracy and the largest absolute gain, surpassing fixed-retrieval baselines and no-book retrieval. On out-of-distribution books and subjects, self-learning also remained the most accurate protocol, showing transfer beyond training-specific textbooks and subjects. Self-learning shifts from the weakest overall protocol before RL to the strongest after RL, with the largest improvement among all protocols. On out-of-distribution book and subject splits, RL-trained self-learning outperforms the best fixed-retrieval baseline by a clear margin.

Self-Learning RL improves proof accuracy across all tested reference conditions, including a substantial gain when no textbook is available, indicating stronger unaided reasoning. The trained policy still performs better with textbook access than without it, and it maintains above-no-book accuracy when the book is swapped or source sections are removed. Removing source sections reduces accuracy more than removing comparable non-source sections, suggesting that performance depends on which content is available rather than simply on whether content is missing. RL improves accuracy in every reference condition, including the no-book setting. The trained policy performs better with the paired textbook than without it, so reference access continues to help beyond unaided reasoning. Accuracy remains above the no-book level with a topic-matched textbook or after source removal, pointing to flexible knowledge acquisition. Source removal causes a larger drop than removing non-source sections, indicating the location of removed material matters.

Self-Learning is the only evaluated protocol that improves over Base on both BrowseComp-Plus and overall CL-bench, with the largest overall CL-bench gain. Its advantage is selective, concentrated in Domain Knowledge Reasoning and Rule System Application, and it matches No-Book in Empirical Discovery and Simulation. However, all RL-trained policies underperform Base on Procedural Task Execution, and fixed-retrieval protocols tend to fall below Base on BrowseComp-Plus and below No-Book on CL-bench overall. Self-Learning achieves the highest BrowseComp-Plus and overall CL-bench scores among evaluated policies, improving over Base on both benchmarks. Fixed-retrieval protocols remain below Base on BrowseComp-Plus and below No-Book on CL-bench overall, suggesting limited cross-task generalization. Within CL-bench, Self-Learning leads in Domain Knowledge Reasoning and Rule System Application and ties No-Book in Empirical Discovery and Simulation. All RL-trained policies underperform Base in Procedural Task Execution, showing that transfer gains are selective.

Correctness-only reinforcement learning improves proof accuracy but sharply reduces tool use, and adding tool credit alone does not reverse that decline. Adding an annealed exploration bonus substantially increases tool-use trajectories and improves out-of-domain accuracy, while combining tool credit with the exploration bonus yields the strongest accuracy on every split. The results indicate process-level credit and exploration incentives play complementary roles in improving generalization. Correctness-only reinforcement learning raises overall proof accuracy but sharply reduces the proportion of tool-using trajectories and average tool calls. Adding tool credit improves in-domain book accuracy without requiring a stronger tool judge, yet leaves out-of-domain accuracy nearly unchanged. An exploration bonus markedly increases tool-use trajectories and improves out-of-domain accuracy, and combining it with tool credit achieves the best performance across all splits.

The experiments evaluate a self-learning RL protocol against fixed-retrieval and no-book baselines across proof accuracy, reference-condition perturbations, cross-task benchmarks, and reward-design ablations. Self-learning shifts from the weakest protocol before RL to the strongest after RL, improves accuracy in every reference condition including no-book and source-removal settings, and transfers best to out-of-distribution books and subjects. On broader benchmarks it achieves the highest BrowseComp-Plus and overall CL-bench scores with selective gains, though procedural task execution remains a weakness. Correctness-only RL raises accuracy but suppresses tool use, while combining tool credit with an annealed exploration bonus restores tool-using behavior and yields the strongest generalization.


AIでAIを構築

アイデアからローンチまで — 無料のAIコーディング支援、すぐに使える環境、最高のGPU価格でAI開発を加速。

AI コーディング補助
すぐに使える GPU
最適な料金体系

HyperAI Newsletters

最新情報を購読する
北京時間 毎週月曜日の午前9時 に、その週の最新情報をメールでお届けします
メール配信サービスは MailChimp によって提供されています