TL;DR
CIG-SFT is a new information-theoretic framework for supervised fine-tuning that identifies which parts of a training demonstration are actually worth learning. By focusing on tokens where the task input significantly reduces uncertainty—rather than just imitating every token—it achieves superior generalization in math and code reasoning while requiring far less data and no expensive reinforcement learning rollouts.
What Problem Does This Paper Address?
Supervised Fine-Tuning (SFT) is the bread and butter of LLM post-training, used to teach models specific behaviors like step-by-step reasoning. However, standard SFT has a "blind imitation" problem: it treats every token in a demonstration as equally important. This forces the model to waste capacity on trivial formatting (like "The answer is...") and can even overwrite useful pre-trained knowledge, leading to "catastrophic forgetting."
Existing "dynamic SFT" methods try to fix this by reweighting tokens based on how well the model already supports them. But the authors argue that model support is not the same as learning value. A token the model finds difficult might be a weird outlier to ignore, or it might be the exact "aha!" moment of the reasoning process that the model needs to learn. CIG-SFT aims to distinguish between these by measuring "Conditional Information Gain."
Methods
The core idea of CIG-SFT is to disentangle two sources of predictability: the task itself and the preceding text.
- Pointwise Conditional Information Gain ($i_t$): For every token in a demonstration, the authors compare two probabilities using a frozen reference model:
- $p_0$: The probability of the token given the task input and the prefix.
- $p^-_0$: The probability of the token given an empty input and the same prefix. If $p_0$ is much higher than $p^-_0$, the task input is doing the heavy lifting—this token has high "learning value."
- Information Gain Ratio ($c_t$): This value is normalized by the total "surprisal" of the token to create a bounded score between 0 and 1.
- Information-Proximal Projection: Instead of just using $c_t$ as a raw weight, the authors derive an optimal target distribution that balances learning the new information against staying close to the current model's policy (using KL-regularization).
- Gradient-Equivalent Weighting: Crucially, they prove that this complex projection can be implemented as a simple scalar weight ($w_t$) applied to the standard SFT loss. This makes the method easy to integrate into existing training pipelines.
Datasets
The authors evaluated CIG-SFT across two demanding domains:
- Mathematical Reasoning: Trained on a 30K subset of NuminaMath-CoT. Evaluated on MATH500, Minerva Math, OlympiadBench, and competition sets like AIME 2024/2025 and AMC 2023.
- Code Generation: Trained on a 10K subset of a code training pool. Evaluated on HumanEval+, MBPP+, LiveCodeBench, BigCodeBench, and DS-1000.
Key Insights and Ideas
- Selective Supervision is Key: CIG-SFT naturally "downweights" generic tokens and "upweights" critical reasoning steps. In a math problem, tokens like "substitute" or specific arithmetic operators get high weights, while "is" or "boxed" get near-zero weights.
- Efficiency Over Volume: The method is incredibly data-efficient. Training on just 1,000 examples with CIG-SFT outperformed standard SFT and other dynamic baselines trained on 100,000 examples.
- Smaller, Better Updates: Analysis of training dynamics showed that CIG-SFT induces smaller relative parameter updates than standard SFT. It achieves better performance by being more "surgical" rather than more aggressive.
- RL Performance without the RL Cost: CIG-SFT compares favorably to on-policy Reinforcement Learning methods (like GRPO) but doesn't require the massive computational overhead of generating online rollouts during training.
Key Results
CIG-SFT consistently set new state-of-the-art marks for adaptive fine-tuning:
- Math (7B Model): On the aggregate math benchmark, CIG-SFT achieved 38.5% Avg@16, nearly doubling the performance of standard SFT (19.7%) and significantly beating the previous best baseline, PriFT (36.4%).
- Code (3B Model): It reached 35.4% Avg@16, outperforming standard SFT (32.8%) and other adaptive methods.
- Generalization: The gains were most pronounced on difficult out-of-distribution tasks like AIME, where CIG-SFT showed much stronger "zero-shot" reasoning capabilities than its peers.
Limitations and Future Work
- Preprocessing Overhead: CIG-SFT requires a one-time offline scoring pass for the entire dataset using a frozen reference model. While this is cheaper than RL rollouts, it adds an initial step to the pipeline.
- Reference Model Dependency: The quality of the information gain signal depends on the base model used for scoring.
- Future Directions: The authors suggest exploring how this information-theoretic approach could be applied to multi-modal models or integrated more deeply with reinforcement learning to further refine "what" a model should learn from its own successful rollouts.
Summary updated