Papers
Topics
Authors
Recent
Search
2000 character limit reached

Linear Recurrent Autoencoder Networks

Updated 5 July 2026
  • Linear Recurrent Autoencoder Networks (LRANs) are neural architectures that encode high-dimensional states into a compact latent space with linear recurrence to approximate nonlinear dynamics.
  • They leverage a data-adaptive encoder and nonlinear decoder to capture Koopman-invariant subspaces, mitigating overfitting compared to fixed dictionary methods like EDMD.
  • Multi-step training with linear latent dynamics enables LRANs to produce fast inference and short-term accurate predictions in complex dynamical systems.

Linearly Recurrent Autoencoder Networks (LRANs) are neural architectures for learning low-dimensional approximations of nonlinear dynamical systems by combining a learned encoder, linear recurrent dynamics in latent space, and a nonlinear decoder. In the formulation introduced by Otto and Rowley, LRANs are explicitly motivated by neural-network approximations of the Koopman operator and by limitations of Extended Dynamic Mode Decomposition (EDMD), particularly the trade-off between dictionary expressivity and overfitting under finite data (Otto et al., 2017). The defining premise is that a compact latent state can evolve linearly while the full state need not be linearly reconstructible from that latent representation, because reconstruction is handled by a nonlinear decoder.

1. Koopman-theoretic setting and motivation

LRANs are formulated for discrete-time systems of the form xt+1=F(xt)x_{t+1} = F(x_t) on a state space M⊂RnM \subset \mathbb{R}^n, and also admit a continuous-time interpretation through the Koopman semigroup. For an observable f:M→Cf : M \to \mathbb{C}, the discrete-time Koopman operator acts by composition,

(Kf)(x)=f(F(x)),(\mathcal{K} f)(x) = f(F(x)),

and remains linear even when the underlying state dynamics are nonlinear. In continuous time, with flow Φt(x)\Phi_t(x), the Koopman semigroup satisfies

Ktψ(x)=ψ(Φt(x)),\mathcal{K}_t \psi(x) = \psi(\Phi_t(x)),

with infinitesimal generator

Kψ(x)=∇xψ(x)⋅f(x).\mathcal{K} \psi(x) = \nabla_x \psi(x) \cdot f(x).

Koopman eigenfunctions φi\varphi_i evolve linearly under the operator, with eigenvalues μi\mu_i in discrete time or λi\lambda_i in continuous time, and M⊂RnM \subset \mathbb{R}^n0 under sampling.

The central motivation for LRANs is the observation that EDMD approximates the Koopman operator on a finite dictionary M⊂RnM \subset \mathbb{R}^n1, but larger dictionaries do not automatically improve generalization. The cited work identifies a fundamental trade-off: richer dictionaries increase representational capacity, yet finite data impose an effective rank bound and may induce overfitting. A counterexample described in the source shows that adding a single superfluous feature to a dictionary that already contains the true eigenfunctions can cause severe overfitting, with incorrect learned eigenvalues and eigenfunctions despite near-zero training residuals (Otto et al., 2017).

LRANs address this difficulty by replacing a fixed hand-designed dictionary with a learned encoder that maps observations into a low-dimensional latent space intended to approximate a Koopman-invariant subspace. This suggests a reinterpretation of Koopman learning: rather than selecting a large observable library and then regularizing the resulting operator estimate, one may learn a compact observable coordinate system jointly with the linear latent dynamics and a reconstruction map.

2. Core architecture and mathematical formulation

The canonical LRAN consists of three components: an encoder, linear recurrent latent dynamics, and a decoder. The encoder maps the state to a latent code,

M⊂RnM \subset \mathbb{R}^n2

where M⊂RnM \subset \mathbb{R}^n3 is a low latent dimension. The latent recurrence is linear and time-invariant,

M⊂RnM \subset \mathbb{R}^n4

so that multi-step predictions take the form

M⊂RnM \subset \mathbb{R}^n5

For continuous-time data with irregular sampling, the latent state evolves as

M⊂RnM \subset \mathbb{R}^n6

The decoder reconstructs the physical state from the latent coordinate,

M⊂RnM \subset \mathbb{R}^n7

This decoder is nonlinear. That design choice is a defining distinction from standard DMD- or EDMD-style reconstructions, which typically assume the full state is linearly represented in an invariant subspace. In LRANs, the latent space is required to support linear evolution, but the state need not itself belong to that linear span.

When the learned matrix M⊂RnM \subset \mathbb{R}^n8 is diagonalizable, the encoded coordinates define an approximate Koopman-invariant subspace. If M⊂RnM \subset \mathbb{R}^n9, f:M→Cf : M \to \mathbb{C}0, and f:M→Cf : M \to \mathbb{C}1 denote right eigenvectors, left eigenvectors, and eigenvalues of f:M→Cf : M \to \mathbb{C}2, then approximate Koopman eigenfunctions are linear functionals of the encoded state,

f:M→Cf : M \to \mathbb{C}3

and satisfy

f:M→Cf : M \to \mathbb{C}4

Thus the network learns observables whose temporal evolution is linear, even though the underlying dynamics and reconstruction map remain nonlinear.

A related reconstruction framework in the same work is partially linear multi-kernel regression,

f:M→Cf : M \to \mathbb{C}5

used primarily with KDMD reduced-order models. This combines a dominant linear dependence on f:M→Cf : M \to \mathbb{C}6 with a nonlinear correction in an RKHS, and is intended for cases in which the data lie near a curved low-dimensional manifold (Otto et al., 2017).

3. Training objectives, optimization, and spectral structure

LRAN training is explicitly multi-step. Given a sequence f:M→Cf : M \to \mathbb{C}7, the model computes encoded states

f:M→Cf : M \to \mathbb{C}8

predicted latent states

f:M→Cf : M \to \mathbb{C}9

and decoded predictions

(Kf)(x)=f(F(x)),(\mathcal{K} f)(x) = f(F(x)),0

The loss combines normalized reconstruction error in state space with normalized error in latent space, weighted across the rollout horizon by a discount factor (Kf)(x)=f(F(x)),(\mathcal{K} f)(x) = f(F(x)),1 and relative weighting parameter (Kf)(x)=f(F(x)),(\mathcal{K} f)(x) = f(F(x)),2:

(Kf)(x)=f(F(x)),(\mathcal{K} f)(x) = f(F(x)),3

Here (Kf)(x)=f(F(x)),(\mathcal{K} f)(x) = f(F(x)),4 and (Kf)(x)=f(F(x)),(\mathcal{K} f)(x) = f(F(x)),5 normalize the temporal weights, (Kf)(x)=f(F(x)),(\mathcal{K} f)(x) = f(F(x)),6 and (Kf)(x)=f(F(x)),(\mathcal{K} f)(x) = f(F(x)),7 prevent divide-by-zero, and (Kf)(x)=f(F(x)),(\mathcal{K} f)(x) = f(F(x)),8 is an optional regularizer. The experiments reported in the source did not require an explicit regularizer; instead, small latent dimension (Kf)(x)=f(F(x)),(\mathcal{K} f)(x) = f(F(x)),9 acted as regularization (Otto et al., 2017).

Optimization uses ADAM with initial learning rate Φt(x)\Phi_t(x)0 and geometric decay, with mini-batches of 50 sequences. Sequence lengths in the reported experiments are dataset-specific: Duffing uses Φt(x)\Phi_t(x)1, cylinder wake uses Φt(x)\Phi_t(x)2, and Kuramoto–Sivashinsky uses Φt(x)\Phi_t(x)3. Training durations are reported as Φt(x)\Phi_t(x)4–Φt(x)\Phi_t(x)5 optimization steps depending on the dataset.

The matrix Φt(x)\Phi_t(x)6 is initialized using Φt(x)\Phi_t(x)7 blocks of the form [σamp;ω −ωamp;σ], \begin{bmatrix} \sigma & \omega\ -\omega & \sigma \end{bmatrix}, \Phi_t(x)8λ=σ±iω8\lambda = \sigma \pm i\omega\Phi_t(x)$9r = 0.8$\mathcal{K}_t \psi(x) = \psi(\Phi_t(x)),$0K$ to impose known Koopman eigenvalues. In the Duffing experiments, this constraint is used to embed known eigenvalues and thereby improve interpretability. No explicit stability regularization beyond the multi-step loss and low latent dimension is reported in the experiments.

A common misconception is that Koopman-oriented models must reconstruct the full state linearly from a finite set of observables. LRANs explicitly reject that requirement: the latent space is linearly recurrent, but reconstruction may be nonlinear. The source presents this as a mechanism for capturing richer state structure from very few encoded observables.

4. Relation to EDMD, KDMD, and balanced model reduction

EDMD approximates the Koopman operator on a chosen feature dictionary

Ktψ(x)=ψ(Φt(x)),\mathcal{K}_t \psi(x) = \psi(\Phi_t(x)),1

using snapshot pairs Ktψ(x)=ψ(Φt(x)),\mathcal{K}_t \psi(x) = \psi(\Phi_t(x)),2 with Ktψ(x)=ψ(Φt(x)),\mathcal{K}_t \psi(x) = \psi(\Phi_t(x)),3. The estimator is

Ktψ(x)=ψ(Φt(x)),\mathcal{K}_t \psi(x) = \psi(\Phi_t(x)),4

with G=1M∑i=1<sup>M</sup>Ψ(xi)Ψ(xi)<sup>∗,</sup>A=1M∑i=1<sup>M</sup>Ψ(xi)Ψ(yi)<sup>∗.</sup></p><p> G = \frac{1}{M}\sum_{i=1}<sup>M</sup> \Psi(x_i)\Psi(x_i)<sup>*,</sup> \qquad A = \frac{1}{M}\sum_{i=1}<sup>M</sup> \Psi(x_i)\Psi(y_i)<sup>*.</sup></p> <p>\mathcal{K}_t \psi(x) = \psi(\Phi_t(x)),5ΨX=UΣV<sup>∗5\Psi_X = U\Sigma V<sup>*\mathcal{K}_t \psi(x) = \psi(\Phi_t(x)),6</sup></p><p>K^=Σ<sup>+</sup>V<sup>∗</sup>ΨY<sup>∗</sup>U.6</sup></p> <p>\hat{K} = \Sigma<sup>+</sup> V<sup>*</sup> \Psi_Y<sup>*</sup> U.

The problem, as framed in the LRAN paper, is not that EDMD or KDMD are invalid, but that their success depends heavily on dictionary design and on having sufficient data relative to the effective feature dimension. LRANs offer an alternative in which the dictionary is data-adapted and low-dimensional from the outset.

The same paper also develops balanced model reduction for over-specified EDMD or KDMD systems in feature space. For a feature-state linear system with reconstruction operator Ktψ(x)=ψ(Φt(x)),\mathcal{K}_t \psi(x) = \psi(\Phi_t(x)),7, the infinite-horizon observability and controllability Gramians are Wo=∑t=0<sup>∞</sup>(K^)<sup>t</sup>C<sup>∗</sup>C(K^<sup>∗)<sup>t,</sup></sup>Wc=1M∑t=0<sup>∞</sup>(K^<sup>∗)<sup>t</sup></sup>Σ<sup>2</sup>(K^)<sup>t.</sup></p><p> W_o = \sum_{t=0}<sup>{\infty}</sup> (\hat{K})<sup>t</sup> C<sup>*</sup> C (\hat{K}<sup>*)<sup>t,</sup></sup> \qquad W_c = \frac{1}{M}\sum_{t=0}<sup>{\infty}</sup> (\hat{K}<sup>*)<sup>t</sup></sup> \Sigma<sup>2</sup> (\hat{K})<sup>t.</sup></p> <p>\mathcal{K}_t \psi(x) = \psi(\Phi_t(x)),$8H = A*B$\mathcal{K}_t \psi(x) = \psi(\Phi_t(x)),9</sup></p><p>H=UHΣHVH<sup>∗,</sup></p><p>9</sup></p> <p>H = U_H \Sigma_H V_H<sup>*,</sup></p> <p>\mathcal{K} \psi(x) = \nabla_x \psi(x) \cdot f(x).0</p><p>T=BVHΣH<sup>−1/2,</sup>S=AUHΣH<sup>−1/2.</sup></p><p>0</p> <p>T = B V_H \Sigma_H<sup>{-1/2},</sup> \qquad S = A U_H \Sigma_H<sup>{-1/2}.</sup></p> <p>\mathcal{K} \psi(x) = \nabla_x \psi(x) \cdot f(x).$1d$\mathcal{K} \psi(x) = \nabla_x \psi(x) \cdot f(x).2</p><p>zt+1=Sd<sup>∗</sup>K^<sup>∗</sup>Tdzt+1MSd<sup>∗</sup>Σut,xt≈CTdzt,z=Sd<sup>∗</sup>ΨU(x).2</p> <p>z_{t+1} = S_d<sup>*</sup> \hat{K}<sup>*</sup> T_d z_t + \frac{1}{\sqrt{M}} S_d<sup>*</sup> \Sigma u_t, \qquad x_t \approx C T_d z_t, \qquad z = S_d<sup>*</sup> \Psi_U(x).

Finite-horizon Balanced Proper Orthogonal Decomposition (BPOD) is used when the system is unstable or when a finite prediction window is the object of interest. The LRAN paper presents BPOD-reduced KDMD models as a complementary pipeline rather than a direct replacement. The reported comparison is nuanced: KDMD with BPOD can recover coherent spectral structure, but inference requires kernel evaluations scaling with the number of training samples unless support vectors are pruned, whereas LRAN inference is a single encoder pass, linear latent rollout, and decoder evaluation (Otto et al., 2017).

5. Experimental demonstrations

The reported experiments span three dynamical systems of increasing complexity: the unforced Duffing oscillator, an unstable cylinder wake at Kψ(x)=∇xψ(x)⋅f(x).\mathcal{K} \psi(x) = \nabla_x \psi(x) \cdot f(x).3, and the Kuramoto–Sivashinsky equation at the onset of chaos (Otto et al., 2017).

For the unforced Duffing oscillator, x¨=−δx˙−x(β+αx<sup>2),</sup>δ=0.5,  β=−1,  α=1,</p><p> \ddot{x} = -\delta \dot{x} - x(\beta + \alpha x<sup>2),</sup> \qquad \delta = 0.5,\; \beta = -1,\; \alpha = 1,</p> <p>\mathcal{K} \psi(x) = \nabla_x \psi(x) \cdot f(x).4x=±14x=\pm 1\mathcal{K} \psi(x) = \nabla_x \psi(x) \cdot f(x).5</p><p>λ1,2=14(−1±31 i).5</p> <p>\lambda_{1,2} = \frac{1}{4}\left(-1 \pm \sqrt{31}\, i\right). \mathcal{K} \psi(x) = \nabla_x \psi(x) \cdot f(x).6λ0=06\lambda_0 = 0\mathcal{K} \psi(x) = \nabla_x \psi(x) \cdot f(x).$7M = 104$\mathcal{K} \psi(x) = \nabla_x \psi(x) \cdot f(x).8Δ</sup>t=0.258\Delta</sup> t = 0.25\mathcal{K} \psi(x) = \nabla_x \psi(x) \cdot f(x).$9d=3$\varphi_i$0K$\varphi_i192.74%192.74\%\varphi_i294.88%294.88\%\varphi_i396.50%396.50\% for the KDMD ROM. For prediction error versus horizon, the free LRAN achieves the lowest mean square relative error, followed by the constrained LRAN; in this case the KDMD ROM’s nonlinear reconstruction does not help and is described as sensitive to overfitting.

For the unstable cylinder wake, the data consist of 2000 velocity snapshots sampled every φi\varphi_i4, split into 1000/500/500 train/evaluation/test snapshots. The data are projected onto the 200 most energetic POD modes and then time-delay embedded with two delays to produce 400-dimensional inputs. The LRAN uses latent dimension φi\varphi_i5 and sequence length φi\varphi_i6; the KDMD ROM is reduced to the same dimension by BPOD over the same horizon. The leading continuous-time eigenvalues of the two models agree closely; the first mode captures the vortex-shedding pattern, KDMD yields a second eigenvalue near φi\varphi_i7 consistent with a harmonic, and LRAN produces a second eigenvalue close to φi\varphi_i8, which the source interprets as suggesting combinations that capture the slow transition. Linear reconstructions via Koopman modes are comparable across the models, but the nonlinear LRAN decoder yields roughly an order-of-magnitude lower mean relative error than the KDMD ROM’s kernel reconstructor over many steps within the training horizon.

For the Kuramoto–Sivashinsky equation, ut+uxx+uxxxx+uux=0,x∈[0,L],  L=8π, u_t + u_{xx} + u_{xxxx} + u u_x = 0, \qquad x \in [0,L],\; L = 8\pi, \varphi_i9Δt=1.09\Delta t = 1.0\mu_i$0d=16$\mu_i$1T=5$. The learned Koopman spectra include slightly unstable modes, consistent with the unstable Fourier modes. LRAN modestly outperforms the KDMD ROM across horizons, both models remain accurate for short times up to five steps, and the nonlinear decoder is reported as essential because linear modes alone do not reconstruct the state well.

These experiments collectively support three recurring claims from the source: LRANs can identify meaningful Koopman eigenfunctions, can produce accurate low-dimensional models for systems with intrinsically low-dimensional organization, and are primarily accurate within the training horizon, with degradation beyond that window.

6. Relation to Linear Memory Networks and broader interpretation

The 2018 paper on Linear Memory Networks (LMNs) provides a closely related but distinct architecture in which nonlinear computation and linear memory are explicitly separated (Bacciu et al., 2018). The LMN functional state and memory state are defined by

μi\mu_i2

μi\mu_i3

Its memory block is a linear, input-driven recurrence equivalent in form to a linear recurrent autoencoder for sequences,

μi\mu_i4

with decoder

μi\mu_i5

The LMN paper shows that this memory mechanism can be trained in closed form via truncated SVD of a reversed-subsequence data matrix, yielding explicit formulas

μi\mu_i6

and an optimal encoding when the latent dimension equals the rank of the constructed sequence matrix.

The relation to LRANs is structural. In LRAN notation, one may identify the latent state with the LMN memory, μi\mu_i7, and write the LMN linear memory as

μi\mu_i8

with μi\mu_i9, λi\lambda_i0, and input λi\lambda_i1. Both frameworks therefore employ linear time-invariant latent dynamics together with learned nonlinear maps. The difference lies in what is encoded and reconstructed. LRANs typically encode the observed state λi\lambda_i2 and decode the full state through a nonlinear decoder trained end-to-end. LMNs instead feed a nonlinear functional representation λi\lambda_i3 into a linear sequence autoencoder so that the memory reconstructs past functional states rather than necessarily the raw observation. The LMN paper emphasizes closed-form pretraining of the memory followed by end-to-end fine-tuning, whereas LRANs are presented primarily as end-to-end trained encoder–linear dynamics–decoder systems.

This comparison clarifies a broader interpretation of linear recurrent autoencoder architectures. They can be viewed as instances of a general design pattern: nonlinear feature extraction or encoding, linear latent evolution, and a reconstruction or readout mechanism. In Koopman-oriented LRANs, the latent recurrence is intended to approximate a Koopman-invariant subspace of observables. In LMNs, the same pattern is applied to recurrent sequence modeling through a linear memory trained to reconstruct histories of internal functional activations. A plausible implication is that LRANs and LMNs occupy neighboring points in the design space of models that decouple nonlinear representation learning from linear latent propagation.

7. Limitations, scope, and common points of confusion

The source material presents LRANs as a response to specific limitations of EDMD and KDMD, not as a universal replacement. Their principal advantage is the ability to learn a compact, informative latent space with linear evolution and nonlinear state reconstruction, thereby reducing dependence on fixed dictionaries and enabling fast inference. At the same time, several limitations are stated explicitly.

First, prediction accuracy is strongest within the training horizon λi\lambda_i4. The reported error curves typically remain low up to that horizon and then grow beyond it. For more complex systems such as Kuramoto–Sivashinsky, extending the useful horizon requires either larger latent dimension or an extended training curriculum. Second, LRAN training is computationally expensive, involving hundreds of thousands of ADAM steps, even though inference is fast. Third, nonlinear reconstruction is powerful but not immune to overfitting in general; while the LRAN decoder did not exhibit the reconstruction failures observed for the kernel regressor in the Duffing example, the broader issue of reconstruction regularization remains relevant.

Another common confusion concerns interpretability. LRANs do not guarantee that every latent coordinate is itself a Koopman eigenfunction. Rather, if λi\lambda_i5 is diagonalizable, eigenfunctions are obtained as linear functionals of the encoded state through the eigenvectors of λi\lambda_i6. This distinction matters when interpreting latent trajectories, spectra, or decoder behavior.

Finally, LRANs should not be conflated with autonomous latent-linear models only. The canonical LRAN in the cited work uses autonomous latent evolution, λi\lambda_i7, but the comparison with LMNs shows that closely related architectures can incorporate driven linear latent recurrences. This suggests a broader family of linearly recurrent autoencoder models whose differences lie in whether the latent dynamics are autonomous or input-driven, whether the encoded quantity is the raw state or an internal representation, and whether the linear recurrent component is trained by gradient descent, closed-form linear algebra, or a combination of both.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Linear Recurrent Autoencoder Networks (LRANs).