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

更稀疏,更好,更深,更强:通过精确正交初始化改进稀疏训练

Sparser, Better, Deeper, Stronger: Improving Sparse Training with Exact Orthogonal Initialization

Jagiellonian University(雅盖隆大学);IDEAS NCBR;Warsaw University of Technology(华沙理工大学)

Aleksandra Irena Nowak, Łukasz Gniecki, Filip Szatkowski, Jacek Tabor

AI总结:

本文提出精确正交初始化(EOI),通过组合随机 Givens 旋转提供精确正交性,支持任意密度的网络层,有效稳定梯度信号,在静态稀疏训练中表现卓越,成功训练了无残差和归一化的1000层网络。

摘要:

静态稀疏训练旨在从头训练稀疏模型,近年来取得了显著成果。其关键设计选择在于稀疏初始化,它通过二值掩码确定可训练的子网络。现有方法主要基于预定义的稠密初始化来选择此类掩码。这种方法可能无法有效利用掩码对优化的潜在影响。受动力学等距研究的启发,另一种方向是在稀疏子网络中引入正交性,这有助于稳定梯度信号。在本研究中,我们提出了精确正交初始化(EOI),这是一种基于组合随机 Givens 旋转的全新稀疏正交初始化方案。与其他现有方法不同,我们的方法提供精确的(而非近似的)正交性,并允许创建具有任意密度的网络层。我们通过实验证明了 EOI 的卓越有效性与效率,其表现持续优于常见的稀疏初始化技术。该方法能够在不使用残差连接或归一化技术的情况下,训练高度稀疏的 1000 层 MLP 和 CNN 网络,突显了权重初始化与稀疏掩码选择在静态稀疏训练中同等关键的作用。代码可在 https://github.com/woocash2/sparser-better-deeper-stronger 获取。

英文摘要:

Static sparse training aims to train sparse models from scratch, achieving remarkable results in recent years. A key design choice is given by the sparse initialization, which determines the trainable sub-network through a binary mask. Existing methods mainly select such mask based on a predefined dense initialization. Such an approach may not efficiently leverage the mask's potential impact on the optimization. An alternative direction, inspired by research into dynamical isometry, is to introduce orthogonality in the sparse subnetwork, which helps in stabilizing the gradient signal. In this work, we propose Exact Orthogonal Initialization (EOI), a novel sparse orthogonal initialization scheme based on composing random Givens rotations. Contrary to other existing approaches, our method provides exact (not approximated) orthogonality and enables the creation of layers with arbitrary densities. We demonstrate the superior effectiveness and efficiency of EOI through experiments, consistently outperforming common sparse initialization techniques. Our method enables training highly sparse 1000-layer MLP and CNN networks without residual connections or normalization techniques, emphasizing the crucial role of weight initialization in static sparse training alongside sparse mask selection. The code is available at https://github.com/woocash2/sparser-better-deeper-stronger

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

↑