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

文法压缩线性代数的不可能性结果

Impossibility Results for Grammar-Compressed Linear Algebra

IBM Almaden Research Center(IBM阿尔马登研究中心);Toyota Technological Institute at Chicago(芝加哥丰田理工学院);Saarland University(萨尔兰大学);Max Planck Institute for Informatics(马克斯·普朗克信息学研究所)

Amir Abboud, Arturs Backurs, Karl Bringmann, Marvin Künnemann

摘要:

为了处理大量的数据,压缩向量和矩阵是很自然和流行的。当我们将一个向量从$N$压缩到$n \ll N$时,它当然更容易有效地存储和传输,但它也更容易处理吗?在本文中,我们考虑无损压缩方案,并询问我们是否可以运行我们的计算压缩数据,如果原始数据是小的。也就是说,如果一个操作的时间复杂度为$T(\rm{inputsize})$,我们可以在时间上对压缩表示$T(n)$而不是$T(N)$执行它吗?我们考虑最基本的线性代数运算:内积,矩阵向量乘法和矩阵乘法。特别地,给定两个压缩向量,我们可以计算它们在时间上的内积$O(n)$吗?或者我们必须先计算,然后再相乘,花费$Ω(N)$时间?答案取决于压缩方案。虽然对于简单的,如游程长度编码(RLE)的内积可以在$O(n)$时间,我们证明,这是不可能的压缩从一个更丰富的类:基本上$n^2$或甚至更大的运行时间需要在最坏的情况下(复杂性假设下)。这是一类语法压缩,包含最流行的方法,如Lempel-Ziv家族。这些方案比简单的RLE更压缩,但唉,我们证明了在它们上执行计算要困难得多。

英文摘要:

To handle vast amounts of data, it is natural and popular to compress vectors and matrices. When we compress a vector from size $N$ down to size $n \ll N$, it certainly makes it easier to store and transmit efficiently, but does it also make it easier to process? In this paper we consider lossless compression schemes, and ask if we can run our computations on the compressed data as efficiently as if the original data was that small. That is, if an operation has time complexity $T(\rm{inputsize})$, can we perform it on the compressed representation in time $T(n)$ rather than $T(N)$? We consider the most basic linear algebra operations: inner product, matrix-vector multiplication, and matrix multiplication. In particular, given two compressed vectors, can we compute their inner product in time $O(n)$? Or perhaps we must decompress first and then multiply, spending $Ω(N)$ time? The answer depends on the compression scheme. While for simple ones such as Run-Length-Encoding (RLE) the inner product can be done in $O(n)$ time, we prove that this is impossible for compressions from a richer class: essentially $n^2$ or even larger runtimes are needed in the worst case (under complexity assumptions). This is the class of grammar-compressions containing most popular methods such as the Lempel-Ziv family. These schemes are more compressing than the simple RLE, but alas, we prove that performing computations on them is much harder.

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

↑