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

基于静态合成梯度模块的前馈边缘微调

Feed-Forward On-Edge Fine-tuning Using Static Synthetic Gradient Modules

KU Leuven(鲁汶大学)

Robby Neven, Marian Verhelst, Tinne Tuytelaars, Toon Goedemé

摘要:

通常避免在嵌入式设备上训练深度学习模型,因为这需要更多的内存、计算和推理能力。在这项工作中,我们专注于降低存储所有激活所需的内存量,这些激活在向后传递过程中需要计算梯度。相反,在向前传递期间,静态合成梯度模块(SGM)预测每层的梯度。这允许以前馈方式训练模型,而不必存储所有激活。我们测试了我们的方法在机器人抓取的情况下,机器人需要学习掌握新的对象,只有一个单一的演示。通过首先在一组常见对象上以元学习的方式训练SGM,在微调期间,SGM为模型提供了准确的梯度,以成功地学习掌握新对象。我们已经表明,我们的方法具有可比的结果,使用标准的反向传播。

英文摘要:

Training deep learning models on embedded devices is typically avoided since this requires more memory, computation and power over inference. In this work, we focus on lowering the amount of memory needed for storing all activations, which are required during the backward pass to compute the gradients. Instead, during the forward pass, static Synthetic Gradient Modules (SGMs) predict gradients for each layer. This allows training the model in a feed-forward manner without having to store all activations. We tested our method on a robot grasping scenario where a robot needs to learn to grasp new objects given only a single demonstration. By first training the SGMs in a meta-learning manner on a set of common objects, during fine-tuning, the SGMs provided the model with accurate gradients to successfully learn to grasp new objects. We have shown that our method has comparable results to using standard backpropagation.

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

↑