Training with Harnesses: On-Policy Harness Self-Distillation for Complex Reasoning
Zhengyang Zhao, Lu Ma, Wentao Zhang
NeurIPS page · OpenReview · Open on the map
Category: LLM Post-Training: RL & Distillation › Self-Distillation for Reasoning · Type: new method · Keywords: harness self-distillation, language model reasoning, complex reasoning, on-policy training, benchmark evaluation
Areas: LLM Reasoning › Reasoning Optimization › Self-Distillation for Reasoning
Summary
OPHSD internalizes harness capabilities via on-policy self-distillation, improving reasoning performance across text classification and mathematical reasoning tasks.
Explained to a 5-year-old
Big computer programs called language models can think harder when we give them extra tools called harnesses during testing. We want the programs to learn those tools so they can think well even without the extra tools. So we let the programs teach themselves using the tools they already have. This helps them become better at solving puzzles and understanding words. After learning, they can do well on their own without the extra tools.
Explained to a 5-year-old, longer
Big computer brain models, called language models, sometimes need extra help to solve hard problems. This extra help is called a harness, and it works while the model is thinking. Usually the harness is only used during testing, not while the model learns. The paper wants the model to learn the harness tricks so it can solve problems on its own. They let the model act as a teacher, using the harness to guide its own learning. The model copies the good answers it gets from the harness to improve itself. This way the model remembers how to do complex reasoning without needing the harness later. The method works for many kinds of tasks, like sorting words and solving math puzzles. Tests show the model gets better than other methods on these tasks. The researchers also found that adding the harness back during testing does not help and can even make things worse. This tells us that learning from the harness is enough, and we don’t need to keep it around all the time. The new approach makes language models more capable and easier to use in real situations.
For a technical reader
The work addresses the limitation that current language models rely on external inference harnesses to improve complex reasoning, which adds overhead and prevents the model from learning those strategies. They propose an on-policy self-distillation scheme where the model, equipped with the harness, acts as its own teacher and learns from its own harness-guided outputs. During training, the model is supervised not only by the original data but also by the additional signals produced by the harness, effectively internalizing the harness’s reasoning patterns. Empirical evaluation on text classification and mathematical reasoning benchmarks shows consistent gains over strong baselines, e.g., a +10.83% improvement on HMMT25. The analysis also reveals that re-attaching the harness at inference does not provide further benefit and can hurt performance, indicating that the learned capabilities are self-sufficient.
Problem
Large language models' inference-time harnesses improve performance but do not change the underlying model's capabilities, limiting generalization. There is a need for a method that transfers harness knowledge into the model itself to achieve robust standalone performance.
Method
The approach uses the harness-augmented model as a teacher to perform self-distillation, training a student model to capture the harness's task-specific reasoning strategies. The distillation is performed on-policy, meaning the teacher's outputs are used as additional supervisory signals during training. This internalizes the harness capabilities, enabling the student to perform well without the harness at inference.
Results
The approach achieves consistent improvements, e.g., a +10.83% gain over OPSD on HMMT25, and shows robust performance across both text classification and mathematical reasoning tasks.
Contributions
It introduces on-policy harness self-distillation to internalize external harness capabilities into the base model, enabling strong standalone reasoning without requiring the harness at inference. The work also demonstrates that reattaching the harness during inference provides no extra benefit and can degrade performance.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction