Skip to main content
QUICK REVIEW

[Paper Review] Sparse Structure Search for Parameter-Efficient Tuning

Shengding Hu, Zhen Zhang|arXiv (Cornell University)|Jun 15, 2022
Modular Robots and Swarm IntelligenceEngineering6 citations
TL;DR

S3 PET proposes a differentiable, bi-level optimization framework for automatically searching sparse, parameter-efficient tuning (PET) structures in pre-trained models, using a shifted global sigmoid to explicitly control trainable parameter counts. It achieves over 99% of full fine-tuning performance with just 0.01% trainable parameters, outperforming manually designed structures while remaining transferable across tasks.

ABSTRACT

Adapting large pre-trained models (PTMs) through fine-tuning imposes prohibitive computational and storage burdens. Recent studies of parameter-efficient tuning (PET) find that only optimizing a small portion of parameters conditioned on PTMs could yield on-par performance compared to conventional fine-tuning. Generally, PET methods exquisitely design parameter-efficient modules (PET modules) which could be applied to arbitrary fine-grained positions inside PTMs. However, the effectiveness of these fine-grained positions largely relies on sophisticated manual designation, thereby usually producing sub-optimal results. In contrast to the manual designation, we explore constructing PET modules in an automatic manner. We automatically extbf{S}earch for the extbf{S}parse extbf{S}tructure of extbf{P}arameter- extbf{E}fficient extbf{T}uning (S$^3$PET). Based on a unified framework of various PET methods, S$^3$PET conducts the differentiable PET structure search through bi-level optimization and proposes shifted global sigmoid method to explicitly control the number of trainable parameters. Extensive experiments show that S$^3$PET surpasses manual and random structures with less trainable parameters. The searched structures preserve more than 99\% fine-tuning performance with 0.01\% trainable parameters. Moreover, the advantage of S$^3$PET is amplified with extremely low trainable parameters budgets (0.0009\%$\sim$0.01\%). The searched structures are transferable and explainable, providing suggestions and guidance for the future design of PET methods.

Motivation & Objective

  • To address the inefficiency and sub-optimality of manually designed PET modules in parameter-efficient fine-tuning.
  • To automatically discover optimal, sparse PET module structures that maximize performance under strict parameter budgets.
  • To develop a method that explicitly controls the number of trainable parameters during structure search.
  • To create transferable and explainable PET structures that generalize across downstream tasks.

Proposed method

  • Constructs a unified search space by applying probabilistic gating with structural parameters to all potential PET modules across layers and positions in pre-trained models.
  • Employs bi-level optimization to jointly optimize the architecture (structural parameters) and model weights, enabling differentiable structure search.
  • Introduces a shifted global sigmoid function to explicitly control sparsity and enforce a target number of trainable PET modules during search.
  • Treats the PET structure search as a constrained neural architecture search problem, leveraging performance feedback to guide structure selection.
  • Supports various PET modules (e.g., adapters, LoRA, BitFit) within a single, flexible search space for end-to-end optimization.
  • Uses a pre-trained backbone model as the foundation, avoiding training from scratch and focusing on efficient structure search.

Experimental results

Research questions

  • RQ1Can an automatic, differentiable method discover more effective PET module structures than human-designed ones under strict parameter budgets?
  • RQ2How can sparsity be explicitly controlled during the structure search to meet specific parameter efficiency requirements?
  • RQ3To what extent can the searched PET structures generalize across different downstream NLP tasks?
  • RQ4What patterns emerge in the optimal PET module placements, and are they interpretable and consistent across datasets?
  • RQ5How does the performance of the searched structure compare to baselines when the number of trainable parameters is extremely low (e.g., 0.0009%–0.01%)?

Key findings

  • S3 PET achieves 99% of full fine-tuning performance on GLUE with only 0.01% of the parameters being trainable, significantly outperforming manually designed structures.
  • On SuperGLUE, S3 PET recovers 98% of full fine-tuning performance with the same 0.01% parameter budget.
  • The method surpasses human-designed structures by using approximately 1/5 of the trainable parameters while maintaining or improving performance.
  • The searched structures are highly transferable: when trained on a target task after being searched on a source dataset, they often outperform structures directly searched on the target.
  • The shifted global sigmoid method outperforms $L_0$ regularization in sparsity control and performance, especially at ultra-low parameter budgets.
  • Visualization reveals that BitFit modules in higher-layer self- and cross-attention modules are highly preferred, and the last layers of encoder and decoder are consistently emphasized.

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.