Raise a Child in Large Language Model: Towards Effective and Generalizable Fine-tuning

Runxin Xu, Fuli Luo, Zhiyuan Zhang, Chuanqi Tan, Baobao Chang +2 more
9/13/2021
242 citations
cs.CLcs.AI

Official code: alibaba/AliceMind (2,037 stars, Python, Apache-2.0, last commit 2024-03-19). 1 more implementation below.

Abstract

Recent pretrained language models extend from millions to billions of parameters. Thus the need to fine-tune an extremely large pretrained model with a limited training corpus arises in various downstream tasks.

Show full abstract

In this paper, we propose a straightforward yet effective fine-tuning technique, Child-Tuning, which updates a subset of parameters (called child network) of large pretrained models via strategically masking out the gradients of the non-child network during the backward process. Experiments on various downstream tasks in GLUE benchmark show that Child-Tuning consistently outperforms the vanilla fine-tuning by 1.5~8.6 average score among four different pretrained models, and surpasses the prior fine-tuning techniques by 0.6~1.3 points. Furthermore, empirical results on domain transfer and task transfer show that Child-Tuning can obtain better generalization performance by large margins.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
alibaba/AliceMindOfficial2,037PythonApache-2.02024-03-19
pkunlp-icler/ChildTuningOfficial34PythonMIT2021-09-29
alibaba/AliceMindOfficial100%
Apache-2.0

ALIbaba's Collection of Encoder-decoders from MinD (Machine IntelligeNce of Damo) Lab

2,037302Python, ShellMay 21, 20212 years agoApache-2.0
bertdeep-learningnatural-language-processingnlp
MIT
345Python, ShellSep 9, 20215 years agoMIT

Similar Papers

Cite this paper

@article{xu2021raise,
  title  = {Raise a Child in Large Language Model: Towards Effective and Generalizable Fine-tuning},
  author = {Runxin Xu and Fuli Luo and Zhiyuan Zhang and Chuanqi Tan and Baobao Chang and Songfang Huang and Fei Huang},
  year   = {2021},
  eprint = {2109.05687},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.05687}
}

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/2109.05687.svg)](https://codeofpaper.com/paper/2109.05687)

Discussion