Self-Play Fine-Tuning Converts Weak Language Models to Strong Language Models
Zixiang Chen Affiliation: Department of Computer Science, University of California, Los Angeles, CA 90095, USA Yihe Deng Affiliation: Department of Computer Science, University of California, Los Angeles, CA 90095, USA Huizhuo Yuan Affiliation: Department of Computer Science, University of California, Los Angeles, CA 90095, USA Kaixuan Ji Affiliation: Department of Computer Science, University of California, Los Angeles, CA 90095, USA Quanquan Gu Affiliation: Department of Computer Science, University of California, Los Angeles, CA 90095, USA Correspondence to:
Abstract
Harnessing the power of human-annotated data through Supervised Fine-Tuning (SFT) is pivotal for advancing Large Language Models (LLMs). In this paper, we delve into the prospect of growing a strong LLM out of a weak one without the need for acquiring additional human-annotated data. We propose a new fine-tuning method called Self-Play fIne-tuNing (SPIN), which starts from a supervised fine-tuned model. At the heart of SPIN lies a self-play mechanism, where the LLM refines its capability by playing against instances of itself. More specifically, the LLM generates its own training data from its previous iterations, refining its policy by discerning these self-generated responses from those obtained from human-annotated data. Our method progressively elevates the LLM from a nascent model to a formidable one, unlocking the full potential of human-annotated demonstration data for SFT. Theoretically, we prove that the global optimum to the training objective function of our method is achieved only when the LLM policy aligns with the target data distribution. Empirically, we evaluate our method on several benchmark datasets including the HuggingFace Open LLM Leaderboard, MT-Bench, and da
原文 arXiv:2401.01335;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2401.01335v3