arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.18062cs.DBcs.DC
收藏

浮点数据无损压缩的变换方法

Floating-Point Data Transformation for Lossless Compression

Samirasadat Jamalidinan, Kazem Cheshmi

AI总结:

针对浮点数据无损压缩,提出类型化数据变换(TDT)方法,通过分组相关字节提升压缩比1.16倍,吞吐量提升1.18-3.79倍。

摘要:

浮点数据广泛应用于各个领域。根据所需的精度,每个浮点值可能占用多个字节。由于浮点数据的关键准确性,无损存储这些信息至关重要,例如在医学成像和语言模型权重等应用中。在这些情况下,数据量往往很大,使得无损压缩变得必不可少。以往的方法要么将此类数据视为原始字节流进行压缩,要么未能充分利用数据集中的所有模式。然而,由于一个值由多个字节表示,并且浮点表示中存在固有模式,其中一些字节是相关的。为了利用这一特性,我们提出了一种新颖的数据变换方法,称为类型化数据变换(TDT),该方法将相关字节分组在一起以提高压缩率。我们在CPU和GPU上的各种数据集上实现并测试了我们的方法。TDT相对于最先进的压缩工具(如zstd)实现了1.16倍的几何平均压缩比提升,同时压缩和解压缩吞吐量也提高了1.18至3.79倍。

英文摘要:

Floating-point data is widely used across various domains. Depending on the required precision, each floating-point value can occupy several bytes. Lossless storage of this information is crucial due to its critical accuracy, as seen in applications such as medical imaging and language model weights. In these cases, data size is often significant, making lossless compression essential. Previous approaches either treat this data as raw byte streams for compression or fail to leverage all patterns within the dataset. However, because multiple bytes represent a single value and due to inherent patterns in floating-point representations, some of these bytes are correlated. To leverage this property, we propose a novel data transformation method called Typed Data Transformation (TDT) that groups related bytes together to improve compression. We implemented and tested our approach on various datasets across both CPU and GPU. TDT achieves a geometric mean compression ratio improvement of 1.16$\times$ over state-of-the-art compression tools such as zstd, while also improving both compression and decompression throughput by 1.18--3.79$\times$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑