All models

KDNN (Koopman Deep Neural Network)

An MLP autoencoder with a learned Koopman matrix that predicts states and trajectories of a nonlinear system.

Time series · 212 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (221 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
13.2K
Operations
212
Framework
PyTorch
Recurrent
No
Published
L4DC 2023 (PMLR 211)
Cited by
3 (as of 29 October 2026)
Authors
Sourya Dey, Eric Davis
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m17648
Graph hash
ecc653facf69032f9f6dc39aedf0327ad5d614942addb64baceef1083cff7bab
Skeleton hash
28b970ebdd16644f72a0ef4722dc41e831e37052f9bd7a37333bb2e0d134c0de
Architecture hash
7715f61e62075dd5fbdd1a5ae30ab50d00837bb02b159ae74d21873ad461773c
Diagram SHA-256
adfe501e75ecd7f0d0073c03a2aa832c7c673030b9f00c5e11159dc23388abef
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

DLKoopman is a software package for Koopman theory: it uses deep learning to encode a nonlinear dynamical system into a linear space and learns the linear dynamics at the same time. Once the dynamics are linear, linear techniques can predict unknown states of the system and entire trajectories from new initial conditions.

The network is an autoencoder in which an MLP encoder turns each state of the system into an encoded state. An MLP decoder is trained to be the inverse function of the encoder. The package has two core modules, StatePred for state prediction and TrajPred for trajectory prediction, and they differ in how the Koopman matrix is obtained. StatePred computes it from the encoded states by SVD. TrajPred models it as the weights of a linear layer with equal numbers of input and output neurons, no bias and no activation function. That layer evolves the initial encoded state to generate the whole predicted trajectory.

Training optimizes three metrics: reconstruction, linearity and prediction. The paper's example of TrajPred uses data from a system exhibiting a polynomial manifold.

Key idea. DLKoopman is a general software package that learns both an autoencoder encoding of a nonlinear dynamical system and the linear Koopman dynamics in the encoded space.

  • kdnn
  • koopman deep neural network
  • dlkoopman
  • koopman theory
  • koopman operator
  • koopman autoencoder
  • trajectory prediction
  • state prediction
  • nonlinear dynamical systems
  • trajpred

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{dey2023dlkoopmandeeplearningsoftware,
      title={DLKoopman: A deep learning software package for Koopman theory}, 
      author={Sourya Dey and Eric Davis},
      year={2023},
      eprint={2211.08992},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2211.08992}, 
}