Saved in:
Bibliographic Details
Main Authors: Shenaj, Donald, Errica, Federico, Carta, Antonio
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2603.21884
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912978674122752
author Shenaj, Donald
Errica, Federico
Carta, Antonio
author_facet Shenaj, Donald
Errica, Federico
Carta, Antonio
contents Low Rank Adaptation (LoRA) is the de facto fine-tuning strategy to generate personalized images from pre-trained diffusion models. Choosing a good rank is extremely critical, since it trades off performance and memory consumption, but today the decision is often left to the community's consensus, regardless of the personalized subject's complexity. The reason is evident: the cost of selecting a good rank for each LoRA component is combinatorial, so we opt for practical shortcuts such as fixing the same rank for all components. In this paper, we take a first step to overcome this challenge. Inspired by variational methods that learn an adaptive width of neural networks, we let the ranks of each layer freely adapt during fine-tuning on a subject. We achieve it by imposing an ordering of importance on the rank's positions, effectively encouraging the creation of higher ranks when strictly needed. Qualitatively and quantitatively, our approach, LoRA$^2$, achieves a competitive trade-off between DINO, CLIP-I, and CLIP-T across 29 subjects while requiring much less memory and lower rank than high rank LoRA versions. Code: https://github.com/donaldssh/NotAllLayersAreCreatedEqual.
format Preprint
id arxiv_https___arxiv_org_abs_2603_21884
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Not All Layers Are Created Equal: Adaptive LoRA Ranks for Personalized Image Generation
Shenaj, Donald
Errica, Federico
Carta, Antonio
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
Low Rank Adaptation (LoRA) is the de facto fine-tuning strategy to generate personalized images from pre-trained diffusion models. Choosing a good rank is extremely critical, since it trades off performance and memory consumption, but today the decision is often left to the community's consensus, regardless of the personalized subject's complexity. The reason is evident: the cost of selecting a good rank for each LoRA component is combinatorial, so we opt for practical shortcuts such as fixing the same rank for all components. In this paper, we take a first step to overcome this challenge. Inspired by variational methods that learn an adaptive width of neural networks, we let the ranks of each layer freely adapt during fine-tuning on a subject. We achieve it by imposing an ordering of importance on the rank's positions, effectively encouraging the creation of higher ranks when strictly needed. Qualitatively and quantitatively, our approach, LoRA$^2$, achieves a competitive trade-off between DINO, CLIP-I, and CLIP-T across 29 subjects while requiring much less memory and lower rank than high rank LoRA versions. Code: https://github.com/donaldssh/NotAllLayersAreCreatedEqual.
title Not All Layers Are Created Equal: Adaptive LoRA Ranks for Personalized Image Generation
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2603.21884