arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2102.00398cs.ITmath.IT
收藏

线性计算编码

Linear Computation Coding

Ralf Müller, Bernhard Gäde, Ali Bereyhi

摘要:

我们引入了计算编码的新概念。类似于率失真理论如何关注数据的有损压缩,计算编码处理函数的有损计算。特别是线性函数,我们提出了一种算法,以减少计算成本乘以一个任意给定的矩阵与一个未知的列向量。该算法将给定矩阵分解为码本连接矩阵的乘积,这些矩阵的元素为零或2的有符号整数幂。对于深度神经网络的典型实现,所提出的算法将所需的加法单元的数量减少了几倍。为了实现4k向量的16位有符号整数运算的精度,不需要乘法器,每个矩阵条目仅需要1.5个加法器。

英文摘要:

We introduce the new concept of computation coding. Similar to how rate-distortion theory is concerned with the lossy compression of data, computation coding deals with the lossy computation of functions. Particularizing to linear functions, we present an algorithm to reduce the computational cost of multiplying an arbitrary given matrix with an unknown column vector. The algorithm decomposes the given matrix into the product of codebook wiring matrices whose entries are either zero or signed integer powers of two. For a typical implementation of deep neural networks, the proposed algorithm reduces the number of required addition units several times. To achieve the accuracy of 16-bit signed integer arithmetic for 4k-vectors, no multipliers and only 1.5 adders per matrix entry are needed.

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

↑