KiRA: Kronecker Input-Gated Rank Adaptation for Parameter-Efficient Fine-Tuning of Pretrained Models
Organizations: Department of Electrical and Electronic Engineering, Bangladesh University of Engineering and Technology (BUET), Dhaka 1205, Bangladesh
Abstract
Full fine-tuning of large pretrained models is expensive, and parameter-efficient fine-tuning (PEFT) is the standard alternative. Most PEFT methods use low-rank updates, whose rank lies far below that of full fine-tuning and is the same for every input. Input-adaptive variants vary the capacity per input but remain within the low-rank bottleneck, and whether a task benefits from input conditioning is not known before training. This paper introduces Kronecker input-gated rank adaptation (KiRA). Instead of the conventional low-rank product, the update is the Kronecker product of a frozen random matrix and a trainable factor , which overcomes the rank ceiling: because rank is multiplicative under this product, multiplies the rank of by without adding trainable parameters. The factor is further decomposed as , where the input gate , computed once per sample by a network shared across all adapted layers, adjusts the rank of the update to each input in steps of . Where input conditioning is unnecessary, the gate is folded into at deployment. Because the gate changes the rank only in discrete steps, the benefit of input conditioning can be predicted before training from a few hundred labeled inputs. Across six medical imaging and language benchmarks, KiRA attains the highest mean score against five published baselines with 8.7--9.7 times fewer trainable parameters than low-rank adaptation, and the pre-training criterion agrees with the measured benefit of input conditioning on all six tasks.
Figures & tables
| Vision (ViT-B/16) | Language (RoBERTa-base) | |||||
| Method | DermaMNIST | BloodMNIST | OrganAMNIST | MRPC | RTE | CoLA |
| Published parameter-efficient baselines | ||||||
| LoRA [ 3 ] | 80.35 0.22 | 97.81 0.08 | 83.64 0.15 | 87.25 0.31 | 74.45 0.42 | 59.07 0.48 |
| AdaLoRA [ 4 ] | 80.82 0.20 | 97.88 0.07 | 83.91 0.14 | 87.85 0.29 | 75.12 0.40 | 59.85 0.44 |
| DoRA [ 5 ] | 81.05 0.18 | 97.94 0.09 | 84.12 0.16 | 88.15 0.28 | 75.54 0.38 | 60.15 0.42 |
| VeRA [ 6 ] | 80.15 0.25 | 97.75 0.10 | 83.58 0.17 | 87.10 0.35 | 74.32 0.45 | 58.95 0.50 |
| Method | Count | Vision | Language | Ratio |
|---|---|---|---|---|
| LoRA | 589,824 | 589,824 | ||
| AdaLoRA | 590,208 | 590,208 | ||
| DoRA | 626,688 | 626,688 | ||
| VeRA | 37,248 | 37,248 | ||
| Low-rank, gated | 639,488 | 639,488 | ||
| Kronecker, static | 11,520 | 18,432 |
| Low-rank | Kronecker | ||||
|---|---|---|---|---|---|
| Task | |||||
| DermaMNIST | |||||
| BloodMNIST | |||||
| OrganAMNIST | |||||
| MRPC | |||||
| RTE | |||||
| Task | ||||
|---|---|---|---|---|
| DermaMNIST | 45 | 1.76 | 0.92 | |
| BloodMNIST | 38 | 1.48 | 0.75 | |
| OrganAMNIST | 42 | 1.64 | 0.83 | |
| MRPC | 14 | 0.55 | 0.00 | |
| RTE | 12 | 0.47 | 0.00 | |
| CoLA | 15 | 0.59 | 0.00 |
| params (sub / total) | ||||
|---|---|---|---|---|
| 64 | 51.2 | 0.27 | ||
| 32 | 25.6 | 0.55 | ||
| 16 | 12.8 | 1.09 | ||
| 12 | 0 9.6 | 1.46 | ||
| 8 | 0 6.4 | 2.19 |
| Task | Cell | mean | range | corr. |
|---|---|---|---|---|
| DermaMNIST | KiRA | 0.56 | 0.30–0.85 | |
| CoLA | KiRA | 0.50 | 0.42–0.59 | |
| CoLA | gated low-rank | 0.51 | 0.43–0.61 |
| training | inference | ||||
|---|---|---|---|---|---|
| Cell | GB | s/ep. | ms/b. | samp./s | deployed |
| Backbone only | 3.8 | 35 | 17.5 | 3657 | — |
| LoRA | 4.1 | 42 | 18.2 | 3516 | K |
| + const. gate | 4.1 | 43 | 18.2 | 3516 | K |
| + gate | 4.3 | 48 | 21.5 | 2976 | K |
| Kronecker, static | 4.2 | 47 | 20.4 | 3137 | K |
| Task | ||||
|---|---|---|---|---|
| DermaMNIST | 0.35 | 1.00 | 2.15 | 0.026 |
| BloodMNIST | 0.18 | 1.00 | 1.42 | 0.034 |
| OrganAMNIST | 0.22 | 1.00 | 1.88 | 0.027 |
| language tasks: interval for | ||||
| MRPC | ||||
| Symbol | Meaning |
|---|---|
| width of the adapted projection ( here) | |
| number of adapted projections ( here) | |
| size of the frozen factor ; algebraic rank amplification | |
| inner factor width, | |
| inner rank | |
| trainable factor, |
| 8 | ||
|---|---|---|
| 12 | ||
| 16 | ||
| 24 | ||
| 32 | ||
| 48 |
Parameter-Efficient Fine-Tuning
Parameter-efficient fine-tuning adapts pretrained models by updating small parameter subsets or lightweight modules instead of all weights.
See all 657 papers