arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.06119cs.CVcs.LG
收藏

面向端侧图像生成的具备固定尺寸可复用结构的硬件友好型扩散模型

Hardware-Friendly Diffusion Models with Fixed-Size Reusable Structures for On-Device Image Generation

IIT Bombay(博伊斯姆理工大学);Samsung(三星)

Sanchar Palit, Sathya Veera Reddy Dendi, Mallikarjuna Talluri, Raj Narayana Gadde

AI总结:

针对现有扩散模型架构端侧部署的痛点,提出以固定尺寸可复用Transformer模块为核心的硬件友好型架构,无token与位置嵌入,适配资源受限设备,在CelebA无条件生成任务上取得1.6的SOTA FID分数。

摘要:

Vision Transformer(视觉Transformer)和U-Net架构已被广泛应用于扩散模型的实现中,但两种架构在端侧部署时都存在各自的特定挑战。Vision Transformer虽具备分词后可使用固定尺寸、可复用的重复模块的优势,但需要位置嵌入来维持Transformer处理的token(词元)间的对应关系。U-Net架构则不具备这些特性,其在扩散过程的噪声估计主干网络中,采用可变尺寸的中间模块进行下卷积和上卷积操作。为解决这些问题,我们提出一种以固定尺寸、可复用的Transformer模块为核心结构的架构,更适合硬件实现。该架构具有低复杂度、无token设计、无位置嵌入、均匀性和可扩展性的特点,非常适合部署在移动设备和资源受限设备上。所提模型在无条件和有条件图像生成任务上均表现出具有竞争力且稳定的性能。在CelebA数据集的无条件图像生成任务中,该模型取得了1.6的当前最优FID分数。

英文摘要:

Vision Transformers and U-Net architectures have been widely adopted in the implementation of Diffusion Models. However, each architecture presents specific challenges while realizing them on-device. Vision Transformers require positional embedding to maintain correspondence between the tokens processed by the transformer, although they offer the advantage of using fixed-size, reusable repetitive blocks following tokenization. The U-Net architecture lacks these attributes, as it utilizes variable-sized intermediate blocks for down-convolution and up-convolution in the noise estimation backbone for the diffusion process. To address these issues, we propose an architecture that utilizes a fixed-size, reusable transformer block as a core structure, making it more suitable for hardware implementation. Our architecture is characterized by low complexity, token-free design, absence of positional embeddings, uniformity, and scalability, making it highly suitable for deployment on mobile and resource-constrained devices. The proposed model exhibit competitive and consistent performance across both unconditional and conditional image generation tasks. The model achieved a state-of-the-art FID score of 1.6 on unconditional image generation with the CelebA.

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

↑