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

查找还不是深度学习推理所需的全部

Look-ups are not (yet) all you need for deep learning inference

Amazon(亚马逊)

Calvin McCarter, Nicholas Dronen

摘要:

矩阵乘法的快速近似具有显著降低神经网络推理成本的潜力。最近的工作近似矩阵乘法提出取代昂贵的乘法与表查找拟合快速哈希函数从训练数据。在这项工作中,我们对以前的工作提出了改进,针对深度学习推理设置,其中可以访问训练数据和固定(已经学习的)模型权重矩阵。我们进一步提出了一个微调过程,加速整个神经网络,同时最大限度地减少损失的准确性。最后,我们分析了一个简单的图像分类任务的方法。虽然我们对以前的工作进行了改进,但与精确矩阵乘法相比,整体分类精度仍然大大降低。我们的工作,尽管这个负面的结果,指出了未来的努力,以加速内积与快速非线性哈希方法。

英文摘要:

Fast approximations to matrix multiplication have the potential to dramatically reduce the cost of neural network inference. Recent work on approximate matrix multiplication proposed to replace costly multiplications with table-lookups by fitting a fast hash function from training data. In this work, we propose improvements to this previous work, targeted to the deep learning inference setting, where one has access to both training data and fixed (already learned) model weight matrices. We further propose a fine-tuning procedure for accelerating entire neural networks while minimizing loss in accuracy. Finally, we analyze the proposed method on a simple image classification task. While we show improvements to prior work, overall classification accuracy remains substantially diminished compared to exact matrix multiplication. Our work, despite this negative result, points the way towards future efforts to accelerate inner products with fast nonlinear hashing methods.

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

↑