arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.02881cs.LGcs.AIcs.CV
收藏

ShiftAddAug:用混合计算增强无乘法微型神经网络

ShiftAddAug: Augment Multiplication-Free Tiny Neural Network with Hybrid Computation

College of Control Science and Engineering, Zhejiang University(浙江大学控制科学与工程学院)

Yipin Guo, Zihao Li, Yilin Lang, Qinyuan Ren

AI总结:

ShiftAddAug 通过将无乘法微型网络嵌入大型乘法模型进行子模型训练,并结合权重共享与两阶段神经架构搜索,在不增加推理开销的情况下显著提升无乘法网络的准确率。

摘要:

移位和加法等不含乘法的算子因其硬件兼容性而日益受到关注。然而,采用这些算子的神经网络与具有相同结构的传统神经网络相比,通常表现出较低的准确率。ShiftAddAug 利用代价较高的乘法来增强高效但能力较弱的无乘法算子,从而在不增加任何推理开销的情况下提升性能。它将一个 ShiftAdd 微型神经网络放入一个大型乘法模型中,并鼓励其作为子模型进行训练,以获得额外的监督。为了解决混合算子之间的权重差异问题,提出了一种新的权重共享方法。此外,采用一种新颖的两阶段神经架构搜索,为更小但更强的无乘法微型神经网络获得更好的增强效果。ShiftAddAug 的优越性通过图像分类和语义分割实验得到验证,持续带来显著提升。值得注意的是,在 CIFAR100 上,与直接训练的对应模型相比,其准确率最高提升了 4.95%,甚至超过了乘法神经网络的性能。

英文摘要:

Operators devoid of multiplication, such as Shift and Add, have gained prominence for their compatibility with hardware. However, neural networks (NNs) employing these operators typically exhibit lower accuracy compared to conventional NNs with identical structures. ShiftAddAug uses costly multiplication to augment efficient but less powerful multiplication-free operators, improving performance without any inference overhead. It puts a ShiftAdd tiny NN into a large multiplicative model and encourages it to be trained as a sub-model to obtain additional supervision. In order to solve the weight discrepancy problem between hybrid operators, a new weight sharing method is proposed. Additionally, a novel two stage neural architecture search is used to obtain better augmentation effects for smaller but stronger multiplication-free tiny neural networks. The superiority of ShiftAddAug is validated through experiments in image classification and semantic segmentation, consistently delivering noteworthy enhancements. Remarkably, it secures up to a 4.95% increase in accuracy on the CIFAR100 compared to its directly trained counterparts, even surpassing the performance of multiplicative NNs.

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

↑