Skip to content

Official implementation of "Time Evidence Fusion Network: Multi-source View in Long-Term Time Series Forecasting" (https://arxiv.org/abs/2405.06419)

License

Notifications You must be signed in to change notification settings

ztxtech/Time-Evidence-Fusion-Network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time Evidence Fusion Network (TEFN):
Multi-source View in Long-Term Time Series Forecasting

Repo Status:

PRs Welcome Visits Badge GitHub last commit GitHub commit activity GitHub code size in bytes GitHub Repo stars GitHub forks GitHub watchers

Implementation:

arxiv Python PyTorch nVIDIA Apple

Updates

🚩 News (2024.05.14) Compatible with MPS backend, TEFN can be trained by Apple.

Overview

This is the official code implementation project for paper "Time Evidence Fusion Network: Multi-source View in Long-Term Time Series Forecasting". The code implementation refers to GitHub. Thanks very much for GitHub's contribution to this project.

TEFN The Time Evidence Fusion Network (TEFN) is a groundbreaking deep learning model designed for long-term time series forecasting. It integrates the principles of information fusion and evidence theory to achieve superior performance in real-world applications where timely predictions are crucial. TEFN introduces the Basic Probability Assignment (BPA) Module, leveraging fuzzy theory, and the Time Evidence Fusion Network to enhance prediction accuracy, stability, and interpretability.

Key Features

  • Information Fusion Perspective: TEFN addresses time series forecasting from a unique angle, focusing on the fusion of multi-source information to boost prediction accuracy. Information Fusion Perspective
  • BPA Module: At its core, TEFN incorporates a BPA Module that maps diverse information sources to probability distributions related to the target outcome. This module exploits the interpretability of evidence theory, using fuzzy membership functions to represent uncertainty in predictions. BPA BPA Diagram
  • Interpretability: Due to its roots in fuzzy logic, TEFN provides clear insights into the decision-making process, enhancing model explainability. Channel dimension interpretability Time dimension interpretability
  • State-of-the-Art Performance: TEFN demonstrates competitive results, with prediction errors comparable to leading models like PatchTST, while maintaining high efficiency and requiring fewer parameters than complex models such as Dlinear. SOTA
  • Robustness and Stability: The model showcases resilience to hyperparameter tuning, exhibiting minimal fluctuations even under random selections, ensuring consistent performance across various settings. Visualization of Robustness Variance
  • Efficiency: With optimized training times and a compact model footprint, TEFN is particularly suitable for resource-constrained environments. Efficiency

Getting Started

Requirements

  • Python Python >= 3.6
  • PyTorch PyTorch >= 1.7.0
  • Python Other dependencies listed in requirements.txt

Installation

Clone the repository:

git clone https://github.com/ztxtech/Time-Evidence-Fusion-Network.git
cd Time-Evidence-Fusion-Network
pip install -r requirements.txt

Usage

Download Dataset

You can obtain datasets from Google Drive or Baidu Drive, Then place the downloaded data in the folder./dataset.

Load Config

  1. Modify the specific configuration file in ./run_config.py.
config_path = '{your chosen config file path}'
  1. Run ./run_config.py directly.
python run_config.py

Switching Running Devices

  1. Find required configuration file *.json in ./configs.
  2. Modify *.json file.
{
  # ...
  # Nvidia CUDA Device {0}
  # 'gpu': 0
  # Apple MPS Device
  # 'gpu': 'mps'
  # ...
}

Other Operations

Other related operations refer to GitHub.

Citation

If you find TEFN useful in your research, please cite our work as per the citation.

@misc{TEFN,
      title={Time Evidence Fusion Network: Multi-source View in Long-Term Time Series Forecasting}, 
      author={Tianxiang Zhan and Yuanpeng He and Zhen Li and Yong Deng},
      year={2024},
      journal={arXiv}
}

Acknowledgement

We appreciate the following GitHub repos a lot for their valuable code and efforts.

Contact

If you have any questions or suggestions, feel free to contact:

Or describe it in Issues.

Star History

Star History Chart