LiftAndLearn.jl

Julia Implementation of the nonintrusive model reduction approaches: Operator Inference (OpInf) and Lift & Learn (LnL)
Author smallpondtom
Popularity
7 Stars
Updated Last
2 Months Ago
Started In
June 2023

Lift & Learn/Operator Inference with Julia

logo

Powered by ACE Lab CI codecov Doc Doc DOI

LiftAndLearn.jl is an implementation of the Lift and Learn as well as the operator inference algorithm proposed in the papers listed in References.

Operator Inference (OpInf)

Operator Inference is a scientific machine-learning framework used in data-driven modeling of dynamical systems that aims to learn the governing equations or operators from observed data without explicit knowledge of the underlying physics or dynamics (but with some information such as the structure, e.g., linear, quadratic, bilinear, etc.). To know more about OpInf, please refer to these resources by ACE Lab and Willcox Research Group.

Lift and Learn (LnL)

Lift and Learn is a physics-informed method for learning low-dimensional models for large-scale dynamical systems. Lifting refers to the transformation of the original nonlinear system to a linear, quadratic, bilinear, or polynomial system by mapping the original state space to a new space with additional auxiliary variables. After lifting the system to a more approachable form we can learn a reduced model using the OpInf approach.

Requirements

  • julia versions 1.8.5 >
  • We use Ipopt for the optimization (e.g., EP-OpInf)
    • This requires additional proprietary linear-solvers including ma86 and ma97.
    • You can run the code without it by changing the options. By default Ipopt will use MUMPS but we recommend you obtain and download HSL_jll.jl. You can find the instructions here.
  • As this package is designed for model reduction of large-scale models, we recommend using a high-memory machine to run the examples, ideally with more than 32GB of RAM.

Installation

(@v1.10) pkg> add LiftAndLearn

Get Started

Clone this repository and try the 1D heat equation example out $$\frac{\partial u}{\partial t} = \mu\frac{\partial^2 u}{\partial x^2}$$ from the command line using the following command

> julia --project="./scripts" scripts/OpInf/heat1d_OpInf_example.jl

Similar Works

References

  1. Peherstorfer, B. and Willcox, K. Data-driven operator inference for non-intrusive projection-based model reduction. Computer Methods in Applied Mechanics and Engineering, 306:196-215, 2016. (Download)

    BibTeX
    @article{Peherstorfer16DataDriven,
    title   = {Data-driven operator inference for nonintrusive projection-based model reduction},
    author  = {Peherstorfer, B. and Willcox, K.},
    journal = {Computer Methods in Applied Mechanics and Engineering},
    volume  = {306},
    pages   = {196-215},
    year    = {2016},
    }

  2. Qian, E., Kramer, B., Marques, A., and Willcox, K. Transform & Learn: A data-driven approach to nonlinear model reduction. In the AIAA Aviation 2019 Forum, June 17-21, Dallas, TX. (Download)

    BibTeX
    @inbook{QKMW2019aviation,
    author = {Qian, E. and Kramer, B. and Marques, A. N. and Willcox, K. E.},
    title = {Transform & Learn: A data-driven approach to nonlinear model reduction},
    booktitle = {AIAA Aviation 2019 Forum},
    doi = {10.2514/6.2019-3707},
    URL = {https://arc.aiaa.org/doi/abs/10.2514/6.2019-3707},
    eprint = {https://arc.aiaa.org/doi/pdf/10.2514/6.2019-3707}
    }

  3. Qian, E., Kramer, B., Peherstorfer, B., and Willcox, K. Lift & Learn: Physics-informed machine learning for large-scale nonlinear dynamical systems, Physica D: Nonlinear Phenomena, 2020.

    BibTeX
    @article{qian2020lift,
    title={Lift & {L}earn: {P}hysics-informed machine learning for large-scale nonlinear dynamical systems},
    author={Qian, E. and Kramer, B. and Peherstorfer, B. and Willcox, K.},
    journal={Physica D: Nonlinear Phenomena},
    volume={406},
    pages={132401},
    year={2020},
    publisher={Elsevier}
    }

  4. Qian, E., Farcas, I.-G., and Willcox, K. Reduced operator inference for nonlinear partial differential equations, SIAM Journal of Scientific Computing, 2022.

    BibTeX
    @article{doi:10.1137/21M1393972,
    author = {Qian, Elizabeth and Farca\c{s}, Ionu\c{t}-Gabriel and Willcox, Karen},
    title = {Reduced Operator Inference for Nonlinear Partial Differential Equations},
    journal = {SIAM Journal on Scientific Computing},
    volume = {44},
    number = {4},
    pages = {A1934-A1959},
    year = {2022},
    doi = {10.1137/21M1393972},
    URL = {https://doi.org/10.1137/21M1393972},
    eprint = {https://doi.org/10.1137/21M1393972},
    }

  5. Koike, T., Qian, E. Energy-Preserving Reduced Operator Inference for Efficient Design and Control, AIAA SCITECH 2024 Forum. 2024.

    BibTeX
    @inproceedings{koike2024energy,
    title={Energy-Preserving Reduced Operator Inference for Efficient Design and Control},
    author={Koike, Tomoki and Qian, Elizabeth},
    booktitle={AIAA SCITECH 2024 Forum},
    pages={1012},
    year={2024},
    doi={https://doi.org/10.2514/6.2024-1012}
    }
    

Citing this Project

If you have used this code for your research, we would be grateful if you could cite us using the following BibTeX

@software{smallpondtom_LnL,
  author       = {Tomoki Koike},
  title        = {LiftAndLearn.jl: Julia Implementation of Lift and Learn and Operator Inference},
  month        = Dec,
  year         = 2023,
  publisher    = {Zenodo},
  version      = {0.1.0},
  doi          = {10.5281/zenodo.10826115},
  url          = {https://zenodo.org/doi/10.5281/zenodo.10826114}
}