InfoSFT: Learn More and Forget Less with Information-Aware Token Weighting
Mahdi Sabbaghi, George J. Pappas, Adel Javanmard, Hamed Hassani
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Post-Training: RL & Distillation › On-Policy Distillation for Reasoning · Type: new method · Keywords: supervised fine-tuning, token weighting, information-aware learning, LLM generalization, capability preservation
Areas: RL for LLMs & Agents › Language Model Alignment › Fine-Tuning Methods; Continual Learning & Adaptation › Catastrophic Forgetting and Unlearning › Catastrophic Forgetting
Summary
InfoSFT introduces an information-aware token weighting scheme that focuses learning on medium-confidence tokens, improving generalization and preserving prior capabilities during supervised fine-tuning of LLMs.
Explained to a 5-year-old
Imagine a big computer brain that can talk and solve problems. We teach it new things by showing it lots of examples, like how to do math or write code. Sometimes the examples are very easy, because the brain already knows them, and sometimes they are very hard, because they are new. If we only look at the hard ones, the brain might get confused and forget what it already knows. If we only look at the easy ones, we don't learn anything new. So we need a way to pick the examples that are just right-neither too easy nor too hard.
Explained to a 5-year-old, longer
Imagine a big computer brain that can talk and solve problems. We teach it new things by showing it lots of examples, like how to do math or write code. Sometimes the examples are very easy, because the brain already knows them, and sometimes they are very hard, because they are new. If we only look at the hard ones, the brain might get confused and forget what it already knows. If we only look at the easy ones, we don't learn anything new. So we need a way to pick the examples that are just right-neither too easy nor too hard. This way, the brain can learn new skills without losing its old knowledge. We give each example a little weight based on how useful it is. The brain pays more attention to the examples that are most helpful. This helps it get better at new tasks while keeping its old abilities. It works for many different kinds of tasks, like solving math problems, writing code, and thinking step by step. The method is simple: we just change how we count mistakes during training. This small change makes a big difference in how well the brain learns.
For a technical reader
InfoSFT adjusts the loss function used during supervised fine-tuning by weighting each token based on its information content. It focuses learning on tokens that are neither too predictable nor too novel, which reduces over-fitting to rare examples. This simple one-line change improves performance on math, code, and reasoning tasks while preserving existing model capabilities. The approach can be dropped into existing training pipelines without altering the model architecture. Engineers can adopt it to obtain better generalization with minimal extra effort.
Problem
Standard supervised fine-tuning of large language models treats all tokens equally, causing updates to overfit low-likelihood samples and degrade existing capabilities. This makes it difficult to learn new behaviors while retaining prior knowledge.
Method
The approach modifies the standard token-wise loss by weighting each token according to its informativeness, emphasizing tokens that are neither too familiar nor too unlikely under the base model. This weighting concentrates learning signals on medium-confidence tokens, improving generalization while limiting policy drift. The modification requires only a simple adjustment to the loss function.
Results
The approach achieves improved generalization on math, code, and chain-of-thought tasks across multiple model families and better preserves prior capabilities compared to vanilla SFT and likelihood-weighted baselines.
Contributions
It introduces a principled token weighting scheme that focuses learning on maximally informative, medium-confidence tokens, and demonstrates empirical gains on diverse tasks while retaining existing knowledge.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction