arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.16053cs.DS
收藏

基于擦除的流式浮点时间序列无损压缩方法

Erasing-based lossless compression method for streaming floating-point time series

Ruiyuan Li, Zheng Li, Yi Wu, Chao Chen, Songtao Guo, Ming Zhang, Yu Zheng

AI总结:

本文提出基于擦除的无损浮点压缩算法Elf及其升级版Elf+,通过擦除浮点值末位并优化编码策略,在O(N)时间和O(1)空间内实现流式高压缩率,实验验证其优于9种先进方法。

摘要:

目前以极高的速率生成了数量惊人的浮点时间序列数据。对时间序列数据进行高效、紧凑且无损的压缩在广泛的场景中具有重要意义。现有的多数无损浮点压缩方法基于XOR操作,但未充分利用尾随零,通常导致压缩率不理想。本文提出了一种基于擦除的无损浮点压缩算法,即Elf。Elf的主要思想是擦除浮点值的最后几位(即将其置零),从而使XOR后的值包含大量尾随零。基于擦除的方法面临三重挑战:首先,如何快速确定被擦除的位?其次,如何从擦除后的数据中无损恢复原始数据?第三,如何紧凑地编码擦除后的数据?通过严格的数学分析,Elf能够直接确定被擦除的位并在不损失任何精度的情况下恢复原始值。为进一步提高压缩率,我们提出了一种针对包含大量尾随零的XOR值的新型编码策略。此外,观察到时间序列中的值通常具有相似的尾数计数,我们提出了Elf的升级版本Elf+,通过优化尾数计数编码策略,进一步提高了压缩率并减少了运行时间。Elf和Elf+均以流式方式工作。它们在时间上仅需O(N)(其中N为时间序列长度),在空间上仅需O(1),并在理论保证下实现了显著的压缩率。使用22个数据集的大量实验表明,与9种先进竞争方法相比,Elf和Elf+在双精度和单精度浮点值上均展现出强大的性能。

英文摘要:

There are a prohibitively large number of floating-point time series data generated at an unprecedentedly high rate. An efficient, compact and lossless compression for time series data is of great importance for a wide range of scenarios. Most existing lossless floating-point compression methods are based on the XOR operation, but they do not fully exploit the trailing zeros, which usually results in an unsatisfactory compression ratio. This paper proposes an Erasing-based Lossless Floating-point compression algorithm, i.e., Elf. The main idea of Elf is to erase the last few bits (i.e., set them to zero) of floating-point values, so the XORed values are supposed to contain many trailing zeros. The challenges of the erasing-based method are three-fold. First, how to quickly determine the erased bits? Second, how to losslessly recover the original data from the erased ones? Third, how to compactly encode the erased data? Through rigorous mathematical analysis, Elf can directly determine the erased bits and restore the original values without losing any precision. To further improve the compression ratio, we propose a novel encoding strategy for the XORed values with many trailing zeros. Furthermore, observing the values in a time series usually have similar significand counts, we propose an upgraded version of Elf named Elf+ by optimizing the significand count encoding strategy, which improves the compression ratio and reduces the running time further. Both Elf and Elf+ work in a streaming fashion. They take only O(N) (where N is the length of a time series) in time and O(1) in space, and achieve a notable compression ratio with a theoretical guarantee. Extensive experiments using 22 datasets show the powerful performance of Elf and Elf+ compared with 9 advanced competitors for both double-precision and single-precision floating-point values.

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

↑