Value-Compressed Sparse Column (VCSC):面向冗余数据的稀疏矩阵存储格式
Value-Compressed Sparse Column (VCSC): Sparse Matrix Storage for Redundant Data
AI总结:
本文提出 VCSC 和 IVCSC 两种新型稀疏矩阵压缩格式,利用列内数据冗余性实现最高 10 倍内存压缩,且几乎不增加读取计算成本,为机器学习中的大规模冗余稀疏数据提供了高效解决方案。
摘要:
Compressed Sparse Column (CSC) 和 Coordinate (COO) 是稀疏矩阵的常用压缩格式。然而,CSC 和 COO 均为通用格式,除了稀疏性之外,无法利用数据的其他特性(如数据冗余性)。高度冗余的稀疏数据在许多机器学习应用(如基因组学)中十分常见,且通常因规模过大而无法使用传统稀疏存储格式进行内存内计算。本文提出了 CSC 的两种扩展:(1) Value-Compressed Sparse Column (VCSC) 和 (2) Index- and Value-Compressed Sparse Column (IVCSC)。VCSC 利用列内的高度冗余性进一步压缩数据,相比 COO 实现高达 3 倍的压缩率,相比 CSC 实现 2.25 倍的压缩率,且对性能特征没有显著的负面影响。IVCSC 通过 delta encoding 和 byte-packing 压缩索引数组对 VCSC 进行扩展,相比 COO 内存使用量减少了 10 倍,相比 CSC 减少了 7.5 倍。我们在模拟和真实数据上的基准测试表明,VCSC 和 IVCSC 可以以压缩形式读取,且几乎不增加额外的计算成本。这两种新型压缩格式为编码和读取冗余稀疏数据提供了广泛适用的解决方案。
英文摘要:
Compressed Sparse Column (CSC) and Coordinate (COO) are popular compression formats for sparse matrices. However, both CSC and COO are general purpose and cannot take advantage of any of the properties of the data other than sparsity, such as data redundancy. Highly redundant sparse data is common in many machine learning applications, such as genomics, and is often too large for in-core computation using conventional sparse storage formats. In this paper, we present two extensions to CSC: (1) Value-Compressed Sparse Column (VCSC) and (2) Index- and Value-Compressed Sparse Column (IVCSC). VCSC takes advantage of high redundancy within a column to further compress data up to 3-fold over COO and 2.25-fold over CSC, without significant negative impact to performance characteristics. IVCSC extends VCSC by compressing index arrays through delta encoding and byte-packing, achieving a 10-fold decrease in memory usage over COO and 7.5-fold decrease over CSC. Our benchmarks on simulated and real data show that VCSC and IVCSC can be read in compressed form with little added computational cost. These two novel compression formats offer a broadly useful solution to encoding and reading redundant sparse data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。