Anomaly Detection in Time Series with Triadic Motif Fields and Application in Atrial Fibrillation ECG Classification

Yadong Zhang, Xin Chen
12/9/2020
3 citations
cs.LGeess.SP

Official code: ydup/Anomaly-Detection-in-Time-Series-with-Triadic-Motif-Fields (37 stars, Python, last commit 2021-05-06). 1 more implementation below.

Abstract

In the time-series analysis, the time series motifs and the order patterns in time series can reveal general temporal patterns and dynamic features. Triadic Motif Field (TMF) is a simple and effective time-series image encoding method based on triadic time series motifs.

Show full abstract

Electrocardiography (ECG) signals are time-series data widely used to diagnose various cardiac anomalies. The TMF images contain the features characterizing the normal and Atrial Fibrillation (AF) ECG signals. Considering the quasi-periodic characteristics of ECG signals, the dynamic features can be extracted from the TMF images with the transfer learning pre-trained convolutional neural network (CNN) models. With the extracted features, the simple classifiers, such as the Multi-Layer Perceptron (MLP), the logistic regression, and the random forest, can be applied for accurate anomaly detection. With the test dataset of the PhysioNet Challenge 2017 database, the TMF classification model with the VGG16 transfer learning model and MLP classifier demonstrates the best performance with the 95.50% ROC-AUC and 88.43% F1 score in the AF classification. Besides, the TMF classification model can identify AF patients in the test dataset with high precision. The feature vectors extracted from the TMF images show clear patient-wise clustering with the t-distributed Stochastic Neighbor Embedding technique. Above all, the TMF classification model has very good clinical interpretability. The patterns revealed by symmetrized Gradient-weighted Class Activation Mapping have a clear clinical interpretation at the beat and rhythm levels.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
ydup/Anomaly-Detection-in-Time-Series-with-Triadic-Motif-FieldsOfficial37Python–2021-05-06
ydup/bokehOfficial14Python–2021-04-11

Anomaly Detection in Time Series with Triadic Motif Fields and Application in Atrial Fibrillation ECG Classification

377Python, ShellJan 30, 20215 years ago
anomaly-detectionecgecg-classificationinterpretabilitymachine-learning+1 more
ydup/bokehOfficial100%

The interactive demo of the interpretation of the anomaly detection with Triadic Motif Fields.

146Python, HTMLJan 24, 20215 years ago
binderbokehecginterpretationmachine-learning+2 more

Similar Papers

Cite this paper

@article{zhang2020anomaly,
  title  = {Anomaly Detection in Time Series with Triadic Motif Fields and Application in Atrial Fibrillation ECG Classification},
  author = {Yadong Zhang and Xin Chen},
  year   = {2020},
  eprint = {2012.04936},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.04936}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.04936.svg)](https://codeofpaper.com/paper/2012.04936)

Discussion