使用混合整数规划对整数值神经网络进行最优训练
Optimal training of integer-valued neural networks with mixed integer programming
AI总结:
本文提出使用混合整数规划(MIP)训练整数值神经网络的新方法,通过优化神经元数量和引入批量训练策略,显著提升了训练效率与数据量,在数据受限场景下优于现有技术。
摘要:
近期的研究表明,使用混合整数规划(MIP)求解器优化神经网络的某些方面具有潜力。然而,使用MIP求解器训练神经网络的这一引人入胜的方法仍探索不足。训练神经网络的最先进方法通常基于梯度,需要大量数据、GPU计算和广泛的超参数调整。相比之下,使用MIP求解器进行训练不需要GPU或繁重的超参数调整,但目前除了少量数据外无法处理其他情况。本文建立在近期使用MIP求解器训练二值化神经网络的研究进展之上。我们超越了现有工作,提出了新的MIP模型,这些模型提高了训练效率,并且能够训练重要的整数值神经网络类别。我们提供了两种新颖的方法,以进一步推动使用MIP训练神经网络的潜在重要性。第一种方法在训练时优化神经网络中的神经元数量。这减少了在训练前决定网络架构的需要。第二种方法解决了MIP可以可行地处理的训练数据量:我们提供了一种批量训练方法,该方法显著增加了MIP求解器可用于训练的数据量。因此,我们在使用MIP模型训练神经网络时,朝着使用比以往更多数据的方向迈出了有希望的一步。在两个现实世界的数据受限数据集上的实验结果表明,我们的方法在准确性、训练时间和数据量方面,强烈地超越了以前使用MIP训练神经网络的最先进技术。我们的方法在可用训练数据最少的情况下,以及在最小内存需求下训练方面表现出色——这对于部署到低内存设备具有潜在价值。
英文摘要:
Recent work has shown potential in using Mixed Integer Programming (MIP) solvers to optimize certain aspects of neural networks (NNs). However the intriguing approach of training NNs with MIP solvers is under-explored. State-of-the-art-methods to train NNs are typically gradient-based and require significant data, computation on GPUs, and extensive hyper-parameter tuning. In contrast, training with MIP solvers does not require GPUs or heavy hyper-parameter tuning, but currently cannot handle anything but small amounts of data. This article builds on recent advances that train binarized NNs using MIP solvers. We go beyond current work by formulating new MIP models which improve training efficiency and which can train the important class of integer-valued neural networks (INNs). We provide two novel methods to further the potential significance of using MIP to train NNs. The first method optimizes the number of neurons in the NN while training. This reduces the need for deciding on network architecture before training. The second method addresses the amount of training data which MIP can feasibly handle: we provide a batch training method that dramatically increases the amount of data that MIP solvers can use to train. We thus provide a promising step towards using much more data than before when training NNs using MIP models. Experimental results on two real-world data-limited datasets demonstrate that our approach strongly outperforms the previous state of the art in training NN with MIP, in terms of accuracy, training time and amount of data. Our methodology is proficient at training NNs when minimal training data is available, and at training with minimal memory requirements -- which is potentially valuable for deploying to low-memory devices.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。