DrDiff:用于打破效率-质量权衡的具有分层注意力的动态路由扩散
DrDiff: Dynamic Routing Diffusion with Hierarchical Attention for Breaking the Efficiency-Quality Trade-off
AI总结:
本文提出DrDiff框架,通过动态专家调度、分层稀疏注意力及软吸收引导优化策略,有效打破长文本生成的效率-质量权衡,显著提升生成速度并超越现有SOTA方法。
摘要:
本文介绍了DrDiff,一个用于长文本生成的新框架,通过三项核心技术克服了效率与质量的权衡。首先,我们设计了一种动态专家调度机制,在扩散过程中根据文本复杂度智能分配计算资源,从而更高效地处理不同难度的文本生成任务。其次,我们引入了分层稀疏注意力(HSA)机制,根据多种输入长度自适应调整注意力模式,在保持模型性能的同时将计算复杂度从O($n^2$)降至O($n$)。最后,我们提出了一种软吸收引导优化策略,与DPM-solver++结合以减少扩散步骤,显著提高了生成速度。在各种长文本生成基准上的综合实验证明了我们的DrDiff优于现有的SOTA方法。
英文摘要:
This paper introduces DrDiff, a novel framework for long-text generation that overcomes the efficiency-quality trade-off through three core technologies. First, we design a dynamic expert scheduling mechanism that intelligently allocates computational resources during the diffusion process based on text complexity, enabling more efficient handling of text generation tasks of varying difficulty. Second, we introduce a Hierarchical Sparse Attention (HSA) mechanism that adaptively adjusts attention patterns according to a variety of input lengths, reducing computational complexity from O($n^2$) to O($n$) while maintaining model performance. Finally, we propose a soft absorption guidance optimization strategy that combines with DPM-solver++ to reduce diffusion steps, significantly improving generation speed. Comprehensive experiments on various long-text generation benchmarks demonstrate the superiority of our DrDiff over the existing SOTA methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。