Volatility Based Change Detection in Data Streams

Alireza Ahrabian, Nazli FarajiDavar, Clive Cheong Took, Payam M. BarnaghiarXiv 2017

TL;DR

This paper introduces novel algorithms for detecting and locating changes in the volatility of time series data, crucial for understanding dynamic systems. The core innovation lies in an adaptive filtering approach that combines multiple volatility filters to achieve rapid and accurate change detection, along with a new method for pinpointing the exact time of these volatility shifts.

What Problem Does This Paper Address?

Many real-world systems, from financial markets to sensor networks, exhibit changes in their underlying statistical behavior over time. Specifically, the volatility (or standard deviation) of time series data can change abruptly, signaling important events or shifts in system dynamics. Detecting these changes quickly and accurately is essential for effective monitoring and control. Traditional methods often struggle with either speed (high latency), accuracy, or computational complexity, especially in online (real-time) scenarios or when dealing with multiple data streams (multivariate data). This paper aims to bridge this gap by developing efficient and adaptive techniques for both detecting volatility changes and estimating their precise timing.

Methods

The paper proposes two main algorithmic contributions:

  1. Adaptive Filtering Based Change Detection (AFCD): This method leverages a "windowed volatility filter" to estimate the standard deviation of the time series. The key idea is to use a convex combination of two such filters with different window sizes:
  2. A "fast" filter with a small window size can quickly track transient volatility changes but may be less accurate in steady states.
  3. A "slow" filter with a large window size provides stable steady-state estimates but is slow to react to changes. By adaptively adjusting the weights of this convex combination, the algorithm can dynamically prioritize the filter that best reflects the current volatility. The adaptive weight itself serves as an indicator of a volatility change. This approach is extended to multivariate data by employing cooperative adaptive filtering strategies, allowing multiple sensors to share information for improved detection.

  4. Volatility Change Point Estimator (VCE): This method focuses on accurately locating the detected change points. It works by calculating the differenced output of the volatility filter. This differenced signal tends to oscillate around zero until a volatility change occurs, at which point it increases significantly. The VCE then identifies the change point by finding the maximum of this differenced signal, adjusted by the filter's window size.

Datasets

The proposed methods were evaluated on:

  • Synthetic Data: Both univariate and multivariate Gaussian time series data with simulated instantaneous changes in variance. For multivariate data, randomly generated correlation matrices were used.
  • Real-World Data:
    • Tri-axial accelerometer data from a smartphone, capturing different states of motion ('no motion', 'walking', 'running').

Key Insights and Ideas

  • The "Fast vs. Slow" Filter Trade-off: The paper elegantly addresses the inherent trade-off between tracking speed and steady-state accuracy in volatility estimation by combining filters with different window sizes.
  • Adaptive Weights as Change Indicators: The adaptive weight parameter in the convex combination is a novel and intuitive indicator for detecting volatility shifts.
  • Multivariate Extension via Cooperation: The seamless extension to multivariate data using cooperative adaptive filtering highlights the robustness and scalability of the approach.
  • Differenced Volatility Filter for Localization: The differenced volatility filter output provides a clear signal peak at change points, enabling precise location estimation.
  • Triangular Weights Outperform Square Weights: For multivariate data, triangular impulse response filters for the volatility estimation showed superior performance in terms of true positives compared to standard square window estimates.

Key Results

  • Improved Detection: The proposed AFCD method outperformed the Generalized Likelihood Ratio (GLR) method in terms of a lower proportion of false positives and reduced detection latency on both synthetic and real-world data.
  • Multivariate Performance: For multivariate data with low inter-channel correlations, the AFCD with triangular weights achieved a higher proportion of true positives than GLR when the number of sensors exceeded two.
  • Accurate Localization: The VCE achieved a significantly lower absolute error in change point location estimation (4.09 samples) compared to GLR (30.34 samples) on synthetic data.
  • Real-World Application: On accelerometer data, the CAFCD (Cooperative AFCD) algorithm demonstrated a lower number of false negatives and detected transitions more rapidly in 64% of the observed motion state changes compared to GLR applied channel-wise.

Limitations and Future Work

  • Transition Spacing: The proposed method assumes that the time between consecutive change points is greater than a certain threshold (related to the filter window sizes, e.g., $T_r$), to ensure accurate estimation and convergence. This might limit its applicability in scenarios with very rapid, closely spaced volatility changes.
  • Parameter Selection: While the paper provides some guidance (e.g., $T_a \approx 10$), the optimal selection of parameters like window sizes ($T_f, T_s$) and learning rates ($\mu$) might still require tuning for specific applications.
  • Future Work: The paper suggests extending the adaptive filtering architecture for multivariate data, which has been addressed. Further analysis of the impact of different weighting parameters and filter types on performance is also implied. The potential for applying these methods to other domains with dynamic volatility is also a natural extension.

Summary updated

Abstract

This work develops techniques for the sequential detection and location estimation of transient changes in the volatility (standard deviation) of time series data. In particular, we introduce a class of change detection algorithms based on the windowed volatility filter. The first method detects changes by employing a convex combination of two such filters with differing window sizes, such that the adaptively updated convex weight parameter is then used as an indicator for the detection of instantaneous power changes. Moreover, the proposed adaptive filtering based method is readily extended to the multivariate case by using recent advances in distributed adaptive filters, thereby using cooperation between the data channels for more effective detection of change points. Furthermore, this work also develops a novel change point location estimator based on the differenced output of the volatility filter. Finally, the performance of the proposed methods were evaluated on both synthetic and real world data.
BibTeX
@misc{ahrabian2017volatility,
  author = {Alireza Ahrabian and Nazli FarajiDavar and Clive Cheong Took and Payam M. Barnaghi},
  title = {{Volatility Based Change Detection in Data Streams}},
  year = {2017},
  eprint = {1709.03105},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1709.03105},
}

Loading related content...

Figure