OrthoFuse:无训练的正交风格-概念适配器的黎曼融合
OrthoFuse: Training-free Riemannian Fusion of Orthogonal Style-Concept Adapters for Diffusion Models
AI总结:
本文提出无训练的正交适配器融合方法,通过几何性质和谱恢复变换实现多任务适配器的高效融合,适用于生成模型的主体驱动生成任务。
摘要:
在模型训练快速发展的领域中,对参数高效微调和使用少量训练数据适应模型的实践需求持续存在。然而,如何将为不同任务训练的适配器合并成一个能同时在两个任务上产生良好结果的适配器仍是一个开放问题。本文表明,在正交微调(OFT)的情况下,可以通过结构正交参数化及其几何性质推导出无训练适配器合并的公式。具体而言,我们推导了最近提出的分组和洗牌(GS)正交矩阵所形成的流形结构,并获得了两点之间的测地线近似高效公式。此外,我们提出了一种谱恢复变换,以恢复合并适配器的谱特性以提高融合质量。我们在主体驱动生成任务中进行了实验,证明我们的技术能够将两个GS正交矩阵合并为概念和风格特征不同的适配器。据我们所知,这是首次无训练的多乘法正交适配器合并方法。代码可通过https://github.com/ControlGenAI/OrthoFuse获取。
英文摘要:
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 ($\mathcal{GS}$) orthogonal matrices, and obtain efficient formulas for the geodesics approximation between two points. Additionally, we propose a $\text{spectra restoration}$ 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 $\mathcal{GS}$ 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 $\href{https://github.com/ControlGenAI/OrthoFuse}{link}$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。