Code Monkey home page Code Monkey logo

autoode-dsl's Introduction

Paper:

Rui Wang, Danielle Maddix, Christos Faloutsos, Yuyang Wang, Rose Yu Bridging Physics-based and Data-driven modeling for Learning Dynamical Systems, Annual Conference on Learning for Dynamics and Control (L4DC), 2021

Abstract:

How can we learn a dynamical system to make forecasts, when some variables are unobserved? For instance, in COVID-19, we want to forecast the number of infected and death cases but we do not know the count of susceptible and exposed people. While mechanics compartment models are widely-used in epidemic modeling, data-driven models are emerging for disease forecasting. As a case study, we compare these two types of models for COVID-19 forecasting and notice that physics-based models significantly outperform deep learning models. We present a hybrid approach, AutoODE-COVID, which combines a novel compartmental model with automatic differentiation. Our method obtains a 57.4% reduction in mean absolute errors for 7-day ahead COVID-19 forecasting compared with the best deep learning competitor. To understand the inferior performance of deep learning, we investigate the generalization problem in forecasting. Through systematic experiments, we found that deep learning models fail to forecast under shifted distributions either in the data domain or the parameter domain. This calls attention to rethink generalization especially for learning dynamical systems.

Description

  1. ode_nn/:
  • DNN.py: Pytorch implementation of Seq2Seq, Auto-FC, Transformer, Neural ODE.
  • Graph.py: Pytorch implementation of Graph Attention, Graph Convolution.
  • AutoODE.py: Pytorch implementation of AutoODE(-COVID).
  • train.py: data loaders, train epoch, validation epoch, test epoch functions.
  1. Run_DSL.ipynb: train deep sequence models and graph neural nets.
  2. Run_AutoODE.ipynb: train AutoODE-COVID.
  3. Evaluation.ipynb: evaluation functions and prediction visualization

Requirement

  • python 3.6
  • pytorch 10.1
  • matplotlib
  • scipy
  • numpy
  • pandas
  • dgl

Cite

@inproceedings{wang2020bridging,
title={Bridging Physics-based and Data-driven modeling for Learning Dynamical Systems},
author={Rui Wang and Danielle Maddix and Christos Faloutsos and Yuyang Wang and Rose Yu},
journal={In proceedings of Learning for Dynamics and Control (L4DC)},
year={2021}
}

autoode-dsl's People

Contributors

rui1521 avatar yuqirose 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.