Enhancing Multivariate Time Series Classifiers through Self-Attention and Relative Positioning Infusion

Mehryar Abbasi, Parvaneh Saeedi
2/13/2023
cs.CVeess.SP

No official code found. Best implementation: mehryar72/TimeSeriesClassification-TPS (23 stars, last commit 2024-05-17).

Abstract

Time Series Classification (TSC) is an important and challenging task for many visual computing applications. Despite the extensive range of methods developed for TSC, relatively few utilized Deep Neural Networks (DNNs). In this paper, we propose two novel attention blocks (Global Temporal Attention and Temporal Pseudo-Gaussian augmented Self-Attention) that can enhance deep learning-based TSC approaches, even when such approaches are designed and optimized for a specific dataset or task. We validate this claim by evaluating multiple state-of-the-art deep learning-based TSC models on the University of East Anglia (UEA) benchmark, a standardized collection of 30 Multivariate Time Series Classification (MTSC) datasets. We show that adding the proposed attention blocks improves base models' average accuracy by up to 3.6%. Additionally, the proposed TPS block uses a new injection module to include the relative positional information in transformers. As a standalone unit with less computational complexity, it enables TPS to perform better than most of the state-of-the-art DNN-based TSC methods. The source codes for our experimental setups and proposed attention blocks are made publicly available.

View on arXivView PDF

Code Implementations(1)

231PythonApr 7, 20222 years ago

Similar Papers

Cite this paper

@article{abbasi2023enhancing,
  title  = {Enhancing Multivariate Time Series Classifiers through Self-Attention and Relative Positioning Infusion},
  author = {Mehryar Abbasi and Parvaneh Saeedi},
  year   = {2023},
  eprint = {2302.06683},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.06683v2}
}

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/2302.06683.svg)](https://codeofpaper.com/paper/2302.06683)

Discussion