arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.03659math.OCcs.LG
收藏

用于少比特神经网络鲁棒稀疏训练的多目标线性集成

Multi-Objective Linear Ensembles for Robust and Sparse Training of Few-Bit Neural Networks

University of Pavia(帕维亚大学);Singapore Management University(新加坡管理大学);Delft University of Technology(代尔夫特理工大学)

Ambrogio Maria Bernardelli, Stefano Gualandi, Hoong Chuin Lau, Simone Milanesi, Neil Yorke-Smith

AI总结:

针对少样本下少比特神经网络的训练问题,提出基于类别对训练与多数投票的BeMi多目标集成方法,可同时实现鲁棒性与稀疏化,在MNIST数据集上准确率显著优于现有方法。

摘要:

近年来,利用组合优化求解器训练神经网络(NNs)受到广泛关注。在小数据场景下,当前最先进的混合整数线性规划求解器可精确训练神经网络,无需依赖密集的GPU训练和超参数调优,还能同时完成网络的训练与稀疏化。本文研究少比特离散值神经网络的训练问题,涵盖取值限定为±1的二值神经网络(Binarized Neural Networks, BNNs),以及取值范围为{-P, …, P}的整数神经网络(Integer Neural Networks, INNs)。少比特神经网络凭借轻量化架构和可在低功耗设备上运行的特性,正获得越来越多的认可。\n本文提出了改进BNNs和INNs训练的新方法。核心贡献是一种多目标集成方法:针对每一对可能的类别分别训练单个神经网络,再采用多数投票方案预测最终输出。该方法训练出的鲁棒稀疏化网络,其输出不受输入微小扰动的影响,且活跃权重数量尽可能少。\n我们将这种BeMi方法与当前基于求解器的神经网络训练、基于梯度的训练的最先进方法进行对比,重点关注少样本场景下的BNN学习。我们对比了INNs与BNNs的优缺点,为权重在{-P, …, P}区间上的分布提供了新的见解。最后,我们对比了INNs的多目标训练与单目标训练,证明鲁棒性和网络简洁性可同时实现,从而获得更优的测试性能。在MNIST数据集上,此前的最先进方法平均准确率为51.1%;而BeMi集成方法在每类10张图像训练时平均准确率达68.4%,每类40张图像训练时达81.8%,且最多可移除75.3%的神经网络连接。

英文摘要:

Training neural networks (NNs) using combinatorial optimization solvers has gained attention in recent years. In low-data settings, state-of-the-art mixed integer linear programming solvers can train exactly a NN, avoiding intensive GPU-based training and hyper-parameter tuning and simultaneously training and sparsifying the network. We study the case of few-bit discrete-valued neural networks, both Binarized Neural Networks (BNNs), whose values are restricted to +-1, and Integer Neural Networks (INNs), whose values lie in a range {-P, ..., P}. Few-bit NNs receive increasing recognition due to their lightweight architecture and ability to run on low-power devices. This paper proposes new methods to improve the training of BNNs and INNs. Our contribution is a multi-objective ensemble approach based on training a single NN for each possible pair of classes and applying a majority voting scheme to predict the final output. Our approach results in training robust sparsified networks whose output is not affected by small perturbations on the input and whose number of active weights is as small as possible. We compare this BeMi approach to the current state-of-the-art in solver-based NN training and gradient-based training, focusing on BNN learning in few-shot contexts. We compare the benefits and drawbacks of INNs versus BNNs, bringing new light to the distribution of weights over the {-P, ..., P} interval. Finally, we compare multi-objective versus single-objective training of INNs, showing that robustness and network simplicity can be acquired simultaneously, thus obtaining better test performances. While the previous state-of-the-art approaches achieve an average accuracy of 51.1% on the MNIST dataset, the BeMi ensemble approach achieves an average accuracy of 68.4% when trained with 10 images per class and 81.8% when trained with 40 images per class, having up to 75.3% NN links removed.

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

↑