Lune

NeurIPS2023顶会

ScaleLong: Towards More Stable Training of Diffusion Model via Scaling Network Long Skip Connection

Zhongzhan Huang, Pan Zhou, Shuicheng Yan, Liang Lin

摘要

In diffusion models, UNet is the most popular network backbone, since its long skip connects (LSCs) to connect distant network blocks can aggregate long-distant information and alleviate vanishing gradient. Unfortunately, UNet often suffers from unstable training in diffusion models which can be alleviated by scaling its LSC coefficients smaller. However, theoretical understandings of the instability of UNet in diffusion models and also the performance improvement of LSC scaling remain absent yet. To solve this issue, we theoretically show that the coefficients of LSCs in UNet have big effects on the stableness of the forward and backward propagation and robustness of UNet. Specifically, the hidden feature and gradient of UNet at any layer can oscillate and their oscillation ranges are actually large which explains the instability of UNet training. Moreover, UNet is also provably sensitive to perturbed input, and predicts an output distant from the desired output, yielding oscillatory loss and thus oscillatory gradient. Besides, we also observe the theoretical benefits of the LSC coefficient scaling of UNet in the stableness of hidden features and gradient and also robustness. Finally, inspired by our theory, we propose an effective coefficient scaling framework ScaleLong that scales the coefficients of LSC in UNet and better improves the training stability of UNet. Experimental results on four famous datasets show that our methods are superior to stabilize training and yield about 1.5x training acceleration on different diffusion models with UNet or UViT backbones. Code: https://github.com/sail-sg/ScaleLong

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Scaling Diffusion Transformers Efficiently via μP 引用了 Diffusion Models Beat GANs on Image Synthesis
  • Scaling Diffusion Transformers Efficiently via μP 引用了 Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Understanding Hallucinations in Diffusion Models through Mode Interpolation 引用了 Improved Denoising Diffusion Probabilistic Models
  • Understanding Hallucinations in Diffusion Models through Mode Interpolation 引用了 Diffusion Models Beat GANs on Image Synthesis
  • Understanding Hallucinations in Diffusion Models through Mode Interpolation 引用了 Denoising Diffusion Probabilistic Models
  • Understanding Hallucinations in Diffusion Models through Mode Interpolation 引用了 Denoising Diffusion Implicit Models
  • Mirror Gradient: Towards Robust Multimodal Recommender Systems via Exploring Flat Local Minima 引用了 Let's Think Outside the Box: Exploring Leap-of-Thought in Large Language Models with Creative Humor Generation
  • Improved Denoising Diffusion Probabilistic Models 引用了 Denoising Diffusion Probabilistic Models
  • Improved Denoising Diffusion Probabilistic Models 引用了 Denoising Diffusion Implicit Models
  • Diffusion Models Beat GANs on Image Synthesis 引用了 Improved Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis 引用了 Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis 引用了 Denoising Diffusion Implicit Models
  • Make-A-Shape: a Ten-Million-scale 3D Shape Model 引用了 Diffusion Models Beat GANs on Image Synthesis
  • Make-A-Shape: a Ten-Million-scale 3D Shape Model 引用了 Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Denoising Diffusion Implicit Models 引用了 Denoising Diffusion Probabilistic Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 Improved Denoising Diffusion Probabilistic Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 Diffusion Models Beat GANs on Image Synthesis
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 Denoising Diffusion Probabilistic Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 Denoising Diffusion Implicit Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. Understanding Hallucinations in Diffusion Models through Mode InterpolationSumukh K. Aithal, Pratyush Maini, Zachary C. Lipton, J. Zico KolterNeurIPS 2024 · 121 次引用
  2. Make-A-Shape: a Ten-Million-scale 3D Shape ModelKa-Hei Hui, Aditya Sanghi, Arianna Rampini, Kamal Rahimi Malekshan 等ICML 2024 · 29 次引用
  3. Mirror Gradient: Towards Robust Multimodal Recommender Systems via Exploring Flat Local MinimaShanshan Zhong, Zhongzhan Huang, Daifeng Li, Wushao Wen 等WWW 2024 · 24 次引用
  4. Let's Think Outside the Box: Exploring Leap-of-Thought in Large Language Models with Creative Humor GenerationShanshan Zhong, Zhongzhan Huang, Shanghua Gao, Wushao Wen 等CVPR 2024 · 16 次引用
  5. Scaling Diffusion Transformers Efficiently via μPChenyu Zheng, Xinyu Zhang, Rongzhen Wang, Wei Huang 等NeurIPS 2025 · 7 次引用

它引用的 Paper38

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
  2. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 次引用
  3. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 次引用
  4. Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li 等NeurIPS 2022 · 8,965 次引用
  5. Improved Denoising Diffusion Probabilistic ModelsAlexander Quinn Nichol, Prafulla DhariwalICML 2021 · 5,234 次引用

相关 Paper

  1. Towards Stabilized and Efficient Diffusion Transformers Through Long-Skip-Connections With Spectral ConstraintsGuanjie Chen, Xinyu Zhao, Yucheng Zhou, Xiaoye Qu 等ICCV 2025 · 1 次引用
  2. FreeU: Free Lunch in Diffusion U-NetChenyang Si, Ziqi Huang, Yuming Jiang, Ziwei LiuCVPR 2024 · 111 次引用
  3. All are Worth Words: A ViT Backbone for Diffusion ModelsFan Bao, Shen Nie, Kaiwen Xue, Yue Cao 等CVPR 2023
  4. DARTS-: Robustly Stepping out of Performance Collapse Without IndicatorsXiangxiang Chu, Xiaoxing Wang, Bo Zhang, Shun Lu 等ICLR 2021 · 72 次引用
  5. SCEdit: Efficient and Controllable Image Diffusion Generation via Skip Connection EditingZeyinzi Jiang, Chaojie Mao, Yulin Pan, Zhen Han 等CVPR 2024
黄昏的海面,两侧是细线勾勒的悬崖