arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.07615cs.LGcs.AI
收藏

深度神经网络中使用多臂赌博机的结构化神经元剪枝

Structured Neuron Pruning in Deep Neural Networks Using Multi-Armed Bandits

School of Science, Engineering and Environment, University of Salford(科学、工程与环境学院,萨尔福德大学)

Salem Ameen, Sunil Vadera

AI总结:

提出基于多臂赌博机算法的结构化剪枝框架,通过将每个神经元视为臂并评估移除奖励,在表格分类、回归及深度网络任务上验证了UCB1和汤普森采样等策略的有效性。

摘要:

深度神经网络通常包含冗余的隐藏单元。移除单个权重可以减少参数数量,但非结构化稀疏性在标准密集实现中并不总是容易利用。本文开发了一个结构化剪枝框架,其中使用多臂赌博机(MAB)算法移除完整的神经元。每个候选神经元被视为一个臂;拉动一个臂会暂时屏蔽该神经元,测量采样小批量上损失的变化,恢复神经元,并更新其安全移除奖励的估计。该框架支持随机策略,包括Epsilon-Greedy、Softmax、UCB1和汤普森采样,以及乘性权重策略,包括Hedge风格的乘性权重和EXP3。我们在涵盖图像、文本和推理任务的表格分类、表格回归和深度神经网络基准上评估了该方法。使用弗里德曼检验和随后Nemenyi事后检验的统计比较显示方法之间存在显著差异。在表格分类任务上,UCB1在剪枝策略中获得最高平均排名,并优于未剪枝的神经网络。在回归任务上,UCB1获得最高平均排名,并且根据R^2,与几种标准回归模型在统计上具有竞争力或更优。在深度学习任务上,UCB1和汤普森采样获得最强排名,并且几种MAB策略显著优于未剪枝模型、基于幅度的神经元剪枝和贪婪激活变化剪枝。结果表明,基于MAB的神经元剪枝是一种有效且计算实用的结构化模型缩减方法。

英文摘要:

Deep neural networks often contain redundant hidden units. Removing individual weights can reduce parameter count, but unstructured sparsity is not always easy to exploit in standard dense implementations. This paper develops a structured pruning framework in which complete neurons are removed using multi-armed bandit (MAB) algorithms. Each candidate neuron is treated as an arm; pulling an arm temporarily masks that neuron, measures the change in loss on a sampled mini-batch, restores the neuron, and updates an estimate of its safe-removal reward. The framework supports stochastic policies, including Epsilon-Greedy, Softmax, UCB1 and Thompson Sampling, and multiplicative-weight policies, including Hedge-style multiplicative weights and EXP3. We evaluate the method on tabular classification, tabular regression and deep neural-network benchmarks covering image, text and reasoning tasks. Statistical comparisons using the Friedman test followed by the Nemenyi post-hoc test show significant differences between methods. On tabular classification tasks, UCB1 obtains the highest mean rank among pruning policies and improves on the unpruned neural network. On regression tasks, UCB1 obtains the highest mean rank and is statistically competitive with, or superior to, several standard regression models according to R^2. On deep-learning tasks, UCB1 and Thompson Sampling obtain the strongest ranks, and several MAB policies significantly outperform the unpruned model, magnitude-based neuron pruning and greedy activation-variation pruning. The results show that MAB-based neuron pruning is an effective and computationally practical approach for structured model reduction.

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

↑