Skip to main content
QUICK REVIEW

[Paper Review] CKNet: A Convolutional Neural Network Based on Koopman Operator for Modeling Latent Dynamics from Pixels

Yongqian Xiao, Xin Xu|arXiv (Cornell University)|Feb 19, 2021
Model Reduction and Neural NetworksPhysics and Astronomy13 references8 citations
TL;DR

This paper proposes CKNet, a Koopman operator-based deep convolutional network that learns interpretable, linear latent dynamics from raw pixel inputs using encoder-decoder architectures. By training state transition and control matrices as learnable parameters under Koopman theory constraints, CKNet achieves long-horizon, stable predictions of latent states and reconstructed images in both offline and online continuous-control environments, with DCKNet and VCKNet showing similar eigenfunction evolution patterns across tasks.

ABSTRACT

With the development of end-to-end control based on deep learning, it is important to study new system modeling techniques to realize dynamics modeling with high-dimensional inputs. In this paper, a novel Koopman-based deep convolutional network, called CKNet, is proposed to identify latent dynamics from raw pixels. CKNet learns an encoder and decoder to play the role of the Koopman eigenfunctions and modes, respectively. The Koopman eigenvalues can be approximated by eigenvalues of the learned state transition matrix. The deterministic convolutional Koopman network (DCKNet) and the variational convolutional Koopman network (VCKNet) are proposed to span some subspace for approximating the Koopman operator respectively. Because CKNet is trained under the constraints of the Koopman theory, the identified latent dynamics is in a linear form and has good interpretability. Besides, the state transition and control matrices are trained as trainable tensors so that the identified dynamics is also time-invariant. We also design an auxiliary weight term for reducing multi-step linearity and prediction losses. Experiments were conducted on two offline trained and four online trained nonlinear forced dynamical systems with continuous action spaces in Gym and Mujoco environment respectively, and the results show that identified dynamics are adequate for approximating the latent dynamics and generating clear images. Especially for offline trained cases, this work confirms CKNet from a novel perspective that we visualize the evolutionary processes of the latent states and the Koopman eigenfunctions with DCKNet and VCKNet separately to each task based on the same episode and results demonstrate that different approaches learn similar features in shapes.

Motivation & Objective

  • To address the challenge of modeling high-dimensional pixel-based dynamics in complex systems where traditional analytical methods fail.
  • To develop a data-driven, interpretable, and time-invariant latent dynamics model for nonlinear systems with continuous action spaces.
  • To overcome limitations of manual dictionary design in Koopman-based modeling by replacing it with deep neural networks for feature representation.
  • To enable end-to-end control by learning predictive, linear dynamics from raw pixels without requiring intrinsic state measurements.
  • To improve prediction accuracy and stability through auxiliary loss terms that reduce multi-step linearity and reconstruction errors.

Proposed method

  • CKNet employs a deep autoencoder framework where the encoder approximates Koopman eigenfunctions and the decoder reconstructs the state from latent representations.
  • The state transition matrix and control matrix are trained as learnable tensors, ensuring time-invariant dynamics in the latent space.
  • Two variants are proposed: DCKNet (deterministic) and VCKNet (variational), both constrained by Koopman operator theory to ensure linear, interpretable dynamics.
  • The model is trained with a multi-step prediction loss and an auxiliary weight term to reduce linearity and reconstruction errors over long horizons.
  • Koopman eigenvalues are approximated from the eigenvalues of the learned state transition matrix, enabling spectral analysis of latent dynamics.
  • The method is applied to both offline and online training settings in Gym and MuJoCo environments with continuous control tasks.

Experimental results

Research questions

  • RQ1Can a deep neural network effectively learn Koopman eigenfunctions and modes from raw pixel observations to model nonlinear dynamics?
  • RQ2How do the deterministic and variational variants of CKNet compare in learning consistent latent dynamics and eigenfunction evolution?
  • RQ3To what extent can CKNet predict latent states and reconstruct images over long horizons without divergence?
  • RQ4How does the auxiliary loss term improve multi-step prediction accuracy and reduce linearity error in the learned dynamics?
  • RQ5Do different training paradigms (offline vs. online) affect the interpretability and stability of the identified Koopman-based models?

Key findings

  • CKNet successfully learns linear, interpretable latent dynamics from raw pixels, with both DCKNet and VCKNet producing similar shapes in Koopman eigenfunction evolution across tasks.
  • For offline-trained tasks, the model achieves stable long-horizon predictions of latent states and generates clear, accurate image reconstructions.
  • In online-trained MuJoCo tasks, CKNet performs well on Cheetah-run and CartPole-balance, with low mean absolute error (MAE) in latent state prediction, while performance degrades for fast-moving or small objects.
  • The auxiliary loss term significantly reduces multi-step linearity and prediction errors, improving long-horizon stability.
  • Visualizations confirm that eigenfunctions corresponding to smaller eigenvalues exhibit less fluctuation during evolution, indicating stable spectral behavior.
  • The evolutionary processes of latent states and Koopman eigenfunctions are consistent across DCKNet and VCKNet, despite differences in state transition dynamics and sampling-based inference in VCKNet.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.