Online Self-Weighted Fine-Tuning

๐Ÿ“… 2026-09-01
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
ไธบ่งฃๅ†ณๆ ‡ๅ‡†็›‘็ฃๅพฎ่ฐƒ(SFT)ไธญๆจกๅž‹่ƒฝๅŠ›ๅ˜ๅŒ–็š„้—ฎ้ข˜๏ผŒๆๅ‡บๅœจ็บฟ่‡ชๆƒ้‡ๅพฎ่ฐƒ(OSW-FT)๏ผŒ้€š่ฟ‡ๅฐ‘้‡ๆŽจ็†ๅ›žๆ”พไผฐ่ฎกๆˆๅŠŸ็އๅนถ่ฐƒๆ•ดๆŸๅคฑๆƒ้‡ใ€‚
๐Ÿ“ Abstract
Standard supervised fine-tuning (SFT) assigns the same explicit loss weight to every expert demonstration, regardless of the model's changing competence over training queries. Reinforcement learning (RL) based methods adapt update strength using model-generated rollouts, but often require substantially more sampling and can be unstable on hard tasks. We propose \textbf{Online Self-Weighted Fine-Tuning (OSW-FT)}, a simple method that augments SFT with online, trajectory-level weighting. For each query, OSW-FT estimates the model's current success rate using a small number of inference-only rollouts and rescales the standard SFT loss accordingly. The optimization direction remains anchored to the expert trajectory, while the update magnitude adapts online. For binary-verifiable reasoning, we connect this weighting to SFT and RL at the gradient level, inspired by variance-reduction principles. The resulting estimator is unbiased for the exact OSW-FT surrogate update for any finite rollout count, and we analyze convergence with respect to the corresponding surrogate objective. Evaluated across Qwen3 series ranging from 0.6B to 4B on multiple challenging benchmarks (e.g., AIME), OSW-FT consistently improves over SFT on small-to-medium scale models. OSW-FT offers a favorable compute-performance trade-off as a practical approach for fine-tuning small-to-medium LLMs on binary-verifiable reasoning tasks with only \textbf{2 online rollouts}.
Problem

Research questions and friction points this paper is trying to address.

Supervised Fine-Tuning
Reinforcement Learning
Model Competence
Rollouts
Update Strength
Innovation

Methods, ideas, or system contributions that make the work stand out.

Online Self-Weighted Fine-Tuning
trajectory-level weighting
binary-verifiable reasoning
unbiased estimator
compute-performance trade-off