TL;DR
This paper introduces SECTOR, a novel self-learning framework for large language models (LLMs) that leverages Chain-of-Thought (CoT) reasoning as a policy improvement operator. SECTOR demonstrates that LLMs can autonomously learn complex skills, like multi-digit addition, without human-provided data beyond an initial supervised phase, paving the way for more compute-driven LLM scaling.
What Problem Does This Paper Address?
Current LLMs, despite their impressive capabilities, largely rely on vast amounts of human-generated data for training. This reliance creates a bottleneck, as high-quality data is finite and its exhaustion can lead to model performance degradation. The authors address the fundamental question: can LLMs teach themselves new skills autonomously, thereby reducing dependence on human supervision and enabling new scaling paradigms? Specifically, they focus on arithmetic, a domain where LLMs have historically struggled, to test this self-learning hypothesis.
Methods
SECTOR employs a two-phase approach:
- Supervised Fine-Tuning: The model is initially trained on addition problems with a limited number of digits (up to 6) using a curriculum learning strategy. This phase includes both "fast" (direct answer) and "slow" (chain-of-thought) reasoning examples.
- Self-Training: Once the model demonstrates generalization to slightly larger numbers (N+1 digits) using CoT, it enters the self-training phase. Here, the model uses CoT reasoning to generate solutions to problems it couldn't solve directly. This generated data is then used to fine-tune a new version of the model to solve these problems without CoT. This iterative process, where CoT acts as a "policy improvement operator," allows the model to progressively learn more complex tasks.
A key innovation is the "simplify-then-guess" decoding method, which breaks down complex problems into simpler ones, generates intermediate guesses, and uses a majority vote for the final answer. This, along with commutativity checks, helps mitigate "error avalanching" – the compounding of errors during self-training.
Datasets
The paper primarily uses synthetic addition problems generated programmatically.
- Training Data: Generated addition problems of varying digit lengths. Initially, these are human-generated (for supervised fine-tuning) and then model-generated (for self-training).
- Evaluation Data: Not explicitly detailed, but implied to be held-out sets of addition problems of increasing digit lengths.
Key Insights and Ideas
- CoT as a Policy Improvement Operator: The central hypothesis is that CoT reasoning can act like Monte-Carlo Tree Search (MCTS) in AlphaZero, enabling models to improve their performance iteratively without external data.
- Self-Sufficiency in Learning: LLMs can learn complex skills like multi-digit addition without direct human supervision beyond an initial phase, suggesting a path towards compute-driven scaling.
- Mitigating Error Avalanching: Techniques like "simplify-then-guess" and commutativity checks are crucial for preventing the degradation of performance during self-training.
- Curriculum Learning's Importance: The structured, step-by-step learning approach is vital for enabling generalization and subsequent self-learning.
Key Results
- A 582M parameter ByT5 model, after supervised fine-tuning on up to 6-digit addition, learned to perform 29-digit addition with 98+% accuracy without using CoT reasoning.
- The self-learning process involved 22 steps of improvement.
- Even smaller models (300M parameters) showed significant improvement, learning up to 24-digit addition.
- Models trained with SECTOR demonstrated strong generalization capabilities, significantly outperforming models trained without CoT.
Limitations and Future Work
- Generalizability: While successful in addition, it's an open question whether SECTOR can generalize to more complex tasks like multiplication or general mathematics.
- Compute Inefficiency: The self-training process is computationally intensive.
- Infinite Improvement: Models do not improve indefinitely; larger models or stronger consistency checks might be needed for continued progress.
- Safety Concerns: The potential for self-learning to amplify existing biases or erroneous information in models is a significant concern for broader applications.
- Future Directions: Exploring self-learning for more complex tasks, improving computational efficiency, and addressing safety concerns are highlighted as important future research avenues. The paper also poses the question of whether models can learn to teach themselves, rather than just learning to perform tasks.
Summary updated