Framework for Variable-lag Motif Following Relation Inference In Time Series using Matrix Profile analysis

Naaek Chinpattanakarn, Chainarong Amornbunchornvej
1/5/2024
cs.LGcs.AI

No official code found. Best implementation: hughnaaek/Following-Motif-Relation (3 stars, last commit 2025-01-02).

Abstract

Knowing who follows whom and what patterns they are following are crucial steps to understand collective behaviors (e.g. a group of human, a school of fish, or a stock market). Time series is one of resources that can be used to get insight regarding following relations. However, the concept of following patterns or motifs and the solution to find them in time series are not obvious. In this work, we formalize a concept of following motifs between two time series and present a framework to infer following patterns between two time series. The framework utilizes one of efficient and scalable methods to retrieve motifs from time series called the Matrix Profile Method. We compare our proposed framework with several baselines. The framework performs better than baselines in the simulation datasets. In the dataset of sound recording, the framework is able to retrieve the following motifs within a pair of time series that two singers sing following each other. In the cryptocurrency dataset, the framework is capable of capturing the following motifs within a pair of time series from two digital currencies, which implies that the values of one currency follow the values of another currency patterns. Our framework can be utilized in any field of time series to get insight regarding following patterns between time series.

View on arXivView PDF

Code Implementations(1)

Given two time series, with one containing a motif that leads the motif pattern in the other, our goal is to identify which time series leads or follows, and to predict the motif-following time steps in both series.

30R, PythonJan 4, 20241 years ago
data-scienceleadershippythonrtime-series

Cite this paper

@article{chinpattanakarn2024framework,
  title  = {Framework for Variable-lag Motif Following Relation Inference In Time Series using Matrix Profile analysis},
  author = {Naaek Chinpattanakarn and Chainarong Amornbunchornvej},
  year   = {2024},
  eprint = {2401.02860},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.02860v2}
}

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

Discussion