OrthoFuse: Training-free Riemannian Fusion of Orthogonal Style-Concept Adapters for Diffusion Models
Organizations: HSE University · FusionBrain Lab · AXXX
Abstract
In a rapidly growing field of model training there is a constant practical interest in parameter-efficient fine-tuning and various techniques that use a small amount of training data to adapt the model to a narrow task. However, there is an open question: how to combine several adapters tuned for different tasks into one which is able to yield adequate results on both tasks? Specifically, merging subject and style adapters for generative models remains unresolved. In this paper we seek to show that in the case of orthogonal fine-tuning (OFT), we can use structured orthogonal parametrization and its geometric properties to get the formulas for training-free adapter merging. In particular, we derive the structure of the manifold formed by the recently proposed Group-and-Shuffle () orthogonal matrices, and obtain efficient formulas for the geodesics approximation between two points. Additionally, we propose a transform that restores spectral properties of the merged adapter for higher-quality fusion. We conduct experiments in subject-driven generation tasks showing that our technique to merge two orthogonal matrices is capable of uniting concept and style features of different adapters. To the best of our knowledge, this is the first training-free method for merging multiplicative orthogonal adapters. Code is available via the link.
Figures & tables
| Method | Style Sim | CLIP | DINO | Geo. Mean (Style, DINO) | Geo. Mean (Style, CLIP) | Merging time |
|---|---|---|---|---|---|---|
| Training-based | ||||||
| Joint training | 0.48 | 0.79 | 0.67 | 0.57 | 0.62 | 1.5 hours |
| ZipLoRA | 0.49 | 0.74 | 0.55 | 0.52 | 0.6 | 4 minutes |
| ZipLoRA | 0.49 | 0.76 | 0.64 | 0.56 | 0.61 | |
| Training-free | ||||||
| K-LoRA | 0.46 | 0.76 | 0.55 | 0.5 | 0.59 | sec |
| Question | Our vs K-L. | Our vs Z. |
|---|---|---|
| Concept Preserv. (Q1) | 48% vs 52% | 54% vs 46% |
| Style Transfer (Q2) | 77% vs 23% | 83% vs 17% |
| Overall Preference (Q3) | 67% vs 33% | 76% vs 24% |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Model Merging
Model merging combines trained model weights or adapters to reuse capabilities while reducing the cost of joint training or ensembles.
See all 187 papers