﻿# LoRA²: adaptive image adapters, file size and the training-memory boundary

Read the LoRA² SDXL and KOALA experiments: adaptive ranks, subject and prompt metrics, adapter file sizes, and what they establish about training memory.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/lora2-personalized-image-adapter-file-size-training-memory-boundary/
Language: en

## What the experiment actually personalizes

The March 23, 2026 [LoRA² paper](https://arxiv.org/html/2603.21884v1) studies personalized image generation with SDXL and KOALA-700m. It does not benchmark language-model adaptation. The practical question is whether every attention component needs the same adapter rank when learning a particular subject.

The authors use a DreamBooth protocol with a separate vase subject for hyperparameter selection and 29 remaining subjects for evaluation. Each evaluation subject has 10 prompts and 5 generated images per prompt. DINO and CLIP-I measure visual similarity to the reference subject, while CLIP-T measures alignment with the prompt. These embedding-based scores describe different objectives; their agreement is not a human evaluation of every image.

## Rank becomes part of optimization

Ordinary fixed-rank LoRA applies the chosen capacity across components. LoRA² learns a continuous parameter that controls an ordered distribution over rank positions. During optimization, the effective rank can grow or shrink, adding or removing parameters. A rank regularizer discourages unnecessary capacity, while an attention-entropy term helps balance subject preservation against prompt following.

The reported layer analysis shows considerable variation across layers and some variation across subjects. This supports investigating adaptive allocation rather than assuming that a uniformly larger adapter always improves personalization. It does not establish that these learned ranks transfer unchanged to another dataset or backbone.

## File size is the measured memory result

For SDXL, the paper compares approximately 0.40 GB for LoRA² with 2.80 GB for fixed rank 512. Its ablation table explicitly labels the quantity as file size: 406 MB for the complete SDXL method, versus 2.7 GB without either regularizer. The corresponding KOALA-700m values are 158 MB and 734 MB.

These are useful adapter-storage results. They are not measurements of peak training VRAM, total device residency, optimizer state, or end-to-end generation latency. The [LoRA memory guide](/journal/lora-qlora-memory/) explains why reducing trainable parameters leaves activations and the frozen backbone in the budget. Consequently, the file-size comparison alone cannot establish which smaller GPU can train the method.

## Quality comparisons have conditions

The experiment uses 1024 × 1024 training images, batch size 1, mixed precision, gradient checkpointing and an 8-bit optimizer on A100 hardware. LoRA² trains for 500 steps with SDXL and 800 with KOALA, whereas the fixed-rank baseline uses 1000 steps. Inference uses 50 and 25 steps respectively. These are complete method configurations rather than an equal-training-step ablation.

Higher fixed ranks generally improve subject scores while weakening prompt alignment. The adaptive method seeks a better compromise; the paper itself reports slightly lower CLIP-T than rank 64 alongside stronger subject metrics. A storage reduction therefore should be assessed together with the intended quality objective, following the [adapter GPU-budget discussion](/journal/peft-lora-gpu-budget/).

## Research availability and remaining limits

The [authors’ repository](https://github.com/donaldssh/NotAllLayersAreCreatedEqual) still states that code is coming soon at this review. The paper supplies experimental detail, but a project page is not a released training implementation or an independent reproduction.

The stated limitations include untested extension to style learning, rank alignment before merging differently sized adapters, and occasional background-color leakage into the subject. A deployment assessment would therefore need an actual implementation, complete-step memory measurements, and quality checks on its own personalization task before translating the published file sizes into hardware requirements.
