mlsanityData to 24 Nov 2026

Hybrid Compression for Memory-Efficient Matrix-Vector Multiplication

arXiv 2611.18792 ↗Submitted 13 Nov 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Iterative machine-learning algorithms repeatedly access large real-valued matrices through matrix-vector products, and their performance is limited by memory bandwidth rather than arithmetic throughput. Lossless compression schemes that support computation directly over the compressed data reduce both the data moved and the memory footprint of these workloads. The mm-RePair framework [11] follows this approach by applying the RePair grammar compressor to the Compressed Sparse Row/Value (CSRV) representation of a matrix and performing matrix-vector multiplications directly on the compressed data. Its effectiveness, however, degrades on matrices that are dense or contain many distinct values. In this paper we present a hybrid strategy for the mm-RePair framework that combines grammar and entropy compression. The CSRV sequence is partitioned into a grammar-compressible component, formed by the entries that mm-RePair can compress effectively, and an entropy-compressible component holding the remaining entries, which is encoded with the ans-fold coder [24]. Compression improves further by sorting and delta encoding the entries of each row in the CSRV representation, and by remapping the alphabet to a contiguous range. Experiments on real-valued machine-learning matrices, including word embeddings and transformer hidden states, show that our hybrid strategy is more compact than the original mmRepair on every input and reduces the peak memory of multiplication, with the largest gains on dense matrices with many distinct values, at competitive multiplication times. It also outperforms the column-reordering variant of mmRepair on most of the matrices, and combining the two is even more compact on the sparse ones, at the cost of a much longer compression time. Finally, our strategy scales with the number of threads as well as the original mmRepair does.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 15 of its 38 references that are in the map. Submitted 13 Nov 2026.

Builds on

15 of 38 references.

References · 15

  1. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,399
  2. 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 842
  3. 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 530
  4. 2020A Survey on Large-scale Machine Learningcited by 36
  5. 2013From Theory to Practice: Plug and Play with Succinct Data Structurescited by 7
  6. 2022Improving Matrix-vector Multiplication via Lossless Grammar-Compressed Matricescited by 5
  7. 2016Scalable Partial Least Squares Regression on Grammar-Compressed Data Matricescited by 1
  8. 2016Space-Efficient Re-Pair Compressioncited by 1
  9. 2018Two-Dimensional Block Treescited by 1
  10. 2019Rpair: Rescaling RePair with Rsynccited by 1
  11. 2020Grammar Compression By Induced Suffix Sortingcited by 1
  12. 2023The landscape of compressibility measures for two-dimensional datacited by 1
3 more
  1. 2024Toward Greener Matrix Operations by Lossless Compressed Formatscited by 1
  2. 2025Depth first representations of k2-treescited by 1
  3. 2026Right Multiplication on Grammar-Compressed Matrices: A Streaming, Memory-Bounded GPU Enginecited by 1

Built on by

Not cited yet.