Abstract
Fine-tuning pre-trained language models for multiple tasks tends to be expensive in terms of storage. To mitigate this, parameter-efficient transfer learning (PETL) methods have been proposed, but they still require a significant number of parameters and storage when applied to broader ranges of tasks. To achieve even greater storage reduction, we propose PROPETL, a novel method that enables efficient sharing of a single PETL module—which we call a prototype network (e.g., adapter, LoRA, and prefix-tuning)—across layers and tasks. We learn binary masks to select different sub-networks from the shared prototype network and apply them as PETL modules into different layers. We find that the binary masks can determine crucial information from the network, which is often ignored in previous studies. Our work can also be seen as a type of pruning method, where we find that overparameterization also exists in the seemingly small PETL modules. We evaluate PROPETL on various downstream tasks and show that it can outperform other PETL methods with approximately 10% of the parameter storage required by the latter.
Introduction
While Large Language Models (LLMs) have revolutionized natural language processing, the traditional approach of fine-tuning an entire model for every new task is prohibitively expensive. Parameter-Efficient Transfer Learning (PETL) methods—such as Adapters, LoRA, and Prefix-tuning—address this by updating only a tiny fraction (usually <1%) of the total parameters.
However, even these methods face a scaling challenge: the total number of parameters grows linearly with both the number of layers ($L$) and the number of tasks ($T$). For large-scale deployments serving hundreds of tasks, these "efficient" parameters accumulate into significant disk space requirements. PROPETL identifies a missed opportunity in current PETL research: the inherent redundancy and over-parameterization within the PETL modules themselves across different layers.
The PROPETL Framework
PROPETL (PROtotype Parameter-Efficient Transfer Learning) shifts the optimization focus from learning specific weight values to learning optimal sub-network structures. The framework consists of three core components:
1. Shared Prototype Network
Instead of initializing unique PETL modules for every layer of the transformer, PROPETL utilizes a single "prototype" module (e.g., one set of adapter weights) shared across the entire model. This drastically reduces the base parameter count before any task-specific learning begins.
2. Binary Masking and the Edge-Popup Algorithm
To differentiate the behavior of the shared prototype across layers, the model learns binary masks $m_l \in \{0, 1\}^n$ for each layer $l$. The effective weights for a specific layer are calculated as the element-wise product of the prototype and the mask: $\theta_{sub,l} = \theta_{pro} \odot m_l$.
To learn these discrete masks, the authors employ the "edge-popup" algorithm. Each weight is associated with a real-valued score; during the forward pass, only the top-$k\%$ weights with the highest scores are "popped up" (set to 1 in the mask), while the rest are set to 0. This allows the gradient to flow through the scores, effectively searching for the most important connections.
3. Hybrid Masks for Multi-Tasking
To handle multiple tasks efficiently, PROPETL decomposes the mask into a layer-specific component and a task-specific component. These are combined using a logical OR operation:
$$m_{hybrid} = m_{layer} \lor m_{task}$$
This hybrid approach allows the model to capture structural information that is relevant either to the depth of the network (layer-wise) or the specific domain of the task (task-wise).
Experimental Setup
The researchers evaluated PROPETL across three major benchmarks to test both understanding and generation capabilities:
- GLUE: General Language Understanding Evaluation for NLU tasks.
- XSum: Extreme Summarization for abstractive tasks.
- WMT16 Ro-En: Machine translation from Romanian to English.
The experiments utilized RoBERTa-base for NLU and T5 (Base and 3B versions) for generative tasks, providing a comprehensive view of the method's scalability.
Key Insights
Structure Over Values
A primary finding of this work is that the structure of the sub-network—which connections are active—is often more critical than the specific floating-point values of the weights. This reinforces the "Lottery Ticket Hypothesis" in the context of transfer learning, suggesting that finding the right sub-structure is the key to adaptation.
Over-parameterization in PETL
Even though Adapters and LoRA are considered "small," they still contain significant redundancy. PROPETL demonstrates that one can prune 50% of an adapter's weights and actually improve performance. This suggests that the sparsity constraints in PROPETL act as a form of regularization, forcing the model to find more robust and essential sub-structures.
Bit-Level Storage (BLS) Efficiency
Because the task-specific components in PROPETL are binary masks, they only require 1 bit per parameter, whereas standard PETL weights require 32 bits. This leads to a massive reduction in the final "Bit-Level Storage" needed to save a task's configuration, achieving a nearly 9x reduction in storage per task compared to standard PETL.
Results
- Performance Gains: On the GLUE benchmark, PROPETL$_{Adapter}$ achieved an average score of 86.60, outperforming standard Adapters (85.65) and even full fine-tuning (86.16).
- Extreme Scaling: On the T5-3B model, PROPETL matched the performance of standard adapters while using only 0.0016% of the storage per task relative to the full model.
- Sparsity Sweet Spot: A sparsity ratio of 0.5 (keeping 50% of the weights) generally yielded the best balance between model capacity and structural distinctiveness.
Limitations and Future Work
Despite its storage efficiency, PROPETL introduces some training overhead. The process requires storing 32-bit floating-point scores for every mask during training, meaning it uses slightly more memory than standard PETL during the optimization phase. Additionally, training masks can be slower to converge than training weights.
Future research will focus on the interpretability of these masks—investigating the functional differences between sub-networks in early versus late layers—and exploring the application of this masking strategy to the initial pre-training phase of LLMs.
Summary updated