Skip to content

MPTSNet: Integrating Multiscale Periodic Local Patterns and Global Dependencies for Multivariate Time Series Classification [AAAI 2025]

Notifications You must be signed in to change notification settings

MUYang99/MPTSNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

75585e3 Β· Mar 10, 2025

History

12 Commits
Jan 19, 2025
Jan 19, 2025
Jan 19, 2025
Jan 19, 2025
Jan 19, 2025
Jan 19, 2025
Mar 10, 2025
Jan 19, 2025
Jan 19, 2025
Jan 19, 2025
Jan 19, 2025
Jan 19, 2025
Jan 19, 2025

Repository files navigation

MPTSNet

MPTSNet is an implementation of the paper [MPTSNet: Integrating Multiscale Periodic Local Patterns and Global Dependencies for Multivariate Time Series Classification] (AAAI 2025).

πŸ› οΈ Setup

Repository

Clone the repository:

git clone [your-repo-url] && cd MPTSNet

Installation

Create a conda environment with all dependencies:

conda create --name mptsnet python=3.8
conda activate mptsnet
pip install -r requirements.txt

πŸš€ Usage

Quick Start

The project supports various UEA time series classification datasets from Time Series Classification Repository. Place your dataset in the dataset/General/ and dataset/UEA/ directory. For quick access to all datasets used in the paper, you can visit this link.

Train MPTSNet:

python train.py

Evaluate MPTSNet:

python eval.py

Model Configuration

The model automatically adapts its parameters based on input dimensions:

  • Embedding dimensions are scaled based on input channels
  • Periodic patterns are automatically detected using FFT
  • Early stopping and learning rate scheduling are implemented for optimal training

Dataset Structure

Structure your dataset as follows:

dataset/General/
└── YOUR_DATASET_NAME
    β”œβ”€β”€ YOUR_DATASET_NAME_TRAIN.ts
    └── YOUR_DATASET_NAME_TEST.ts

πŸ“Š Key Features

  • Automatic period detection using FFT
  • Multi-scale local feature extraction through inception modules
  • Attention-based global feature fusion
  • Adaptive embedding dimensions
  • Enhanced interpretability

πŸ“ˆ Results

Training results are saved in the results/ directory, including:

  • Model checkpoints
  • Training logs
  • Accuracy metrics

πŸŽ“ Citation

If you use MPTSNet in your research, please cite our paper:

@misc{mu2025mptsnetintegratingmultiscaleperiodic,
      title={MPTSNet: Integrating Multiscale Periodic Local Patterns and Global Dependencies for Multivariate Time Series Classification}, 
      author={Yang Mu and Muhammad Shahzad and Xiao Xiang Zhu},
      year={2025},
      eprint={2503.05582},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2503.05582}, 
}

πŸ“ License

This project is licensed under the MIT License.

About

MPTSNet: Integrating Multiscale Periodic Local Patterns and Global Dependencies for Multivariate Time Series Classification [AAAI 2025]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published