Coder Social home page Coder Social logo

agstn's Introduction

AGSTN: Forecasting Urban Sensory Values through Learning Attention-adjusted Graph Spatio-Temporal Networks

Official implementation of AGSTN model(ICDM2020)

  • Abstract:

Forecasting spatio-temporal correlated time series of sensor values is crucial in urban applications, such as air pollution alert, biking resource management, and intelligent transportation systems. While recent advances exploit graph neural networks (GNN) to better learn spatial and temporal dependencies between sensors, they cannot model time-evolving spatio-temporal correlation (STC) between sensors, and require pre-defined graphs, which are neither always available nor totally reliable, and target at only a specific type of sensor data at one time. Moreover, since the form of time-series fluctuation is varied across sensors, a model needs to learn fluctuation modulation. To tackle these issues, in this work, we propose a novel GNN-based model, \textit{Attention-adjusted Graph Spatio-Temporal Network} (AGSTN). In AGSTN, multi-graph convolution with sequential learning is developed to learn time-evolving STC. Fluctuation modulation is realized by a proposed attention adjustment mechanism. Experiments on three sensor data, air quality, bike demand, and traffic flow, exhibit that AGSTN outperforms the state-of-the-art methods.

We propose a novel model,Attention-adjusted Graph Spatio-Temporal Network (AGSTN), to deal with the SSVF problem. AGSTN consists five parts.

  • First, we exploit Intrinsic Mode Functions (IMF) to generate additional features from the original time series.
  • Second, we aim at learning spatiotemporal correlation between sensors based on constructed graphs. Multi-graph convolutional network (M-GCN) layers are incorporated to achieve the aim.
  • Third, we use the sequential methods to make raw predictions from the original time series and the M-GCN-generated features, using recurrent and convolutional neural networks, respectively, from which time-evolving spatio-temporal correlation between sensors is modeled.
  • Fourth, we impose an attention layer to learn the reasonable fluctuation tendency of every sensor. Last, by averaging raw predictions and applying the attention adjustment, the final prediction is generated.

Datasets

Three datasets of spatio-temporal correlated time series are employed in our experiments. The types of timeseries values include air quality, bike demand, and traffic flow.

  • air quality: we collect hourly PM2.5 data of northern region from Environmental Protection Agency in Taiwan.
  • bike demand: we make use of the Citi Bike public dataset in New York City, whose sensors collect the demand number of bikes every 30 minutes.
  • traffic flow: we utilize the METR-LA dataset, which contains traffic information collected from loop detectors in the highway of Los Angeles. The sensor readings are aggregated into 5-minutes windows.

Requirements

python >=3.5

Keras 2.2.4

scikit-learn 0.21

pandas 0.23.0

numpy 1.14.3

Citation

Yi-Ju Lu and Cheng-Te Li. "AGSTN: Forecasting Urban Sensory Values through Learning Attention-adjusted Graph Spatio-Temporal Networks" 20th IEEE International Conference on Data Mining, ICDM2020.

agstn's People

Contributors

l852888 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.