TPD: Enhancing Student Language Model Reasoning via Principle Discovery and Guidance
Haorui Wang, Rongzhi Zhang, Yinghao Li, Lingkai Kong, Yuchen Zhuang, Xiusi Chen, Chao Zhang
TL;DR
TPD presents a principled teacher–student framework that distills high-level corrective principles from a stronger LLM’s analysis of a weaker LLM’s errors. The two-stage process first generates a problem-solving instruction and a principle list, then exploits these by curating informative in-context examples to guide offline learning, eliminating the need for ongoing teacher assistance at inference. Across eight symbolic and arithmetic reasoning tasks, TPD yields notable improvements over standard CoT, with the best results achieved when using error-derived principles to select examples. The work highlights the practicality of offline, principle-based knowledge transfer and points to extensions for long, scalable principle lists and applications to more complex reasoning tasks.
Abstract
Large Language Models (LLMs) have recently showcased remarkable reasoning abilities. However, larger models often surpass their smaller counterparts in reasoning tasks, posing the challenge of effectively transferring these capabilities from larger models. Existing approaches heavily rely on extensive fine-tuning data or continuous interactions with a superior teacher LLM during inference. We introduce a principle-based teacher-student framework called ``Teaching via Principle Discovery'' (TPD) to address these limitations. Inspired by human learning mechanisms, TPD mimics the interaction between a teacher and a student using a principle-based approach. The teacher LLM generates problem-solving instructions and corrective principles based on the student LLM's errors. These principles guide the refinement of instructions and the selection of instructive examples from a validation set. This enables the student model to learn from both the teacher's guidance and its own mistakes. Once the student model begins making inferences, TPD requires no further intervention from the teacher LLM or humans. Through extensive experiments across eight reasoning tasks, we demonstrate the effectiveness of TPD. Compared to standard chain-of-thought prompting, TPD significantly improves the student model's performance, achieving $6.2\%$ improvement on average.
