Change-Point Detection in a Sequence of Bags-of-Data

Kensuke Koshijima, Hideitsu Hino, Noboru Murata · DOI

Introduction: Beyond Single Vectors

Traditional change-point detection (CPD) algorithms typically operate on a "one vector per time step" paradigm. For instance, monitoring a single sensor reading every minute. However, many modern data streams are "bagged"—at each time step, we observe a collection of data points rather than a single value. Examples include daily hospital patient vitals or weekly corporate email logs where the number of observations varies.

Comparison between ordinary CPD (single vectors) and the proposed bag-of-data setting.

The core challenge is that simple aggregation (like taking the mean) often masks critical distributional shifts. A change from a unimodal to a bimodal distribution might leave the mean unchanged, rendering standard CPD methods blind to the transition.

Proposed Methodology

The authors propose a nonparametric framework to detect shifts in these complex, aggregate datasets through a three-step pipeline:

  1. Signature Representation: Each "bag" is summarized into a signature using techniques like k-means clustering. This captures the distribution's essence—cluster centers and their relative weights—without the overhead of raw data.
  2. Metric Space Embedding: These signatures are compared using Earth Mover’s Distance (EMD). EMD quantifies the "work" needed to transform one distribution into another, effectively mapping the sequence of bags into a metric space where distances represent distributional differences.
  3. Adaptive Thresholding via Bayesian Bootstrap: To distinguish true changes from noise, the method employs a Bayesian bootstrap. It calculates confidence intervals for change-point scores in "reference" and "test" windows. An alert is triggered only when these intervals do not overlap, providing a robust, data-driven threshold that adapts to varying noise levels.

Key Results and Insights

The method's primary advantage is its ability to preserve distributional information. In synthetic tests where the mean remains constant but the variance or shape changes, traditional methods fail to register any shift.

Comparison of (a) raw time-series data, (b) the sample mean sequence, and (c) change-point scores. Note how the proposed method (dashed line) clearly identifies changes at t=50 and t=100 that the mean sequence misses.

As shown in the figure above, while the sample mean (b) remains flat across the entire sequence, the proposed method (c) produces sharp peaks at the true change points (t=50 and t=100). Other methods like Kernel Change-point Detection (KCD) or Cumulative Fluctuations (CF) either miss the points or produce excessive noise.

Real-World Applications

  • Physical Activity Detection: Using the PAMAP2 dataset, the framework successfully identified transitions between activities (e.g., walking to running) based on high-frequency sensor bags.
  • Organizational Monitoring: Applied to the ENRON email corpus, the method detected major corporate crises. By treating weekly email statistics as bags, it identified structural shifts in the communication network that aligned with historical events like the SEC investigation.

Conclusion

By moving from vector-based to bag-based detection, this research provides a flexible tool for monitoring complex systems. The combination of EMD for shape comparison and Bayesian bootstrapping for significance testing creates a system that is both sensitive to subtle distributional shifts and robust against false alarms. Future work will look into automated feature selection and reducing the computational cost of EMD for high-dimensional, real-time streams.

Summary updated

BibTeX
@inproceedings{koshijima2016change,
  author = {Kensuke Koshijima and Hideitsu Hino and Noboru Murata},
  title = {{Change-Point Detection in a Sequence of Bags-of-Data}},
  booktitle = {ICDE},
  year = {2016},
  doi = {10.1109/icde.2016.7498425},
}
Figure