Reinforcement Learning with Verifiable Rewards (RLVR)—the technique behind models like DeepSeek-R1—has revolutionized how we train Large Reasoning Models (LRMs). By rewarding models for reaching the correct answer, we can "elicit" complex chain-of-thought reasoning. However, there is a catch: RLVR typically requires massive amounts of ground-truth labels, which are expensive and scarce in specialized fields like medicine or law.
A new paper, "TraPO: A Semi-Supervised Reinforcement Learning Framework for Boosting LLM Reasoning," introduces a clever way to break this dependency. By using a tiny "anchor" set of labeled data to guide training on a much larger unlabeled corpus, the authors achieve state-of-the-art performance with a fraction of the usual annotation cost.
TL;DR
TraPO (Trajectory-based Policy Optimization) is a semi-supervised reinforcement learning framework that uses a small labeled dataset to "guide" training on unlabeled samples. By filtering unlabeled data based on how closely its "learning trajectory" matches verified samples, TraPO outperforms fully supervised models using only 10% of the labeled data.
What Problem Does This Paper Address?
The current paradigm for training reasoning models relies on RLVR, where a model generates multiple "rollouts" (reasoning paths) and receives a reward if the final answer matches a ground-truth label.
To avoid high annotation costs, researchers have tried unsupervised RLVR, which rewards the model for internal consistency (e.g., if most rollouts reach the same answer, even without a label). However, these methods suffer from model collapse: without an external "North Star," the model often reinforces incorrect reasoning patterns that happen to lead to a consistent (but wrong) answer, creating a degenerate feedback loop.
The challenge is: How can we use unlabeled data at scale without letting the model "hallucinate" its way into a performance nosedive?
Methods
The authors propose a Semi-Supervised RLVR (SS-RLVR) approach called TraPO. The core innovation is moving from what the model learns to how it learns.
- Pass Rate Trajectories: For every question, the model tracks its "pass rate" (the percentage of rollouts that are "correct") across training epochs. This sequence of pass rates is the "trajectory."
- Trajectory Matching: TraPO maintains a database of trajectories for the small labeled set. For unlabeled samples, it computes a "pseudo-pass rate" based on the majority-voted answer.
- Reliability Filtering: It uses Cosine Similarity to compare the trajectory of an unlabeled sample to the average trajectory of the "reliable" labeled samples.
- The Selection Mask: Only unlabeled samples that "learn" in a way that mimics the verified labeled samples are used for policy updates. This ensures that the model only incorporates reasoning patterns that have been implicitly validated by the labeled "role models."
- Base Algorithm: The framework is built on top of GRPO (Group Relative Policy Optimization), a popular RL algorithm for LLMs that eliminates the need for a separate critic model.
Datasets
The authors evaluated TraPO across a wide range of reasoning benchmarks:
- Training: OpenR1-Math-220k.
- In-Distribution (Math): AIME 2024/2025, AMC, MATH-500, Minerva, and OlympiadBench.
- Out-of-Distribution (General Reasoning): ARC-c (science), GPQA-diamond (graduate-level science), and MMLU-Pro (academic reasoning).
- Additional Validation: The DeepMath dataset was used to further verify the framework's universality.
Key Insights and Ideas
- Learning Dynamics as a Proxy for Truth: In complex reasoning, feature similarity (looking at the text of the question) is often a poor way to link labeled and unlabeled data. TraPO’s "aha moment" is that learning dynamics—how the model's confidence in an answer evolves over time—is a much more reliable signal for identifying high-quality unlabeled data.
- The "North Star" Effect: A very small amount of ground truth (as little as 1K samples) is sufficient to stabilize the entire training process. It prevents the "incorrect consensus" that plagues unsupervised methods.
- Plug-and-Play: TraPO isn't just a standalone algorithm; it's a selection mechanism. The authors showed it could be integrated with other unsupervised signals (like entropy) to boost their performance significantly.
Key Results
The quantitative results are striking, demonstrating massive data efficiency:
- Beating Unsupervised Scale: With just 1K labeled and 3K unlabeled samples, TraPO reached 42.6% average accuracy, surpassing the best unsupervised method trained on 45K samples (38.3%).
- Surpassing Full Supervision: When using 4K labeled and 12K unlabeled samples, TraPO actually outperformed the fully supervised model (trained on the full 45K labeled set) across all benchmarks.
- 10x Efficiency: TraPO achieved these results while using only 10% of the labeled data required by standard supervised RLVR.
- OOD Generalization: TraPO showed strong performance on non-math tasks (like GPQA), suggesting that the reasoning patterns it "anchors" on are transferable across domains.
Limitations and Future Work
- Model Scale: The experiments were primarily conducted on 7B and 8B parameter models (Qwen2.5 and Llama-3.1). While the authors hypothesize that larger models would benefit even more, this remains to be tested.
- Base Model Alignment: The effectiveness of the guidance depends on the base model having some initial alignment with the labeled data. If the model is completely "lost" on the labeled set, it can't provide a useful trajectory to match against.
- Active Learning Integration: The authors suggest that future work could combine TraPO with active learning to identify exactly which labeled samples are most effective at guiding the unlabeled set.
Summary updated