Skip to main content
QUICK REVIEW

[論文レビュー] Demystifying Long Chain-of-Thought Reasoning in LLMs

Edward Yeo, Tong Yang|ArXiv.org|Feb 5, 2025
Semantic Web and OntologiesComputer Science被引用数 3
ひとこと要約

要約: この論文は、 supervised fine-tuning と reinforcement learning を通じて長いチェーン・オブ・思考(CoT)推論がLLMにどのように現れるかを分析し、データ品質、報酬設計、計算量を長期的なCoT成長と一般化の安定化の鍵として特定します。長いCoTデータからの出現的パターンも含まれます。

ABSTRACT

Scaling inference compute enhances reasoning in large language models (LLMs), with long chains-of-thought (CoTs) enabling strategies like backtracking and error correction. Reinforcement learning (RL) has emerged as a crucial method for developing these capabilities, yet the conditions under which long CoTs emerge remain unclear, and RL training requires careful design choices. In this study, we systematically investigate the mechanics of long CoT reasoning, identifying the key factors that enable models to generate long CoT trajectories. Through extensive supervised fine-tuning (SFT) and RL experiments, we present four main findings: (1) While SFT is not strictly necessary, it simplifies training and improves efficiency; (2) Reasoning capabilities tend to emerge with increased training compute, but their development is not guaranteed, making reward shaping crucial for stabilizing CoT length growth; (3) Scaling verifiable reward signals is critical for RL. We find that leveraging noisy, web-extracted solutions with filtering mechanisms shows strong potential, particularly for out-of-distribution (OOD) tasks such as STEM reasoning; and (4) Core abilities like error correction are inherently present in base models, but incentivizing these skills effectively for complex tasks via RL demands significant compute, and measuring their emergence requires a nuanced approach. These insights provide practical guidance for optimizing training strategies to enhance long CoT reasoning in LLMs. Our code is available at: https://github.com/eddycmu/demystify-long-cot.

研究の動機と目的

  • LLMs における長いチェーン・オブ・思考(CoT)推論を可能にする要因を調査する。
  • SFT と RL 初期化における長い CoT データと短い CoT データの比較。
  • CoT の長さ成長と性能を安定化させる報酬設計と検証可能信号を評価する。
  • 現れる長い CoT 能力がどのように生じるかを探り、それらを測定する方法を検討する。

提案手法

  • 長い CoT データと短い CoT データを用いた SFT による言語モデルの微調整。
  • ルールベースの検証者と検証可能な報酬を用いた PPO ベースの RL を適用し、長い CoT 生成を最適化。
  • コサイン長さスケーリング報酬と反復ペナルティを導入してCoT長さ成長を安定化。
  • SFT および RL のための銀標準監督としてノイズのあるウェブ抽出データ(WebInstruct)を実験的に使用。
  • 強力な教師から出現する長い CoT パターンを蒸留し、構築パターンと比較。
  • ベースモデルからの RL と長い CoT SFT の比較を行い、出現と計算要件を研究。

実験結果

リサーチクエスチョン

  • RQ1LLM における長い CoT 推論の出現と安定化を促進する要因は何か?
  • RQ2長い CoT データを用いた SFT および RL 初期化は、短い CoT データと比較して性能と RL 増加にどのように影響するか?
  • RQ3CoT の長さ成長を安定化し、有益な推論行動(分岐、後退など)を促進する報酬設計は何か?
  • RQ4ノイズのある検証可能データ(銀標準監督)は、長い CoT の RL 信号をベンチマーク全体で効果的に拡張できるか?
  • RQ5出現する長い CoT 能力はベースモデルから生じるのか、どの条件下で生じるのか?

主な発見

  • 長い CoT SFT は短い CoT より高い正確さを実現し、SFT トークン数を増やすとスケールし続け、Math-500 で最大 3.5B トークンまでのゲインが持続します。
  • 長い CoT SFT から初期化された長い CoT モデルでは RL による顕著な改善が見られ、短い CoT SFT では RL 増加が限定的です。
  • 強力な教師から蒸留された出現的長い CoT パターンは、構築パターンよりも一般化が良く、OOD ベンチマークでより大きな RL 増加をもたらします。
  • コサイン長さスケーリング報酬と反復ペナルティは RL 中の CoT 長さ成長を安定化し、下流タスクの性能を向上させます。
  • ノイズのある検証可能データ(WebInstruct)を適切なフィルタリングと RL セットアップで使用すると、OOD ベンチマークの性能と全体平均を引き上げることができます。
  • ノイズのあるデータとルールベースの検 verifier は、RL 報酬のために短い回答形式へフィルタリングしたときに最も効果を発揮します。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。