Compressed Matrix Computations

Matthieu Martel
2/25/2022
cs.DScs.MS

Official code: mmartel66/blaz (11 stars, C, last commit 2023-04-05).

Abstract

Frugal computing is becoming an important topic for environmental reasons. In this context, several techniques have been proposed to reduce the storage of scientific data by dedicated compression methods specially tailored for arrays of floating-point numbers.

Show full abstract

While these techniques are quite efficient to save memory, they introduce additional computations to compress and decompress the data before processing them. In this article, we introduce a new lossy, fixed-rate compression technique for 2D-arrays of floating-point numbers which allows one to compute directly on the compressed data, without decompressing them. We obtain important speedups since less operations are needed to compute among the compressed data and since no decompression and re-compression is needed. More precisely, our technique makes it possible to perform basic linear algebra operations such as addition, multiplication by a constant among compressed matrices and dot product and matrix multiplication among partly uncompressed matrices. This work has been implemented into a tool named blaz and a comparison with the well-known compressor zfp in terms of execution-time and accuracy is presented.

View on arXivView PDF

Code Implementations(1)

mmartel66/blazOfficial100%

Blaz: a library for frugal matrix computations. Blaz provides compression/uncompression functions for matrices of floating-point numbers and makes it possible to perform basic linear algebra on the compressed matrices, without uncompressing them.

113C, MakefileJun 29, 20213 years ago
compressionfrugal-computinggreen-computingscientific-data

Similar Papers

Cite this paper

@article{martel2022compressed,
  title  = {Compressed Matrix Computations},
  author = {Matthieu Martel},
  year   = {2022},
  eprint = {2202.13007},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.13007}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.13007.svg)](https://codeofpaper.com/paper/2202.13007)

Discussion