Lune

NeurIPS2020Top-tier venue

Impossibility Results for Grammar-Compressed Linear Algebra

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

2020Year
19Citations
6Top-tier citations

Abstract

To handle vast amounts of data, it is natural and popular to compress vectors and matrices. When we compress a vector from size NN down to size n≪Nn \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(inputsize)T(\rm{inputsize}), can we perform it on the compressed representation in time T(n)T(n) rather than T(N)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)O(n)? Or perhaps we must decompress first and then multiply, spending Ω(N)\Omega(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)O(n) time, we prove that this is impossible for compressions from a richer class: essentially n2n^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.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 7b01c51b-15a0-445c-ae8a-a8eb04b86b43

Cited by top-tier papers6

Ask how each one uses it

Builds on1

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines