arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.09916cs.LG
收藏

利用二值神经网络实现设备端持续学习

Enabling On-device Continual Learning with Binary Neural Networks

Datalogic Labs(得利捷实验室);University of Bologna(博洛尼亚大学)

Lorenzo Vorabbi, Davide Maltoni, Guido Borghi, Stefano Santi

AI总结:

本文结合持续学习与二值神经网络,提出二值LR激活及新型梯度量化方案,在资源受限设备上实现训练并提升准确率、降低内存需求。

摘要:

设备端学习仍然是一项艰巨挑战,尤其是在处理计算能力有限的资源受限设备时。这一挑战主要源于两个关键问题:第一,嵌入式设备上的可用内存通常不足以容纳内存密集型的反向传播算法,而该算法往往依赖浮点精度。第二,由于比特表示的大幅减少,在具有极端量化级别的模型(例如二值神经网络(BNNs))上开发学习算法至关重要。在本研究中,我们提出了一种结合持续学习(CL)和二值神经网络领域最新进展的解决方案,以在保持具有竞争力性能的同时实现设备端训练。具体而言,我们的方法利用二值潜在重放(LR)激活和一种新颖的量化方案,显著减少了梯度计算所需的比特数。实验验证表明,准确率显著提升,同时内存需求明显降低,证实了我们的方法适合扩展深度学习在真实场景中的实际应用。

英文摘要:

On-device learning remains a formidable challenge, especially when dealing with resource-constrained devices that have limited computational capabilities. This challenge is primarily rooted in two key issues: first, the memory available on embedded devices is typically insufficient to accommodate the memory-intensive back-propagation algorithm, which often relies on floating-point precision. Second, the development of learning algorithms on models with extreme quantization levels, such as Binary Neural Networks (BNNs), is critical due to the drastic reduction in bit representation. In this study, we propose a solution that combines recent advancements in the field of Continual Learning (CL) and Binary Neural Networks to enable on-device training while maintaining competitive performance. Specifically, our approach leverages binary latent replay (LR) activations and a novel quantization scheme that significantly reduces the number of bits required for gradient computation. The experimental validation demonstrates a significant accuracy improvement in combination with a noticeable reduction in memory requirement, confirming the suitability of our approach in expanding the practical applications of deep learning in real-world scenarios.

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

↑