LoRAtorio: An intrinsic approach to LoRA Skill Composition
Niki Foteinopoulou, Ignas Budvytis, Stephan Liwicki
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Interpretability & Model Adaptation › Low-Rank Adapter Merging · Type: new method · Keywords: LoRA composition, intrinsic guidance, diffusion models, multi-adapter weighting, classifier-free guidance, text-to-image generation
Areas: Multimodal › Multimodal Creation and Editing › Diffusion Model Conditioning
Summary
LoRAtorio introduces a train-free, intrinsic framework for composing multiple LoRA adapters in diffusion models by using patch-level cosine similarity to weight their outputs and support dynamic selection.
Explained to a 5-year-old
Sometimes we want a drawing model to know many different things, like how to draw cats, dogs, and cars. When we try to use all of them together, the picture can become confusing. The new idea looks at how each part of the drawing matches the original model and gives more weight to the parts that fit well. It also chooses only the most useful parts when making a new picture. This helps the model draw better pictures with many skills without extra training.
Explained to a 5-year-old, longer
A drawing computer program can learn to draw many different things, like animals, buildings, and objects. Each learned skill is stored in a small piece of the program called an adapter. When we want to draw something using several skills at once, we need to combine them. Old ways of combining adapters often make the picture messy or lose some details. The new method watches how each adapter's drawing compares to the original model's drawing. If an adapter's drawing looks similar to the original, it is trusted more. If it looks different, it is trusted less. These comparisons are done for every small part of the picture, like patches. A weight matrix is built from these comparisons to blend the adapters together. The method also changes the guidance used during drawing to keep the picture stable. It can even pick only the adapters that are most useful at the moment of drawing. This allows the model to create clear pictures even when many skills are involved. The whole process happens without needing any extra training, making it easy to use. It works with different kinds of drawing models, not just one type. By using only signals already inside the model, the approach stays simple and efficient.
For a technical reader
The framework computes patch-level cosine similarity between each LoRA's predicted noise and the base model's denoiser to weight adapter contributions. It modifies classifier-free guidance by adding the base model's unconditional score, reducing domain drift. An extension enables dynamic selection of adapters at inference time from a large pool, supporting flexible composition without retraining.
Problem
Existing methods for composing multiple LoRA adapters in diffusion models struggle in open-ended settings where the number and nature of required skills are unknown, leading to degraded performance as more adapters are combined.
Method
The approach uses patch-level cosine (dis)similarity between each LoRA's predicted noise and the base model's denoiser to construct a spatially-aware weight matrix, enabling weighted aggregation of LoRA outputs. It also modifies classifier-free guidance by incorporating the base model's unconditional score to mitigate domain drift. This formulation is extended to allow inference-time selection of relevant adapters from a large pool.
Results
On the ComposLoRA benchmark, the approach achieves a CLIPScore up to 1.3% higher than prior methods and obtains a 76.92% GPT-4V win rate against the strongest baseline, while maintaining performance as more adapters are composed.
Contributions
The work introduces an intrinsic, train-free composition framework that uses only internal denoiser signals for weighting adapters, proposes a modified classifier-free guidance to reduce domain drift, and demonstrates backbone-agnostic transfer to rectified-flow models.
Practical relevance
The framework enables flexible, inference-time composition of multiple LoRA adapters for personalized text-to-image generation without additional training, facilitating practical deployment.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction