Skip to content

KiRA: Kronecker Input-Gated Rank Adaptation for Parameter-Efficient Fine-Tuning of Pretrained Models

Akil Ahmad Taki, Shaikh Anowarul Fattah

cs.LG

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 ΔWΔW is the Kronecker product of a frozen random p×pp\times p matrix AA and a trainable factor M(x)M(x), which overcomes the rank ceiling: because rank is multiplicative under this product, AA multiplies the rank of M(x)M(x) by pp without adding trainable parameters. The factor M(x)M(x) is further decomposed as B1 diag(g(x)) B2B_1\,\mathrm{diag}(g(x))\,B_2, where the input gate g(x)g(x), computed once per sample by a network shared across all adapted layers, adjusts the rank of the update to each input in steps of pp. Where input conditioning is unnecessary, the gate is folded into B1B_1 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.

Create a lesson

Metadata

Categories
cs.LG, cs.AI