TL;DR
This paper introduces Semi-supervised Chain-of-Thought Learning (Semi-CoT), a framework that transforms model-generated reasoning chains from simple inference-time tricks into semi-supervised learning signals. By using semantic entropy to filter out unreliable pseudo-reasoning paths from unlabeled questions, Semi-CoT builds a high-precision bank of demonstrations that can boost LLM performance on math reasoning tasks without requiring expensive human annotations.
What Problem Does This Paper Address?
Chain-of-Thought (CoT) prompting has drastically improved how Large Language Models (LLMs) handle complex, multi-step reasoning by forcing them to show their work step-by-step. However, creating high-quality CoT datasets is notoriously expensive, requiring humans to write out complete, logically sound reasoning paths.
While unlabeled questions (like raw math word problems or coding prompts) are abundant and cheap to collect, simply letting an LLM generate its own "pseudo-CoTs" to learn from is risky. LLMs frequently hallucinate, use flawed logic that accidentally stumbles upon the right answer, or over-reason until a correct thought turns wrong. This paper tackles a fundamental question: Can we reliably filter and reuse model-generated reasoning chains as semi-supervised learning signals?
Methods
The authors propose Semi-CoT, a minimal, prompt-level semi-supervised framework designed to harvest reliable reasoning chains from unlabeled data.
- Pseudo-CoT Generation: For each unlabeled question, the model samples $K$ independent reasoning paths using temperature sampling.
- Semantic-Entropy Filtering: The final answers from these paths are normalized and grouped by semantic meaning. The authors calculate semantic entropy across these clusters. If the sampled answers highly agree (resulting in low entropy below a threshold $\delta$), the majority answer and its shortest corresponding reasoning chain are deemed reliable and accepted into a "pseudo reasoning bank."
- Demonstration Selection & Inference: At inference time, when faced with a new test question, the model retrieves examples from this pseudo reasoning bank to serve as few-shot CoT demonstrations. The paper tests both random selection and a lightweight TF-IDF lexical retrieval strategy.
Datasets
The framework was evaluated on four standard arithmetic reasoning benchmarks:
- AQuA: Algebraic word problems with multiple-choice options.
- SVAMP: Robustness-oriented math word problems with varied phrasing.
- GSM8K: Grade-school math word problems.
- MultiArith: General multi-step arithmetic problems.
For these pilot experiments, the datasets were split into small labeled subsets (10% ratio, e.g., 5 to 10 examples) and larger unlabeled pools (45 to 90 examples) to evaluate pseudo-annotation quality.
Key Insights and Ideas
- CoT as Self-Training: The paper elegantly reframes CoT reasoning through the lens of classic semi-supervised self-training. Instead of discarding reasoning traces after inference, it treats them as valuable pseudo-labels for training or prompting.
- Answer Consistency as a Proxy for Logic: While answer-level agreement doesn't mathematically guarantee perfect logic, the paper demonstrates that low semantic entropy is an incredibly strong proxy filter for the validity of the entire intermediate reasoning chain.
- Reliability $\neq$ Relevance: A crucial "aha moment" in the paper is the separation of pseudo-label reliability (is the generated CoT correct for its own question?) from relevance (does this CoT actually help the model solve a different test question?). High precision in the data bank does not automatically prevent negative transfer if the retrieved examples don't match the required reasoning template.
Key Results
- High-Precision Pseudo-Labels: The semantic entropy gate proved highly effective. The precision of the accepted pseudo-answers reached 97.14% on AQuA, 96.30% on SVAMP, 91.36% on GSM8K, and a perfect 100% on MultiArith.
- Downstream Accuracy Gains: In pilot testing, Semi-CoT improved final task accuracy over zero-shot CoT by 2 percentage points on SVAMP (92.0% vs 90.0%) and 1 point on GSM8K (90.0% vs 89.0%).
- The Retrieval Bottleneck: On AQuA, Semi-CoT suffered from mild negative transfer (dropping from 88.0% to 86.0%), and MultiArith hit a 100% ceiling across all methods. Furthermore, TF-IDF retrieval performed identically to random selection, proving that surface-level word matching is insufficient for matching complex reasoning structures.
Limitations and Future Work
As a preliminary technical report, the current implementation of Semi-CoT is strictly prompt-level—meaning it only uses the pseudo-CoTs as context clues and does not actually fine-tune the LLM's weights. Additionally, answer-level entropy can still occasionally pass a "right answer for the wrong reasons" chain.
The authors outline clear next steps to unlock the full potential of Semi-CoT:
- Parametric Student Training: Moving from few-shot prompting to actually fine-tuning a student model on the generated pseudo-reasoning bank.
- Advanced Retrieval: Replacing simple TF-IDF with dense semantic embeddings, answer-type matching, or reasoning-template verification to ensure that the retrieved demonstrations are genuinely relevant to the test questions, thereby eliminating negative transfer.
Summary updated