Existing ML models are known to be highly over-parametrized, and use significantly more resources than required for a given task. Prior work has explored compressing models offline, such as by distilling knowledge from larger models into much smaller ones. This is effective for compression, but does not give an empirical method for measuring how much the model can be compressed, and requires additional training for each compressed model. We propose a method that requires only a single training session for the original model and a set of compressed models. The proposed approach is a "structural" dropout that prunes all elements in the hidden state above a randomly chosen index, forcing the model to learn an importance ordering over its features. After learning this ordering, at inference time unimportant features can be pruned while retaining most accuracy, reducing parameter size significantly. In this work, we focus on Structural Dropout for fully-connected layers, but the concept can be applied to any kind of layer with unordered features, such as convolutional or attention layers. Structural Dropout requires no additional pruning/retraining, but requires additional validation for each possible hidden sizes. At inference time, a non-expert can select a memory versus accuracy trade-off that best suits their needs, across a wide range of highly compressed versus more accurate models.
DNN Training Acceleration via Exploring GPGPU Friendly Sparsity
Shanghai Jiao Tong University(上海交通大学)
深度神经网络~(DNN)的训练阶段消耗大量的处理时间和能量。利用DNN的稀疏性的压缩技术可以有效地加速DNN的推理阶段。然而,它几乎不用于训练阶段,因为训练阶段涉及使用图形处理器上的通用计算(GPGPU)的密集矩阵乘法,这支持规则和结构化的数据布局。本文首先提出了一种近似随机丢弃(Approximate Random Dropout)算法,该算法用规则的在线生成的基于行或基于块的丢弃模式代替传统的神经元和突触的随机丢弃,以消除多层感知器MLP和长短期记忆LSTM中不必要的计算和数据访问。然后,我们开发了一种基于SGD的搜索算法,该算法产生基于行或基于瓦片的丢弃模式的分布,以补偿潜在的准确性损失。此外,针对卷积神经网络CNN的训练加速问题,首先探讨了输入特征图的重要性和敏感性,然后提出了敏感性感知的丢弃方法,根据输入特征图的敏感性动态丢弃输入特征图,从而在保持较好的神经网络精度的同时,获得更大的前向和后向训练加速。为了便于DNN编程,我们构建了一个DNN训练计算框架,该框架将软件堆栈中的拟议技术统一起来。因此,GPGPU只需要支持基本运算符-矩阵乘法,并且无论DNN模型如何,都可以实现显着的性能提升。
Phase Diagram of Dropout for Two-Layer Neural Networks in the Mean-Field Regime
École Polytechnique Fédérale de Lausanne (EPFL), Institute of Mathematics(瑞士洛桑联邦理工学院数学研究所);Inria, École Normale Supérieure, PSL Research University(法国国家科学研究中心、巴黎高等师范学院、巴黎研究所);Télécom Paris, Institut Polytechnique de Paris(巴黎电信学院、巴黎理工学院)
Analysis of Dimensional Influence of Convolutional Neural Networks for Histopathological Cancer Classification
Fr. Conceicao Rodrigues Institute of Technology, Vashi(康塞桑·罗德里格斯理工学院,瓦希)
卷积神经网络可以根据手头的任务设计不同的复杂程度。本文分析了CNN架构的维度变化对其在组织学癌症分类任务上的性能的影响。研究从基线10层CNN模型开始,具有(3 X 3)卷积滤波器。此后,基线架构在多个维度上进行缩放,包括宽度、深度、分辨率以及所有这些的组合。宽度缩放涉及每CNN层灌输更多数量的神经元,而深度缩放涉及加深分层结构。分辨率缩放是通过增加输入图像的尺寸来执行的,而复合缩放涉及宽度、深度和分辨率缩放的混合组合。结果表明,组织病理学癌症扫描本质上非常复杂,因此需要将高分辨率图像馈送到卷积、最大池化、丢弃和批量归一化层的大层次结构中,以提取所有的复杂性并执行完美的分类。由于复合缩放基线模型可确保所有三个维度(宽度、深度和分辨率)都得到缩放,因此使用复合缩放可获得最佳性能。这项研究表明,CNN模型的更好的性能是通过对基线模型进行复合缩放来实现的。
Bounding generalization error with input compression: An empirical study with infinite-width networks
University of Guelph(圭尔夫大学);Vector Institute for Artificial Intelligence(向量人工智能研究所);The NSF AI Institute for Artificial Intelligence and Fundamental Interactions(美国国家科学基金会人工智能与基础交互研究所);Massachusetts Institute of Technology(麻省理工学院);University of Calgary(卡尔加里大学)
Unifying Depth and Width Pruning for LLMs via Binary Knapsack Optimization
Yardi School of Artificial Intelligence, Indian Institute of Technology Delhi(德里印度理工学院亚迪人工智能学院);Indian Institute of Technology Delhi(德里印度理工学院);Microsoft Research (MSR) India(微软研究院印度分部)
A Closed Form Depth-Width Law for Neural Collapse in Deep Linear Networks
Institute of AI for Health, Helmholtz Munich(亥姆霍兹慕尼黑人工智能健康研究所);Université de Montréal(蒙特利尔大学);Mila – Quebec AI Institute(米拉-魁北克人工智能研究所);Faculty of Mathematics, Informatics and Mechanics, University of Warsaw(华沙大学数学、信息与力学学院);Faculty of Mathematics, Informatics and Statistics, LMU Munich(慕尼黑大学数学、信息与统计学院);School of Computation, Information and Technology, Technical University of Munich(慕尼黑工业大学计算、信息与技术学院)