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

储备池计算中稀疏矩阵乘法器的直接空间实现

Direct Spatial Implementation of Sparse Matrix Multipliers for Reservoir Computing

Google Brain(谷歌大脑)

Matthew Denton, Herman Schmit

摘要:

储备池计算系统依赖于非常大的、稀疏的、固定的矩阵的递归乘法。我们认为,这些固定矩阵的直接空间实现最大限度地减少了在计算中执行的工作,并允许显着减少延迟和功率通过不断的传播和逻辑最小化。位串行运算使大量的静态矩阵得以实现。我们提出了我们的位串行矩阵乘法器的结构,并评估使用规范的有符号数字表示,以进一步减少逻辑利用率。我们已经在一个大型FPGA上实现了这些矩阵,并提供了一个简单且可扩展的成本模型。与GPU库相比,这些FPGA实现平均可将延迟降低50倍至86倍。与最近的稀疏DNN加速器相比,我们测量到延迟减少了4.1倍到47倍,具体取决于矩阵维度和稀疏性。FPGA解决方案的吞吐量对于各种矩阵尺寸和批量大小也具有竞争力。最后,我们讨论了这些技术可以部署在ASIC中,使它们适用于动态稀疏矩阵计算。

英文摘要:

Reservoir computing systems rely on the recurrent multiplication of a very large, sparse, fixed matrix. We argue that direct spatial implementation of these fixed matrices minimizes the work performed in the computation, and allows for significant reduction in latency and power through constant propagation and logic minimization. Bit-serial arithmetic enables massive static matrices to be implemented. We present the structure of our bit-serial matrix multiplier, and evaluate using canonical signed digit representation to further reduce logic utilization. We have implemented these matrices on a large FPGA and provide a cost model that is simple and extensible. These FPGA implementations, on average, reduce latency by 50x up to 86x versus GPU libraries. Comparing against a recent sparse DNN accelerator, we measure a 4.1x to 47x reduction in latency depending on matrix dimension and sparsity. Throughput of the FPGA solution is also competitive for a wide range of matrix dimensions and batch sizes. Finally, we discuss ways these techniques could be deployed in ASICs, making them applicable for dynamic sparse matrix computations.

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

↑