yongliang-wu/DFT
[ICLR 2026] On the Generalization of SFT: A Reinforcement Learning Perspective with Reward Rectification. observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 95
- Release rhythm 35
- Longevity 28
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 398
- days_rel: n/a
- days_push: 32
- n_releases_24m: 0
Adoption not part of the score
1100 stars · 26 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
DFT (Dynamic Fine-Tuning) is the official implementation of an ICLR 2026 paper that improves Supervised Fine-Tuning of LLMs by dynamically rescaling the loss with token probabilities, rectifying the implicit reward structure of SFT gradients. It requires only a single-line change to standard SFT and improves generalization on math reasoning, code generation, and multi-modal benchmarks.
Use cases
- fine-tune an LLM with better generalization than standard SFT
- improve supervised fine-tuning for math reasoning tasks
- apply a one-line loss modification to an existing SFT pipeline
- use DFT as a streamlined alternative to offline RL fine-tuning
- reproduce ICLR 2026 paper results on models up to 7B parameters
When to choose
- you are fine-tuning LLMs on math or code datasets and want better generalization than vanilla SFT
- you want an RL-like generalization boost without running full RL training
- you are doing research on SFT vs RL training dynamics
When to avoid
- your fine-tuning domain is literary, financial, or otherwise outside math/code tasks where DFT is unproven
- you need a production-grade, licensed, well-supported training framework
- you work with models far beyond 7B parameters, which the paper did not evaluate
Facets
library · maturity active
llm-training machine-learning deep-learning large-language-models machine-learning deep-learning python sft fine-tuning reinforcement-learning research-paper iclr-2026 reward-rectification math-reasoning gpu
6 sources
- readme: https://github.com/yongliang-wu/DFT · fetched 2026-08-28 · c572b7b0f369
- homepage: https://arxiv.org/abs/2508.05629 · fetched 2026-08-29 · 6b1fa346495c
- site_page: https://info.arxiv.org/about/ourmembers.html · fetched 2026-08-29 · 47cbc55ff1de
- site_page: https://info.arxiv.org/about/donate.html · fetched 2026-08-29 · cca9c3a11c56
- site_page: https://info.arxiv.org/about · fetched 2026-08-29 · a1f16f915a9a
- site_page: https://info.arxiv.org/labs/index.html · fetched 2026-08-29 · b14a8d05a0ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| yongliang-wu/DFT | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="yongliang-wu/DFT")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem