Manuscript Offprint

arXiv:2610.12995

What Should SFT Learn? Conditional Information Gain for Generalizable Post-Training

Yuxuan Gu, Kequan Niu, Xiaocheng Feng, Yun Li, Yiqiao Yang, Bing Qin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Supervised fine-tuning (SFT) remains a widely used approach for post-training large language models, because fixed demonstrations can directly introduce desired reasoning strategies and behavioral patterns. Yet forcing a model to imitate externally provided trajectories may also interfere with behaviors already supported by pretraining, limiting generalization beyond the training distribution. Recent dynamic SFT methods mitigate this issue by reweighting token-level supervision according to model-side signals such as predictive probability, prior support, or distributional compatibility. However, model compatibility is not equivalent to learning value: a token that is weakly supported by the current model may either be an undesirable mismatch or precisely the task-specific decision that the demonstration is intended to teach. We propose CIG-SFT, an information-theoretic framework that estimates the task-conditioned information carried by each demonstrated token. Under teacher forcing, we compare the token likelihood from a frozen reference model with and without access to the task input while keeping the gold solution prefix fixed. The resulting conditional information gain quantifies how much the task itself reduces uncertainty about the demonstrated decision. We then convert this information into a KL-regularized projection of the current policy and derive an equivalent scalar-weighted SFT objective whose logit gradient exactly matches that of the projected target. Across mathematical reasoning and code-generation benchmarks, CIG-SFT consistently outperforms standard SFT and recent adaptive fine-tuning baselines, with particularly strong improvements in generalization to challenging evaluation distributions, while requiring neither additional training data nor online rollouts.

1 INTRODUCTION

Large language models (LLMs) acquire broad and increasingly general capabilities during large-scale pretraining, ranging from language understanding and generation to reasoning and problem solving (Brown et al., 2020; Chowdhery et al., 2023). Since base models are not inherently optimized to express capabilities in the forms required by diverse downstream tasks, post-training plays a critical role in transforming a general-purpose base model into one that exhibits desired task- and application-specific behaviors (Chung et al., 2024). By providing explicit behavioral supervision or optimization signals, post-training can improve instruction following (Wei et al., 2021; Ouyang et al., 2022), shape how models reason and make intermediate decisions (Lightman et al., 2024; Guo et al., 2025), and encourage adherence to task-specific response structures and output conventions (Chu et al., 2025). These adaptations are particularly important for reasoning-intensive applications, where success depends not only on whether a model possesses the underlying capability, but also on whether it can invoke and organize that capability into an effective solution process. Accordingly, supervised fine-tuning (SFT) and reinforcement learning (RL) have become two central paradigms for modern LLM post-training, providing complementary mechanisms for shaping model behavior beyond pretraining (Ouyang et al., 2022; Schulman et al., 2017; Guo et al., 2025).

However, such adaptation introduces a fundamental tension between acquiring target behaviors and preserving the capabilities that LLMs already support. It is especially evident in post-training meth-

*Equal contribution. Code is available at https://github.com/NiuKequan/CIG-SFT-public.

ods that learn from fixed, externally provided data, including SFT, offline preference optimization (Rafailov et al., 2023), and offline reinforcement learning (Snell et al., 2022). Their key advantage is behavioral coverage: by directly optimizing on curated demonstrations or feedback, these methods can expose the model to reasoning steps and behavioral patterns that it may rarely produce on its own. Yet this same property can also create a mismatch between externally specified supervision and the model's existing predictive behavior, biasing LLM behavior toward the demonstrated solution patterns at the expense of catastrophic forgetting of capabilities inherited from pretraining (Kotha et al., 2024; Li et al., 2024a). On-policy approaches address the same tension from the opposite direction, which generate training trajectories from the evolving policy itself and thus make the supervision naturally better aligned with LLMs' predictive behavior distribution, such as reinforcement learning (Schulman et al., 2017; Ouyang et al., 2022; Guo et al., 2025), self-taught reasoning (Zelikman et al., 2022), on-policy distillation (Agarwal et al., 2024), and on-policy self-distillation (Zhao et al., 2026). Nevertheless, this compatibility comes at the cost of behavioral coverage, as useful strategies encoded in external demonstrations may be missed when the current policy rarely visits them (Agarwal et al., 2024; Zhao et al., 2026).

Recent work mitigates this trade-off by retaining fixed demonstrations while selectively modulating their supervision at the token level. DFT reweights each target according to its probability under the current model (Wu et al., 2025), where subsequent methods stabilize this reweighting through distributional anchoring (Zhu et al., 2025), estimate token support from a frozen pretrained model (Wang et al., 2026b), or explicitly characterize whether a target is compatible with the model-induced distribution (Zhang et al., 2026). Despite different formulations, they share a common principle: the strength of supervision is largely determined by how well a demonstrated token is supported by the model's predictive distribution. However, predictive compatibility is not equivalent to learning value. A weakly supported target may indicate an undesirable distributional mismatch, but it may also correspond to precisely the task-specific decision that the demonstration is intended to teach. Conversely, a highly supported target may reflect a useful model-consistent behavior, or simply a trivial continuation already determined by the preceding gold trajectory. Model support alone cannot distinguish what it should acquire from what it should avoid, or what has been sufficiently captured.

Therefore, we quantify the learning value of each demonstrated token from an information-theoretic perspective, viewing information gain as the reduction in uncertainty induced by an additional observation (Shannon, 1948; Lindley, 1956; Cover & Thomas, 2006). In supervised fine-tuning, the task input specifies the behavior to be learned, while the preceding response tokens also contribute to predicting the next token. Model-support signals computed from the full context may conflate task-induced information with continuation-induced predictability. We disentangle these two sources by measuring the additional information contributed by the task input beyond the preceding context. In detail, we propose CIG-SFT, which translates pointwise conditional information gain into principled supervised updates. First, we estimate the task-conditioned information carried by each demonstrated token via comparing its log-likelihood ratio under the frozen base model with and without the task input while keeping the preceding response fixed. The resulting ratio is a pointwise conditional information quantity, which we normalize by task-free surprisal to obtain a bounded information-gain ratio. Next, we treat this value as a token-level reward and derive a KL-regularized projection of the current policy, producing an information-dependent target distribution that balances information acquisition against policy deviation. We show that the gradient induced by this projected target can be reproduced exactly by a scalar-weighted SFT objective. In this way, CIG-SFT provides a principled path from task-conditioned information to controlled policy adaptation, while retaining fixed demonstrations and requiring neither additional training data nor online rollouts.

We evaluate CIG-SFT on mathematical reasoning and code generation across multiple model scales. CIG-SFT consistently improves over standard SFT and strong adaptive fine-tuning baselines, while comparing favorably with reinforcement-learning methods without requiring additional data or online rollouts. Its gains persist across domains, training-set sizes, and hyperparameter settings, with efficiency in some low-data regimes. Ablation and training-dynamics analyses further show that CIG-SFT benefits from the separation between frozen information attribution and current-policy-aware proximal adaptation, producing more selective supervision and smaller parameter updates. Overall, our results demonstrate that task-conditioned information provides a useful complement to predictive compatibility for generalizable supervised post-training. Our contributions are threefold: (i) we identify task-conditioned information as a complementary signal to full-context model support for selective SFT; (ii) we derive an information-proximal target and show that its optimization admits an exactly gradient-equivalent token-weighted objective; and (iii) we demonstrate consistent gains across model scales and domains, with data efficiency and more selective parameter updates.

References (46)