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

基于通用LSH核的高效推理

Efficient Inference via Universal LSH Kernel

Rice University(莱斯大学)

Zichang Liu, Benjamin Coleman, Anshumali Shrivastava

摘要:

大型机器学习模型在各种任务上实现了前所未有的性能,并已发展成为首选技术。然而,在资源受限的环境中部署这些计算和内存消耗模型带来了新的挑战。在这项工作中,我们提出了数学上可证明的Representer Sketch,这是一组简洁的计数数组,可以通过简单的哈希计算和聚合来近似推理过程。Representer Sketch建立在内核文献中流行的Representer Theorem的基础上,因此得名,为有效推理的问题提供了一个通用的基本替代方案,超越了流行的方法,如量化,迭代修剪和知识蒸馏。一个神经网络函数被转换成它的加权核密度表示,这可以非常有效地估计与我们的素描算法。从经验上讲,我们表明,Representer Sketch实现了高达114倍的存储需求减少和59倍的计算复杂性减少,而没有任何准确性下降。

英文摘要:

Large machine learning models achieve unprecedented performance on various tasks and have evolved as the go-to technique. However, deploying these compute and memory hungry models on resource constraint environments poses new challenges. In this work, we propose mathematically provable Representer Sketch, a concise set of count arrays that can approximate the inference procedure with simple hashing computations and aggregations. Representer Sketch builds upon the popular Representer Theorem from kernel literature, hence the name, providing a generic fundamental alternative to the problem of efficient inference that goes beyond the popular approach such as quantization, iterative pruning and knowledge distillation. A neural network function is transformed to its weighted kernel density representation, which can be very efficiently estimated with our sketching algorithm. Empirically, we show that Representer Sketch achieves up to 114x reduction in storage requirement and 59x reduction in computation complexity without any drop in accuracy.

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

↑