Latent Space Factorization in LoRA
About
Low-rank adaptation (LoRA) is a widely used method for parameter-efficient finetuning. However, existing LoRA variants lack mechanisms to explicitly disambiguate task-relevant information within the learned low-rank subspace, potentially limiting downstream performance. We propose Factorized Variational Autoencoder LoRA (FVAE-LoRA), which leverages a VAE to learn two distinct latent spaces. Our novel Evidence Lower Bound formulation explicitly promotes factorization between the latent spaces, dedicating one latent space to task-salient features and the other to residual information. Extensive experiments on text, audio, and image tasks demonstrate that FVAE-LoRA consistently outperforms standard LoRA. Moreover, spurious correlation evaluations confirm that FVAE-LoRA better isolates task-relevant signals, leading to improved robustness under distribution shifts. Our code is publicly available at: https://github.com/idiap/FVAE-LoRA
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Commonsense Reasoning | ARC-E | Accuracy96.25 | 249 | |
| Commonsense Reasoning | ARC-C | Accuracy93.18 | 225 | |
| Question Answering | OBQA (test) | Accuracy91.21 | 90 | |
| Question Answering | ARC-e (test) | Accuracy95.89 | 60 | |
| Commonsense Reasoning | BoolQ (test) | Accuracy88.99 | 35 | |
| Question Answering Task | ARC-C (test) | Accuracy91.93 | 30 | |
| Question Answering | MMLU Chemistry (test) | Accuracy53.08 | 10 | |
| Question Answering | MMLU Physics (test) | Accuracy51.96 | 10 | |
| Commonsense Reasoning | OBQA (test) | Accuracy91.21 | 10 | |
| Commonsense Reasoning | WG-S (test) | Accuracy77.06 | 10 |