TL;DR
This paper introduces SATURN, a novel reinforcement learning framework that uses Boolean Satisfiability (SAT) problems to train Large Language Models (LLMs) for improved reasoning. SATURN addresses key limitations of existing methods by offering scalable task generation, verifiable outputs, and fine-grained control over problem difficulty, leading to significant gains in LLM reasoning capabilities.
What Problem Does This Paper Address?
Training LLMs to reason effectively is a major challenge. Existing methods often rely on human-annotated or LLM-synthesized data, making them hard to scale. Verifying LLM outputs is also difficult, and most tasks lack the fine-grained control needed to train LLMs progressively from easy to hard problems. This limits their ability to develop robust reasoning skills. The authors aim to create an RL task that overcomes these limitations, enabling more effective and scalable LLM reasoning training.
Methods
SATURN leverages Boolean Satisfiability (SAT) problems as its core training task. SAT problems are well-suited because they can be generated programmatically at scale (scalability), their solutions are easily verifiable (verifiability), and their difficulty can be precisely controlled (controllable difficulty).
The framework employs a curriculum learning pipeline that alternates between two loops:
- Curriculum Estimation Loop: This loop dynamically generates SAT instances of increasing difficulty. It evaluates the LLM's performance on a validation set. If the LLM meets a predefined threshold, the difficulty is increased; otherwise, the LLM enters the training loop at the current difficulty. This ensures the LLM is always challenged at the frontier of its capabilities.
- LLMs Training Loop: This loop uses Reinforcement Learning (specifically, GRPO) to optimize the LLM on SAT tasks of the current difficulty. A principled mechanism controls difficulty transitions to ensure stable training.
The paper also introduces a method for estimating SAT task difficulty based on a composite metric that considers solution sparsity and structural complexity.
Datasets
- SATURN-2.6k: A newly introduced dataset consisting of 2,660 SAT problems with varying difficulty levels. This dataset is designed to evaluate how LLM reasoning changes with problem difficulty and includes training and test instances across 10 harder unseen difficulty levels.
- Existing Benchmarks: The paper also evaluates the generalized reasoning capabilities of SATURN-trained models on established math and programming benchmarks, including AIME, AMC, MATH-500, GPQA Diamond, and LiveCodeBench.
Key Insights and Ideas
- SAT as a Reasoning Playground: Boolean Satisfiability problems, while seemingly abstract, provide a powerful and controllable environment for training complex reasoning skills in LLMs. Their inherent structure allows for precise difficulty scaling and verification.
- Curriculum Learning is Crucial: A progressive, difficulty-based curriculum is more effective than flat or mixed training strategies. SATURN's adaptive approach ensures LLMs are continuously pushed to improve without being overwhelmed or bored.
- Self-Verification is Key: Training on SAT problems inherently encourages self-verification and backtracking. This learned behavior transfers to other domains like math and programming, leading to more robust and reliable reasoning.
- Scalability and Verifiability Matter: The limitations of existing RL tasks in data generation and output verification are significant hurdles. SATURN's approach directly tackles these, offering a more sustainable path for LLM reasoning development.
Key Results
- Significant Improvement on SAT Tasks: SATURN-1.5B and SATURN-7B achieved average pass@3 improvements of +14.0 and +28.1, respectively, on the SATURN-2.6k benchmark, including unseen harder levels.
- Strong Generalization to Math and Programming: SATURN-trained models showed notable improvements on math and programming benchmarks, with SATURN-1.5B improving average scores by +4.9 and SATURN-7B by +1.8.
- Outperforming SOTA RL Tasks: Compared to prior state-of-the-art RL approaches for reasoning, SATURN achieved average improvements of +8.8% on math and programming tasks.
- Enhanced Reasoning Trajectories: Case studies showed that SATURN-trained models exhibit better self-verification and are less prone to making errors or skipping verification steps.
Limitations and Future Work
- Knowledge Limitations: SATURN enhances formal logical reasoning but doesn't provide domain-specific knowledge, which can limit its effectiveness in tasks requiring deep factual or procedural knowledge.
- Context Window Bottlenecks: The exponential growth in reasoning complexity for SAT problems can strain LLM context windows.
- Plasticity and Forgetting: Like other RL methods, SATURN may face challenges with model plasticity and catastrophic forgetting over extended training.
The authors suggest future work includes applying SATURN to larger-scale LLMs and exploring new paths for continuous self-evolution of LLMs beyond human-annotated data.
Summary updated