DeepCache: Accelerating Diffusion Models for Free

计算机科学 加速 计算 冗余(工程) 再培训 重新使用 人工智能 降噪 机器学习 算法 并行计算 生态学 国际贸易 业务 生物 操作系统
作者
Xinyin Ma,Gongfan Fang,Xinchao Wang
出处
期刊:Cornell University - arXiv 被引量:4
标识
DOI:10.48550/arxiv.2312.00858
摘要

Diffusion models have recently gained unprecedented attention in the field of image synthesis due to their remarkable generative capabilities. Notwithstanding their prowess, these models often incur substantial computational costs, primarily attributed to the sequential denoising process and cumbersome model size. Traditional methods for compressing diffusion models typically involve extensive retraining, presenting cost and feasibility challenges. In this paper, we introduce DeepCache, a novel training-free paradigm that accelerates diffusion models from the perspective of model architecture. DeepCache capitalizes on the inherent temporal redundancy observed in the sequential denoising steps of diffusion models, which caches and retrieves features across adjacent denoising stages, thereby curtailing redundant computations. Utilizing the property of the U-Net, we reuse the high-level features while updating the low-level features in a very cheap way. This innovative strategy, in turn, enables a speedup factor of 2.3$\times$ for Stable Diffusion v1.5 with only a 0.05 decline in CLIP Score, and 4.1$\times$ for LDM-4-G with a slight decrease of 0.22 in FID on ImageNet. Our experiments also demonstrate DeepCache's superiority over existing pruning and distillation methods that necessitate retraining and its compatibility with current sampling techniques. Furthermore, we find that under the same throughput, DeepCache effectively achieves comparable or even marginally improved results with DDIM or PLMS. The code is available at https://github.com/horseee/DeepCache
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
1秒前
顾矜应助GS11采纳,获得10
2秒前
SuperZzz完成签到,获得积分10
2秒前
李大伟发布了新的文献求助10
4秒前
贾克斯完成签到,获得积分20
4秒前
闾丘剑封发布了新的文献求助10
4秒前
量子星尘发布了新的文献求助30
4秒前
李健应助hanleiharry1采纳,获得10
4秒前
5秒前
科研通AI2S应助Hey采纳,获得20
7秒前
爱笑若冰完成签到,获得积分10
7秒前
tomorrow完成签到 ,获得积分10
8秒前
9秒前
Rei完成签到 ,获得积分20
10秒前
科研通AI2S应助无所谓的啦采纳,获得10
10秒前
田様应助打我呀采纳,获得10
10秒前
11秒前
11秒前
科研狗发布了新的文献求助10
11秒前
yixiaolou发布了新的文献求助10
12秒前
李大伟完成签到,获得积分10
13秒前
慎独完成签到,获得积分10
13秒前
MchemG应助科研通管家采纳,获得10
14秒前
乐乐应助科研通管家采纳,获得10
14秒前
orixero应助科研通管家采纳,获得30
14秒前
SYLH应助科研通管家采纳,获得30
14秒前
CHENG_2025应助科研通管家采纳,获得10
14秒前
小萌发布了新的文献求助10
14秒前
14秒前
Jasper应助科研通管家采纳,获得10
14秒前
在水一方应助科研通管家采纳,获得30
14秒前
SYLH应助科研通管家采纳,获得10
14秒前
爆米花应助科研通管家采纳,获得10
14秒前
英姑应助科研通管家采纳,获得10
15秒前
传奇3应助科研通管家采纳,获得10
15秒前
撸撸大仙发布了新的文献求助10
15秒前
MchemG应助科研通管家采纳,获得10
15秒前
MchemG应助科研通管家采纳,获得10
15秒前
15秒前
高分求助中
A new approach to the extrapolation of accelerated life test data 1000
ACSM’s Guidelines for Exercise Testing and Prescription, 12th edition 500
‘Unruly’ Children: Historical Fieldnotes and Learning Morality in a Taiwan Village (New Departures in Anthropology) 400
Indomethacinのヒトにおける経皮吸収 400
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 370
基于可调谐半导体激光吸收光谱技术泄漏气体检测系统的研究 350
Robot-supported joining of reinforcement textiles with one-sided sewing heads 320
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3989406
求助须知:如何正确求助?哪些是违规求助? 3531522
关于积分的说明 11254187
捐赠科研通 3270174
什么是DOI,文献DOI怎么找? 1804901
邀请新用户注册赠送积分活动 882105
科研通“疑难数据库(出版商)”最低求助积分说明 809174