Manuscript Offprint

arXiv:2608.22806

DIAG: Diagnostic Iterative Alignment and Generation for Data-Efficient Mathematical Preference Distillation

Guhan Chen, Songtao Tian, Bohan Li, Hejin Wang, YeXin Xie, Zixiong Yu

Abstract

Iterative preference optimization is essential for aligning Large Language Models on mathematical reasoning tasks, yet its efficiency is often throttled by signal scarcity: as the model improves, static problem sets become increasingly mismatched to the model's evolving competence, producing rollouts that are either too easy or too hard and therefore non-informative, which leads to a scarcity of valid preference pairs. We propose DIAG, a Diagnostic Iterative Alignment and Generation framework that adaptively reshapes the practice distribution to increase informative supervision and focus training near the student's current competence boundary. DIAG consists of two phases: (1) diagnosing valid preference-pair yield to calibrate the exploration-exploitation trade-off and allocate topic quotas via an Empirical Bayes shrinkage estimator, thereby prioritizing high-yield concepts; and (2) generating targeted practice, where a teacher synthesizes variants from the student's failure traces. We further provide a theoretical view interpreting DIAG as a teacher-mediated approximation to KL-regularized reweighting of the practice distribution toward the student's competence boundary, where valid preference-pair yield is maximized. Experiments show that DIAG boosts yield across iterations and delivers stronger reasoning performance under an iso-effective training budget, demonstrating that it can distill more informative preference supervision for mathematical reasoning.

1 Introduction

Artificial intelligence (AI) has advanced at an unprecedented pace in recent years, spanning natural language processing (Zhao et al., 2023), computer vision (Cui et al., 2021; Tian et al., 2026), multimodal understanding and generation (Gemini Team, 2025; Yu et al., 2024), and intelligent agents (Shinn et al., 2023; Wang et al., 2026a,b). This progress has been driven by sustained advances in learning paradigms (Ouyang et al., 2022; Wu et al., 2026), model architectures (Vaswani et al., 2017; Yu et al., 2026b), data scaling (Yuan et al., 2023), and theoretical advances in understanding learning dynamics (Lai et al., 2023; Yu et al., 2025) and generalization (Li et al., 2024b; Chen et al., 2024a). Within this broader development, Large Language Models (LLMs) have emerged as a central paradigm, achieving increasingly strong performance across a wide range of tasks and becoming a foundation for modern AI applications (Ouyang et al., 2022). Their rapid development has consequently attracted growing interest in how to improve their reasoning, instruction following, and interaction with users and environments.

Against this backdrop, the landscape of LLMs has undergone a dramatic shift toward heterogeneity, with model scales, architectures, and deployment regimes ranging from massive frontier systems (GPT: OpenAI, 2024; Llama: Grattafori et al., 2024) to specialized, lightweight variants (Phi-4-Mini: Microsoft, 2025; Gemini Nano: Gemini Team, 2025) optimized for edge deployment. This heterogeneity poses a challenge for model alignment: static training sets are increasingly unlikely to match the learning needs of models at different capability levels. Instances that are informative for one model may be too easy, too difficult, or even misleading for another, reducing the yield of supervision and potentially exacerbating hallucination-prone behavior (Gekhman et al., 2024).

Consequently, the alignment paradigm is shifting toward online, preference-based optimization loops (Rafailov et al., 2023; Pang et al., 2024). By generating rollouts on-policy, these online loops ensure that the learning signal is calibrated to the current reasoning state of the student model. This capability is crucial for maintaining effective alignment across heterogeneous models. Under this

∗^{*}Equal Contribution.

†^{\dagger}Corresponding Author.

Figure

Figure 1: An illustrative example of DIAG. Left: The student directly compares likelihoods while ignoring prior probabilities, producing an incorrect posterior. Right: DIAG diagnoses the misconception from the student's erroneous reasoning trace and generates a targeted follow-up with extreme priors that makes the error more salient, yielding more informative preference pairs for alignment.

paradigm, supervision typically arises from natural contrasts: the student samples multiple rollouts, and a preference pair is formed only when the set contains both correct and incorrect trajectories. However, the efficacy of online rollouts remains fundamentally capped by the nature of the underlying prompt pool. Even if rollouts are generated on-policy and updated in real time, a fixed practice distribution may still fail to sample problems that match the model's current capability, thereby producing too few informative preference pairs and wasting computational resources. Existing remedies often rely on brute-force scaling: increasing rollout width, expanding the static prompt pool, or using large-scale synthetic datasets (Yu et al., 2023; Toshniwal et al., 2024; Chen et al., 2024c).

A seemingly more adaptive alternative is active learning, which selects high-uncertainty prompts from a candidate pool (Settles, 2009). Yet for iterative preference optimization, active learning remains practice-agnostic in a crucial sense: it typically selects among existing prompts rather than generating targeted follow-ups tailored to the student model's current state. As a result, it can still produce redundant queries or abrupt difficulty shifts, worsening preference-pair scarcity rather than alleviating it. This problem is conceptually a curriculum control problem. Classical curriculum learning and self-paced learning show that how examples are scheduled can be as important as how many examples are seen (Bengio et al., 2009; Kumar et al., 2010). However, applying curriculum ideas to iterative preference optimization introduces an additional challenge: the feedback signal is sparse, noisy at low sample counts, and non-stationary across iterations.

In this paper, we propose DIAG, a data-efficient framework for iterative preference distillation in mathematical reasoning. Our core insight is simple: conditioning teacher generation on student mistakes can improve both the yield of preference pairs and the quality of preference supervision. As illustrated in Figure 1, instead of treating the practice distribution as static, DIAG closes the loop between student outcomes and next-iteration practice. It follows a Diagnose-and-Generate paradigm: (i) diagnose how much usable preference signal the current curriculum yields; (ii) adaptively balance exploration and exploitation; (iii) allocate topic budgets using Empirical Bayes shrinkage to avoid low-count volatility (Efron and Morris, 1973); and (iv) generate targeted follow-up questions by conditioning a teacher on the student's recent mistakes, focusing computation near the decision boundary through uncertainty-weighted resampling rather than static pool selection (Settles, 2009). This design increases the quantity of effective preference pairs while improving the quality of supervision by making new questions explicitly target observed failure modes. Our contributions are as follows:

• We formalize iterative preference distillation in verifiable mathematical reasoning as a signal-yield problem, and empirically show that static practice distributions can lead to a rapid decline in natural contrastive supervision.

• We present DIAG, which couples a signal-aware pacing rule with Empirical Bayes topic scoring to robustly steer generation toward high-yield regions without over-reacting to low-count noise.

• We demonstrate that mistake-conditioned generation provides a simple and effective way to concentrate practice near the student’s decision boundary, yielding higher-quality preference pairs with greater information density per unit budget than practice-agnostic generation.

References (48)