arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.18461cs.CV
收藏

K-LoRA:解锁任意主体与风格 LoRA 的免训练融合

K-LoRA: Unlocking Training-Free Fusion of Any Subject and Style LoRAs

Nankai University(南开大学);School of Computer Science, Nankai University(南开大学计算机学院)

Ziheng Ouyang, Zhen Li, Qibin Hou

AI总结:

本文提出 K-LoRA,一种免训练的 LoRA 融合方法,通过在每个注意力层比较 Top-K 元素来选择最优 LoRA,有效平衡主体与风格特征,在定性和定量上超越现有基于训练的方法。

摘要:

近期研究探索了结合不同的 LoRA 来联合生成学习到的风格和内容。然而,现有方法要么无法同时有效保留原始主体和风格,要么需要额外训练。在本文中,我们论证 LoRA 的内在属性可以有效引导扩散模型合并学习到的主体和风格。基于这一洞察,我们提出了 K-LoRA,一种简单而有效的免训练 LoRA 融合方法。在每个注意力层中,K-LoRA 比较待融合各 LoRA 中的 Top-K 元素,以决定选择哪个 LoRA 进行最优融合。该选择机制确保了在融合过程中保留主体和风格最具代表性的特征,有效平衡了二者的贡献。实验结果表明,所提方法有效整合了原始 LoRA 学习到的主体和风格信息,在定性和定量结果上均优于基于训练的最先进方法。

英文摘要:

Recent studies have explored combining different LoRAs to jointly generate learned style and content. However, existing methods either fail to effectively preserve both the original subject and style simultaneously or require additional training. In this paper, we argue that the intrinsic properties of LoRA can effectively guide diffusion models in merging learned subject and style. Building on this insight, we propose K-LoRA, a simple yet effective training-free LoRA fusion approach. In each attention layer, K-LoRA compares the Top-K elements in each LoRA to be fused, determining which LoRA to select for optimal fusion. This selection mechanism ensures that the most representative features of both subject and style are retained during the fusion process, effectively balancing their contributions. Experimental results demonstrate that the proposed method effectively integrates the subject and style information learned by the original LoRAs, outperforming state-of-the-art training-based approaches in both qualitative and quantitative results.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑