Manuscript Offprint

arXiv:2610.27450

Ask to Distill: Learning to Synthesize Data for On-Policy Distillation

Jiashuo Sun, Hao Zhang, Xueqiang Xu, Heng Wang, Yixuan Xie, Pengcheng Jiang, Zhenrui Yue, Jiajun Fan, Peiran Li, Ge Liu, Shaowen Wang, Jiawei Han

Abstract

On-policy distillation (OPD) can succeed with surprisingly few training questions, motivating a view of questions as carriers of distributional knowledge transfer. How can we assess whether a newly generated question is valuable for distillation, and learn to generate better questions—without access to its correct answer? We introduce Ask-to-Distill (A2D), a framework that treats synthetic questions as distribution elicitors and optimizes the teacher supervision they expose along student-generated trajectories. A student-initialized synthesizer is optimized using a distributional surrogate for question value, computed from a frozen student–teacher pair without reference answers, correctness rewards, or per-candidate student updates. The reward combines teacher–student disagreement with teacher probability mass on the student’s candidate support, together with length and diversity controls. The generated questions are filtered and deduplicated into a prompt-only bank for standard OPD. Across mathematical reasoning, code generation, and agentic tasks, our method improves average performance and teacher-gap recovery over unoptimized student-generated prompts and KL-filtered real questions, while matching or exceeding real-bank OPD in the evaluated settings. Signal analyses further show that optimized questions can elicit denser supervision and more total signal from shorter student responses, supporting elicited distributional supervision as an objective for synthetic distillation data. Our code, data and models are publicly available at https://github.com/GasolSun36/Ask_to_Distill.

(a) Learn to ask where the teacher can help

Figure

GRPO reward Σtst\Sigma_t s_t, st≈s_t \approx disagreement ×\times compatibility

KL-filter keeps δ>τ→\delta > \tau \rightarrow

Teacher-student disagreement δ\delta

Real questions (DAPO-17k) Generated (Ours)

Insets (next-token): Student — Teacher — Student top-K

(b) Shorter rollouts, more total signal

Response length

tokens

1,280

1,021

-20%

Total signal

Σtst\Sigma_{t} s_{t}

141.7

181.7 +28%

Figure 1. A2D learns to ask questions where the teacher can help. (a) Schematic. A student-initialized synthesizer is RL-trained against a frozen student–teacher pair to elicit disagreement δ\delta that remains within the student’s top-K support (compatibility ω\omega). Real questions mostly elicit little disagreement or disagreement outside the student’s reach, which KL filtering cannot separate. Insets: typical student and teacher next-token distributions per region. (b) Generated questions yield 20% shorter responses and 28% more total signal than DAPO-17k-Math.

1. Introduction

On-policy distillation (OPD) transfers the behavior of a strong teacher to a student on trajectories sampled by the student itself (Agarwal et al., 2024; Gu et al., 2024). By supervising the states the student actually visits, OPD mitigates the distribution mismatch associated with learning only from fixed teacher demonstrations and provides dense token-level guidance without requiring a task-specific cor-

1^{1}University of Illinois Urbana-Champaign, Urbana, IL, USA
2^{2}The Hong Kong University of Science and Technology, Hong Kong SAR, China
3^{3}Texas A&M University, College Station, TX, USA. Correspondence to: Jiashuo Sun jiashuo5@illinois.edu.

Preprint. October 21, 2026.

rectness verifier. Although the teacher supplies this supervision, the training questions determine which trajectories the student generates and where teacher feedback becomes available. Constructing effective distillation data therefore requires understanding not only what a question asks, but also what supervision it elicits from a particular student–teacher pair.

Recent studies suggest that OPD can be highly prompt-efficient: small subsets can approach full-data performance, and even a single question can recover much of the gain obtained from a large question bank (Fu et al., 2026; Hou et al., 2026). Moreover, self-generated questions can support effective OPD without external seed examples (Li et al., 2026a). These findings motivate a different perspective on OPD training data, centered on the supervision that questions elicit. In supervised fine-tuning, synthetic examples provide target responses for imitation (Wang et al., 2023; Xu et al., 2024); in self-play reinforcement learning, generated tasks provide opportunities to learn from answer-quality or task-success feedback (Huang et al., 2026; Chen et al., 2025). OPD instead obtains supervision from the teacher's token distributions on student-generated prefixes. A question therefore serves as a distribution elicitor: it guides the student into states where teacher-student differences become available for learning. From this perspective, training questions act as carriers of distributional knowledge transfer, rather than directly supplying the target knowledge through reference answers. Their distillation value depends on the usable teacher supervision exposed along the induced trajectories for a particular student-teacher pair, consistent with findings that prompt utility is pair-dependent (Wang et al., 2026a). Although OPD supplies teacher supervision without reference answers, optimizing a question synthesizer requires an additional signal: feedback on which questions are worth generating. This raises a central question: without access to the correct answer to a newly generated question, how can we assess its value for a target student-teacher pair and use that assessment to learn to generate better questions? We address this question by scoring the distributional supervision exposed along student-generated trajectories, using a frozen student-teacher pair without performing a student update for each candidate.

Turning elicited supervision into an optimization objective requires distinguishing disagreement from useful correction. Token-selection and reweighting methods already exploit the unequal value of supervision across response positions (Xu et al., 2026; Li et al., 2026b). In particular, support-aware analyses of token teachability show that large divergence can reflect either corrective teacher preferences within the student's candidate support or a mismatch concentrated outside that support (Wang et al., 2026b). Building on this characterization, we combine teacher-student discrepancy with teacher probability mass on the student's candidate tokens as a surrogate for local learning value. We adapt this token-level principle to question generation by aggregating the signal along student trajectories. This introduces additional challenges: a synthesizer may increase its reward through longer responses or repeatedly produce a narrow family of questions. The question-level objective must therefore balance elicited signal with trajectory length and question diversity.

We introduce Ask-to-Distill (A2D), a self-contained framework that optimizes synthetic questions for a target student–teacher pair before performing OPD. We initialize the question-generation policy from the student and train it with reinforcement learning, while keeping the scoring student and teacher frozen. Its reward aggregates support-aware token signals using sublinear length normalization, a soft response-budget penalty, and a batch-diversity term. We then curate the generated questions through format filtering and lexical and semantic deduplication, and perform standard OPD on the resulting prompt-only dataset. Synthesizer training reuses the target student–teacher pair and requires neither external training questions nor auxiliary models. After training, a frozen Qwen3-Embedding-4B model is used only for semantic deduplication of the generated question bank; it does not participate in synthesizer optimization. Our method operates on the prompt-construction axis, which is complementary to approaches that select supervision positions, reweight trajectories, or modify the downstream distillation procedure.

Our contributions are threefold: (i) we formulate synthetic prompt construction as optimizing the distributional supervision elicited from a target student–teacher pair; (ii) we develop a question-level reward that turns support-aware teacher–student signals into feedback for synthesizer optimization, without reference answers, task-specific correctness rewards, or per-candidate student updates, while controlling response length and question diversity; and (iii) we validate the framework across multiple model scales and mathematical reasoning, code generation, and agentic tasks through downstream comparisons, reward-component ablations, and learning-signal analyses. A2D exceeds real-bank OPD on the average scores of the evaluated student–teacher pairs. Our analyses further show that optimized questions can elicit denser distributional signals from shorter student responses, supporting the value of optimizing elicited supervision beyond simply increasing rollout length.

References (62)