acceptodds
Published as a conference paper at NeurIPS 2026

Finetuning with Sampling: Make SFT Generalize, Not Forget

Aayush Karan, Sitan Chen, Yilun Du

Abstract

Introducing new capabilities to frontier models has long been the goal for posttraining, which relies predominantly on supervised finetuning (SFT) and reinforcement learning (RL) to achieve this. Prevailing wisdom dictates that on-policy RL enables strong generalization on new tasks without losing existing capabilities, while SFT is prone to weak generalization and forgetting. At the same time, SFT enables learning from inherently off-policy expert data, whereas RL must rely on a model's ability to generate positive signal on a new task. In our work, we seek to bridge the strength of on-policy learning with the information signal of off-policy expert traces. To this end, we introduce a Markov chain Monte Carlo (MCMC) sampling algorithm that transforms off-policy traces into more on-policy ones given a reference model for finetuning. Across tasks like scientific skill acquisition, mathematical reasoning, and fact learning, we demonstrate that simple SFT on these boosted off-policy traces can generalize better and forget less than on-policy counterparts. More generally, our approach outlines a principled methodology for model-specific data refinement, suggesting broader utility as a plug-and-play component throughout the post-training pipeline.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_aqmVOpenReview ↗
Rating
3
Clarity
3
Confidence
4
Originality
2
Quality
3
Significance
3
Read review
Summary

This paper proposes an off-policy boosting method for improving SFT generalization and reducing forgetting. Given expert trajectories and a base model, the authors use an MCMC/Metropolis-Hastings-style sampling procedure to transform off-policy expert traces into boosted traces that are closer to the base model distribution while preserving correctness. Standard SFT is then applied to these boosted traces. Experiments on science skill acquisition, math reasoning, and fact learning show that boosted SFT often outperforms vanilla SFT, rewrite SFT, and several on-policy or self-distillation baselines in both new-task performance and prior-capability retention. The paper argues that part of the perceived SFT/RL gap may come from the data distribution rather than the supervised objective itself.

Strengths and weaknesses

The main strength is a clear and useful perspective: SFT may fail not only because of the supervised objective, but also because expert data can be too far off-policy relative to the current model. The proposed model-specific data refinement procedure is conceptually simple and relevant to post-training, continual learning, and the ongoing discussion around SFT versus RL.

The empirical results are promising. On chemistry, boosted SFT improves new-task accuracy while retaining prior capabilities better than vanilla SFT. On math reasoning, boosted SFT substantially improves over vanilla SFT and outperforms GRPO and UFT on several metrics, especially MATH500 and the average score. The fact-learning experiment also supports the claim that boosted traces can reduce forgetting compared with direct SFT.

However, the paper has several weaknesses. First, the method lacks important ablations. Performance may depend heavily on MCMC steps, block size, proposal quality, acceptance rate, trajectory length, and prompt design, but these factors are not systematically studied. As a result, it is hard to tell whether the gains come from iterative MCMC-style boosting or from simpler effects such as rewriting, likelihood filtering, or self-rephrasing.

Second, the paper lacks statistical stability analysis. The main tables do not report multiple seeds, standard deviations, or confidence intervals. Some gains over SDFT or rewrite SFT are modest, so error bars are important for assessing the strength of the conclusions.

Third, the computational cost is underreported. Boosting introduces additional offline sampling cost, and the appendix notes that proposal likelihood computation can be slow. The paper should report wall-clock time, token budget, GPU setup, per-trajectory sampling cost, and a fair cost comparison with GRPO, UFT, and SDFT.

Fourth, the related work is incomplete. The paper does not discuss the following highly relevant works:

[1] On the Generalization of SFT: A Reinforcement Learning Perspective with Reward Rectification

[2] Anchored Supervised Fine-Tuning

[3] On-Policy Supervised Fine-Tuning for Efficient Reasoning

[4] Towards On-Policy SFT: Distribution Discriminant Theory and Its Applications in LLM Training

These papers are directly related to SFT generalization, on-policy SFT, distribution shift, and SFT/RL alignment. Their absence weakens the positioning of this work relative to recent SFT-side and on-policy-SFT methods.

Questions
  1. Could the authors add ablations for MCMC steps, block size, acceptance rate, proposal prompt/model, rewrite-only, one-step boosting, and multi-step boosting? These would help determine whether iterative boosting is the key source of improvement.

  2. Could the authors report the correctness preservation rate of boosted traces? Since the method depends on maintaining semantic correctness, it would be useful to know how often boosted samples remain correct and how incorrect samples affect SFT.

  3. Could the authors provide multiple seeds, standard deviations, or confidence intervals for the main results? This is especially important where the gap between boosted SFT and SDFT/rewrite SFT is small.

  4. Could the authors quantify the additional compute cost of boosting, including wall-clock time, token cost, GPU setup, and per-trajectory sampling cost, and compare it with GRPO/UFT/SDFT?

  5. The related work should be expanded to discuss and compared [1], [2], [3], and [4]. Please clarify whether the proposed method is complementary to, overlaps with, or differs fundamentally from these SFT-side and on-policy-SFT approaches.

[1] On the Generalization of SFT: A Reinforcement Learning Perspective with Reward Rectification

[2] Anchored Supervised Fine-Tuning

[3] On-Policy Supervised Fine-Tuning for Efficient Reasoning

[4] Towards On-Policy SFT: Distribution Discriminant Theory and Its Applications in LLM Training

Limitations

The authors discuss some limitations, including binary correctness and offline one-shot boosting.

Paper formatting concerns

None.

Final justification

The rebuttal addresses several important concerns by adding ablations on MCMC steps, correctness preservation analysis, seed-level results, compute cost estimation, and related work discussion. These additions substantially improve the empirical completeness of the paper. However, some limitations remain. The ablation study mainly focuses on MCMC steps, while other important design choices such as block size, proposal mechanism, and trajectory construction are not systematically evaluated. The compute analysis provides a useful comparison, but the practical overhead of the boosting process remains nontrivial. In addition, although the correctness preservation rate is reported, the impact of incorrect boosted traces and potential error amplification during SFT is not deeply analyzed. The related work discussion is improved, but direct experimental comparisons with recent SFT-side approaches such as DFT, anchored SFT, and on-policy SFT are still missing, making the empirical positioning less complete. Overall, the rebuttal strengthens the evaluation, but some questions regarding component-level understanding, scalability, and comparison with related methods remain open. I will maintain my original rating.

1 comment

We thank the reviewer for their insightful comments! We address their concerns and questions below:

Ablations

We provide an ablation for the science task by varying the MCMC steps in the range [0, 2, 4, 6, 8, 10]. This ablates for MCMC steps and rewrite/one-step/multi-step boosting. Note that 0 MCMC steps is equivalent to rewriting/rephrasing. Here is a table tracking accuracy and KL divergence across increasing MCMC steps:

StepsKL (nats) ↓Accuracy ↑
00.484161.67%
20.254361.83%
40.207963.67%
60.184463.00%
80.168062.83%
100.155666.0%

Notice that the KL divergence between the boosted generation policy and base model (KL(BOOST∥∣BASE)\mathrm{KL}(\mathrm{BOOST}\||\mathrm{BASE})) monotonically decreases with an increasing number of MCMC steps, meaning the boosted rollouts are getting closer to our on-policy target distribution. Meanwhile, the accuracy of the finetuned model roughly monotonically increases. This demonstrates that our iterative boosting algorithm scales with compute, bringing the finetuning dataset closer to on-policy rollouts while improving the finetuned model's accuracy.

 

We also ablate for the model, and provide science task results for Olmo-3-7B-Instruct:

New TaskPrior Tasks
ModelAlgorithmChemistry┃GPQAAMCMATH500GSM8KAvg.
Base32.82%┃41.92%36.14%73.80%92.50%61.09%
SFT56.67%┃33.84%42.17%72.20%90.20%59.60%
Olmo-3-7B-InstructRewrite SFT56.33%┃35.86%40.96%76.40%91.59%61.20%
SDFT/OPSD59.67%┃37.88%37.35%75.40%92.05%60.67%
Boosted SFT (Ours)58.32%┃38.89%44.58%76.20%91.59%62.82%

As with Qwen, we see that SFT on a boosted dataset is competitive in generalization and forgets less relative to other baselines, including strong on-policy baselines like SDFT/OPSD.

 

Correctness preservation rate

Here are correctness preservation rates for the empirical tasks: Science: 94.33%, Math: 95.33%, and Facts: 97.05%. In other words, nearly all traces remain correct after the MCMC boosting procedure.

 

Multiple seeds/standard deviations

We comprehensively provide the standard deviations for the science task, where the smaller gap between scores (relative to math) warrants uncertainty measures. We report standard error over 5 seeds.

New TaskPrior Tasks
ModelAlgorithmChemistry┃MMLUGPQAAMCMATH500GSM8KAvg.
SFT62.33% ± 0.47%┃58.60% ± 0.39%27.68% ± 2.12%29.16% ± 2.34%63.52% ± 1.23%87.07% ± 0.51%53.21% ± 0.69%
Qwen2.5-7B-InstructRewrite SFT60.53% ± 0.68%┃64.00% ± 0.37%27.90% ± 2.12%30.84% ± 3.20%66.84% ± 1.69%88.50% ± 0.16%55.62% ± 0.84%
SDFT/OPSD59.49% ± 1.49%┃65.08% ± 0.38%27.01% ± 2.10%34.69% ± 1.01%70.16% ± 1.24%89.85% ± 0.30%57.36% ± 0.54%
Boosted SFT (Ours)64.20% ± 1.21%┃69.21% ± 0.37%29.69% ± 2.16%37.84% ± 2.23%67.02% ± 0.54%88.49% ± 0.57%58.45% ± 0.65%

These results demonstrate that the separation between our method (boosted SFT) and the other baselines are statistically significant.

 

Quantifying compute cost and fair comparisons

We thank the reviewer for raising this point: we quantify the precise scaling cost below, and illustrate that we use less compute than the RL baselines while outperforming them, while other baselines’ performances do not scale with compute.

The fair unit of cost comparison here is inference overhead of boosting (i.e. token cost or equivalently per-trajectory sampling cost). In other words, per data sample, what inference multiplier does our boosting, GRPO/UFT, and SDFT require?

Concretely, for science the average sequence length is 732.8 tokens, and for math it is 616.9. Getting the total MCMC cost of incurring tokens divided by the number of sequence tokens (using sequence length T, block_size = 58, N_MCMC = 10), the average inference multiplier per trajectory is 31.6x for science and 26.6x for math. In other words, given the token cost for running one inference call across either training dataset, boosting incurs under 32x that token cost to prepare the SFT dataset as a one-time cost.

GRPO/UFT cycle through the same dataset and require 4 (RL group size) rollouts per sample, per epoch. By default, this baseline (reported [cite]) runs for 16 epochs, requiring a 64x token cost. In particular, our approach actually uses much less compute than RL, since we boost once per dataset, and directly finetune (no inference during training), while RL scales cost the longer it runs. Our results outperform GRPO/UFT with a much smaller compute overhead.

Finally, SDFT (also termed OPSD) requires 1 inference call per sample, per epoch, so the compute cost is lower. However, SDFT does not naturally scale with a higher compute budget. Indeed, the compute equivalent for SDFT is to run for 32 epochs of training, but SDFT generalization accuracy and forgetting deteriorate after 2 epochs on science and math. SDFT does not have another natural way of expanding compute budget; however, our approach of constructing a teacher policy much closer in KL divergence to the base model via MCMC enables a natural compute scaling axis that is complementary to SDFT.

 

References

[1]: Liu et. al. UFT: Unifying Supervised and Reinforcement Fine-Tuning (NeurIPS 2025)

Reviewer_M538OpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper proposes an algorithm that transforms off-policy SFT data to better align with the on-policy distribution of a reference model so that SFT with the transformed data can lead to a more generalizable and stronger model. The algorithm uses MCMC techniques to iteratively refine off-policy data into more on-policy trajectories. Through empirical experiments, the authors demonstrate that their proposed algorithm outperforms classic SFT as well as on-policy algorithms such as RLVR.

Strengths and weaknesses

Strengths:

  1. The paper is overall well motivated, and addresses an important question in post-training: how to more effectively leverage informative off-policy expert data.

  2. The theoretical perspective is clear and natural.

Weakness:

  1. The definition of all correct trajectories is loose. The authors explicitly state that semantic equivalence is intentionally defined loosely, but this is a central concept in the theoretical formulation and should be made more precise. When giving an example of semantically equivalent trajectory, the authors mention trajectory x that leveraging information from expert trace. However, it is unclear what it means to leverage information from the expert trace. Would a trajectory that misuses some information from the expert trace, but nevertheless reaches the correct final answer, be considered semantically equivalent?

  2. The paper only reports the accuracy in the tables without any notation of the ucerntainty level. For example, the GPQA performance is relatively close to chance level, so it is unclear how much variance should be expected and whether the observed differences between methods are statistically meaningful.

  3. The empirical experiments are only performed on Qwen models. To demonstrate the robustness of the results, it would be better to include additional models other than Qwen.

  4. The parameters of the empirical experiments are not fully documented. For example, the authors do not mention which value they choose for N_MCMC. Since this parameter likely affects both the quality of the boosted data and the computational cost, the selected values and associated sampling costs should be reported.

  5. A minor limitation is that the proposed method boosts expert data relative to the initial base policy, while the policy can drift during SFT. However, one could have an online version of the boosted SFT algorithm, where the newest policy is used to boost expert data online. It’s unclear to me if this would have a significant improvement. The authors do mention this in the limitation.

Other:

  1. One hypothesis of the observed improved performance when using boosted SFT is that the data somehow becomes better. It is then the quality of the data than the on-policy part of the data that leads to better performance. To rule this out, the authors could directly falsify this hypothesis by utilizing different model families for boosted SFT. One experiment would be to use model A for boosted SFT data generation and use it to train on model B compared with using the same model for boosted SFT data generation and training.
Questions
  1. Can you include a few examples comparing the final outputs from the algorithm with the initial expert data?
  2. Can you compare the pairwise improvement in average log probability in Figure 3?
  3. What would happen if one mixes the boosted SFT data with the expert data? Would this help the generalization etc.?
  4. What if one increases the SFT data by drawing more samples from the MCMC?
Limitations

The authors have listed 2 limitations at the end. But the major limitation of the paper is the usage of only Qwen family model to validate the results. I suggest the authors adding additional models for their experiments.

Paper formatting concerns

N/A

Final justification

The authors have addressed all my concerns except for W1 the loose definition part. Given the significant improvement of the paper, I am raising my score to 5 and recommending for acceptance.

Reviewer_cdAmOpenReview ↗
Rating
4
Clarity
4
Confidence
4
Originality
3
Quality
3
Significance
4
Read review
Summary

This paper tackles SFT's well-known problem of memorization and forgetting due to training on off-policy expert traces that are from the base model's own distribution. This is done by defining a set of all semantically equivalent trajectories for a given query and choosing the ones that are most likely under the base model, i.e., the I-projection of the base model distribution onto the set of correct trajectory distributions. The latter selection is done through off-policy boosting where for each trajectory, an MC chain is ran over candidate solutions and the selected trajectories happen to be those that preserve the expert information but have higher base model's likelihood adjusted by proposal probabilities.

Strengths and weaknesses

Strengths:

  • While several recent works have already framed SFT as off-policy and proposed data rewriting to shrink the policy gap before training (Mind the Gap, CHORD, SDFT, etc.), MCMC has also been exploited for training-free reasoning and distribution sharpening at inference time (Reasoning with Sampling). Hence, the novelty of the work lies in defining the boosted dataset distribution as p(x∣x∈C)p(x | x \in C), restricting the base model to the correct trajectories and proposing an approximate MH sampler to convert expert traces into samples from that distribution before SFT.
  • The MCMC sampling cost is one-time (on training dataset).
  • Better empirical results than SFT, GRPO and UFT on certain tasks and datasets.

Weaknesses:

  • The proposed method is valuable as a way of turning expert trajectories into base model-compatible SFT data, but its strongest empirical gains may reflect amortized search and distribution sharpening over pretrained capabilities rather than introducing new capabilities to frontier models (as the introduction suggests). Can the authors comment on this?

  • Since the target distribution is the base model restricted to correct trajectories, the approach might be biased toward capabilities already present in the base model’s support. Therefore, improvements on math/science benchmarks do not by themselves establish new capability acquisition. They may show that the model’s latent reasoning modes have been selected, sharpened, and distilled. Can the authors help clarify along this line of thought?

  • Using the prompt as the actual proposal might be prone to silently generating traces that are only superficially equivalent, e.g. in math/science, the final answer can be correct while the reasoning path is invalid. In fact learning, rare details may be normalized toward base model's priors. The paper’s formalism requires exact support on CC, but the implementation only uses prompt-induced approximate preservation. Can the authors clarify this?

Questions
  • The proposed boosting approach may be best understood as a method for verifiable reasoning and factual-update tasks, and not as a general post-training recipe. In its current form, the reliance on a binary correctness set and expert-conditioned proposal makes its applicability to open-ended or preference-based alignment unclear. Can the authors comment on this?

  • Also see the weaknesses. My major concern is that the proposed MCMC chain is only meaningful if proposals preserve validation in the correctness set. However, the paper does not sufficiently quantify proposal validity, semantic drift, reasoning faithfulness, or factual omission rates across MCMC steps. Similarly, compute and comparison fairness are only theoretically derived (Eq 9) but can in practice be substantial, especially because each MCMC step involves resampling completions and scoring likelihoods.

Limitations

Yes

Paper formatting concerns

It is well formatted.

Final justification

Raising my score in light of the evidence provided by the rebuttal.

1 comment

We thank the reviewer for their positive comments on our algorithmic novelty and empirical results! We address the reviewer’s concerns below:

Does boosting introduce new capabilities to models after finetuning or does it simply sharpen existing capabilities?

We thank the reviewer for asking this subtle but astute question! The following experiment demonstrates that models can indeed learn new capabilities with our dataset MCMC boosting method.

We compare the pass@k performance of a base model (with our new experiments, we use Olmo-3-7B-Instruct) with finetuning on the corresponding MCMC boosted dataset for the science reasoning task. We report the pass@k for k ranging in [1, 2, 4, 8, 16, 32, 64] in the table below.

1248163264
olmo (base)32.82%46.53%59.47%70.27%78.42%84.24%88.50%
olmo_boost (sft)58.32%67.23%78.80%87.64%93.32%96.22%97.67%
Δ (boost)+26.85%+20.70%+19.33%+17.37%+14.90%+11.98%+9.17%

If our transformed dataset was simply sharpening/distilling capabilities already in the base model, we would expect the pass@k curves to eventually converge. However, we see large, consistent jumps in pass@k accuracy even up to k=64. This demonstrates fundamentally new capabilities in the finetuned model not present in the pretrained base model.

We can also be more granular at the level of problems. We can identify individual “hard problems” that the base model cannot solve (0/64 attempts correct) but the finetuned model can start reliably solving (e.g. 0/64 -> 43/64, 0/64 -> 34/64 attempts correct), which again, serve as evidence for the acquisition of new capabilities.

This illustrates that even though our boosting algorithm targets base-model-compatible traces for SFT, the model still learns new capabilities with more in-distribution SFT traces.

 

Preserving validity in the correctness set.

We define semantic equivalence to an expert trace for our specific science/math task as “any trajectory leveraging information from the expert trace resulting in a correct final answer”. We can measure this directly by grading the correctness of the training dataset after its on-policy transformation: for science the boosted dataset retains 94.33% accuracy, and for math, 95.33%.

To go beyond verified tasks, such as fact-learning, and a demonstrative open-ended dataset that we conducted boosting on, i.e., medical question-answering with the dataset used here [1], we define a trajectory equivalence if a strong LLM grader (GPT5-mini) determines the two traces as equivalent. For these tasks, the MCMC process retains 97.05% consistency with the fact dataset and 95.86% with the medical. If rare details were corrupted towards base model priors, the grader would mark these as inconsistent.

Of course, we rely on prompt-induced approximate preservation in practice, but as these retained scores demonstrate, this preservation is strong and consistent with the original expert traces.

We will include these results in the revised main manuscript!

 

Applicability to open-ended and preference-based alignment

Since prompt proposals can input any information as privileged information, open-ended and preference-base alignment are also, in practice, possible by providing either expert responses or comparative responses in-context and generating boosted responses and preference pairs through the MCMC process. Full examination of the efficacy of such an approach remains an exciting future direction.

 

Compute and comparison fairness

We thank the reviewer for raising this point: we quantify the precise scaling cost below, and illustrate that we use less compute than the RL baselines while outperforming them, while other baselines’ performances do not scale with compute.

The fair unit of cost comparison here is inference overhead of boosting (i.e. token cost or equivalently per-trajectory sampling cost). In other words, per data sample, what inference multiplier does our boosting, GRPO/UFT, and SDFT require?

Concretely, for science the average sequence length is 732.8 tokens, and for math it is 616.9. Getting the total MCMC cost of incurring tokens divided by the number of sequence tokens (using sequence length T, block_size = 58, N_MCMC = 10), the average inference multiplier per trajectory is 31.6x for science and 26.6x for math. In other words, given the token cost for running one inference call across either training dataset, boosting incurs under 32x that token cost to prepare the SFT dataset as a one-time cost.

GRPO/UFT cycle through the same dataset and require 4 (RL group size) rollouts per sample, per epoch. By default, this baseline (reported [2]) runs for 16 epochs, requiring a 64x token cost. In particular, our approach actually uses much less compute than RL, since we boost once per dataset, and directly finetune (no inference during training), while RL scales cost the longer it runs. Our results outperform GRPO/UFT with a much smaller compute overhead.

Finally, SDFT (also termed OPSD) requires 1 inference call per sample, per epoch, so the compute cost is lower. However, SDFT does not naturally scale with a higher compute budget. Indeed, the compute equivalent for SDFT is to run for 32 epochs of training, but SDFT generalization accuracy and forgetting deteriorate after 2 epochs on science and math. SDFT does not have another natural way of expanding compute budget; however, our approach of constructing a teacher policy much closer in KL divergence to the base model via MCMC enables a natural compute scaling axis that is complementary to SDFT.

 

References

[1]: Chen et. al. HuatuoGPT-o1, Towards Medical Complex Reasoning with LLMs. (ACL 2025)

[2]: Liu et. al. UFT: Unifying Supervised and Reinforcement Fine-Tuning. (NeurIPS 2025)

Comments on the paper

1 comment
Meta-review

This paper proposes an MCMC-based method to transform off-policy expert traces into traces that are more likely under a reference model, followed by standard SFT. The paper finds that some limitations commonly attributed to SFT may instead arise from the distribution mismatch between expert data and the current model. There are several concerns that can be addressed during the rebuttal: (1) the method relies centrally on boosted traces remaining in the set of correct or semantically equivalent trajectories, but the operational definition and enforcement of this condition are unclear. (2) whether the method should be interpreted as eliciting/distilling capabilities already supported by the base model, rather than acquiring entirely new capabilities. Also explain the applicability beyond tasks with verifiable correctness. (3) available evidence on variance across runs for the main comparisons, especially where gains are small. (4) better quantify the offline sampling overhead and make cost comparisons with baselines as fair as possible (and the evaluation is limited to one model family).

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.