Skip to main content

Multivariate Time-Series Anomaly Detection with Temporal Self-supervision and Graphs: Application to Vehicle Failure Prediction

  • Conference paper
  • First Online:
Machine Learning and Knowledge Discovery in Databases: Applied Data Science and Demo Track (ECML PKDD 2023)

Abstract

Failure prediction is key to ensuring the reliable operation of vehicles, especially for organizations that depend on a fleet of vehicles. However, traditional approaches often rely on rule-based or heuristic methods that may not be effective in detecting subtle anomalies, rare events, or in more modern vehicles containing a complex sensory network. This paper presents a novel approach to vehicle failure prediction, called mVSG-VFP, which employs self-supervised learning and graph-based techniques. The proposed method realizes the failure prediction task by exploring information hidden in the time-series data recorded through the sensors embedded in the vehicle. mVSG-VFP includes two main components: a graph-based autoencoder that learns representations of normal data while considering the relationship between different sensors and a self-supervised component that maps temporally-adjacent data to similar representations. We propose a novel approach to define the notion of adjacency in vehicle temporal data.

To evaluate mVSG-VFP, we apply it to a dataset comprised of vehicle sensor recordings to identify the abnormal data samples that signal a potential future failure. We performed a flurry of experiments to verify the accuracy of our model and demonstrate it outperforms state-of-the-art models in this task. Overall, the method is robust and intuitive, making it a useful tool for real-world applications.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    We define a trip as a continuous recording of sensors in which the engine is not turned off for more than 5 min.

  2. 2.

    Here R(.) can be any feature extraction function, including predefined feature extraction functions as well as trainable neural networks.

References

  1. Achouch, M., et al.: On predictive maintenance in industry 4.0: overview, models, and challenges. Appl. Sci. 12(16) (2022). https://doi.org/10.3390/app12168081. https://www.mdpi.com/2076-3417/12/16/8081

  2. Ahmed, M., Mahmood, A.N., Islam, M.R.: A survey of anomaly detection techniques in financial domain. Future Gener. Comput. Syst. 55, 278–288 (2016). https://doi.org/10.1016/j.future.2015.01.001. https://www.sciencedirect.com/science/article/pii/S0167739X15000023

  3. Ahmed, M., Naser Mahmood, A., Hu, J.: A survey of network anomaly detection techniques. J. Netw. Comput. Appl. 60, 19–31 (2016). https://doi.org/10.1016/j.jnca.2015.11.016. https://www.sciencedirect.com/science/article/pii/S1084804515002891

  4. Atha, D.J., Jahanshahi, M.R.: Evaluation of deep learning approaches based on convolutional neural networks for corrosion detection. Struct. Health Monit. 17(5), 1110–1128 (2018). https://doi.org/10.1177/1475921717737051

    Article  Google Scholar 

  5. Audibert, J., Michiardi, P., Guyard, F., Marti, S., Zuluaga, M.A.: USAD: unsupervised anomaly detection on multivariate time series. In: Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2020, pp. 3395–3404. Association for Computing Machinery, New York (2020). https://doi.org/10.1145/3394486.3403392

  6. Chen, T., Kornblith, S., Norouzi, M., Hinton, G.: A simple framework for contrastive learning of visual representations. In: International Conference on Machine Learning, pp. 1597–1607. PMLR (2020)

    Google Scholar 

  7. Chen, W., Tian, L., Chen, B., Dai, L., Duan, Z., Zhou, M.: Deep variational graph convolutional recurrent network for multivariate time series anomaly detection. In: International Conference on Machine Learning, pp. 3621–3633. PMLR (2022)

    Google Scholar 

  8. Dai, E., Chen, J.: Graph-augmented normalizing flows for anomaly detection of multiple time series. In: Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI 2022 (2022)

    Google Scholar 

  9. Darban, Z.Z., Webb, G.I., Pan, S., Aggarwal, C.C., Salehi, M.: Deep learning for time series anomaly detection: a survey (2022)

    Google Scholar 

  10. Deng, A., Hooi, B.: Graph neural network-based anomaly detection in multivariate time series. In: Proceedings of the AAAI Conference on Artificial Intelligence, AAAI 2021 (2021)

    Google Scholar 

  11. Garg, A., Zhang, W., Samaran, J., Savitha, R., Foo, C.S.: An evaluation of anomaly detection and diagnosis in multivariate time series. IEEE Trans. Neural Netw. Learning Syst. 33(6), 2508–2517 (2022). https://doi.org/10.1109/TNNLS.2021.3105827

    Article  MathSciNet  Google Scholar 

  12. Goodfellow, I., et al.: Generative adversarial nets. In: Ghahramani, Z., Welling, M., Cortes, C., Lawrence, N., Weinberger, K. (eds.) Advances in Neural Information Processing Systems, vol. 27. Curran Associates, Inc. (2014)

    Google Scholar 

  13. Goodfellow, I.J., Bengio, Y., Courville, A.: Deep Learning. MIT Press, Cambridge (2016). http://www.deeplearningbook.org

  14. Gugulothu, N., Malhotra, P., Vig, L., Shroff, G.M.: Sparse neural networks for anomaly detection in high-dimensional time series (2018)

    Google Scholar 

  15. Hjelm, R.D., et al.: Learning deep representations by mutual information estimation and maximization. In: International Conference on Learning Representations (2019). https://openreview.net/forum?id=Bklr3j0cKX

  16. Ho, T.K.K., Armanfard, N.: Self-supervised learning for anomalous channel detection in EEG graphs: application to seizure analysis. In: Proceedings of the AAAI Conference on Artificial Intelligence, AAAI 2023 (2023)

    Google Scholar 

  17. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)

    Article  Google Scholar 

  18. Hojjati, H., Armanfard, N.: DASVDD: deep autoencoding support vector data descriptor for anomaly detection. In: arXiv (2021)

    Google Scholar 

  19. Hojjati, H., Armanfard, N.: Self-supervised acoustic anomaly detection via contrastive learning. In: ICASSP 2022–2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 3253–3257 (2022). https://doi.org/10.1109/ICASSP43922.2022.9746207

  20. Hojjati, H., Ho, T.K.K., Armanfard, N.: Self-supervised anomaly detection: a survey and outlook (2022). https://doi.org/10.48550/ARXIV.2205.05173. https://arxiv.org/abs/2205.05173

  21. Jeong, K., Choi, S.B., Choi, H.: Sensor fault detection and isolation using a support vector machine for vehicle suspension systems. IEEE Trans. Veh. Technol. 69(4), 3852–3863 (2020). https://doi.org/10.1109/TVT.2020.2977353

    Article  Google Scholar 

  22. Khosla, P., et al.: Supervised contrastive learning. In: Larochelle, H., Ranzato, M., Hadsell, R., Balcan, M., Lin, H. (eds.) Advances in Neural Information Processing Systems, vol. 33, pp. 18661–18673. Curran Associates, Inc. (2020)

    Google Scholar 

  23. Kim, S., Choi, K., Choi, H.S., Lee, B., Yoon, S.: Towards a rigorous evaluation of time-series anomaly detection. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 36, no. 7, pp. 7194–7201, June 2022. https://doi.org/10.1609/aaai.v36i7.20680. https://ojs.aaai.org/index.php/AAAI/article/view/20680

  24. Kingma, D.P., Welling, M.: Auto-encoding variational bayes. CoRR abs/1312.6114 (2013)

    Google Scholar 

  25. Krizhevsky, A., Sutskever, I., Hinton, G.E.: ImageNet classification with deep convolutional neural networks. In: Pereira, F., Burges, C., Bottou, L., Weinberger, K. (eds.) Advances in Neural Information Processing Systems, vol. 25. Curran Associates, Inc. (2012)

    Google Scholar 

  26. Lai, K.H., Zha, D., Xu, J., Zhao, Y., Wang, G., Hu, X.: Revisiting time series outlier detection: definitions and benchmarks. In: Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 1) (2021). https://openreview.net/forum?id=r8IvOsnHchr

  27. Li, C.L., Sohn, K., Yoon, J., Pfister, T.: CutPaste: self-supervised learning for anomaly detection and localization. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 9664–9674 (2021)

    Google Scholar 

  28. Li, D., Chen, D., Jin, B., Shi, L., Goh, J., Ng, S.-K.: MAD-GAN: multivariate anomaly detection for time series data with generative adversarial networks. In: Tetko, I.V., Kurková, V., Karpov, P., Theis, F. (eds.) ICANN 2019. LNCS, vol. 11730, pp. 703–716. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-30490-4_56

    Chapter  Google Scholar 

  29. Rengasamy, D., Jafari, M., Rothwell, B., Chen, X., Figueredo, G.P.: Deep learning with dynamically weighted loss function for sensor-based prognostics and health management. Sensors 20(3) (2020). https://doi.org/10.3390/s20030723. https://www.mdpi.com/1424-8220/20/3/723

  30. Ruff, L., et al.: A unifying review of deep and shallow anomaly detection. Proc. IEEE 109(5), 756–795 (2021). https://doi.org/10.1109/JPROC.2021.3052449

  31. Schölkopf, B., Williamson, R., Smola, A., Shawe-Taylor, J., Platt, J.: Support vector method for novelty detection. In: Proceedings of the 12th International Conference on Neural Information Processing Systems, NIPS 1999, pp. 582–588. MIT Press, Cambridge (1999)

    Google Scholar 

  32. Soria-Olivas, E., et al.: BELM: Bayesian extreme learning machine. IEEE Trans. Neural Netw. 22(3), 505–509 (2011). https://doi.org/10.1109/TNN.2010.2103956

    Article  Google Scholar 

  33. Srivastava, N., Mansimov, E., Salakhutdinov, R.: Unsupervised learning of video representations using LSTMs. In: ICML (2015)

    Google Scholar 

  34. Su, Y., Zhao, Y., Niu, C., Liu, R., Sun, W., Pei, D.: Robust anomaly detection for multivariate time series through stochastic recurrent neural network. In: Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, pp. 2828–2837. Association for Computing Machinery, New York (2019). https://doi.org/10.1145/3292500.3330672. https://doi.org/10.1145/3292500.3330672

  35. Tack, J., Mo, S., Jeong, J., Shin, J.: CSI: Novelty detection via contrastive learning on distributionally shifted instances. Adv. Neural. Inf. Process. Syst. 33, 11839–11852 (2020)

    Google Scholar 

  36. Theissler, A., Pérez-Velázquez, J., Kettelgerdes, M., Elger, G.: Predictive maintenance enabled by machine learning: use cases and challenges in the automotive industry. Reliab. Eng. Syst. Safety 215, 107864 (2021). https://doi.org/10.1016/j.ress.2021.107864. https://www.sciencedirect.com/science/article/pii/S0951832021003835

  37. Wang, M.H., Chao, K.H., Sung, W.T., Huang, G.J.: Using ENN-1 for fault recognition of automotive engine. Expert Syst. Appl. 37(4), 2943–2947 (2010). https://doi.org/10.1016/j.eswa.2009.09.041. https://www.sciencedirect.com/science/article/pii/S0957417409008227

  38. Wolf, P., Mrowca, A., Nguyen, T.T., Bäker, B., Günnemann, S.: Pre-ignition detection using deep neural networks: a step towards data-driven automotive diagnostics. In: 2018 21st International Conference on Intelligent Transportation Systems (ITSC), pp. 176–183 (2018). https://doi.org/10.1109/ITSC.2018.8569908

  39. Wong, P.K., Zhong, J., Yang, Z., Vong, C.M.: Sparse Bayesian extreme learning committee machine for engine simultaneous fault diagnosis. Neurocomputing 174, 331–343 (2016). https://doi.org/10.1016/j.neucom.2015.02.097. https://www.sciencedirect.com/science/article/pii/S0925231215011765

  40. Wu, Z., Pan, S., Chen, F., Long, G., Zhang, C., Philip, S.Y.: A comprehensive survey on graph neural networks. IEEE Trans. Neural Netw. Learn. Syst. 32(1), 4–24 (2020)

    Article  MathSciNet  Google Scholar 

  41. van Wyk, F., Wang, Y., Khojandi, A., Masoud, N.: Real-time sensor anomaly detection and identification in automated vehicles. IEEE Trans. Intell. Transp. Syst. 21(3), 1264–1276 (2020). https://doi.org/10.1109/TITS.2019.2906038

    Article  Google Scholar 

  42. Zare Moayedi, H., Masnadi-Shirazi, M.: Arima model for network traffic prediction and anomaly detection. In: 2008 International Symposium on Information Technology, vol. 4, pp. 1–6 (2008). https://doi.org/10.1109/ITSIM.2008.4631947

  43. Zhang, W., Zhang, C., Tsung, F.: GRELEN: multivariate time series anomaly detection from the perspective of graph relational learning. In: Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI 2022, pp. 2390–2397 (2022)

    Google Scholar 

  44. Zhao, H., et al.: Multivariate time-series anomaly detection via graph attention network. In: 2020 IEEE International Conference on Data Mining (ICDM), pp. 841–850. IEEE (2020)

    Google Scholar 

  45. Zhou, L., Zeng, Q., Li, B.: Hybrid anomaly detection via multihead dynamic graph attention networks for multivariate time series. IEEE Access 10, 40967–40978 (2022). https://doi.org/10.1109/ACCESS.2022.3167640

    Article  Google Scholar 

Download references

Acknowledgement

We would like to express our sincere gratitude to Ken Sills, CTO and Co-Founder of Preteckt Inc. company and his team for their invaluable support in providing us with the data used in this research paper. Their contribution was crucial in enabling us to analyze and draw meaningful conclusions from the dataset. We would also acknowledge Fonds de Recherche du Quebec Nature et technologies (FRQNT), Natural Sciences and Engineering Research Council of Canada (NSERC), and Scale AI for funding this research project.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hadi Hojjati .

Editor information

Editors and Affiliations

Ethics declarations

Ethical Statement

We acknowledge that our research involves collecting and processing potentially sensitive data. We have taken measures to protect the privacy and confidentiality of the organizations represented in the data. We have obtained all necessary permissions and approvals. We recognize that our work has implications for the automotive industry, and we acknowledge our responsibility to consider these implications carefully. We have taken care to report our findings accurately and transparently, and we have made efforts to minimize any potential negative impacts of our research.

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Hojjati, H., Sadeghi, M., Armanfard, N. (2023). Multivariate Time-Series Anomaly Detection with Temporal Self-supervision and Graphs: Application to Vehicle Failure Prediction. In: De Francisci Morales, G., Perlich, C., Ruchansky, N., Kourtellis, N., Baralis, E., Bonchi, F. (eds) Machine Learning and Knowledge Discovery in Databases: Applied Data Science and Demo Track. ECML PKDD 2023. Lecture Notes in Computer Science(), vol 14175. Springer, Cham. https://doi.org/10.1007/978-3-031-43430-3_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-43430-3_15

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-43429-7

  • Online ISBN: 978-3-031-43430-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics