PLADIS:利用稀疏性在推理时突破扩散模型中注意力的极限
PLADIS: Pushing the Limits of Attention in Diffusion Models at Inference Time by Leveraging Sparsity
AI总结:
PLADIS通过推理时利用稀疏注意力外推查询-键相关性,无需额外训练或NFEs即可增强预训练扩散模型,提升文本对齐与人类偏好,并兼容引导蒸馏模型。
摘要:
扩散模型在使用无分类器引导(CFG)等引导技术生成高质量条件样本方面已展现出令人瞩目的成果。然而,现有方法通常需要额外的训练或神经函数评估(NFEs),这使得它们与引导蒸馏模型不兼容。此外,这些方法依赖启发式策略,需要识别目标层。在本工作中,我们提出一种新颖且高效的方法,称为PLADIS,它通过利用稀疏注意力来增强预训练模型(U-Net/Transformer)。具体而言,我们在推理过程中于交叉注意力层利用softmax及其稀疏对应形式外推查询-键相关性,无需额外训练或NFEs。通过利用稀疏注意力的噪声鲁棒性,我们的PLADIS释放了文本到图像扩散模型的潜在能力,使其在曾经难以应对的领域展现出新的有效性。该方法可与引导技术无缝集成,包括引导蒸馏模型。大量实验表明,在文本对齐和人类偏好方面均有显著提升,提供了一种高效且普遍适用的解决方案。参见我们的项目页面:https://cubeyoung.github.io/pladis-proejct/
英文摘要:
Diffusion models have shown impressive results in generating high-quality conditional samples using guidance techniques such as Classifier-Free Guidance (CFG). However, existing methods often require additional training or neural function evaluations (NFEs), making them incompatible with guidance-distilled models. Also, they rely on heuristic approaches that need identifying target layers. In this work, we propose a novel and efficient method, termed PLADIS, which boosts pre-trained models (U-Net/Transformer) by leveraging sparse attention. Specifically, we extrapolate query-key correlations using softmax and its sparse counterpart in the cross-attention layer during inference, without requiring extra training or NFEs. By leveraging the noise robustness of sparse attention, our PLADIS unleashes the latent potential of text-to-image diffusion models, enabling them to excel in areas where they once struggled with newfound effectiveness. It integrates seamlessly with guidance techniques, including guidance-distilled models. Extensive experiments show notable improvements in text alignment and human preference, offering a highly efficient and universally applicable solution. See Our project page : https://cubeyoung.github.io/pladis-proejct/
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。