Outlier Detection for Multivariate Time Series Using Dynamic Bayesian Networks
Source abstract
Abstract
Outliers are observations suspected of not having been generated by the underlying process of the remaining data. Many applications require a way of identifying interesting or unusual patterns in multivariate time series (MTS), now ubiquitous in many applications; however, most outlier detection methods focus solely on univariate series. We propose a complete and automatic outlier detection system covering the pre-processing of MTS data that adopts a dynamic Bayesian network (DBN) modeling algorithm. The latter encodes optimal inter and intra-time slice connectivity of transition networks capable of capturing conditional dependencies in MTS datasets. A sliding window mechanism is employed to score each MTS transition gradually, given the DBN model. Two score-analysis strategies are studied to assure an automatic classification of anomalous data. The proposed approach is first validated in simulated data, demonstrating the performance of the system. Further experiments are made on real data, by uncovering anomalies in distinct scenarios such as electrocardiogram series, mortality rate data, and written pen digits. The developed system proved beneficial in capturing unusual data resulting from temporal contexts, being suitable for any MTS scenario. A widely accessible web application employing the complete system is publicly available jointly with a tutorial.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Anomaly Detection Techniques and Applications · Time Series Analysis and Forecasting · Advanced Statistical Methods and Models
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Instituto de Telecomunicações, Instituto Superior Técnico, Universidade de Lisboa, 1049-001 Lisboa, Portugal
INESC-ID, Instituto Superior Técnico, Universidade de Lisboa, 1049-001 Lisboa, Portugal
Lisbon ELLIS Unit (LUMLIS—Lisbon Unit for Learning and Intelligent Systems), Av. Rovisco Pais 1, 1049-001 Lisboa, Portugal
Funding
Fundação para a Ciência e a Tecnologia
References (47)
Show source-provided references
1. Procedures for detecting outlying observations in samples10.1080/00401706.1969.10490657 ↗
2. López-de Lacalle, J. (2017). tsoutliers: Detection of Outliers in Time Series, The Comprehensive R Archive Network (CRAN). R Package Version 0.6-6.
3. Matt Dancho, D.V. (2018). anomalize: Tidy Anomaly Detection, The Comprehensive R Archive Network (CRAN). R Package Version 0.1.1.10.32614/CRAN.package.anomalize ↗
4. Anomaly detection: A survey10.1145/1541880.1541882 ↗
5. Aggarwal, C.C. (2017). Outlier Analysis, Springer.10.1007/978-3-319-47578-3 ↗
6. Outlier Detection for Temporal Data: A Survey10.1109/TKDE.2013.184 ↗
7. Outlier detection in multivariate time series by projection pursuit10.1198/016214505000001131 ↗
8. Anomaly Detection for Discrete Sequences: A Survey10.1109/TKDE.2010.235 ↗
9. Ma, J., and Perkins, S. (2003, January 20–24). Time-Series Novelty Detection Using One-Class Support Vector Machines. Proceedings of the International Joint Conference on Neural Networks, Portland, OR, USA.
10. Robust estimation by expectation maximization algorithm10.1007/s00190-012-0582-3 ↗
11. Exact variable-length anomaly detection algorithm for univariate and multivariate time series10.1007/s10618-018-0569-7 ↗
12. Ding, N., Gao, H., Bu, H., Ma, H., and Si, H. (2018). Multivariate-Time-Series-Driven Real-time Anomaly Detection Based on Bayesian Network. Sensors, 18.10.3390/s18103367 ↗
13. MTAD-TF: Multivariate Time Series Anomaly Detection Using the Combination of Temporal Pattern and Feature Pattern10.1155/2020/8846608 ↗
14. Monteiro, J.L., Vinga, S., and Carvalho, A.M. (2015, January 12–16). Polynomial-Time Algorithm for Learning Optimal Tree-Augmented Dynamic Bayesian Networks. Proceedings of the Polynomial-Time Algorithm for Learning Optimal Tree-Augmented Dynamic Bayesian Networks (UAI 2015), Amsterdam, The Netherlands.
15. Real-time Bayesian anomaly detection in streaming environmental data10.1029/2008WR006956 ↗
16. Murphy, K., and Mian, S. (1999). Modelling Gene Expression Data Using Dynamic Bayesian Networks, Computer Science Division, University of California. Technical Report.
17. Tukey, J.W. (1977). Exploratory Data Analysis, Pearson.
18. Hoaglin, D.C., and John, W. (2003). Tukey and data analysis. Stat. Sci., 311–318.10.1214/ss/1076102418 ↗
19. Finite mixture models10.1146/annurev-statistics-031017-100325 ↗
20. Serras, J.L., Vinga, S., and Carvalho, A.M. (2021, February 23). METEOR—Dynamic Bayesian Outlier Detection. Available online: https://meteor.jorgeserras.com/.
21. Friedman, N. (1998). The Bayesian Structural EM Algorithm, Morgan Kaufmann.
22. Discriminative Learning of Bayesian Networks via Factorized Conditional Log-Likelihood
23. Efficient Approximation of the Conditional Relative Entropy with Applications to Discriminative Learning of Bayesian Network Classifiers10.3390/e15072716 ↗
24. Hybrid learning of Bayesian multinets for binary classification10.1016/j.patcog.2014.03.019 ↗
25. Carvalho, A.M. (2009). Scoring Functions for Learning Bayesian Networks, INESC.ID. INESC-ID Tech. Rep.
26. Friedman, N., Murphy, K.P., and Russell, S.J. (1998). Learning the Structure of Dynamic Probabilistic Networks, Morgan Kaufmann.
27. Chickering, D., Geiger, D., and Heckerman, D. (1995, January 20–25). Learning Bayesian Networks: Search Methods and Experimental Results. Proceedings of the Fifth Conference on Artificial Intelligence and Statistics, Montreal, QC, Canada.
28. Dojer, N. (2006). Learning Bayesian Networks Does Not Have to Be NP-Hard, Springer.10.1007/11821069_27 ↗
29. Bayesian network classifiers10.1023/A:1007465528199 ↗
30. Sousa, M., and Carvalho, A.M. (2018). Polynomial-Time Algorithm for Learning Optimal BFS-Consistent Dynamic Bayesian Networks. Entropy, 20.10.3390/e20040274 ↗
31. Learning Consistent Tree-Augmented Dynamic Bayesian Networks
32. Lin, J., Keogh, E.J., Lonardi, S., and Chiu, B.Y. (2003, January 13). A Symbolic Representation of Time Series, with Implications for Streaming Algorithms. Proceedings of the 8th ACM SIGMOD Workshop on Research Issues in Data Mining and Knowledge Discovery (DMKD 2003), San Diego, CA, USA.10.1145/882082.882086 ↗
33. Keogh, E., Lin, J., and Fu, A. (2004, January 1–4). HOT SAX: Finding the Most Unusual Time Series Subsequence: Algorithms and Applications. Proceedings of the Sixth International Conference on Data Mining (ICDM), Brighton, UK.
34. Larsen, R.J., and Marx, M.L. (1986). An Introduction to Mathematical Statistics and Its Applications, Prentice-Hall.
35. Optimum branchings10.6028/jres.071B.032 ↗
36. Manning, C.D., Raghavan, P., and Schütze, H. (2008). Introduction to Information Retrieval, Cambridge University Press.10.1017/CBO9780511809071 ↗
37. Alternatives to the median absolute deviation10.1080/01621459.1993.10476408 ↗
38. A note on detecting statistical outliers in psychophysical data10.3758/s13414-019-01726-3 ↗
39. Unsupervised learning of finite mixture models10.1109/34.990138 ↗
40. Fraley, C., Raftery, A., Scrucca, L., Murphy, T.B., Fop, M., and Scrucca, M.L. (2017). mclust: Gaussian Mixture Modelling for Model-Based Clustering, Classification, and Density Estimation, The Comprehensive R Archive Network (CRAN). R Package Version 5.
41. The power of amnesia: Learning probabilistic automata with variable memory length10.1023/A:1026490906255 ↗
42. Analyzing state sequences with probabilistic suffix trees: the PST R package10.18637/jss.v072.i03 ↗
43. Dau, H.A., Keogh, E., Kamgar, K., Yeh, C.C.M., Zhu, Y., Gharghabi, S., Ratanamahatana, C.A., Hu, B., Begum, N., and Bagnall, A. (2018, September 18). The UCR Time Series Classification Archive. Available online: https://www.cs.ucr.edu/~eamonn/time_series_data_2018/.
44. Detecting deviating data cells10.1080/00401706.2017.1340909 ↗
45. University of California, and Max Planck Institute for Demographic Research (Germany) (2018, September 18). Human Mortality Database. Available online: www.humanmortality.de.
46. Dheeru, D., and Karra Taniskidou, E. (2018, September 18). UCI Machine Learning Repository. Available online: http://archive.ics.uci.edu/ml.
47. Alimoglu, F., and Alpaydin, E. (1996, January 27–28). Methods of Combining Multiple Classifiers Based on Different Representations for Pen-based Handwritten Digit Recognition. Proceedings of the Fifth Turkish Artificial Intelligence and Artificial Neural Networks Symposium (TAINN), Istanbul, Turkey.