Reinforcement Fine-Tuning (RFT) has emerged as a critical technique for enhancing the reasoning capabilities of Large Language Models (LLMs). However, standard RFT approaches typically rely on uniform sampling from massive datasets, which is computationally expensive and often inefficient. This paper introduces SPaRFT (Self-Paced Reinforcement Fine-Tuning), a framework designed to optimize training efficiency through an adaptive curriculum. By focusing on high-value data, SPaRFT enables models with fewer than 1 billion parameters to achieve state-of-the-art reasoning performance using up to 100x fewer training samples than traditional methods.
The Challenge of Efficient Reasoning
Training LLMs to reason effectively usually requires data-hungry Reinforcement Learning (RL) processes. Current RFT methods face three primary hurdles:
- Redundancy: Large datasets often contain many semantically similar examples that provide diminishing returns.
- Static Difficulty: Uniform sampling ignores the model's current state, wasting compute on trivial problems or overly complex noise.
- Resource Constraints: Smaller models (<1B parameters) struggle to extract signal from uncurated datasets, making advanced RFT inaccessible for low-compute environments.
SPaRFT addresses these by creating a "self-paced" system where the training data evolves alongside the model’s capabilities.
Methodology
SPaRFT operates in two distinct phases to refine the training process:
Phase 1: Cluster-based Data Reduction
Instead of processing the entire dataset, SPaRFT condenses it into a representative subset. Each example is represented by a vector combining its semantic embedding (via Sentence-BERT) and an initial difficulty score estimated by a teacher model. These vectors are grouped into $K$ clusters using K-means. Within each cluster, "farthest-point sampling" is used to select a small number of representative examples, ensuring the final training set is compact yet covers the entire problem space.
Phase 2: Bandit-based Data Assignment
The training process is modeled as a Multi-Armed Bandit (MAB) problem. Each data cluster acts as an "arm" that the bandit can select using Thompson Sampling. The reward signal for the bandit is the inverse of the model's current solve rate on that cluster. This forces the model to focus on its current weaknesses; as the model masters a cluster, the reward drops, and the bandit shifts focus to more challenging data.
Experimental Results
The researchers evaluated SPaRFT on rigorous mathematical benchmarks, including GSM8K, MATH500, and the American Invitational Mathematics Examination (AIME24/25).
Performance and Efficiency
SPaRFT consistently outperformed standard RFT baselines (such as DeepSeek's R1/GRPO) and other curriculum learning methods like AdaRFT. On a Qwen-0.6B model, SPaRFT achieved 79.5% on GSM8K and 78.0% on MATH500, significantly surpassing the standard R1 baseline. Notably, on the difficult AIME25 benchmark, SPaRFT reached 18.9%, a substantial improvement over the 12.2% achieved by the R1 baseline.
Key Insights
- Dynamic Difficulty: Using the online solve rate as a reward signal ensures the curriculum remains at the model's "learning frontier."
- Diversity Matters: Ablation studies confirmed that selecting diverse samples from clusters (farthest-point) is superior to selecting typical samples (cluster centers), preventing overfitting to narrow semantic niches.
- Extreme Efficiency: The ability to outperform baselines using only 100 carefully selected examples suggests that current LLM training is often hindered by redundant and noisy data.
Limitations and Future Work
While highly effective for small models, SPaRFT's initial clustering depends on difficulty scores from a larger "teacher" model. Future research is needed to determine if these curriculum strategies scale linearly to 70B+ parameter models or if larger architectures require more complex bandit formulations. Additionally, the sensitivity of hyperparameters like the number of clusters ($K$) remains an area for further optimization.
In conclusion, SPaRFT provides a blueprint for democratizing LLM reasoning, demonstrating that a smart curriculum can enable even the smallest models to solve complex problems with minimal data.
Summary updated