Learning Teacher Output Preferences from Final Responses for Reasoning Distillation
Abstract
Many large language models (LLMs) use chain-of-thought (CoT) to solve complex problems, but hide their CoT traces to prevent reasoning capabilities from being distilled. While recent studies have shown that hidden CoTs can be reconstructed, existing methods typically require training a separate attacker for each target LLM. This paper studies model-agnostic CoT reconstruction, aiming to reconstruct hidden CoT traces from arbitrary target LLMs using only input prompts and visible final responses. We propose Final-Output Preference Learning (FOPL), which trains a single reconstruction model that generalizes to unseen LLMs without target-specific adaptation. To achieve this, the reconstruction model must learn which reasoning patterns match a given final response without knowing the target LLM's identity. We address this using preference optimization, training the reconstruction model to prefer native CoTs over synthetic alternatives for the same question and final response. By learning these preferences from LLMs with accessible CoTs, the reconstruction model learns to distinguish reasoning patterns based on visible responses. Experiments show that reconstructed CoTs capture distinct reasoning patterns across LLM families, including a family unseen during training. Moreover, students trained on reconstructed CoTs match or outperform those trained on native CoTs across several reasoning benchmarks.
Create a lesson
Related papers
Can Latent Reasoning Drive LLM Outputs Without a Trace?
Shared title terminologycs.LGTomer Ashuach, Zorik Gekhman, Avi Caciularu et al.
AnchorCredit: Output-Anchored Credit Assignment for Structured Generation with Multiple Verifiable Rewards
Shared title terminologycs.LGGen Li, Pengyang Xie, Xiao Xiao et al.
Object-Centric Differentiable Logic Networks for Abstract Visual Reasoning
Shared title terminologycs.LGHanne Say Eren, Ana Ezquerro, Ozan Özdenizci
Verifiable On-Policy Distillation
Shared title terminologycs.LGJuntong Shi, Stefano Ermon, Jure Leskovec et al.
Topology-Prior-Guided Regional Latent Dynamics for Transient Structural Response Prediction
Shared title terminologycs.LGYuan Zhang, Mohammad Amin Nabian, Shaotong Fu et al.
Composing Independently Distilled Memory and Retrieval Policies for Long-Term Agents
Shared title terminologycs.LGGrigorii Davydenko, Artem Sakhno, Igor Pavlov et al.