Memory-Efficient Fine-Tuning for Quantized Diffusion Model

被引:0
|
作者
Ryu, Hyogon [1 ]
Lim, Seohyun [1 ]
Shim, Hyunjung [1 ]
机构
[1] Korea Adv Inst Sci & Technol, Kim Jaechul Grad Sch AI, Seoul, South Korea
来源
基金
新加坡国家研究基金会;
关键词
Quantization; Diffusion Model; Transfer Learning;
D O I
10.1007/978-3-031-72640-8_20
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The emergence of billion-parameter diffusion models such as Stable Diffusion XL, Imagen, and DALL-E 3 has significantly propelled the domain of generative AI. However, their large-scale architecture presents challenges in fine-tuning and deployment due to high resource demands and slow inference speed. This paper explores the relatively unexplored yet promising realm of fine-tuning quantized diffusion models. Our analysis revealed that the baseline neglects the distinct patterns in model weights and the different roles throughout time steps when finetuning the diffusion model. To address these limitations, we introduce a novel memory-efficient fine-tuning method specifically designed for quantized diffusion models, dubbed TuneQDM. Our approach introduces quantization scales as separable functions to consider inter-channel weight patterns. Then, it optimizes these scales in a timestep-specific manner for effective reflection of the role of each time step. TuneQDM achieves performance on par with its full-precision counterpart while simultaneously offering significant memory efficiency. Experimental results demonstrate that our method consistently outperforms the baseline in both single-/multi-subject generations, exhibiting high subject fidelity and prompt fidelity comparable to the full precision model.
引用
收藏
页码:356 / 372
页数:17
相关论文
共 50 条
  • [41] Fine-tuning inspections
    Anon
    Compressed Air, 1994, 99 (05): : 4 - 5
  • [42] Fine-tuning adhesives
    Grant Miura
    Nature Chemical Biology, 2020, 16 : 1153 - 1153
  • [43] Fine-tuning feedback
    Alicia Newton
    Nature Climate Change, 2008, 1 (802) : 17 - 17
  • [44] Fine-tuning metabolism
    Sarah Seton-Rogers
    Nature Reviews Cancer, 2014, 14 : 705 - 705
  • [45] Fine-Tuning the Future
    Baker, Robert
    HASTINGS CENTER REPORT, 2010, 40 (03) : 6 - 7
  • [46] Fine-tuning polylactides
    O'Driscoll, C
    CHEMISTRY IN BRITAIN, 2001, 37 (06) : 25 - 26
  • [47] Gauging fine-tuning
    Azhar, Feraz
    Loeb, Abraham
    PHYSICAL REVIEW D, 2018, 98 (10)
  • [48] Monitoring is Fine-tuning
    不详
    FLEISCHWIRTSCHAFT, 2020, 100 (11):
  • [49] Fine-tuning adaptation
    Jabri, E
    NATURE STRUCTURAL & MOLECULAR BIOLOGY, 2005, 12 (05): : 394 - 394
  • [50] Fine-tuning the Universe
    Merrie Haskell
    Nature, 2009, 461 : 134 - 134