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
Towards Stabilized and Efficient Diffusion Transformers through Long-Skip-Connections with Spectral Constraints
Shanghai Jiao Tong University(上海交通大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);The University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);SKL-IOTSC, CIS, University of Macau(澳门大学SKL-IOTSC、CIS);Huazhong University of Science and Technology(华中科技大学);The Chinese University of Hong Kong(香港中文大学)
计算机断层扫描(CT)的一个主要挑战是如何在不影响图像质量和诊断性能的情况下最大限度地减少患者的辐射暴露。使用深度卷积(Conv)神经网络来降低低剂量CT(LDCT)图像中的噪声,最近在这一重要应用中显示出巨大的潜力。提出了一种高效的LDCT图像去噪神经网络模型。具体来说,为了捕获局部解剖特征,我们集成了深度卷积神经网络(CNN)和跳过连接层进行特征提取。此外,我们引入了并行化的$1\times 1$ CNN,称为Network in Network,以降低前一层输出的维度,以更少的特征损失实现更快的计算速度。为了优化网络的性能,我们采用了Wasserstein生成对抗网络(WGAN)框架。定量和定性的比较表明,我们提出的网络模型可以产生更低的噪声和更多的结构细节比国家的最先进的降噪方法的图像。
Why DiT Models Underperform as Representation Learners without Long Skip Connections
Institute of Information Engineering, CAS(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Alibaba Group(阿里巴巴集团);Institute of Computing Technology, CAS(中国科学院计算技术研究所);Beijing Academy of Artificial Intelligence(北京人工智能研究院);School of Computer Science and Tech., University of Chinese Academy of Sciences(中国科学院大学计算机科学与技术学院);Key Laboratory of Big Data Mining and Knowledge Management, CAS(中国科学院大数据挖掘与知识管理重点实验室)
Rethinking Skip Connections in Encoder-decoder Networks for Monocular Depth Estimation
Changchun Institute of Optics, Fine Mechanics and Physics, Chinese Academy of Sciences(中国科学院长春光学精密机械与物理研究所);University of the Chinese Academy of Sciences(中国科学院大学)
Select, Attend, and Transfer: Light, Learnable Skip Connections
Simon Fraser University(西蒙弗雷泽大学);Siemens Healthineers(西门子医疗)
深度网络中的跳过连接通过促进更深层次网络架构的训练和降低梯度消失的风险,提高了分割和分类性能。它们为类似编码器-解码器的网络提供了更丰富的特征表示,但代价是更高的内存使用率,计算量,并可能导致传输非歧视性特征图。在本文中,我们专注于改进分段网络中使用的跳过连接(例如,U-Net、V-Net和The One Hundred Layers Tiramisu(DensNet)架构)。我们提出了轻,可学习的跳过连接,学习首先选择最具鉴别力的通道,然后参加所选特征图的最具鉴别力的区域。所提出的跳跃连接的输出是一个独特的特征图,这不仅在很大程度上减少了内存使用和网络参数,但也提高了分割精度。我们在三个不同的2D和体积数据集上评估了所提出的方法,并证明了所提出的轻型,可学习的跳过连接在分割精度,内存使用和网络参数数量方面优于传统的重型跳过连接。
The Importance of Skip Connections in Biomedical Image Segmentation
Imagia Inc.(Imagia公司);École Polytechnique de Montréal(蒙特利尔理工学院);Université de Montréal(蒙特利尔大学);CHUM Research Center(蒙特利尔大学医院研究中心);Montreal Institute for Learning Algorithms(蒙特利尔学习算法研究所)
SIRe-Networks: Convolutional Neural Networks Architectural Extension for Information Preservation via Skip/Residual Connections and Interlaced Auto-Encoders
Sapienza University(罗马第一大学);University of Udine(乌迪内大学)
Development of Skip Connection in Deep Neural Networks for Computer Vision and Medical Image Analysis: A Survey
School of Computer Science and Engineering, Hubei Key Laboratory of Intelligent Robot, Wuhan Institute of Technology(计算机科学与工程学院、智能机器人湖北省重点实验室、武汉理工大学);School of Computer Science, Wuhan University(计算机科学学院、武汉大学)
Skip Connections Matter: On the Transferability of Adversarial Examples Generated with ResNets
Tsinghua University(清华大学);Shanghai Jiao Tong University(上海交通大学);PCL Research Center of Networks and Communications, Peng Cheng Laboratory(鹏城实验室网络通信PCL研究中心);The University of Melbourne(墨尔本大学)
UCTransNet: Rethinking the Skip Connections in U-Net from a Channel-wise Perspective with Transformer
Northeastern University(东北大学);Key Laboratory of Intelligent Computing in Medical Image of Ministry of Education, Northeastern University(东北大学医学影像智能计算教育部重点实验室);Amii, University of Alberta(阿尔伯塔大学阿尔伯塔机器智能研究所)
Image Restoration Using Very Deep Convolutional Encoder-Decoder Networks with Symmetric Skip Connections
State Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室);School of Computer Science, University of Adelaide(阿德莱德大学计算机科学学院)
Adaptive Channel Allocation for Robust Differentiable Architecture Search
School of Computer Science, Huazhong University of Science and Technology(华中科技大学计算机学院);China Mobile Information Technology Co.,Ltd(中国移动信息技术有限公司);Microsoft Research Asia(微软亚洲研究院)
Narrowing the semantic gaps in U-Net with learnable skip connections: The case of medical image segmentation
Northeastern University(东北大学);Key Laboratory of Intelligent Computing in Medical Image of Ministry of Education(教育部医学图像智能计算重点实验室);DAMO Academy, Alibaba Group(阿里巴巴达摩院);University of Alberta(阿尔伯塔大学)
Skip Connections in Spiking Neural Networks: An Analysis of Their Effect on Network Training
Univ. Polytechnique Hauts-de-France(上法兰西理工大学);Belmihoub Abd El Rahmane High School(贝勒米胡布·阿卜杜勒·拉赫曼高中);Ecole Nationale Supérieure d’Informatique(国家高等计算机学院);Forschungszentrum Jülich(于利希研究中心)
ResFPN: Residual Skip Connections in Multi-Resolution Feature Pyramid Networks for Accurate Dense Pixel Matching
DFKI - German Research Center for Artificial Intelligence(德国人工智能研究中心);Birla Institute of Technology and Science (BITS) Pilani(皮拉尼伯拉理工学院(BITS皮拉尼));University of Applied Sciences Mannheim(曼海姆应用科学大学);University of Kaiserslautern - TUK(凯泽斯劳滕大学(TUK))