2025-02-26 · 进阶 · 机器学习 · 计算机视觉

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

K-LoRA提出了一种无需训练的LoRA融合方法,通过Top-K选择和缩放因子,有效地融合了风格和内容LoRA,实现了高质量的风格迁移和内容生成。

更新于 2025-11-30。作者:Ziheng Ouyang、Zhen Li、Qibin Hou。

中文摘要

最近的研究探讨了将不同的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.

解读

一句话总结

K-LoRA提出了一种无需训练的LoRA融合方法,通过Top-K选择和缩放因子,有效地融合了风格和内容LoRA,实现了高质量的风格迁移和内容生成。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt