Semi-supervised Fine-tuning for Large Language Models

Junyu Luo, Xiao Luo, Xiusi Chen, Zhiping Xiao, Wei Ju +1 more
10/17/2024
cs.CLcs.AI

No official code found. Best implementation: luo-junyu/SemiEvol (62 stars, last commit 2025-04-24).

Abstract

Supervised fine-tuning (SFT) is crucial in adapting large language model (LLMs) to a specific domain or task. However, only a limited amount of labeled data is available in practical applications, which poses a severe challenge for SFT in yielding satisfactory results. Therefore, a data-efficient framework that can fully exploit labeled and unlabeled data for LLM fine-tuning is highly anticipated.Towards this end, we introduce a semi-supervised fine-tuning(SemiFT) task and a framework named SemiEvol for LLM alignment from a propagate-and-select manner. For knowledge propagation, SemiEvol adopts a bi-level approach, propagating knowledge from labeled data to unlabeled data through both in-weight and in-context methods. For knowledge selection, SemiEvol incorporates a collaborative learning mechanism, selecting higher-quality pseudo-response samples. We conducted experiments using GPT-4o-mini and Llama-3.1 on seven general or domain-specific datasets, demonstrating significant improvements in model performance on target data. Furthermore, we compared SemiEvol with SFT and self-evolution methods, highlighting its practicality in hybrid data scenarios.

View on arXivView PDF

Code Implementations(1)

luo-junyu/SemiEvolCommunity100%

SemiEvol: Semi-supervised Fine-tuning for LLM Adaptation

627PythonOct 17, 20241 years ago

Similar Papers

Cite this paper

@article{luo2024semisupervised,
  title  = {Semi-supervised Fine-tuning for Large Language Models},
  author = {Junyu Luo and Xiao Luo and Xiusi Chen and Zhiping Xiao and Wei Ju and Ming Zhang},
  year   = {2024},
  eprint = {2410.14745},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.14745v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.14745.svg)](https://codeofpaper.com/paper/2410.14745)

Discussion