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

HyBNN和FedHyBNN:(联邦)混合二进制神经网络

HyBNN and FedHyBNN: (Federated) Hybrid Binary Neural Networks

Vellore Institute of Technology(韦洛尔理工学院)

Kinshuk Dua

摘要:

二进制神经网络(BNN),即权重和激活被约束为-1(0)和+1的神经网络,是深度神经网络的替代方案,其提供更快的训练、更低的内存消耗和轻量级模型,非常适合用于资源受限的设备,同时能够利用其深度神经网络对应物的架构。然而,在BNN中使用的输入二值化步骤导致严重的精度损失。在本文中,我们介绍了一种新的混合神经网络架构,混合二进制神经网络(HyBNN),由一个任务无关的,一般的,全精度的变分自编码器与二进制潜在空间和任务特定的二进制神经网络,能够大大限制由于输入二进制化的准确性损失,通过使用全精度变分自编码器作为特征提取器。我们使用它将深度神经网络最先进的准确性与二进制神经网络更快的训练时间,更快的测试时间推理和功率效率相结合。我们表明,我们提出的系统是能够非常显着优于香草二进制神经网络与输入二进制。我们还介绍了FedHyBNN,一个高通信效率的联邦对应HyBNN,并证明它是能够达到相同的精度,其非联邦等效。我们提供源代码、实验参数和模型,网址为:https://anonymous.4open.science/r/HyBNN。

英文摘要:

Binary Neural Networks (BNNs), neural networks with weights and activations constrained to -1(0) and +1, are an alternative to deep neural networks which offer faster training, lower memory consumption and lightweight models, ideal for use in resource constrained devices while being able to utilize the architecture of their deep neural network counterpart. However, the input binarization step used in BNNs causes a severe accuracy loss. In this paper, we introduce a novel hybrid neural network architecture, Hybrid Binary Neural Network (HyBNN), consisting of a task-independent, general, full-precision variational autoencoder with a binary latent space and a task specific binary neural network that is able to greatly limit the accuracy loss due to input binarization by using the full precision variational autoencoder as a feature extractor. We use it to combine the state-of-the-art accuracy of deep neural networks with the much faster training time, quicker test-time inference and power efficiency of binary neural networks. We show that our proposed system is able to very significantly outperform a vanilla binary neural network with input binarization. We also introduce FedHyBNN, a highly communication efficient federated counterpart to HyBNN and demonstrate that it is able to reach the same accuracy as its non-federated equivalent. We make our source code, experimental parameters and models available at: https://anonymous.4open.science/r/HyBNN.

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

↑