Online Anomaly Detection for Smartphone-Based Multivariate Behavioral Time Series Data

Sensors (Basel). 2022 Mar 9;22(6):2110. doi: 10.3390/s22062110.

Abstract

Smartphones can be used to collect granular behavioral data unobtrusively, over long time periods, in real-world settings. To detect aberrant behaviors in large volumes of passively collected smartphone data, we propose an online anomaly detection method using Hotelling's T-squared test. The test statistic in our method was a weighted average, with more weight on the between-individual component when the amount of data available for the individual was limited and more weight on the within-individual component when the data were adequate. The algorithm took only an O(1) runtime in each update, and the required memory usage was fixed after a pre-specified number of updates. The performance of the proposed method, in terms of accuracy, sensitivity, and specificity, was consistently better than or equal to the offline method that it was built upon, depending on the sample size of the individual data. Future applications of our method include early detection of surgical complications during recovery and the possible prevention of the relapse of patients with serious mental illness.

Keywords: Hotelling’s T-squared test; anomaly detection; digital phenotyping; online learning.

MeSH terms

  • Algorithms*
  • Humans
  • Smartphone*
  • Time Factors