IDEALEM: Statistical Similarity Based Data Reduction

Dongeun Lee, Alex Sim, Jaesik Choi, Kesheng WuarXiv 2019

Abstract

Many applications such as scientific simulation, sensing, and power grid monitoring tend to generate massive amounts of data, which should be compressed first prior to storage and transmission. These data, mostly comprised of floating-point values, are known to be difficult to compress using lossless compression. A few compression methods based on lossy compression have been proposed to compress this seemingly incompressible data. Unfortunately, they are all designed to minimize the Euclidean distance between the original data and the decompressed data, which fundamentally limits compression performance. We recently proposed a new class of lossy compression based on statistical similarity, called IDEALEM, which was also provided as a software package. IDEALEM has demonstrated its performance by reducing data volume much more than state-of-the-art compression methods while preserving unique patterns of data. IDEALEM can operate in two different modes depending on the stationarity of input data. This paper presents compression performance analyses of these two modes, and investigates the difference between two transform techniques targeted for non-stationary data. This paper also discusses the data reconstruction quality of IDEALEM using spectral analysis and shows that important frequency components in application domain are well preserved. We expand the capability of IDEALEM by adding a new min/max check that facilitates preserving significant patterns lasting only for a brief duration which were previously hard to capture. This min/max check also accelerates the encoding process significantly. Experiments show IDEALEM preserves significant patterns in the original data with faster encoding time.

Introduction

Modern scientific applications—ranging from power grid monitoring to climate simulations—generate massive volumes of floating-point data. This data is notoriously difficult to compress. Lossless methods offer poor reduction ratios because the data is often noisy and "random."

Existing lossy compressors (like SZ or ZFP) focus on minimizing the Euclidean distance ($L_2$ norm) between the original and decompressed values. However, this focus is a fundamental limitation: in many scientific contexts, reproducing every "rise and fall" of a noisy signal is unnecessary. Instead, preserving the underlying statistical properties and significant patterns is often sufficient for downstream analysis. By shifting the focus from point-by-point accuracy to statistical similarity, IDEALEM (Implementation of Dynamic Extensible Adaptive Locally Exchangeable Measures) breaks through the performance ceilings of traditional compressors.

Methodology

The core of IDEALEM is the concept of exchangeability. Instead of storing raw values, the algorithm identifies blocks of data that share the same statistical distribution.

Conceptual overview of IDEALEM, showing the mapping of raw data blocks to compressed statistical representations based on exchangeability.

Block-Based Processing and Statistical Similarity

The input stream is divided into fixed-size blocks ($B$). The encoder uses the two-sample Kolmogorov-Smirnov (KS) test to determine if a new data block is "exchangeable" with a block already stored in a dictionary buffer ($D$). If the distributions are similar enough (based on a p-value threshold $\alpha$), the encoder simply records the index of the matching dictionary block. This allows multiple data blocks to be represented by a single compressed representation ($\Theta$), as illustrated in Figure 1.

Min/Max Check and Outlier Preservation

To prevent the KS test from smoothing over brief but critical spikes (outliers), IDEALEM incorporates a relative tolerance check ($r$). If a block's min/max values fall outside a tolerable range, it is treated as unique, even if its overall distribution matches. This check also serves as a high-speed rejection filter, accelerating the encoding process by bypassing the expensive KS test for obvious mismatches.

Handling Non-Stationarity and Reconstruction

For data with trends (non-stationary sequences), IDEALEM employs Residual and Delta transformations to convert them into stationary sequences before statistical processing. During decoding, instead of simple duplication, IDEALEM performs a random permutation of samples from the stored distribution. This technique prevents artificial "spiky" patterns in the frequency domain, ensuring spectral integrity.

Experimental Evaluation

IDEALEM was evaluated using real-world, high-frequency datasets, including power grid monitoring ($\mu$PMU) data and intracranial EEG recordings. It was compared against state-of-the-art compressors: ZFP, ISABELA, and SZ.

Compression Performance

IDEALEM demonstrated massive gains in compression ratios. For power grid magnitude data, IDEALEM achieved a compression ratio of 242.3, significantly outperforming SZ (16.36) and ZFP (9.99). The authors proved that the maximum achievable compression ratio for IDEALEM is $8 \cdot B$ in standard mode.

Quality and Speed

While IDEALEM naturally exhibits higher point-by-point error than Euclidean-based methods, spectral analysis confirmed that it preserves important low-frequency components effectively. Furthermore, the inclusion of the min/max check significantly improved encoding speed by filtering out unexchangeable blocks early in the process.

Conclusion

IDEALEM represents a paradigm shift in data reduction by prioritizing statistical similarity over Euclidean distance. While currently focused on one-dimensional arrays, future work aims to expand IDEALEM into a multidimensional algorithm. By leveraging joint correlations and multivariate statistical similarity measures, the framework can further improve compression performance for complex scientific datasets.

Summary updated

BibTeX
@misc{lee2019idealem,
  author = {Dongeun Lee and Alex Sim and Jaesik Choi and Kesheng Wu},
  title = {{IDEALEM: Statistical Similarity Based Data Reduction}},
  year = {2019},
  eprint = {1911.06980},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.06980},
}
Figure