All models

DeepKoCo

Deep Koopman network that embeds a nonlinear controlled system into a space where its dynamics are linear.

Reinforcement learning and control · 11 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 (16 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
36.5K
Operations
11
Framework
PyTorch
Recurrent
No
Published
IEEE Robotics and Automation Letters 2022
Cited by
159 (as of 30 October 2026)
Authors
Haojie Shi, Max Q.-H. Meng
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
m15948
Graph hash
52ea6ce0d8833540e441a6602d2bec47896e3bf2f7c5ffbf5d605bc4b6a7d968
Skeleton hash
47310fb19674cd76d95954ce82fb0c44c59119507143dcc08eaf9196e609df69
Architecture hash
2de4e2fd7fbe977763cd7e67a4845096ca996bf3a2a2ce08f982fac346372ba5
Diagram SHA-256
b2dfa473c924bf771ef5b9916e9f514c8dd34562b8e4e4741908438f46745e96
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

This model is a deep Koopman network for control: it learns to map the state of a nonlinear system into an embedding space where the dynamics are linear, so that real-time linear control methods can be used. It comes from the paper Deep Koopman Operator with Control for Nonlinear Systems. The paper's starting point is that designing a suitable embedding function is difficult and that most Koopman-based algorithms assume the control input enters linearly.

The embedding function and the Koopman operator are both parameterized by neural networks and trained end to end with a K-steps loss. To handle control inputs that act nonlinearly, an auxiliary control network encodes a state-dependent control term, which is treated as the new control variable. A Linear Quadratic Regulator (LQR) is then applied in the embedding space, and the actual control input is decoded from the control network. The paper reports experiments on a damping pendulum, CartPole and a seven DOF robotic manipulator, with prediction error reduced by an order of magnitude relative to the methods it compares against.

The name DeepKoCo is also the title of a separate paper by van der Heijden and co-authors, which presents a model-based agent that learns a latent Koopman representation from images.

Key idea. The paper learns the Koopman embedding function and Koopman operator together end to end, and adds a control network so the embedded system stays linear under nonlinear control inputs.

  • DeepKoCo
  • Deep Koopman Operator with Control
  • DeepKoopmanWithControl
  • DKUC
  • DKAC
  • deep Koopman
  • Koopman operator
  • nonlinear system control
  • LQR

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

Cite the paper

@misc{shi2022deepkoopmanoperatorcontrol,
      title={Deep Koopman Operator with Control for Nonlinear Systems}, 
      author={Haojie Shi and Max Q. -H. Meng},
      year={2022},
      eprint={2202.08004},
      archivePrefix={arXiv},
      primaryClass={cs.RO},
      url={https://arxiv.org/abs/2202.08004}, 
}