Skip to main content
QUICK REVIEW

[Paper Review] Raise a Child in Large Language Model: Towards Effective and Generalizable Fine-tuning

Runxin Xu, Fuli Luo|arXiv (Cornell University)|Sep 13, 2021
Topic ModelingComputer Science33 references4 citations
TL;DR

This paper proposes Child-Tuning, a novel fine-tuning method that improves performance and generalization in large language models by selectively updating only a subset of parameters (the 'child network') through gradient masking during backpropagation. It achieves up to 8.6-point gains over vanilla fine-tuning and consistently outperforms prior methods across GLUE benchmarks and transfer learning scenarios.

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. 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.

Motivation & Objective

  • Address the overfitting and poor generalization issues common in fine-tuning large pretrained language models on limited data.
  • Mitigate the risk of knowledge forgetting by restricting parameter updates to a subset of the model.
  • Develop a method that enhances both in-domain and out-of-domain transfer performance without adding parameters.
  • Explore task-free and task-driven strategies for identifying the most relevant parameter subnetworks (child networks) for fine-tuning.
  • Provide a technique orthogonal to existing regularization and parameter-efficient fine-tuning methods, enabling further performance gains when combined.

Proposed method

  • Apply a gradient mask during backpropagation to zero out gradients for all parameters not in the child network, allowing only the child network to be updated.
  • Use a task-free approach (Child-Tuning F) that applies a Bernoulli mask to the full gradient, introducing stochasticity for regularization.
  • Use a task-driven approach (Child-Tuning D) that identifies the most task-relevant parameters via Fisher Information Matrix (FIM) and masks gradients for non-child parameters.
  • Maintain full forward pass through the entire model to preserve knowledge from pretrained weights, unlike model pruning.
  • Detect the child network before training using FIM for Child-Tuning D, enabling efficient gradient masking during fine-tuning.
  • Integrate Child-Tuning with existing methods by applying the gradient mask as a post-processing step, making it orthogonal to other regularization techniques.

Experimental results

Research questions

  • RQ1Can selective parameter updating via gradient masking improve fine-tuning performance on small, in-domain datasets?
  • RQ2Does Child-Tuning enhance generalization to out-of-domain and cross-task transfer settings compared to vanilla fine-tuning?
  • RQ3How does the task-free variant (Child-Tuning F) compare to the task-driven variant (Child-Tuning D) in terms of performance and robustness?
  • RQ4To what extent can Child-Tuning be combined with existing fine-tuning techniques to further improve performance?
  • RQ5How stable and transferable are the identified child networks across different NLP tasks?

Key findings

  • Child-Tuning improves average performance by 1.5–8.6 points over vanilla fine-tuning across four different pretrained models on the GLUE benchmark.
  • Child-Tuning surpasses prior state-of-the-art fine-tuning methods by 0.6–1.3 points on average across the same benchmark.
  • On domain transfer and task transfer settings, Child-Tuning achieves significantly better generalization performance, with higher overlap in child network selection among similar tasks.
  • The task-driven child network selection (Child-Tuning D) shows higher Jaccard similarity (up to ~0.7) among NLI tasks like RTE, QNLI, and MNLI, indicating consistent identification of relevant parameters.
  • Child-Tuning F, the task-free variant, reduces overfitting on small datasets through gradient noise injection, improving generalization without requiring task data during detection.
  • Integrating Child-Tuning with existing methods leads to further performance gains, confirming its orthogonality and compatibility with current fine-tuning paradigms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.