Affiliation:
1. University of Pisa
2. Dalhousie University
3. Tokyo Medical and Dental University
4. University of Chile
5. University of Eastern Piedmont
Abstract
As nowadays Machine Learning (ML) techniques are generating huge data collections, the problem of how to efficiently engineer their storage and operations is becoming of paramount importance. In this article we propose a new lossless compression scheme for real-valued matrices which achieves efficient performance in terms of compression ratio and time for linear-algebra operations. Experiments show that, as a compressor, our tool is clearly superior to gzip and it is usually within 20% of xz in terms of compression ratio. In addition, our compressed format supports matrix-vector multiplications in time and space proportional to the size of the compressed representation, unlike gzip and xz that require the full decompression of the compressed matrix. To our knowledge our lossless compressor is the first one achieving time and space complexities which match the theoretical limit expressed by the
k
-th order statistical entropy of the input.
To achieve further time/space reductions, we propose column-reordering algorithms hinging on a novel column-similarity score. Our experiments on various data sets of ML matrices show that our column reordering can yield a further reduction of up to 16% in the peak memory usage during matrix-vector multiplication.
Finally, we compare our proposal against the state-of-the-art Compressed Linear Algebra (CLA) approach showing that ours runs always at least twice faster (in a multi-thread setting), and achieves better compressed space occupancy and peak memory usage. This experimentally confirms the provably effective theoretical bounds we show for our compressed-matrix approach.
Publisher
Association for Computing Machinery (ACM)
Subject
General Earth and Planetary Sciences,Water Science and Technology,Geography, Planning and Development
Reference35 articles.
1. Table Compression by Record Intersections
2. ASA , Statistical Computing & Graphics Sections 2009 . Data Expo 2009 - Airline on-time performance. https://community.amstat.org/jointscsg-section/dataexpo/dataexpo2009 . [Online; accessed 21-Sep-2021]. ASA, Statistical Computing & Graphics Sections 2009. Data Expo 2009 - Airline on-time performance. https://community.amstat.org/jointscsg-section/dataexpo/dataexpo2009. [Online; accessed 21-Sep-2021].
3. Leon Bottou . 2007. The infinite MNIST dataset. https://leon.bottou.org/projects/infimnist. https://leon.bottou.org/projects/infimnist [Online ; accessed 21- Sep- 2021 ]. Leon Bottou. 2007. The infinite MNIST dataset. https://leon.bottou.org/projects/infimnist. https://leon.bottou.org/projects/infimnist [Online; accessed 21-Sep-2021].
4. Improving table compression with combinatorial optimization
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献