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

FINE: 用于变量大小扩散模型初始化的知识因子化

FINE: Factorizing Knowledge for Initialization of Variable-sized Diffusion Models

School of Computer Science and Engineering, Southeast University, Nanjing, China(计算机科学与工程学院,东南大学,南京,中国);Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education, China(新一代人工智能技术及其交叉应用关键实验室(东南大学),教育部,中国)

Yucheng Xie, Fu Feng, Ruixiao Shi, Jianlu Shen, Jing Wang, Yong Rui, Xin Geng

AI总结:

FINE通过分解知识为learngenes,实现变量大小扩散模型的高效初始化,无需重复预训练,提升资源受限部署下的性能与适应性。

摘要:

扩散模型的训练计算成本很高,因此有效的预训练至关重要。然而,现实中的部署往往需要因内存和计算限制而异的模型大小,这在对应预训练版本不可用时带来了挑战。为此,我们提出FINE,一种新的预训练方法,其生成的模型可以灵活地将其知识分解为基本组件,称为learngenes,从而能够直接初始化各种大小的模型,消除重复预训练的需要。与优化传统全参数模型不同,FINE将每一层的权重表示为U*、Σ*(l)和V*的乘积,其中U*和V*作为跨层的大小无关learngenes,而Σ*(l)则保持层特定。通过联合训练这些组件,FINE形成了一种可分解且可转移的知识结构,允许通过灵活重组learngenes进行高效的初始化,仅需在有限数据上对Σ*(l)进行轻量级重新训练。广泛的实验表明,FINE的效率得到了验证,在各种资源受限的部署中初始化变量大小模型方面实现了最先进的性能。此外,由FINE初始化的模型能够适应多种任务,展示了learngenes的任务无关性。

英文摘要:

The training of diffusion models is computationally intensive, making effective pre-training essential. However, real-world deployments often demand models of variable sizes due to diverse memory and computational constraints, posing challenges when corresponding pre-trained versions are unavailable. To address this, we propose FINE, a novel pre-training method whose resulting model can flexibly factorize its knowledge into fundamental components, termed learngenes, enabling direct initialization of models of various sizes and eliminating the need for repeated pre-training. Rather than optimizing a conventional full-parameter model, FINE represents each layer's weights as the product of $U_{\star}$, $Σ_{\star}^{(l)}$, and $V_{\star}^\top$, where $U_{\star}$ and $V_{\star}$ serve as size-agnostic learngenes shared across layers, while $Σ_{\star}^{(l)}$ remains layer-specific. By jointly training these components, FINE forms a decomposable and transferable knowledge structure that allows efficient initialization through flexible recombination of learngenes, requiring only light retraining of $Σ_{\star}^{(l)}$ on limited data. Extensive experiments demonstrate the efficiency of FINE, achieving state-of-the-art performance in initializing variable-sized models across diverse resource-constrained deployments. Furthermore, models initialized by FINE effectively adapt to diverse tasks, showcasing the task-agnostic versatility of learngenes.

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

↑