[Paper Review] KronA: Parameter Efficient Tuning with Kronecker Adapter
KronA proposes a parameter-efficient tuning method for Transformer-based pre-trained language models using Kronecker product decomposition instead of low-rank factorization. By replacing low-rank adapters with Kronecker-based modules, KronA achieves state-of-the-art performance on the GLUE benchmark with no increase in inference latency, and further improvements via $\text{KronA}^{\text{B}}$ and $\text{KronA}^{\text{B}}_{\text{res}}$ at the cost of higher latency.
Fine-tuning a Pre-trained Language Model (PLM) on a specific downstream task has been a well-known paradigm in Natural Language Processing. However, with the ever-growing size of PLMs, training the entire model on several downstream tasks becomes very expensive and resource-hungry. Recently, different Parameter Efficient Tuning (PET) techniques are proposed to improve the efficiency of fine-tuning PLMs. One popular category of PET methods is the low-rank adaptation methods which insert learnable truncated SVD modules into the original model either sequentially or in parallel. However, low-rank decomposition suffers from limited representation power. In this work, we address this problem using the Kronecker product instead of the low-rank representation. We introduce KronA, a Kronecker product-based adapter module for efficient fine-tuning of Transformer-based PLMs. We apply the proposed methods for fine-tuning T5 on the GLUE benchmark to show that incorporating the Kronecker-based modules can outperform state-of-the-art PET methods.
Motivation & Objective
- To address the limited representation power of low-rank factorization in parameter-efficient tuning (PET) methods for large pre-trained language models.
- To improve performance over existing PET methods like LoRA and adapters without increasing inference latency.
- To explore the use of Kronecker product decomposition as a more expressive alternative to low-rank updates in fine-tuning.
- To evaluate the effectiveness of KronA and its variants ($\text{KronA}^{\text{B}}$, $\text{KronA}^{\text{B}}_{\text{res}}$) on the GLUE benchmark.
- To demonstrate that Kronecker-based modules can match or exceed full fine-tuning accuracy while maintaining parameter efficiency.
Proposed method
- KronA replaces low-rank adapter modules with Kronecker product-based learnable parameters, decomposing weight updates as the product of two smaller matrices.
- The Kronecker decomposition is applied to the update matrices in the attention and feed-forward layers of T5, enabling more expressive parameter updates than low-rank factorization.
- A variant, $\text{KronA}^{\text{B}}$, inserts the Kronecker module in parallel with the feed-forward network, allowing for stronger modeling capacity.
- A learnable residual connection is introduced in $\text{KronA}^{\text{B}}_{\text{res}}$ to further enhance representational power.
- All trainable parameters are frozen during inference, preserving low latency, and the final task-specific weights can be merged with the original model.
- Hyperparameters including learning rate, Kronecker factor shapes, and scaling factors were tuned per task using dev set performance.
Experimental results
Research questions
- RQ1Can Kronecker product decomposition outperform low-rank factorization in parameter-efficient fine-tuning of pre-trained language models?
- RQ2Does the proposed KronA module achieve better performance than state-of-the-art PET methods like LoRA and adapters while maintaining low inference latency?
- RQ3Can the parallel insertion of KronA ($\text{KronA}^{\text{B}}$) in the feed-forward path improve performance beyond full fine-tuning?
- RQ4Does adding a learnable residual connection in $\text{KronA}^{\text{B}}_{\text{res}}$ lead to further accuracy gains at the cost of increased latency?
- RQ5How do the hyperparameters of Kronecker factors affect model performance across diverse GLUE tasks?
Key findings
- KronA outperforms state-of-the-art PET methods, including LoRA and adapters, on the GLUE benchmark with no increase in inference latency.
- The $\text{KronA}^{\text{B}}$ variant achieves higher GLUE scores than full fine-tuning on multiple tasks, including MNLI and QNLI.
- The $\text{KronA}^{\text{B}}_{\text{res}}$ variant further improves performance by incorporating a learnable residual connection, achieving state-of-the-art results on several GLUE tasks.
- The Kronecker-based modules achieve better representation power than low-rank factorization, as evidenced by higher accuracy despite fewer parameters.
- The method maintains low inference latency, making it suitable for latency-critical applications.
- Hyperparameter tuning of Kronecker factor shapes significantly impacts performance, with optimal configurations varying per task.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.