Demystifying Long Chain-of-Thought Reasoning in LLMs
Authors: Edward Yeo, Yuxuan Tong, Morry Niu, Graham Neubig, Xiang Yue
AI-generated Key Points
- Study titled "Demystifying Long Chain-of-Thought Reasoning in LLMs" by Edward Yeo, Yuxuan Tong, Morry Niu, Graham Neubig, and Xiang Yue focuses on enhancing reasoning in large language models (LLMs) through scaling inference compute.
- Long chains-of-thought (CoTs) are crucial for enabling strategies like backtracking and error correction within LLMs.
- Reinforcement learning (RL) is important for developing these capabilities, but the conditions under which long CoTs emerge are unclear, requiring careful design choices during training.
- Factors facilitating extended CoT trajectories include supervised fine-tuning (SFT), increased training compute for improved reasoning capabilities, reward shaping to stabilize CoT length growth, and scaling verifiable reward signals for effective RL implementation.
- Leveraging noisy web-extracted solutions with filtering mechanisms shows promise for out-of-distribution tasks like STEM reasoning.
- Error correction abilities are present in base models but require significant compute resources when incentivized effectively via RL for complex tasks.
- Practical guidance is provided for optimizing training strategies to enhance long CoT reasoning in LLMs.
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.
Tools for this paper
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
⚠The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
⚠The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
We compare the title and abstract with papers indexed in our database. For arXiv papers, we search within the same category; for DOI and other sources, we search across sources and subjects. You can rerun the search as our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.