Skip to content

In this work, we present a novel approach that combines the power of Koopman operators and deep neural networks to generate a linear representation of the Duffing oscillator. This approach enables effective parameter estimation and accurate prediction of the oscillator's future behavior.

License

Notifications You must be signed in to change notification settings

yriyazi/Koopman-Operator-and-Deep-Neural-Networks-ISAV2023

Repository files navigation

Leveraging Koopman Operators and Deep Neural Networks for Parameter Estimation and Future Prediction of Duffing Oscillators (ISAV_2023)

Updated July 15 2024

<-->

Duffing Solutions

Example GIF

GIF Example

This repository contains the code and resources related to the paper titled "Leveraging Koopman Operators and Deep Neural Networks for Parameter Estimation and Future Prediction of Duffing Oscillators." In this work, we present a novel approach that combines the power of Koopman operators and deep neural networks to generate a linear representation of the Duffing oscillator. This approach enables effective parameter estimation and accurate prediction of the oscillator's future behavior. We also propose a modified loss function that enhances the training process of the deep neural network. The synergistic use of Koopman operators and deep neural networks simplifies the analysis of nonlinear systems. It opens new avenues for advancing predictive modeling in various scientific and engineering fields.

Abstract

The study of nonlinear dynamical systems has been fundamental across various scientific and engineering domains due to their applicability in modeling real-world phenomena. Traditional methods for analyzing and predicting the behavior of such systems often rely on complex mathematical techniques and numerical simulations. This paper introduces an innovative approach that harnesses the combined potential of Koopman operators and deep neural networks. By generating a linear representation of the Duffing oscillator, we facilitate effective parameter estimation and achieve accurate predictions of its future behavior. Additionally, we propose a modified loss function that refines the training process of the deep neural network. The synergy between Koopman operators and deep neural networks simplifies the analysis of nonlinear systems and holds promise for advancing predictive modeling across diverse fields.

Contents of the Repository

  • Loss/: This directory contains the implementation of the methodology described in the paper. It includes code for generating Koopman operators.
  • Duffing_Solution/: This directory holds the datasets used for training and testing the model. It includes synthetic data of Duffing oscillator.
  • Deeplearning/: This directory holds the function for training the deep neural networks.
  • Saved/: Pytorch Pre-trained models and checkpoints.
  • Model/: Directory containing the encoder and decoder models.
  • Utils/: Utility functions and scripts.
  • Images/: Contains images and gifs used for visualization.
  • .vscode/: Contains VSCode settings.
  • .Ignore/: Directory with files to be ignored by version control.
  • config.yaml: Configuration file.
  • directory_tree.txt: Directory structure of the project.
  • LICENSE: License file.
  • README.md: Readme file.
  • test.py: Test script.
  • Train.ipynb: Jupyter notebook for training the model from scratch.

Getting Started

To start using the code and reproducing the results presented in the paper, please refer to the ./ directory. The Jupyter notebooks provide a clear guide on how to set up the environment, preprocess data, execute code, and interpret the results. Also it is expected that you have installed a version of pytorch>1.2. For Pytorch installation please refer to Pytorch.

For seeing a demo, please run the test.py file.

GIF Example

Citation

If you find this work helpful or build upon it in your research, please consider citing the following paper:

[Yassin Riyazi, Navidreza Ghanbari, Arash Bahrami*. 2023. "Leveraging Koopman Operators and Deep Neural Networks for Parameter Estimation and Future Prediction of Duffing Oscillators." ISAV, 2023, Page Numbers. DOI]

GIF Example

Contact

If you have any questions, issues, or collaboration opportunities, please contact [iyasiniyasin98@gmail.com].

We hope the approach introduced in this paper will inspire further advancements in analyzing and predicting nonlinear dynamical systems. Happy researching!

About

In this work, we present a novel approach that combines the power of Koopman operators and deep neural networks to generate a linear representation of the Duffing oscillator. This approach enables effective parameter estimation and accurate prediction of the oscillator's future behavior.

Topics

Resources

License

Stars

Watchers

Forks