Skip to content

HPSCIL/MSTVFFN-multiple-air-pollutants-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

MSTVFFN

A multiscale spatial-temporal-variable feature fusion network for predicting multiple air pollutants

This repo is the implementation of our manuscript entitled A multiscale spatial-temporal-variable feature fusion network for predicting multiple air pollutants. The code is based on Pytorch 1.12.1, and tested on a GeForce RTX 4090 GPU with 24GB memory.

Accurate prediction of air quality at urban monitoring stations, while accounting for the complex interactions and impacts among multiple pollutants, is crucial for enhancing urban environmental quality and public health. However, current research predominantly focuses on predicting individual pollutant indicators, without incorporating the interactions between pollutants into the modeling process, leading to limitations in prediction accuracy and capability. To address this issue, a Multiscale Spatial-Temporal-Variable Feature Fusion Network (MSTVFFN) for predicting multiple air pollutants at air quality monitoring stations is proposed. Experimental results on three urban air quality datasets showed that the proposed MSTVFFN outperformed the state-of-the-art methods in prediction various pollutants. MSTVFFN's structural framework and key modules for characterizing and fusing the multiscale features in temporal, spatial and spectral dimensions can also serve as the fundamental components of more general modeling structures for other multi-variant spatio-temporal dynamics.

Framework

MSTVFFN

Requirements

MSTVFFN uses the following dependencies

  • Pytorch 1.12.1 and its dependencies
  • Numpy and Pandas
  • CUDA 11.8 or latest version

Dataset

  • Beijing dataset: The Beijing multi-site air quality dataset is obtained from Beijing-Multi-Site-Air-Quality-Data-Data-Set (https://github.com/Afkerian/Beijing-Multi-Site-Air-Quality-Data-Data-Set/tree/main)
  • London dataset: The London air quality dataset is obtained from KDD2018_FreshAir (https://github.com/B04902039/KDD2018_FreshAir)
    The processed sample data provided in this repository are located in the click here.
    The Data provided in this repository are sample data, intended only to demonstrate the code workflow and data format specifications. The sample data are not sufficient for model training. For full experiments, please obtain the complete dataset following the instructions in the related paper or documentation, or prepare your own data in the same format.

Folder Structure

We list the code of the major modules as follows:

Arguments

We introduce some major arguments of our main function here.

Training settings:

  • train_rate: rate of train set
  • test_rate: rate pf test set
  • lag: time length of hidtorical steps
  • pre_len: time length of future steps
  • num_nodes: the number of stations
  • batch_size: training or testing batch size
  • input_dim: the feature dimension of inputs
  • learning_rate: the learning rate at the beginning
  • epochs: training epochs
  • early_stop_patience: the patience of early stopping
  • device: using which GPU to train our model
  • seed: the random seed for experiments

Model hyperparameters:

  • d_model: position encoding embedding dimension
  • n_heads: the number of multi-head attention
  • d_k: feature dimensions of each head in multi-head attention
  • cheb_k: chebyshev polynomials order
  • hid_dim: hidden layer dimension of Chebyshev graph convolution
  • dropout: dropout rate

Citation

  • If you find our work useful in your research, please cite:
    X. Zhou, X. Liang, Q. Zhu, J. Gu, Q. Guan, A multiscale spatial–temporal-variable feature fusion network for predicting multiple air pollutants, Environment International (2025). https://doi.org/10.1016/j.envint.2025.109864

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages