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 search for the Sparse Structure of Parameter-Efficient Tuning ($S^3PET$). Based on a unified framework of various PET methods, $S^3PET$ 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^3PET$ 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^3PET$ is amplified with extremely low trainable parameters budgets (0.0009%~0.01%). The searched structures are transferable and explainable, providing suggestions and guidance for the future design of PET methods.
Introduction
As Pre-trained Models (PTMs) like T5 or GPT-3 scale to hundreds of billions of parameters, full fine-tuning becomes computationally and logistically prohibitive. Parameter-Efficient Tuning (PET) methods, such as LoRA, Adapters, and BitFit, offer a solution by updating only a tiny fraction of the model's weights. However, these modules are typically applied using heuristic, uniform patterns—for example, placing an adapter after every single layer. This paper argues that such manual designs are redundant and sub-optimal, as different layers and modules contribute differently to task adaptation. The authors propose $S^3PET$ to automatically discover the optimal, sparse configuration of these tuning modules.
Methodology: Automated Sparse Search
The $S^3PET$ framework transforms the selection of tuning modules into a Neural Architecture Search (NAS) problem. It operates on three core components:
- Unified Search Space: The framework integrates multiple PET techniques—LoRA, Adapters, BitFit, and LNFit—into a single searchable space. This allows the algorithm to determine not just the location of tuning but also the most effective method for each specific layer.
- Differentiable Search via Bi-level Optimization: To avoid the cost of training discrete architectures, $S^3PET$ uses a differentiable approach. By employing "probabilistic gating" with a Binary Concrete Distribution, the discrete "on/off" decisions for each module become differentiable, enabling optimization via standard gradient descent.
- Shifted Global Sigmoid: To enforce strict parameter budgets, the authors introduce a "shifted global sigmoid" mechanism. This uses a global threshold to control the expected number of trainable parameters, allowing for precise adherence to extreme sparsity targets (e.g., 0.01%).
Experimental Results
The researchers evaluated $S^3PET$ using a T5-large backbone across the GLUE and SuperGLUE benchmarks.
- Efficiency and Performance: $S^3PET$ maintained over 99% of full fine-tuning performance on GLUE while using only 0.01% of the model's parameters.
- Superiority at Extreme Sparsity: The performance gap between $S^3PET$ and random or manual baselines widens significantly as the parameter budget decreases. At ultra-low budgets (0.0009% to 0.01%), $S^3PET$ remains robust while other methods degrade rapidly.
- Transferability: Structures discovered on a "source" task (e.g., MNLI) often generalize well to other tasks, suggesting the existence of a near-universal efficient structure for specific model backbones.
Discussion and Insights
The search results provide several key takeaways for future model design. Optimal structures are often sparse and non-uniform, contradicting the standard practice of layer-wise consistency. The algorithm consistently prioritizes bias tuning (BitFit) in the higher decoder layers, particularly within attention modules, indicating these areas are vital for task-specific adaptation. Furthermore, the generated heatmaps offer a roadmap for manual PET design, showing that encoders prioritize Query sub-modules while decoders emphasize Value sub-modules.
While $S^3PET$ significantly reduces inference and storage costs, the search process itself involves bi-level optimization, which increases training time and memory usage compared to a single training run. Future work aims to optimize this search overhead and expand the search space to include more diverse PTM architectures.
Summary updated