본문 펼치기
# Light-PEFT: Lightening Parameter-Efficient Fine-Tuning via Early Pruning
Naibin Gu <sup>1,2</sup> , Peng Fu <sup>1,2*</sup> , Xiyu Liu <sup>1,2</sup> , Bowen Shen <sup>1,2</sup> , Zheng Lin <sup>1,2</sup> , Weiping Wang <sup>1</sup>
1Institute of Information Engineering, Chinese Academy of Sciences, Beijing, China
2School of Cyber Security, University of Chinese Academy of Sciences, Beijing, China
{gunaibin,fupeng,liuxiyu,shenbowen,linzheng,wangweiping}@iie.ac.cn
Abstract
Parameter-efficient fine-tuning (PEFT) has
emerged as the predominant technique for finetuning in the era of large language models.
However, existing PEFT methods still have inadequate training efficiency. Firstly, the utilization of large-scale foundation models during the training process is excessively redundant for certain fine-tuning tasks. Secondly, as
the model size increases, the growth in trainable parameters of empirically added PEFT
modules becomes non-negligible and redundant, leading to inefficiency. To achieve taskspecific efficient fine-tuning, we propose the
Light-PEFT framework, which includes two
methods: Masked Early Pruning of the Foundation Model and Multi-Granularity Early Pruning of PEFT. The Light-PEFT framework allows for the simultaneous estimation of redundant parameters in both the foundation model
and PEFT modules during the early stage of
training. These parameters can then be pruned
for more efficient fine-tuning. We validate our
approach on GLUE, SuperGLUE, QA tasks,
and various models. With Light-PEFT, parameters of the foundation model can be pruned
by up to over 40%, while still controlling trainable parameters to be only 25% of the original
PEFT method. Compared to utilizing the PEFT
method directly, Light-PEFT achieves training
and inference speedup, reduces memory usage,
and maintains comparable performance and the
plug-and-play feature of PEFT <sup>1</sup> .
1 Introduction
Large-scale pre-trained language models have
demonstrated outstanding performance in various
natural language processing domains (Liu et al.,
2019; Brown et al., 2020; Touvron et al., 2023;
OpenAI, 2023). Along with the performance improvements, the scale of model parameters contin
- Corresponding author: Peng Fu.
[1Our code is available at https://github.com/gccnlp/](https://github.com/gccnlp/Light-PEFT)
[Light-PEFT.](https://github.com/gccnlp/Light-PEFT)
ues to grow, making the cost of fine-tuning models
increasingly expensive. Moreover, the practice of
maintaining a separate copy of the large model for
each task in conventional fine-tuning incurs substantial storage costs.
To address these challenges, parameter-efficient
fine-tuning (PEFT) has been proposed: freezing
most parameters of the foundation model and finetuning only a small number of parameters (Houlsby
et al., 2019; Li and Liang, 2021; Liu et al., 2022a;
Hu et al., 2022), thereby reducing the computational resource requirements during training and
performing nearly full-parameter fine-tuning. In addition, this technique eliminates the need to save an
entire model copy for each task. During inference,
task-specific models can be obtained by switching directly to the appropriate parameter-efficient
module for the given task.
However, the training efficiency of existing
PEFT methods still needs improvement. The first
problem lies in the excessive redundancy of using a
large-scale foundation model during fine-tuning for
specific tasks, which results in substantial computational costs. A typical strategy is to integrate PEFT
with quantization (Dettmers et al., 2023; Kim et al.,
2023). Nonetheless, these methods only quantize
parameters to low-bit in memory, without reducing the number of parameters and they still need
to be dequantized to high-bit during training, leading to wasted training time. Another more direct
approach for reducing parameters is model structured pruning (Hedegaard et al., 2022; Zhao et al.,
2023). However, most methods mainly focus on
the inference efficiency of the model, which means
they may result in higher training costs.
The second problem is that as the size of the
foundation model increases, the number of parameters in added trainable modules also increases significantly. This introduces a lot of redundancy in
trainable parameters, leading to inefficiency in finetuning. For instance, the commonly used methods
7528
_Findings of the Association for Computational Linguistics:_ _ACL 2024_ pages 7528 7541
LoRA (Hu et al., 2022) and QLoRA (Dettmers
et al., 2023) empirically insert the low-rank modules onto fixed weight. However, there is no need
to uniformly add trainable modules of the same
rank to all weights for fine-tuning each task. An
improved approach is the dynamic rank method
(Zhang et al., 2023; Valipour et al., 2023; Ding
et al., 2023), which adaptively allocates module
parameters by progressively calculating the importance of the rank during training. However, these
methods require continuous estimation during training and show limited improvement in actual training efficiency.
In this paper, we introduce a novel framework
named Light-PEFT, which aims to enhance the efficiency of the PEFT technique during fine-tuning.
The framework consists of two methods: Masked
Early Pruning of Foundation Model and MultiGranularity Early Pruning of PEFT. In the early
training stage, Light-PEFT estimates redundant parameters in both the foundation model (heads and
intermediate dimensions) and the PEFT modules
(module importance and rank importance) simultaneously. Structured pruning is used to eliminate
this redundancy, resulting in a lighter foundation
model and PEFT module for more efficient finetuning.
To validate the effectiveness of our Light-PEFT
framework, we conduct extensive evaluations
on various foundation models (RoBERTa, OPT1.3B, OPT-6.7B), different PEFT structures (LoRA,
Adapter), and on diverse benchmarks (GLUE, SuperGLUE, and question-answering tasks). The
empirical results indicate that the proposed LightPEFT framework outperforms other baseline methods in performance. It significantly improves training efficiency that reduces training memory usage
by 39% and accelerates training to 1.6 _×_ . Additionally, the Light-PEFT framework improves inference efficiency that reduces inference memory
by 48% and increases inference speed to 1.6 _×_ .
2 Related Works
2.1 Parameter-Efficient Fine-Tuning
Parameter-Efficient Fine-Tuning has been proposed
to reduce the computational cost of fine-tuning entire model parameters (Houlsby et al., 2019; Li and
Liang, 2021; Hu et al., 2022). Following works
aim to further improve the efficiency of PEFT.
Improvements to the PEFT module. The motivation behind of this category of methods is that
previous works often insert trainable modules empirically, resulting in uniform ranks for all inserted
modules that are not parameter-efficient. AdaLoRA
(Zhang et al., 2023) proposes obtaining the optimal
rank for each module by iteratively pruning ranks
during training. DyLoRA (Valipour et al., 2023)
achieves this through dynamic training on a range
of ranks. AutoPEFT (Zhou et al., 2023) automatically selects PEFT configurations through Bayesian
optimization. Recently, SoRA (Ding et al., 2023)
introduces masks on the ranks and gradually makes
each module sparse. However, all of these methods gradually calculate the rank allocation during
training, which does not improve the actual training efficiency in fine-tuning. Our method estimates
the rank allocation for each module in the early
stage of training and utilizes the pruned parameterefficient modules to improve training efficiency
during fine-tuning.
Improvements to the training paradigm of
PEFT. To enhance training efficiency, one idea
is to further reduce the memory footprint during
training. QLoRA (Dettmers et al., 2023) and PEQA
(Kim et al., 2023) reduce memory usage by quantizing the foundation model, while LST (Sung et al.,
2022) and MEFT (Liao et al., 2023), respectively
alleviate the memory footprint of intermediate activations in the foundation model through methods
ladder side-tuning and reversible structures. Our
approach is orthogonal to these methods from a
memory perspective and can be combined with
them. We explore early-stage pruning of the foundation model to reduce memory usage. Moreover,
our approach can lower computational costs, speed
up training, and improve inference efficiency.
Combining PEFT with pruning, most of works
focus on improving inference efficiency. PST (Li
et al., 2022) and DSEE (Chen et al., 2023) propose combining unstructured pruning and PEFT,
which hardly achieves acceleration on practical
hardware. SPAs (Hedegaard et al., 2022) integrates
structured pruning of the foundation model with
PEFT, while CPET (Zhao et al., 2023) proposes
distilling knowledge into PEFT modules simultaneously with pruning to reduce performance degradation. Concurrently to our works, APT (Zhao
et al., 2024) reduces the training cost of the CPET
method, presenting more efficient distillation and
pruning. However, these methods, including APT,
still require higher training time and memory costs
compared to the original PEFT methods. Our approach aims to reduce the original PEFT training
7529
costs, including speed and memory, by employing early-stage structured pruning to train a nonredundant PEFT model efficiently, while improving
inference efficiency simultaneously.
2.2 Structured Pruning of Models
Model pruning has been proposed to compress
redundant parameters in models (LeCun et al.,
1989; Kurtic et al., 2022; Liu et al., 2022b; Ma
et al., 2023), with structured pruning being the
most straightforward method to achieve acceleration on actual hardware. For the structured pruning
of Transformer models, the focus lies in pruning
components of the model, such as attention heads
and feed-forward dimensions (Liu et al., 2021; Xia
et al., 2022; Tao et al., 2023; Xia et al., 2024). However, most structured pruning works require additional costs during training to obtain smaller and
more accurate models for inference efficiency. In
terms of training efficiency, You et al. (2020) base
on the lottery ticket hypothesis (Frankle and Carbin,
2019) and discover the existence of early winning
tickets in DNN models, allowing early pruning
to enhance subsequent training efficiency. Subsequently, Chen et al. (2021) identify early tickets in
BERT models (Devlin et al., 2019) to enhance the
efficiency of BERT’s pre-training and fine-tuning.
We follow these works and explore early pruning
in parameter-efficient fine-tuning and generative
foundation models.
3 Preliminaries
3.1 Parameter-Efficient Fine-Tuning
In our framework, we choose two of the most
widely used methods: Adapter (Houlsby et al.,
2019) and LoRA (Hu et al., 2022) to validate our
approach.
Adapter. For each layer in the foundation model,
including the attention sub-layer and the feedforward sub-layer, Adapter inserts a trainable MLP
module after each sub-layer. It consists of a downprojection layer _Wdown_ _∈_ _R_ <sup>_d×r_</sup>, followed by a
non-linear activation function _f_, and finally an upprojection layer _Wup_ _∈_ _R_ <sup>_r×d_</sup>, where _d_ is the hidden size of the foundation model, and _r_ is the bottleneck dimension in the trainable module, with
_r_ _≪_ _d_ . The Adapter method can be formulated as
follows:
_h ←_ _h_ + _f_ ( _hWdown_ ) _Wup_ (1)
where _h_ is the output of the inserted sub-layer.
LoRA. For each linear weight matrix _W_ _∈_ _R_ <sup>_d×d_</sup>
in the foundation model, the LoRA method adds
trainable MLP modules in parallel to _W_ . The
trainable module includes a down-projection layer
_Wdown_ and an up-projection layer _Wup_ . The LoRA
method can be be formulated as follows:
_h ←_ _h_ + _s · XWdownWup_ (2)
where _X_ represents the input to the linear weight
matrix _W_ and _s_ is a hyper-parameter scaling factor.
3.2 PEFT Training Efficiency
In this section, we present observations on the training efficiency of PEFT. We utilize LoRA to observe
the results on two foundation models, RoBERTa
(Liu et al., 2019) and OPT (Zhang et al., 2022).
For training samples, we set the length to 128
with a batch size of 32 and the time is the sum
of 10 batches. All tests are conducted on a single
NVIDIA RTX 3090 GPU.
The impact of foundation models size. From the
perspective of training speed (Figures 1a), PEFT
methods reduce the gradient computation time, so
the forward pass time gradually surpasses the backward pass time. Nonetheless, the forward calculation is still unchanged and needs to use all model
parameters to propagate the state forward and backpropagate the loss through the entire model, becoming slower as the model size increases. From the
memory perspective (Figure 1b), although PEFT
techniques reduce the memory consumption of optimizer states and gradients, the model weights and
intermediate activations still occupy a significant
amount of memory during training. Compressing
the foundation model to a smaller size can better
alleviate it. This highlights the importance of reducing the parameter redundancy of the foundation
model for training efficiency.
20.0
17.5
15.0
12.5
10.0
7.5
5.0
2.5
~~Weights~~
Activations
~~Peak~~
7
6
5
4
3
2
1
<u>Forward Pass</u>
Backward Pass
<u>All</u>
0 125m 350m 1.3b 2.7b
(a) Training Time
0.0 125m 350m 1.3b 2.7b
(b) Memory Usage
Figure 1: Impact of the foundation model size on training efficiency. The experiments are conducted on OPT
models (FP16). As the size of foundation models increases, the time for forward and backward pass during
training and the required memory significantly increase.
7530
The impact of PEFT modules. We explore the
impact of intra-module rank and the number of
PEFT modules on training efficiency. From the
perspective of training speed, Figure 2a presents
experiments where we keep same modules and
only increase the rank. Figure 2b shows experiments where we keep the same trainable parameter, adding structured PEFT modules to different
weights. It can be observed that when increasing
the number of PEFT modules compared to varying the rank, both forward and backward times
significantly increased. This indicates that, during
training, the impact on speed of adding more structured PEFT modules is significantly larger than that
of increasing in rank of a single structured module.
From a memory perspective, the trainable parameters affect the memory consumption of optimizer
states and gradients during training. As the size of
the foundation model increases, the redundancy introduced by empirically adding trainable parameter
modules impacts training efficiency.
Pruning of PEFT to reduce the redundancy of the
trainable parameters. First, both methods in our
framework simultaneously estimate redundancies
during the early stage of training, where the total
training steps are denoted as _t_, and the estimation
for early pruning steps denoted as _t_ <sup>_′_</sup>, _t_ <sup>_′_</sup> _≪_ _t_ . After
estimation, we prune redundancies in both, thus obtain a non-redundant foundation model and PEFT
modules for more efficient fine-tuning. Besides
the PEFT parameters, we only need to additionally
save mask vectors, which are much smaller than
PEFT modules, to record the pruning index of the
foundation model. During inference, our method
allows the masks and PEFT modules to be easily
changed, maintaining the plug-and-play feature.
4.2 Masked Early Pruning of Foundation
Model
A typical Transformer model (Vaswani et al., 2017)
consists of _L_ layers, each with a multi-head attention (MHA) sub-layer and a feed-forward network (FFN) sub-layer. A MHA sub-layer contains _NH_ attention heads and weight matrices
_WQ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_, W_</sup> _K_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_, W_</sup> _V_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∈_ R <sup>_d×dH_</sup>, _WO_ _∈_ R <sup>_d×d_</sup> are used
3.0
2.5
2.0
1.5
1.0
0.5
0.0
Q
(r=16)
Q
(r=16)
Forward Pass
Backward Pass
1.43 1.48 1.52
0.32 0.32 0.32
0.32 0.37 0.45
Forward Pass
Backward Pass
1.43
2.32
_WQ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_, W_</sup> _K_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_, W_</sup> _V_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∈_ R <sup>_d×dH_</sup>, _WO_ _∈_ R <sup>_d×d_</sup> are used
for query, key, value and output, where _d_ is the
hidden size and _dH_ = _d/NH_ is the hidden size
of a head. In parameter-efficient fine-tuning, the
weights of the foundation model are frozen, and
we add the PEFT module’s ∆ _W_ to these matrices.
Taking the LoRA module as an example, for an
input _X_ the output of the MHA is calculated as
follows:
_Q_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_, W_</sup> _K_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_K_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_, W_</sup> _V_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
1.83
Q
(r=64)
Q
(r=256)
3.0
2.5
2.0
1.5
1.0
0.5
0.0
Q, V
(r=8)
Q, K, V, O
(r=4)
(a) Module rank
(b) Number of modules
Figure 2: Impact of intra-module rank and the number
of PEFT modules on training speed. The experiments
are conducted on RoBERTa-Large (FP32). Q, K, V, O
denote the Query, Key, Value and Output matrices in
the foundation model’s attention sub-layer. (a) Keeping
the same number of modules and increasing the rank
results in a relatively small change in pass time. (b)
Increasing the number of modules while keeping the
same trainable parameters leads to a significant change
in pass time.
4 Methodology
4.1 Overview of Light-PEFT
Our goal is to eliminate parameters redundancies in
the early stage, thereby reducing the computational
costs of fine-tuning. Thus, we propose the LightPEFT framework as shown in Figure 3, which consists of two methods: Masked Early Pruning of
Foundation Model to reduce the redundancy of
the foundation model and Multi-Granularity Early
_head_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = ( _WQ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
<sup>(</sup> _Q_ <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup>
_Q_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>+ ∆</sup> <sup>_W_</sup> <sup>(</sup> _Q_ <sup>_i_</sup> <sup>)</sup>
_WK_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_K_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>+ ∆</sup> <sup>_W_</sup> <sup>(</sup> _K_ <sup>_i_</sup> <sup>)</sup>
<sup>(</sup> _K_ <sup>_i_</sup> <sup>)</sup> <sup>_, W_</sup> _V_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_V_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> + ∆ _W_ <sup>(</sup> _V_ <sup>_i_</sup> <sup>)</sup>
<sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_V_ <sup>_, X_</sup> <sup>)</sup>
(3)
(4)
MHA( _X_ ) = _Concat_ ( _head_ <sup>(1)</sup> _, ...,_
_head_ <sup>(</sup> <sup>_NH_</sup> <sup>)</sup> )( _WO_ + ∆ _W O_ )
To identify redundancy in attention heads, we introduce a trainable scalar mask _mA_ in each layer’s
MHA sub-layer. Now the MHA becomes:
_head_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _m_ <sup>(</sup> _A_ <sup>_i_</sup> <sup>)</sup>
_Q_ <sup>+ ∆</sup> <sup>_W_</sup> <sup>(</sup> _Q_ <sup>_i_</sup> <sup>)</sup>
<sup>(</sup> <sup>_i_</sup> <sup>)</sup>
<sup>(</sup> _Q_ <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup>
_V_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> + ∆ _W_ <sup>(</sup> _V_ <sup>_i_</sup> <sup>)</sup>
_WK_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_K_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>+ ∆</sup> <sup>_W_</sup> <sup>(</sup> _K_ <sup>_i_</sup> <sup>)</sup>
<sup>(</sup> _A_ <sup>_i_</sup> <sup>)</sup> <sup>_·_</sup> <sup>(</sup> <sup>_W_</sup> <sup>(</sup> _Q_ <sup>_i_</sup> <sup>)</sup>
<sup>(</sup> _K_ <sup>_i_</sup> <sup>)</sup> <sup>_, W_</sup> _V_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
<sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_V_ <sup>_, X_</sup> <sup>)</sup>
(5)
For a FFN sub-layer, which contains activation function Act( _·_ ) and weight matrices _Wfc_ 1
and _Wfc_ 2 which denote up-projection and downprojection. With PEFT modules, for an input _X_
the output of the FFN is calculated as follows:
7531
FFN( _X_ ) =Act( _X_ ( _Wfc_ 1 + ∆ _Wfc_ 1))
(6)
_·_ ( _Wfc_ 2 + ∆ _Wfc_ 2)
Masked Early Pruning
of Foundation Model
FFN Pruning
Head Pruning
Multi-Granularity
Early Pruning of PEFT
Module Pruning
Rank Pruning
_WQ_ _WK_ _WV_
_Wemb_
Early Pruning More Efficient Fine-Tuning
ℒ!"#$ ℒ
_L_ × _L_ ×
_Wfc2_
_Wfc1_
_WO_
Feed-Forward
Attention
_Wfc2_
_Wfc1_
_WO_
Feed-Forward
Attention
_WQ_ _WK_ _WV_
_Wemb_
Figure 3: Illustration of Light-PEFT. The left side shows the two methods in Light-PEFT. On the right side is an
illustration of the paradigm. Firstly, both methods simultaneously estimate redundancies during the early-stage of
training. After estimation, Light-PEFT prunes redundancies in both, obtaining a non-redundant foundation model
and PEFT modules for more efficient fine-tuning.
We also introduce a trainable scalar mask _mF_ in
each layer’s FFN sub-layer to eliminate redundancy
in intermediate dimension. Now the FFN become:
FFN( _X_ ) =Act( _X_ ( _Wfc_ 1 + ∆ _Wfc_ 1)) _· mF_ (7)
_·_ ( _Wfc_ 2 + ∆ _Wfc_ 2)
Inspired by Liu et al. (2017), we then use L1
regularization to learn masks _mA_ and _mF_ . During
the mask learning, the PEFT module and the mask
are trained jointly using gradient descent, which
allows the mask to better present the impact of
PEFT to the foundation model training on the target
task. The loss function is as follows:
_Lmask_ = _L_ + _λA∥mA∥_ 1 + _λF ∥mF ∥_ 1 (8)
where _L_ is the original loss in fine-tuning, _λA_ and
_λF_ are hyper-parameters to control the penalty of
regularization (see Appendix A.4 for details). The
masks are initialized to 1 at the beginning of training.
After estimating, we perform structured pruning on attention heads with pruning ratio _ρA_ layerwise and intermediate dimensions with _ρF_ globally
based on the magnitudes of _mA_ and _mF_ .
4.3 Multi-Granularity Early Pruning of PEFT
In comparison to the fine-grained sparsity (i.e. rank
allocation) that is the focus of most previous works
(Zhang et al., 2023; Valipour et al., 2023), our
preliminary observation also confirms the significance of coarse-grained module pruning for training speed. Therefore, we propose multi-granularity
PEFT pruning to consider both aspects simultaneously. Furthermore, we perform pruning PEFT
in the early stage to maximize efficiency during
training.
4.3.1 Modules Pruning
To achieve coarse-grained module pruning, we begin with the original design of PEFT, where we
believe that the importance of a module is primarily
determined by the change it brings to the original information. Specifically, for the LoRA method, we
add a trainable module _WdownWup_ on the weight
_W_ . Thus, given an input _X_, the importance ratio
_IM_ is defined as:
where _∥·∥_ 2 represents the L2 norm, measuring the
magnitude of the vector output from the PEFT module. Because one of the weight matrices in the
PEFT module, such as _Wup_ in the LoRA method,
is typically initialized to zero. Therefore, during
training, the ratio of the output magnitude of the
LoRA module to the weight _W_ ’s output magnitude
_IM_ = <sup>_<u>∥X</u>_</sup> <sup>_<u>· WdownWup∥</u>_</sup> <sup><u>2</u></sup>
_∥X_ _· W_ _∥_ 2
(9)
7532
indicates the importance of the changes required
by the module added at that position.
For the Adapter method, a trainable module is
added after a sub-layer. Given the output _h_ of
the previous sub-layer, the importance ratio _IM_ is
defined as:
_IM_ = <sup>_<u>∥f</u>_</sup> <sup><u>(</u></sup> <sup>_<u>hWdown</u>_</sup> <sup><u>)</u></sup> <sup>_<u>Wup∥</u>_</sup> <sup><u>2</u></sup>
_∥h∥_ 2
(10)
tasks from GLUE (Wang et al., 2019b) and SuperGLUE (Wang et al., 2019a) and six questionanswering (QA) tasks. Because our goal is to enhance training efficiency, training on small datasets
does not hold much significance. As a result, we
choose four larger datasets from GLUE including
MNLI (Williams et al., 2018), QNLI (Rajpurkar
et al., 2016), QQP <sup>2</sup>, and SST-2 (Socher et al., 2013),
and four larger datasets from SuperGLUE comprising ReCord (Zhang et al., 2018), WiC (Pilehvar and Camacho-Collados, 2019), BoolQ (Clark
et al., 2019), and MultiRC (Khashabi et al., 2018).
For MNLI, we report accuracy on the matched
validation set. For QNLI, QQP, SST-2, WiC and
BoolQ we report accuracy. For ReCord we report
F1 and for MultiRC we report F1 over all answeroptions (F1 _a_ ). The QA tasks include OpenBookQA
(Mihaylov et al., 2018), PIQA (Bisk et al., 2020),
ARC-Easy and ARC-Challenge (Clark et al., 2018),
SciQ (Welbl et al., 2017) and WebQuestions (Berant et al., 2013). We report accuracy on all QA
tasks by lm-evaluation-harness (Gao et al., 2023).
Baselines. We use RoBERTa-Large for NLU tasks,
OPT-1.3B and OPT-6.7B for QA tasks as foundation models. We choose several baselines to verify
the effectiveness of our method. Full-FT is the
conventional approach for fine-tuning. Adapter
(Houlsby et al., 2019) and LoRA (Hu et al., 2022)
are original structures we used in our framework.
LayerDrop (Fan et al., 2020) is a strong baseline
method that enhances training efficiency by dynamically dropout layers during training. We reimplement it combining with LoRA method. LST
(Sung et al., 2022) improves model training efficiency by avoiding backpropagation in the foundation model. Offsite-Tuning (Xiao et al., 2023)
uses a emulator derived from the foundation model
for efficient training, and replaces the emulator’s
layers back into the foundation model for inference.
LLM-Pruner (Ma et al., 2023) prunes model on
small amount of task-agnostic corpora and restores
performance using LoRA, thereby improving training efficiency. We re-implement their original taskagnostic pruning and add a task-specific pruning
implementation using 1k random samples from
task data.
Implementation. For the GLUE benchmark, we
control the estimation steps for early pruning to be
around 5% of the total training steps. For the more
2https://data.quora.com/First-Quora-Dataset-ReleaseQuestion-Pairs
where _IM_ represents the change in information of
the Adapter module on the output information _h_ of
the previous sub-layer.
In the implementation, to better estimate the
importance of all added positions for the LoRA
method, we add LoRA modules on all weights of
the foundation model. This may result in higher
costs compared to the original LoRA in the short
term, but our early estimation steps are significantly
smaller than the total training steps, allowing for a
substantial reduction in total costs. For the Adapter
method, we follow the original approach by adding
them after both the MHA and FFN sub-layers. After estimation, we use _IM_ to globally prune the
entire PEFT modules with the pruning rate _ρM_ .
4.3.2 Ranks Pruning
In addition to coarse-grained pruning, we further
perform fine-grained pruning on the rank of the
modules. This allows us to reduce more trainable
parameters and enhance training efficiency. Our
motivation is based on the fact that not all modules require the same rank allocation. To eliminate
redundant ranks, we use the first-order Taylor expansion (Molchanov et al., 2017) to estimate the
importance _IWi,j_ of each parameter connected to
the rank in the PEFT module:
_IWi,j_ =
_<u>∂L</u>_
_∂Wi,j_
����
_Wi,j_
(11)
����
where _Wi,j_ represents the i-th row and j-th column
of parameters in _Wdown_ or _Wup_ of the PEFT module. The importance of the rank _IR_ is the sum of
the importance _IWi,j_ of all parameters corresponding to the rank in the column of _Wdown_ and the row
of _Wup_ . After estimation, we globally prune the
unimportant ranks with pruning rate _ρR_ .
5 Experiments
5.1 Experimental Setup
Datasets and evaluation. We conduct experiments
on eight natural language understanding (NLU)
7533
#Trainable
Method
Params
#Foundation
Model Params
GLUE Training
Speed up
MNLI QNLI QQP SST-2 Avg.
Full-FT 355.0M 100% 90.4 94.7 92.2 96.4 93.4 0.7 _×_
Adapter 0.8M 100% 90.8 94.7 91.5 96.3 93.3 1 _<u>×</u>_
LoRA 0.8M 100% 90.6 94.9 91.6 96.2 93.3 1 _<u>×</u>_
LayerDrop 0.5M 67% 87.4 91.7 88.3 94.7 90.5 1.4 _×_
LST 8.6M 100% 86.7 90.2 89.7 95.1 90.4 1.4 _×_
Ours (Adapter) 0.3M 72% 88.3 93.2 89.8 95.6 91.7 1.4 _<u>×</u>_
Ours (LoRA) 0.3M 72% <u>89.4</u> <u>93.6</u> 89.7 <u>95.9</u> <u>92.2</u> 1.4 _<u>×</u>_
Ours (Adapter) 0.3M 67% 87.6 93.1 89.1 95.4 91.3 1.6 _<u>×</u>_
Ours (LoRA) 0.3M 67% <u>89.0</u> <u>93.5</u> <u>89.2</u> <u>95.8</u> <u>91.9</u> <u>1.6</u> _<u>×</u>_
Table 1: Results of GLUE benchmark. The training speed is measured on a single NVIDIA TITAN RTX 24GB GPU
with batch size=32 and sequence length=128. Note that the speed computed here also includes the time required for
estimation before pruning.
challenging SuperGLUE benchmark, we set the
estimation steps to be within 10%. For QA tasks,
we uniformly use 10% of the training steps. Please
refer to the Appendix A.1 for detailed pruning settings, as well as other training details.
5.2 Experimental Results
5.2.1 Experiments on NLU Tasks
We first evaluate our method on the GLUE bench
mark. As shown in Table 1, we achieve comparable
performance with the original method while using
72% of the foundation model parameters (pruning
5/16 of the heads and 1/3 of the FFN intermediate dimensions) and 0.3M trainable parameters by
pruning PEFT modules and ranks. This results in a
1.4 _×_ training speedup and improvements in memory usage due to pruning. Furthermore, our method
outperforms the baseline methods with the same
speed, having fewer trainable parameters. When increasing the pruning rate and retaining 67% of the
parameters in the foundation model, Light-PEFT
achieves a 1.6 _×_ training speedup while still ensuring slightly better performance than the baselines.
On the more challenging SuperGLUE benchmark,
as shown in Table 2, we prune 4/16 of the heads and
30% of the FFN intermediate dimensions, retaining
76% of the parameters in the foundation model and
0.3M trainable parameters. This achieves performance comparable to the original PEFT method
, demonstrating the effectiveness of our method
Masked Early Pruning of Foundation Model.
5.2.2 Experiments on QA Tasks
For the QA tasks (Table 3), we first conduct experiments on OPT-1.3B. We prune parameters (12/32
Adapter 0.8M 100% 89.5 71.0 84.3 82.4 81.8
Ours 0.3M 76% 86.0 70.1 81.2 76.0 78.3
LoRA 0.8M 100% 88.3 72.7 84.1 82.7 82.0
Ours 0.3M 76% 86.6 70.2 83.3 78.0 79.5
Table 2: Results of SuperGLUE Benchmark. #T.P. denotes the trainable parameters. #F.P. denotes the proportion of parameters retained after pruning the foundation
model.
heads and 2/5 intermediate dimensions), retaining
64% of the foundation model parameters and 1.5M
trainable parameters, achieving comparable performance to the original method. When the trainable
parameter in the original LoRA method is set to
1.57M (r=8), our method outperforms the original
LoRA under fewer foundation model parameters,
which demonstrates the effectiveness of our method
Multi-Granularity Early Pruning of PEFT.
Compared to Offsite-Tuning, our method
achieves better performance without the high training costs of the distillation. Compared to LLMPruner, our method outperforms both task-agnostic
and specific implementations, and our pruning
process does not require the large model’s gradients, leading to significantly reduced computational
costs. Even when pruning it to 54%, we maintain
better performance than the baselines.
On the larger OPT-6.7B model, pruning more
foundation model parameters than OPT-1.3B and
using 5.2M trainable parameters, we achieve performance comparable to the original method. When
reducing trainable parameters to 2M, our method
still demonstrates good performance. These ex
SuperGLUE
Method #T.P. #F.P.
ReCord WiC BoolQ MultiRC Avg.
7534
#Trainable
Method
Params
#Foundation
Model Params
QA Tasks
OpenBookQA PIQA ARC-E ARC-C SciQ WebQs Avg.
OPT-1.3B
Full-FT 1.3B 100% 31.4 75.2 61.3 27.7 92.5 31.2 53.2
Offsite-Tuning - 100% 29.0 74.5 59.4 27.8 92.9 26.2 51.6
LoRA (r=64) 12.6M 100% 33.6 74.7 59.5 29.5 92.0 29.8 53.2
LoRA (r=8) 1.6M 100% 29.6 74.6 59.9 29.1 93.0 28.7 52.5
LLM-Pruner (ag.) 10.6M 70% 29.0 72.4 54.0 24.7 89.2 20.7 48.3
LLM-Pruner (sp.) 10.6M 70% 30.4 72.9 55.9 27.6 88.7 26.5 50.3
Ours (LoRA) 1.5M 64% 33.2 74.1 59.0 28.4 92.7 28.6 52.7
Ours (LoRA) 1.9M 54% 33.2 72.6 57.6 27.5 91.8 28.2 51.8
OPT-6.7B
Offsite-Tuning - 100% 33.8 77.7 66.8 33.9 91.9 23.9 54.7
LoRA (r=64) 33.6M 100% 39.2 78.5 67.5 36.7 94.0 38.5 59.1
Ours (LoRA) 5.2M 52% 39.4 74.9 63.4 32.7 92.9 35.8 56.5
Ours (LoRA) 2.0M 52% 37.2 76.0 64.4 31.7 93.3 34.7 56.2
Table 3: Results of QA Tasks. Full-FT and Offsite-Tuning results are from Xiao et al. (2023). For the original LoRA
method, we add modules (rank=64) to the Query and Value matrices to achieve results similar to Full-FT. For the
LLM-Pruner method, We re-implement their original task-agnostic pruning (ag.) and add a task-specific pruning
(sp.) implementation using 1k random samples from task data.
PEFT Pruning
Strategy
LoRA Adapter
QNLI SST-2 QNLI SST-2
2.2
0.37 0.31
1.36
0.92
10
8
6
4
2
7.67
all 93.5 95.8 93.1 95.4
w/o module p. 93.8 96.1 92.9 95.5
w/o rank p. 93.8 95.8 93.2 95.2
w/o all 93.6 95.6 93.0 95.1
Table 4: Ablation Study of Multi-Granularity Early
Pruning of PEFT. We investigate the results of not using
coarse-grained module pruning (w/o module p.), not
using fine-grained rank pruning (w/o rank p.), and not
using any PEFT pruning (w/o all).
perimental results demonstrate that in QA tasks,
we can use the Light-PEFT framework to remove
more redundant parameters from the foundation
model and trainable modules, improving training
efficiency while ensuring performance.
5.3 Analysis
5.3.1 Ablation Study
In the Section 5.2, we have demonstrated the performance of foundation model pruning (more experiments in Appendix A.2). Here, we conduct
ablation study to examine two PEFT pruning strategies, module pruning and rank pruning (Table 4).
Compared to not using any PEFT pruning, using
module pruning or rank pruning generally improves
generalization and thus enhances performance in
most cases, indicating the effectiveness of the two
proposed pruning strategies. Moreover, by combin
Figure 4: Training Efficiency. The experiments are conducted on RoBERTa-Large, and we set batch size=32
and sequence length=128. Our method retains 67% of
foundation model parameters and 0.3M trainable parameters.
ing the two pruning strategies, the model maintains
a comparable level of performance despite having
more pruned trainable parameters.
5.3.2 Training and Inference Efficiency
We validate the training and inference efficiency
of our method on NVIDIA RTX 3090. In terms
of training efficiency (Figure 4), we conduct experiments on RoBERTa-Large, retaining 67% of
foundation model parameters and 0.3M trainable
parameters that resulted in 32% reduction in model
weight memory, 40% reduction in activations memory, and 39% reduction in peak memory. Calculating the total time for 10 batches, we achieve
2.2 _×_ speedup in forward and backward pass time
compared to the original LoRA.
3.0
2.5
2.0
1.5
1.0
0.5
1.83
6.31
4.68
Peak
Activations
Weights
3.76
1.0
All
Backward Pass
Forward Pass
0.69
0.0
LoRA Ours (LoRA)
(a) Training Time
0
LoRA Ours (LoRA)
(b) Memory Usage
7535
#Foundation
Method
Model Params
_NM_
( _ρM_ )
Load
Memory
Inference
Speed Up
Vanilla 100% 192 (-0%) 1 _<u>×</u>_ 12.5G
Light-PEFT
76% 192 (-0%) 1.1 _×_ 9.5G
52% 192 (-0%) 1.2 _×_ 6.5G
52% 96 (-50%) 1.4 _<u>×</u>_ 6.5G
<u>52%</u> <u>48 (-75%)</u> <u>1.6</u> _<u>×</u>_ <u>6.4G</u>
Table 5: Inference Efficiency. The experiments are conducted on OPT-6.7B. _ρM_ denotes the PEFT module
pruning rate, where 0% indicates inserting LoRA modules (r=8) onto all matrices of the foundation model.
And _NM_ denotes the remaining number of LoRA modules after PEFT module pruning. We set batch size=96
and max length=100.
In terms of inference efficiency (Table 5), we
conduct experiments on OPT-6.7B, representing
widely used generative LLMs. Compared to the
common practice of adding LoRA modules onto
all matrices in the fine-tuning of LLMs (Vanilla),
our proposed foundation model pruning and PEFT
module pruning can effectively increase inference
speed by up to 1.6 _×_ . Additionally, foundation
model pruning can effectively reduce the model
loading memory usage by up to 48%.
6 Conclusion
This paper introduces Light-PEFT, a novel framework designed to improve the efficiency of the
PEFT technique during fine-tuning. The framework comprises two methods: Masked Early Pruning of Foundation Model and Multi-Granularity
Early Pruning of PEFT. The Light-PEFT framework estimates redundant parameters in both the
foundation model and PEFT modules during the
early stage of training and prunes them to achieve
more efficient fine-tuning. We validate our approach on GLUE, SuperGLUE, and QA tasks using various models. The experiments demonstrate
that Light-PEFT achieves training and inference
speedup, reduces memory usage, and maintains
comparable performance.
Limitations
Although Light-PEFT has achieved improved training and inference efficiency along with good performance, our work primarily focuses on the singletask fine-tuning scenario. A future direction worth
exploring is the estimation and early pruning of
redundant parameters on the multi-task learning
scenario, enabling efficient fine-tuning across multiple tasks.
Ethics Statement
The goal of our Light-PEFT framework is to enhance training efficiency and reduce computational
resource costs, which has positive impacts.
Acknowledgements
The authors thank Yuanxin Liu from Peking University and Jiaxuan Zhao from Institute of Information Engineering for the help and the anonymous
reviewers for their valuable feedback on our paper.
References
Jonathan Berant, Andrew Chou, Roy Frostig, and Percy
Liang. 2013. Semantic parsing on Freebase from
[question-answer pairs.](https://aclanthology.org/D13-1160) In _Proceedings of the 2013_
_Conference_ _on_ _Empirical_ _Methods_ _in_ _Natural_ _Lan-_
_guage Processing_, pages 1533–1544, Seattle, Washington, USA. Association for Computational Linguistics.
Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng
Gao, and Yejin Choi. 2020. [PIQA: reasoning about](https://doi.org/10.1609/AAAI.V34I05.6239)
[physical commonsense in natural language.](https://doi.org/10.1609/AAAI.V34I05.6239) In _The_
_Thirty-Fourth AAAI Conference on Artificial Intelli-_
_gence, AAAI 2020, The Thirty-Second Innovative Ap-_
_plications of Artificial Intelligence Conference, IAAI_
_2020,_ _The_ _Tenth_ _AAAI_ _Symposium_ _on_ _Educational_
_Advances in Artificial Intelligence, EAAI 2020, New_
_York,_ _NY,_ _USA,_ _February_ _7-12,_ _2020_, pages 7432–
7439. AAAI Press.
Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie
Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind
Neelakantan, Pranav Shyam, Girish Sastry, Amanda
Askell, Sandhini Agarwal, Ariel Herbert-Voss,
Gretchen Krueger, Tom Henighan, Rewon Child,
Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu,
Clemens Winter, Christopher Hesse, Mark Chen, Eric
Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess,
Jack Clark, Christopher Berner, Sam McCandlish,
Alec Radford, Ilya Sutskever, and Dario Amodei.
2020. [Language models are few-shot learners.](https://proceedings.neurips.cc/paper/2020/hash/1457c0d6bfcb4967418bfb8ac142f64a-Abstract.html) In _Ad-_
_vances in Neural Information Processing Systems 33:_
_Annual Conference on Neural Information Process-_
_ing_ _Systems_ _2020,_ _NeurIPS_ _2020,_ _December_ _6-12,_
_2020, virtual_ .
Xiaohan Chen, Yu Cheng, Shuohang Wang, Zhe Gan,
Zhangyang Wang, and Jingjing Liu. 2021. [Early-](https://doi.org/10.18653/v1/2021.acl-long.171)
[BERT: Efficient BERT training via early-bird lottery](https://doi.org/10.18653/v1/2021.acl-long.171)
[tickets.](https://doi.org/10.18653/v1/2021.acl-long.171) In _Proceedings_ _of_ _the_ _59th_ _Annual_ _Meet-_
_ing of the Association for Computational Linguistics_
_and the 11th International Joint Conference on Natu-_
_ral Language Processing (Volume 1:_ _Long Papers)_,
pages 2195–2207, Online. Association for Computational Linguistics.
Xuxi Chen, Tianlong Chen, Weizhu Chen, Ahmed Has
san Awadallah, Zhangyang Wang, and Yu Cheng.
7536
2023. DSEE: Dually [sparsity-embedded](https://doi.org/10.18653/v1/2023.acl-long.456) efficient
[tuning of pre-trained language models.](https://doi.org/10.18653/v1/2023.acl-long.456) In _Proceed-_
_ings of the 61st Annual Meeting of the Association for_
_Computational Linguistics (Volume 1:_ _Long Papers)_,
pages 8208–8222, Toronto, Canada. Association for
Computational Linguistics.
Christopher Clark, Kenton Lee, Ming-Wei Chang,
Tom Kwiatkowski, Michael Collins, and Kristina
Toutanova. 2019. [BoolQ: Exploring the surprising](https://doi.org/10.18653/v1/N19-1300)
[difficulty of natural yes/no questions.](https://doi.org/10.18653/v1/N19-1300) In _Proceedings_
_of the 2019 Conference of the North American Chap-_
_ter of the Association for Computational Linguistics:_
_Human Language Technologies, Volume 1 (Long and_
_Short Papers)_, pages 2924–2936, Minneapolis, Minnesota. Association for Computational Linguistics.
Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot,
Ashish Sabharwal, Carissa Schoenick, and Oyvind
Tafjord. 2018. [Think you have solved question an-](http://arxiv.org/abs/1803.05457)
swering? [try arc, the AI2 reasoning challenge.](http://arxiv.org/abs/1803.05457) _CoRR_,
abs/1803.05457.
Tim Dettmers, Artidoro Pagnoni, Ari Holtzman, and
Luke Zettlemoyer. 2023. [QLoRA: Efficient finetun-](https://openreview.net/forum?id=OUIFPHEgJU)
ing of [quantized](https://openreview.net/forum?id=OUIFPHEgJU) LLMs. In _Thirty-seventh_ _Confer-_
_ence on Neural Information Processing Systems_ .
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and
Kristina Toutanova. 2019. BERT: [Pre-training](https://doi.org/10.18653/v1/N19-1423) of
[deep bidirectional transformers for language under-](https://doi.org/10.18653/v1/N19-1423)
[standing.](https://doi.org/10.18653/v1/N19-1423) In _Proceedings of the 2019 Conference of_
_the North American Chapter of the Association for_
_Computational Linguistics:_ _Human Language Tech-_
_nologies, Volume 1 (Long and Short Papers)_, pages
4171–4186, Minneapolis, Minnesota. Association for
Computational Linguistics.
Ning Ding, Xingtai Lv, Qiaosen Wang, Yulin Chen,
Bowen Zhou, Zhiyuan Liu, and Maosong Sun. 2023.
[Sparse low-rank adaptation of pre-trained language](https://doi.org/10.18653/v1/2023.emnlp-main.252)
[models.](https://doi.org/10.18653/v1/2023.emnlp-main.252) In _Proceedings of the 2023 Conference on_
_Empirical Methods in Natural Language Processing_,
pages 4133–4145, Singapore. Association for Computational Linguistics.
Angela Fan, Edouard Grave, and Armand Joulin. 2020.
[Reducing transformer depth on demand with struc-](https://openreview.net/forum?id=SylO2yStDr)
tured [dropout.](https://openreview.net/forum?id=SylO2yStDr) In _8th_ _International_ _Conference_ _on_
_Learning Representations, ICLR 2020, Addis Ababa,_
_Ethiopia, April 26-30, 2020_ . OpenReview.net.
Jonathan Frankle and Michael Carbin. 2019. [The lottery](https://openreview.net/forum?id=rJl-b3RcF7)
ticket hypothesis: [Finding](https://openreview.net/forum?id=rJl-b3RcF7) sparse, trainable neural
[networks.](https://openreview.net/forum?id=rJl-b3RcF7) In _International Conference on Learning_
_Representations_ .
Leo Gao, Jonathan Tow, Baber Abbasi, Stella Biderman,
Sid Black, Anthony DiPofi, Charles Foster, Laurence
Golding, Jeffrey Hsu, Alain Le Noac’h, Haonan Li,
Kyle McDonell, Niklas Muennighoff, Chris Ociepa,
Jason Phang, Laria Reynolds, Hailey Schoelkopf,
Aviya Skowron, Lintang Sutawika, Eric Tang, Anish Thite, Ben Wang, Kevin Wang, and Andy Zou.
2023. A framework for [few-shot](https://doi.org/10.5281/zenodo.10256836) language model
[evaluation.](https://doi.org/10.5281/zenodo.10256836)
Lukas Hedegaard, Aman Alok, Juby Jose, and Alexan
dros Iosifidis. 2022. Structured [pruning](https://doi.org/10.48550/ARXIV.2211.10155) adapters.
_CoRR_, abs/2211.10155.
Xiang Lisa Li and Percy Liang. 2021. [Prefix-tuning:](https://doi.org/10.18653/v1/2021.acl-long.353)
Optimizing [continuous prompts](https://doi.org/10.18653/v1/2021.acl-long.353) for generation. In
Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski,
Bruna Morrone, Quentin de Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. 2019.
[Parameter-efficient transfer learning for NLP.](http://proceedings.mlr.press/v97/houlsby19a.html) In _Pro-_
_ceedings of the 36th International Conference on Ma-_
_chine Learning, ICML 2019, 9-15 June 2019, Long_
_Beach, California, USA_, volume 97 of _Proceedings_
_of_ _Machine_ _Learning_ _Research_, pages 2790–2799.
PMLR.
Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan
Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and
Weizhu Chen. 2022. Lora: [Low-rank adaptation of](https://openreview.net/forum?id=nZeVKeeFYf9)
[large language models.](https://openreview.net/forum?id=nZeVKeeFYf9) In _The Tenth International_
_Conference on Learning Representations, ICLR 2022,_
_Virtual Event, April 25-29, 2022_ . OpenReview.net.
Zhiqiang Hu, Lei Wang, Yihuai Lan, Wanyu Xu, Ee
Peng Lim, Lidong Bing, Xing Xu, Soujanya Poria,
and Roy Lee. 2023. LLM-adapters: [An adapter fam-](https://doi.org/10.18653/v1/2023.emnlp-main.319)
ily for [parameter-efficient](https://doi.org/10.18653/v1/2023.emnlp-main.319) fine-tuning of large lan[guage models.](https://doi.org/10.18653/v1/2023.emnlp-main.319) In _Proceedings of the 2023 Confer-_
_ence on Empirical Methods in Natural Language Pro-_
_cessing_, pages 5254–5276, Singapore. Association
for Computational Linguistics.
Daniel Khashabi, Snigdha Chaturvedi, Michael Roth,
Shyam Upadhyay, and Dan Roth. 2018. [Looking](https://doi.org/10.18653/v1/N18-1023)
beyond the surface: [A challenge set for reading com-](https://doi.org/10.18653/v1/N18-1023)
[prehension over multiple sentences.](https://doi.org/10.18653/v1/N18-1023) In _Proceedings_
_of the 2018 Conference of the North American Chap-_
_ter of the Association for Computational Linguistics:_
_Human Language Technologies, Volume 1 (Long Pa-_
_pers)_, pages 252–262, New Orleans, Louisiana. Association for Computational Linguistics.
Jeonghoon Kim, Jung Hyun Lee, Sungdong Kim, Joon
suk Park, Kang Min Yoo, Se Jung Kwon, and Dongsoo Lee. 2023. [Memory-efficient fine-tuning of com-](https://openreview.net/forum?id=2jUKhUrBxP)
[pressed large language models via sub-4-bit integer](https://openreview.net/forum?id=2jUKhUrBxP)
[quantization.](https://openreview.net/forum?id=2jUKhUrBxP) In _Thirty-seventh Conference on Neu-_
_ral Information Processing Systems_ .
Eldar Kurtic, Daniel Campos, Tuan Nguyen, Elias Fran
tar, Mark Kurtz, Benjamin Fineran, Michael Goin,
and Dan Alistarh. 2022. [The optimal BERT surgeon:](https://doi.org/10.18653/v1/2022.emnlp-main.279)
[Scalable and accurate second-order pruning for large](https://doi.org/10.18653/v1/2022.emnlp-main.279)
[language models.](https://doi.org/10.18653/v1/2022.emnlp-main.279) In _Proceedings of the 2022 Con-_
_ference on Empirical Methods in Natural Language_
_Processing_, pages 4163–4181, Abu Dhabi, United
Arab Emirates. Association for Computational Linguistics.
Yann LeCun, John S. Denker, and Sara A. Solla. 1989.
Optimal [brain](http://papers.nips.cc/paper/250-optimal-brain-damage) damage. In _Advances_ _in_ _Neural_ _In-_
_formation Processing Systems 2, [NIPS Conference,_
_Denver,_ _Colorado,_ _USA,_ _November_ _27-30,_ _1989]_,
pages 598–605. Morgan Kaufmann.
7537
_Proceedings of the 59th Annual Meeting of the Asso-_
_ciation for Computational Linguistics and the 11th_
_International Joint Conference on Natural Language_
_Processing_ _(Volume 1:_ _Long_ _Papers)_, pages 4582–
4597, Online. Association for Computational Linguistics.
Yuchao Li, Fuli Luo, Chuanqi Tan, Mengdi Wang,
Songfang Huang, Shen Li, and Junjie Bai. 2022.
Parameter-Efficient [Sparsity](https://doi.org/10.24963/ijcai.2022/586) for Large Language
[Models Fine-Tuning.](https://doi.org/10.24963/ijcai.2022/586) In _Proceedings of the Thirty-_
_First International Joint Conference on Artificial In-_
_telligence, IJCAI-22_, pages 4223–4229. International
Joint Conferences on Artificial Intelligence Organization.
Xinyin Ma, Gongfan Fang, and Xinchao Wang. 2023.
LLM-pruner: [On the structural pruning of large lan-](https://openreview.net/forum?id=J8Ajf9WfXP)
[guage models.](https://openreview.net/forum?id=J8Ajf9WfXP) In _Thirty-seventh Conference on Neu-_
_ral Information Processing Systems_ .
Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish
Sabharwal. 2018. [Can a suit of armor conduct elec-](https://doi.org/10.18653/v1/D18-1260)
tricity? a new dataset [for](https://doi.org/10.18653/v1/D18-1260) open book question an[swering.](https://doi.org/10.18653/v1/D18-1260) In _Proceedings of the 2018 Conference on_
_Empirical Methods in Natural Language Processing_,
pages 2381–2391, Brussels, Belgium. Association
for Computational Linguistics.
Baohao Liao, Shaomu Tan, and Christof Monz. 2023.
[Make pre-trained model reversible:](https://openreview.net/forum?id=J8McuwS3zY) From parameter
to memory [efficient](https://openreview.net/forum?id=J8McuwS3zY) fine-tuning. In _Thirty-seventh_
_Conference on Neural Information Processing Sys-_
_tems_ .
Pavlo Molchanov, Stephen Tyree, Tero Karras, Timo
Aila, and Jan Kautz. 2017. Pruning [convolutional](https://openreview.net/forum?id=SJGCiw5gl)
[neural networks for resource efficient inference.](https://openreview.net/forum?id=SJGCiw5gl) In
_International_ _Conference_ _on_ _Learning_ _Representa-_
_tions_ .
Xiao Liu, Kaixuan Ji, Yicheng Fu, Weng Tam, Zhengx
iao Du, Zhilin Yang, and Jie Tang. 2022a. [P-tuning:](https://doi.org/10.18653/v1/2022.acl-short.8)
Prompt tuning can be [comparable](https://doi.org/10.18653/v1/2022.acl-short.8) to fine-tuning
[across scales and tasks.](https://doi.org/10.18653/v1/2022.acl-short.8) In _Proceedings of the 60th_
_Annual Meeting of the Association for Computational_
_Linguistics (Volume 2:_ _Short Papers)_, pages 61–68,
Dublin, Ireland. Association for Computational Linguistics.
OpenAI. 2023. Gpt-4 [technical](https://api.semanticscholar.org/CorpusID:266362871) report. _ArXiv_,
abs/2303.08774.
Mohammad Taher Pilehvar and Jose Camacho-Collados.
2019. WiC: the [word-in-context](https://doi.org/10.18653/v1/N19-1128) dataset for evalu[ating context-sensitive meaning representations.](https://doi.org/10.18653/v1/N19-1128) In
_Proceedings_ _of_ _the_ _2019_ _Conference_ _of_ _the_ _North_
_American Chapter of the Association for Computa-_
_tional Linguistics:_ _Human Language Technologies,_
_Volume 1 (Long and Short Papers)_, pages 1267–1273,
Minneapolis, Minnesota. Association for Computational Linguistics.
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Man
dar Joshi, Danqi Chen, Omer Levy, Mike Lewis,
Luke Zettlemoyer, and Veselin Stoyanov. 2019.
Roberta: A robustly [optimized](http://arxiv.org/abs/1907.11692) BERT pretraining
[approach.](http://arxiv.org/abs/1907.11692) _CoRR_, abs/1907.11692.
Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and
Percy Liang. 2016. [SQuAD: 100,000+ questions for](https://doi.org/10.18653/v1/D16-1264)
[machine comprehension of text.](https://doi.org/10.18653/v1/D16-1264) In _Proceedings of_
_the 2016 Conference on Empirical Methods in Natu-_
_ral Language Processing_, pages 2383–2392, Austin,
Texas. Association for Computational Linguistics.
Yuanxin Liu, Zheng Lin, and Fengcheng Yuan. 2021.
[ROSITA: refined BERT compression with integrated](https://doi.org/10.1609/AAAI.V35I10.17056)
[techniques.](https://doi.org/10.1609/AAAI.V35I10.17056) In _Thirty-Fifth AAAI Conference on Ar-_
_tificial_ _Intelligence,_ _AAAI_ _2021,_ _Thirty-Third_ _Con-_
_ference_ _on_ _Innovative_ _Applications_ _of_ _Artificial_ _In-_
_telligence, IAAI 2021, The Eleventh Symposium on_
_Educational Advances in Artificial Intelligence, EAAI_
_2021, Virtual Event, February 2-9, 2021_, pages 8715–
8722. AAAI Press.
Richard Socher, Alex Perelygin, Jean Wu, Jason
Chuang, Christopher D. Manning, Andrew Ng, and
Christopher Potts. 2013. [Recursive deep models for](https://aclanthology.org/D13-1170)
[semantic compositionality over a sentiment treebank.](https://aclanthology.org/D13-1170)
In _Proceedings_ _of_ _the_ _2013_ _Conference_ _on_ _Empiri-_
_cal Methods in Natural Language Processing_, pages
1631–1642, Seattle, Washington, USA. Association
for Computational Linguistics.
Yuanxin Liu, Fandong Meng, Zheng Lin, Peng Fu,
Yanan Cao, Weiping Wang, and Jie Zhou. 2022b.
[Learning to win lottery tickets in BERT transfer via](https://doi.org/10.18653/v1/2022.naacl-main.428)
[task-agnostic mask training.](https://doi.org/10.18653/v1/2022.naacl-main.428) In _Proceedings of the_
_2022 Conference of the North American Chapter of_
_the Association for Computational Linguistics:_ _Hu-_
_man Language Technologies_, pages 5840–5857, Seattle, United States. Association for Computational
Linguistics.
Yi-Lin Sung, Jaemin Cho, and Mohit Bansal. 2022.
[LST: Ladder side-tuning for parameter and memory](https://openreview.net/forum?id=isPnnaTZaP5)
efficient [transfer](https://openreview.net/forum?id=isPnnaTZaP5) learning. In _Advances_ _in_ _Neural_
_Information Processing Systems_ .
Zhuang Liu, Jianguo Li, Zhiqiang Shen, Gao Huang,
Shoumeng Yan, and Changshui Zhang. 2017. [Learn-](https://doi.org/10.1109/ICCV.2017.298)
[ing efficient convolutional networks through network](https://doi.org/10.1109/ICCV.2017.298)
[slimming.](https://doi.org/10.1109/ICCV.2017.298) In _IEEE_ _International_ _Conference_ _on_
_Computer_ _Vision,_ _ICCV_ _2017,_ _Venice,_ _Italy,_ _Octo-_
_ber 22-29, 2017_, pages 2755–2763. IEEE Computer
Society.
Chaofan Tao, Lu Hou, Haoli Bai, Jiansheng Wei, Xin
Jiang, Qun Liu, Ping Luo, and Ngai Wong. 2023.
[Structured pruning for efficient generative pre-trained](https://doi.org/10.18653/v1/2023.findings-acl.692)
[language models.](https://doi.org/10.18653/v1/2023.findings-acl.692) In _Findings of the Association for_
_Computational Linguistics:_ _ACL 2023_, pages 10880–
10895, Toronto, Canada. Association for Computational Linguistics.
Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier
Martinet, Marie-Anne Lachaux, Timothée Lacroix,
Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal
Azhar, Aurelien Rodriguez, Armand Joulin, Edouard
Grave, and Guillaume Lample. 2023. [Llama:](https://api.semanticscholar.org/CorpusID:257219404) Open
7538
and efficient [foundation](https://api.semanticscholar.org/CorpusID:257219404) language models. _ArXiv_,
abs/2302.13971.
Mojtaba Valipour, Mehdi Rezagholizadeh, Ivan
Kobyzev, and Ali Ghodsi. 2023. [DyLoRA:](https://doi.org/10.18653/v1/2023.eacl-main.239)
[Parameter-efficient tuning of pre-trained models us-](https://doi.org/10.18653/v1/2023.eacl-main.239)
[ing dynamic search-free low-rank adaptation.](https://doi.org/10.18653/v1/2023.eacl-main.239) In _Pro-_
_ceedings_ _of_ _the_ _17th_ _Conference_ _of_ _the_ _European_
_Chapter_ _of_ _the_ _Association_ _for_ _Computational_ _Lin-_
_guistics_, pages 3274–3287, Dubrovnik, Croatia. Association for Computational Linguistics.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob
Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz
Kaiser, and Illia Polosukhin. 2017. [Attention is all](https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html)
[you need.](https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html) In _Advances in Neural Information Pro-_
_cessing Systems 30:_ _Annual Conference on Neural_
_Information Processing Systems 2017, December 4-9,_
_2017, Long Beach, CA, USA_, pages 5998–6008.
Alex Wang, Yada Pruksachatkun, Nikita Nangia, Aman
preet Singh, Julian Michael, Felix Hill, Omer Levy,
and Samuel R. Bowman. 2019a. [Superglue:](https://proceedings.neurips.cc/paper/2019/hash/4496bf24afe7fab6f046bf4923da8de6-Abstract.html) A stick[ier benchmark for general-purpose language under-](https://proceedings.neurips.cc/paper/2019/hash/4496bf24afe7fab6f046bf4923da8de6-Abstract.html)
[standing systems.](https://proceedings.neurips.cc/paper/2019/hash/4496bf24afe7fab6f046bf4923da8de6-Abstract.html) In _Advances in Neural Information_
_Processing Systems 32:_ _Annual Conference on Neu-_
_ral Information Processing Systems 2019, NeurIPS_
_2019, December 8-14, 2019, Vancouver, BC, Canada_,
pages 3261–3275.
Alex Wang, Amanpreet Singh, Julian Michael, Felix
Hill, Omer Levy, and Samuel R. Bowman. 2019b.
GLUE: A multi-task [benchmark](https://openreview.net/forum?id=rJ4km2R5t7) and analysis plat[form for natural language understanding.](https://openreview.net/forum?id=rJ4km2R5t7) In _7th In-_
_ternational Conference on Learning Representations,_
_ICLR 2019, New Orleans, LA, USA, May 6-9, 2019_ .
OpenReview.net.
Johannes Welbl, Nelson F. Liu, and Matt Gardner. 2017.
Crowdsourcing multiple choice science questions.
In _Proceedings of the 3rd Workshop on Noisy User-_
_generated_ _Text_, pages 94–106, Copenhagen, Denmark. Association for Computational Linguistics.
Adina Williams, Nikita Nangia, and Samuel Bowman.
2018. A broad-coverage [challenge](https://doi.org/10.18653/v1/N18-1101) corpus for sen[tence understanding through inference.](https://doi.org/10.18653/v1/N18-1101) In _Proceed-_
_ings of the 2018 Conference of the North American_
_Chapter_ _of_ _the_ _Association_ _for_ _Computational_ _Lin-_
_guistics:_ _Human_ _Language_ _Technologies,_ _Volume_
_1_ _(Long_ _Papers)_, pages 1112–1122, New Orleans,
Louisiana. Association for Computational Linguistics.
Thomas Wolf, Lysandre Debut, Victor Sanh, Julien
Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen,
Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu,
Teven Le Scao, Sylvain Gugger, Mariama Drame,
Quentin Lhoest, and Alexander Rush. 2020. [Trans-](https://doi.org/10.18653/v1/2020.emnlp-demos.6)
formers: [State-of-the-art natural language processing.](https://doi.org/10.18653/v1/2020.emnlp-demos.6)
In _Proceedings of the 2020 Conference on Empirical_
_Methods_ _in_ _Natural_ _Language_ _Processing:_ _System_
_Demonstrations_, pages 38–45, Online. Association
for Computational Linguistics.
Mengzhou Xia, Tianyu Gao, Zhiyuan Zeng, and Danqi
Chen. 2024. Sheared LLaMA: Accelerating lan[guage model pre-training via structured pruning.](https://openreview.net/forum?id=09iOdaeOzp) In
_The_ _Twelfth_ _International_ _Conference_ _on_ _Learning_
_Representations_ .
Mengzhou Xia, Zexuan Zhong, and Danqi Chen. 2022.
[Structured pruning learns compact and accurate mod-](https://doi.org/10.18653/v1/2022.acl-long.107)
[els.](https://doi.org/10.18653/v1/2022.acl-long.107) In _Proceedings of the 60th Annual Meeting of the_
_Association for Computational Linguistics (Volume_
_1:_ _Long Papers)_, pages 1513–1528, Dublin, Ireland.
Association for Computational Linguistics.
Guangxuan Xiao, Ji Lin, and Song Han. 2023. [Offsite-](https://doi.org/10.48550/ARXIV.2302.04870)
tuning: [Transfer learning without full model.](https://doi.org/10.48550/ARXIV.2302.04870) _CoRR_,
abs/2302.04870.
Haoran You, Chaojian Li, Pengfei Xu, Yonggan Fu,
Yue Wang, Xiaohan Chen, Yingyan Lin, Zhangyang
Wang, and Richard G. Baraniuk. 2020. [Drawing](https://openreview.net/forum?id=BJxsrgStvr)
early-bird tickets: [Toward](https://openreview.net/forum?id=BJxsrgStvr) more efficient training
of deep [networks.](https://openreview.net/forum?id=BJxsrgStvr) In _International_ _Conference_ _on_
_Learning Representations_ .
Qingru Zhang, Minshuo Chen, Alexander Bukharin,
Pengcheng He, Yu Cheng, Weizhu Chen, and
Tuo Zhao. 2023. Adaptive [budget](https://openreview.net/pdf?id=lq62uWRJjiY) allocation for
[parameter-efficient fine-tuning.](https://openreview.net/pdf?id=lq62uWRJjiY) In _The Eleventh In-_
_ternational Conference on Learning Representations,_
_ICLR 2023, Kigali, Rwanda, May 1-5, 2023_ . OpenReview.net.
Sheng Zhang, Xiaodong Liu, Jingjing Liu, Jianfeng
Gao, Kevin Duh, and Benjamin Van Durme. 2018.
Record: [Bridging the gap between human and ma-](http://arxiv.org/abs/1810.12885)
[chine commonsense reading comprehension.](http://arxiv.org/abs/1810.12885) _CoRR_,
abs/1810.12885.
Susan Zhang, Stephen Roller, Naman Goyal, Mikel
Artetxe, Moya Chen, Shuohui Chen, Christopher
Dewan, Mona T. Diab, Xian Li, Xi Victoria Lin,
Todor Mihaylov, Myle Ott, Sam Shleifer, Kurt Shuster, Daniel Simig, Punit Singh Koura, Anjali Sridhar, Tianlu Wang, and Luke Zettlemoyer. 2022.
Opt: Open pre-trained [transformer](https://api.semanticscholar.org/CorpusID:248496292) language mod[els.](https://api.semanticscholar.org/CorpusID:248496292) _ArXiv_, abs/2205.01068.
Bowen Zhao, Hannaneh Hajishirzi, and Qingqing Cao.
2024. [APT: adaptive pruning and tuning pretrained](https://doi.org/10.48550/ARXIV.2401.12200)
[language models for efficient training and inference.](https://doi.org/10.48550/ARXIV.2401.12200)
_CoRR_, abs/2401.12200.
Weilin Zhao, Yuxiang Huang, Xu Han, Zhiyuan Liu,
Zhengyan Zhang, and Maosong Sun. 2023. [CPET:](https://doi.org/10.48550/ARXIV.2307.07705)
[effective parameter-efficient tuning for compressed](https://doi.org/10.48550/ARXIV.2307.07705)
[large language models.](https://doi.org/10.48550/ARXIV.2307.07705) _CoRR_, abs/2307.07705.
Han Zhou, Xingchen Wan, Ivan Vulic, and Anna Ko
rhonen. 2023. Autopeft: [Automatic](https://doi.org/10.48550/ARXIV.2301.12132) configuration
search for [parameter-efficient](https://doi.org/10.48550/ARXIV.2301.12132) fine-tuning. _CoRR_,
abs/2301.12132.
7539
A Appendix
A.1 Details of Experimental Setup
Hardware. We use NVIDIA TITAN RTX and
NVIDIA RTX 3090 for NLU experiments and experiments using OPT-1.3B in QA Tasks. Additionally, we use NVIDIA A800 for experiments using
OPT-6.7B in QA Tasks.
Implementation. The implementation of LightPEFT is based on Transformers (Wolf et al., 2020),
LLM-Adapters (Hu et al., 2023), and EarlyBERT
(Chen et al., 2021). The data processing for SuperGLUE and QA tasks follows Liu et al. (2022a) and
Xiao et al. (2023), respectively.
Hyper-parameters. We use AdamW as the optimizer for training. Other detailed settings for NLU
tasks are provided in Table 7, while the settings for
QA tasks can be found in Table 8 and Table 9.
A.2 The impact of the pruning rate on the
foundation model.
We analyze the impact of different foundation
model pruning rates on performance on the WiC
dataset (Figure 5). It is observed that within a certain range (above 62.5%), pruning results in a relatively minor decrease in performance. However,
once this threshold is exceeded, a significant performance decline occurs, demonstrating that pruning
within this range removes redundant parameters.
Figure 6: The impact of the estimation steps of early
pruning.
A.4 The settings of mask learning penalty
In practice, we keep _λA_ and _λF_ consistent and
assess the impact of these hyper-parameters in pilot
experiments (Table 6). Based on this result, we
uniformly set _λA_ and _λF_ to 1 _×_ 10 <sup>_−_</sup> <sup>4</sup> and achieve
good task performance in our main experiments.
_λA_, _λF_ SST-2 QNLI Avg.
1 _∗_ 10 <sup>_−_</sup> <sup>2</sup> 95.8 91.9 93.85
1 _∗_ 10 <sup>_−_</sup> <sup>3</sup> 95.9 93.5 94.70
1 _<u>∗</u>_ 10 <sup>_−_</sup> <sup>4</sup> 95.9 93.6 94.75
1 _<u>∗</u>_ 10 <sup>_<u>−</u>_</sup> <sup>5</sup> 95.6 91.9 93.75
Table 6: The impact of _λA_ and _λF_ on the performance
of tasks.
effectively identify redundant parameters in both
the foundation model and PEFT modules during
the early stage of training.
90
85
80
75
70
65
60
LoRA
Adapter
1.7% 3.4% 5.1% 6.8% 8.5% 10.2% 11.9% 13.6%
Estimation Steps
74
72
70
68
66
64
62
60
~~LoRA~~
Adapter
100% 87.5% 75.0% 62.5% 50.0% 37.5%
Sparsity
Figure 5: The impact of the pruning rate on the foundation model.
A.3 The impact of the estimation steps of
early pruning
We analyze the impact of the early pruning estima
tion steps on performance using the BoolQ dataset
(Figure 6). It is observed that once the estimation steps exceed 6.8% of the total training steps,
further estimation does not lead to performance improvement. This demonstrates that our method can
7540
Method Dataset MNLI QNLI QQP SST-2 ReCord WiC BoolQ MultiRC
LoRA
Adapter
Estimation Steps 1000 1000 1000 800 2000 680 400 600
Rank 8
_ρM_ 75%
_ρR_ 50%
Estimation lr 3e-4 3e-4 3e-4 3e-4 3e-4 3e-4 3e-4 3e-4
Fine-Tuning lr 3e-4 3e-4 3e-4 3e-4 3e-4 3e-4 3e-4 3e-4
Batch Size 32 32 32 32 32 16 32 16
Sequence Length 128 128 128 128 256 128 128 384
# Epochs 5 5 5 10 5 50 20 20
Estimation Steps 1000 1000 1000 800 2000 680 400 1000
Rank 8
_ρM_ 25%
_ρR_ 50%
Estimation lr 6e-4 8e-4 3e-4 6e-4 6e-4 3e-4 6e-4 7e-4
Fine-Tuning lr 4e-4 3e-4 3e-4 3e-4 3e-4 1e-4 6e-4 5e-4
Batch Size 32 32 32 32 32 16 32 16
Sequence Length 128 128 128 128 256 128 128 384
# Epochs 5 5 5 10 5 50 20 20
Table 7: Hyperparameters for NLU Tasks.
Method Dataset OpenBookQA PIQA ARC-E ARC-C SciQ WebQs
LoRA
Estimation Steps 1 Epoch 1 Epoch 1 Epoch 1 Epoch 1 Epoch 1 Epoch
Rank 8
_ρM_ 50%/50%
_ρR_ 50%/25%
Estimation lr 3e-4 3e-4 3e-4 3e-4 3e-4 3e-4
Fine-Tuning lr 3e-4 3e-4 3e-4 3e-4 3e-4 3e-4
Batch Size 64 64 64 64 64 64
Sequence Length 128 128 128 128 128 128
# Epochs 10 10 10 10 10 10
Table 8: Hyperparameters for QA Tasks on OPT-1.3B.
Method Dataset OpenBookQA PIQA ARC-E ARC-C SciQ WebQs
LoRA
Estimation Steps 1 Epoch 1 Epoch 1 Epoch 1 Epoch 1 Epoch 1 Epoch
Rank 8
_ρM_ 50%/75%
_ρR_ 25%/50%
Estimation lr 3e-4 3e-4 3e-4 3e-4 3e-4 3e-4
Fine-Tuning lr 3e-4 3e-4 3e-4 3e-4 3e-4 3e-4
Batch Size 32 32 32 32 32 32
Sequence Length 128 128 128 128 128 128
# Epochs 10 10 10 10 10 10
Table 9: Hyperparameters for QA Tasks on OPT-6.7B.
7541