Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

UFT: Unifying Fine-Tuning of SFT and RLHF/DPO/UNA through a Generalized Implicit Reward Function

About

By pretraining on trillions of tokens, an LLM gains the capability of text generation. However, to enhance its utility and reduce potential harm, SFT and alignment are applied sequentially to the pretrained model. Because SFT and alignment have different objectives and underlying processes, performance on certain tasks can decline. To address this, we seamlessly introduce Unified Fine-Tuning (UFT), which integrates SFT and alignment into a single training stage using the same objective and loss functions through an implicit reward function. Our experimental results demonstrate that UFT outperforms SFT on instruction-tuning data alone. Moreover, when combining instruction-tuning data with alignment data, UFT effectively prevents the degradation on some tasks across these two stages and shows a clear advantage over sequentially applying SFT and alignment. This is evident in the significant improvements observed in the \textbf{ifeval} task for instruction-following and the \textbf{truthful} task for factuality. The proposed general fine-tuning framework UFT establishes an effective and efficient paradigm for LLM post-training.

Zhichao Wang, Bin Bi, Zixu Zhu, Xiangbo Mao, Jun Wang, Shiyu Wang, Cheng Wang, Dong Nie, Lingzi Hong• 2024

Related benchmarks

TaskDatasetResultRank
Instruction FollowingAlpacaEval--
420
Instruction FollowingMT-Bench
MT-Bench Score6.78
287
Multi-turn dialogueMT-Bench
MT-Bench Score8.67
126
Language Model EvaluationOpen LLM Leaderboard v2 (test)
BBH46.55
47
LLM EvaluationHuggingFace Open LLM Leaderboard Old (test)
GSM8K Score90.68
14
General Language UnderstandingHuggingFace Open LLM Leaderboard New
BBH67.73
7
Showing 6 of 6 rows

Other info

Follow for update