通过幻觉早期检测优化扩散模型的资源消耗
Optimizing Resource Consumption in Diffusion Models through Hallucination Early Detection
AI总结:
针对扩散模型生成多物体组合时需多次迭代导致资源浪费的问题,提出结合交叉注意力图与预测最终图像的HEaD早期幻觉检测范式,可在双物体场景下最多节省12%生成时间。
摘要:
扩散模型已极大推动生成式AI的发展,但在生成多物体的复杂组合时会遇到困难。由于最终结果高度依赖初始种子,要准确获得期望输出可能需要多轮生成过程迭代。这种重复不仅造成时间浪费,还会增加能源消耗,凸显了复杂生成任务中效率与准确性的挑战。为解决这一问题,我们提出HEaD(幻觉早期检测)——一种旨在在扩散过程初期快速检测错误生成的新范式。HEaD流水线将交叉注意力图与一种新指标“预测最终图像”相结合,利用生成过程早期阶段的可用信息预测最终结果。我们证明,使用HEaD可节省计算资源,并加速生成完整图像(即所有请求物体都被准确描绘的图像)的过程。研究结果显示,在双物体场景下,HEaD最多可节省12%的生成时间,凸显了生成模型中早期检测机制的重要性。
英文摘要:
Diffusion models have significantly advanced generative AI, but they encounter difficulties when generating complex combinations of multiple objects. As the final result heavily depends on the initial seed, accurately ensuring the desired output can require multiple iterations of the generation process. This repetition not only leads to a waste of time but also increases energy consumption, echoing the challenges of efficiency and accuracy in complex generative tasks. To tackle this issue, we introduce HEaD (Hallucination Early Detection), a new paradigm designed to swiftly detect incorrect generations at the beginning of the diffusion process. The HEaD pipeline combines cross-attention maps with a new indicator, the Predicted Final Image, to forecast the final outcome by leveraging the information available at early stages of the generation process. We demonstrate that using HEaD saves computational resources and accelerates the generation process to get a complete image, i.e. an image where all requested objects are accurately depicted. Our findings reveal that HEaD can save up to 12% of the generation time on a two objects scenario and underscore the importance of early detection mechanisms in generative models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。