Giter Site home page Giter Site logo

tongnie / gnn4flow Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 27.71 MB

TRC: ''Towards better traffic volume estimation: Jointly addressing the underdetermination and nonequilibrium problems with correlation-adaptive GNNs''.

Home Page: https://doi.org/10.1016/j.trc.2023.104402

License: MIT License

Python 7.89% Jupyter Notebook 92.11%
graph-neural-networks kriging spatiotemporal-correlation traffic-volume-estimation

gnn4flow's Introduction

Graph Neural Network for Traffic Volume Kriging

๐Ÿ“

This is the code repository for our publication ''Towards better traffic volume estimation: Jointly addressing the underdetermination and nonequilibrium problems with correlation-adaptive GNNs'' that is published on Transportation Research Part C.

Motivation

This project studies two key problems with regard to traffic volume estimation: (1) underdetermined traffic flows caused by fully undetected paths that can allow arbitrary volume values without violating the conservation law, where using local side information is insufficient to tackle, and (2) nonequilibrium traffic flows arise when traffic flows vary in density over space and time due to congestion propagation delay, which produce time-shifted volume readings to varying degrees. image

Methodology

  • Model structure: image This figure shows the holistic architecture of STCAGCN. It consists of two basic components: (1) spatial information aggregation block for alleviating underdetermined problem with learned speed-volume relationships. (2) time-asynchronous correlations extraction block for coping with nonequilibrium flows.
  • Inductive training: image We model the traffic volume estimation problem as a spatial-temporal kriging problem. GNNs are trained like a masked autoencoder, which can perform estimation at unseen locations during testing.

Run

  • We provide the Pytorch implementation of proposed STCAGCN in 'model.py' file.
  • A pretrained model is provided in the 'check_point' folder.
  • A JupyterNotebook demonstration of data loading, preprocessing, model configuration, training, evaluating, and visualizing is provided in 'run_STCAGCN.ipynb'.

Citation

Please cite our paper if this repository is helpful for your study.

@article{nie2023towards, title={Towards better traffic volume estimation: Jointly addressing the underdetermination and nonequilibrium problems with correlation-adaptive GNNs}, author={Nie, Tong and Qin, Guoyang and Wang, Yunpeng and Sun, Jian}, journal={Transportation Research Part C: Emerging Technologies}, volume={157}, pages={104402}, year={2023}, publisher={Elsevier} }

Acknowledgement

Our implementations are built on top of the IGNNK repository: https://github.com/Kaimaoge/IGNNK.

License

This project is released under the MIT license.

gnn4flow's People

Contributors

tongnie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.