Skip to main content
QUICK REVIEW

[Paper Review] Time Series Compression Based on Adaptive Piecewise Recurrent Autoencoder

Daniel Hsu|arXiv (Cornell University)|Jul 23, 2017
Time Series Analysis and ForecastingComputer Science15 references8 citations
TL;DR

This paper proposes a lossy time series compression method using an adaptive piecewise recurrent autoencoder (RAE) with long short-term memory (LSTM) networks. By dynamically adjusting input window sizes based on local time series statistics and employing RAE for joint encoding of hidden states and inputs, the method achieves high compression ratios (down to 0.03) with low reconstruction error (RMSE ≤ 0.07) under user-defined deviation constraints.

ABSTRACT

Time series account for a large proportion of the data stored in financial, medical and scientific databases. The efficient storage of time series is important in practical applications. In this paper, we propose a novel compression scheme for time series. The encoder and decoder are both composed by recurrent neural networks (RNN) such as long short-term memory (LSTM). There is an autoencoder between encoder and decoder, which encodes the hidden state and input together and decodes them at the decoder side. Moreover, we pre-process the original time series by partitioning it into segments with various lengths which have similar total variation. The experimental study shows that the proposed algorithm can achieve competitive compression ratio on real-world time series.

Motivation & Objective

  • To address the challenge of efficiently storing and transmitting large-scale time series data in domains like finance, healthcare, and energy.
  • To develop a lossy compression scheme that maintains sufficient reconstruction quality for downstream tasks such as forecasting and visualization.
  • To enable adaptive compression by adjusting input window sizes according to local time series complexity, improving compression efficiency.
  • To leverage the long-term dependency modeling capability of LSTMs in both encoder and decoder for improved reconstruction fidelity.
  • To provide a method with guaranteed maximum reconstruction deviation, suitable for applications requiring precision.

Proposed method

  • The method uses a recurrent autoencoder (RAE) with two parallel LSTM networks for encoding and decoding time series data.
  • An adaptive input windowing strategy adjusts window size based on local time series variation, using binary search to optimize for minimal reconstruction error.
  • Input sequences are interpolated or downsampled to match the fixed input dimension of the RAE, enabling variable-resolution compression.
  • The encoder compresses both the input sequence and its hidden state, while the decoder reconstructs the signal using the latent representation.
  • The RAE is trained end-to-end to minimize reconstruction error, with the maximum deviation (L∞ norm) constrained by user-defined tolerances.
  • The algorithm is extended to multi-dimensional time series by processing each channel independently or jointly within the RAE framework.

Experimental results

Research questions

  • RQ1Can an adaptive windowing strategy improve compression efficiency for time series with varying local complexity?
  • RQ2Does combining LSTMs with a recurrent autoencoder enable better reconstruction of long-term dependencies in time series?
  • RQ3Can the proposed method achieve high compression ratios while maintaining user-defined error bounds on reconstruction?
  • RQ4How does the performance of the adaptive RAE compare to fixed-window approaches in terms of compression ratio and reconstruction accuracy?
  • RQ5To what extent can the method be generalized to multi-dimensional time series from real-world sensors?

Key findings

  • The proposed method achieved a compression ratio of 0.03 with a maximum tolerable deviation of 0.15 and RMSE of 0.07 on seismic signals.
  • For seismic data with a tolerable deviation of 0.1, the method achieved a compression ratio of 0.06 and RMSE of 0.03.
  • On multi-dimensional human activity data, the method achieved a compression ratio of 0.05 with a deviation tolerance of 0.15 and RMSE of 0.02.
  • With a higher deviation tolerance of 0.2 on human activity data, the compression ratio increased to 0.03 while RMSE remained at 0.05.
  • The adaptive windowing strategy significantly improved compression efficiency by focusing on informative segments and reducing redundancy in smooth regions.
  • The use of LSTMs in both encoder and decoder enabled effective modeling of long-term temporal dependencies, enhancing reconstruction quality.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.