NeurIPS 2026QuestionsPapersAreasAboutMarkdown

PriFT: Prior-Support Guided Token Reweighting for Supervised Fine-Tuning

Ke Wang, Shuangqi Li, Mathieu Salzmann, Pascal Frossard

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 reweighting, prior support, stable training, language model alignment

Areas: RL for LLMs & Agents › Language Model Alignment › Fine-Tuning Methods

Summary

PriFT introduces prior-support guided token reweighting for supervised fine-tuning, using a frozen pretrained model to compute stable token weights and improving performance on reasoning, code generation, and medical QA.

Explained to a 5-year-old

When we teach a robot to talk, we show it many examples. The robot already knows a lot from its original learning. Sometimes the examples include words the robot already knows well, which can confuse it. We give more importance to those familiar words and less to new ones. The new method uses the robot’s original knowledge, not the knowledge it is currently learning. It helps the robot solve math problems, write code, and answer medical questions better.

Explained to a 5-year-old, longer

When we teach a computer program to answer questions, we show it many examples of correct answers. The program already knows a lot from its earlier training, like a person who knows many words. Sometimes the examples we show include words that the program already knows a lot about, which can confuse it. To help the program learn better, we give more attention to those familiar words and less to new ones. The old way of doing this used the program's current knowledge while it was learning, which could change quickly. The new idea uses the program's original knowledge, which stays the same, to decide which words to focus on. This stable signal helps the program learn more reliably. It works for solving math problems, writing code, and answering medical questions. The method comes in two flavors: one looks at how likely a word was before training, and the other looks at how much support the original model gave to each word. By focusing on the right words, the program performs better and provides a stronger starting point for further training.

For a technical reader

The paper identifies that token-reweighting in supervised fine-tuning becomes unstable because the model’s distribution changes during training. It proposes using a frozen pretrained model to compute token weights based on prior support, which remains constant. Two variants are presented: one uses pretrained target-token probability, the other uses relative support under the pretrained distribution. Experiments on reasoning, code generation, and medical QA show state-of-the-art results and better RL initialization.

Problem

Supervised fine-tuning often suffers from weaker generalization because it fits fixed demonstrations token by token, including tokens that are poorly aligned with the model's pretrained distribution, leading to unstable reweighting when using online statistics.

Method

The approach derives token weights from a frozen pretrained reference model to estimate prior support, providing a stable reweighting signal that does not depend on the online fine-tuning dynamics. It offers two instantiations: one based on pretrained target-token probability and another based on relative support under the pretrained distribution.

Results

The approach achieves state-of-the-art supervised fine-tuning performance and yields better initializations for downstream reinforcement learning.

Contributions

It introduces a stable prior-support based token reweighting scheme for supervised fine-tuning and demonstrates consistent improvements across multiple weighting rules and tasks.

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