Learning Teacher Output Preferences from Final Responses for Reasoning Distillation

Hongli Shen, Shaopeng Fu, Qinbo Zhang, Jian Li, Di Wang
11/23/2026
cs.LG
distillation

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shen2026learning,
  title  = {Learning Teacher Output Preferences from Final Responses for Reasoning Distillation},
  author = {Hongli Shen and Shaopeng Fu and Qinbo Zhang and Jian Li and Di Wang},
  year   = {2026},
  eprint = {2611.30338},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.30338v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.30338.svg)](https://codeofpaper.com/paper/2611.30338)

Discussion