arXiv:2610.36342math.OCOct 2026

Manuscript Offprint

arXiv:2610.36342

Balanced Active Subspaces for Optimal Control via Trajectory Optimization

Emmanuel S. Ameh, Samuel E. Otto

EMMANUEL S. AMEH †^{\dagger} AND SAMUEL E. OTTO ‡^{\ddagger}

Abstract. The curse of dimensionality associated with solving the Hamilton–Jacobi–Bellman equation for the value function remains a key obstacle for real-time optimal feedback control of high-dimensional nonlinear dynamical systems. This is especially severe in aerospace applications such as relaminarizing unsteady turbulent flows and recovering from aerodynamic stall where nonlinear dynamics play a significant role. We introduce Balanced Active Subspaces for Optimal Control (BASOC), a model reduction framework which seeks to find directions in state space along which the value function is most sensitive, and the distribution of states exhibits maximum variance along optimal trajectories. BASOC leverages trajectory optimization and the Pontryagin minimum principle to obtain state and co-state (value function gradient) data along locally optimal trajectories for constructing state and gradient covariance matrices. Balancing these matrices provides an oblique projection for approximating the value function, which can also be used to construct reduced-order models and surrogate feedback control laws. We show that for linear-quadratic optimal control problems, BASOC becomes equivalent to a snapshot method for initial condition balancing of the optimally controlled closed-loop realization. The framework is demonstrated on a nonlinear three-dimensional system where POD and balanced truncation are known to perform poorly, and on the nonlinear complex Ginzburg–Landau equation to demonstrate feasibility for larger-scale systems.

Key words. optimal control, value function, surrogate model, active subspace, balanced truncation, adjoints, covariance matrices, HJB equation.

MSC codes. 49L12, 49K15, 49N35, 76D55, 93A15, 93C10

  1. Introduction. Optimal control seeks to modify the behavior of a dynamical system by finding inputs that minimize a cost function measuring the quality of the system's behavior. The optimal control problem leads to the Hamilton-Jacobi-Bellman (HJB) equation whose solution—the value function—provides the optimal cost-to-go from every state of the dynamical system. The value function is a key object as it allows the optimization problem over the entire input sequence to be converted into a simpler feedback law. However, the extreme computational cost of representing, computing, and storing accurate approximations of the value function obstructs applications of optimal control and reinforcement learning to high-dimensional nonlinear systems such as turbulent separated flows governing aerodynamic stall recovery and flow relaminarization in aerospace applications [24, 1]. This motivates the development of methods that can uncover and exploit low-dimensional structure in the HJB value function without computing it directly.

For continuous-time, infinite-horizon linear-quadratic regulator (LQR) optimal control problems involving linear dynamics, it is well known that the value function from any state configuration x∈Rnx \in \mathbb{R}^n admits a closed-form expression V(x)=xTΠxV(x) = x^T \Pi x [3] and is characterized by Π⪰0\Pi \succeq 0, the stabilizing solution to the algebraic Riccati equation. Under assumptions such as a small number of inputs mm and outputs pp relative to the state dimension nn, in addition to the spectrum of the controlled system matrix being far from its reflection about the imaginary axis, Π\Pi has rapidly decaying

Funding: This work was funded by the Department of Mechanical and Aerospace Engineering, Cornell University.

†^{\dagger}Department of Chemical and Biomolecular Engineering (esa62@cornell.edu, https://amehhh.github.io/).

‡^{\ddagger}Department of Mechanical and Aerospace Engineering (seo34@cornell.edu, https://sites.google.com/view/ottolab/home).

EMMANUEL S. AMEH, SAMUEL E. OTTO

singular values [49, 9]. As a result, the value function for LQR problems can be accurately approximated as a function of a small number of active variables in a low-dimensional subspace (i.e., in an active subspace) [57, 11]. This observation motivates the two fundamental research questions that we begin to explore in this paper: Do low-dimensional active subspaces and variables exist for the value function of nonlinear shear-dominated fluid flow problems, and if so, can they be exploited for control?

To address these questions, we introduce the Balanced Active Subspaces for Optimal Control (BASOC) framework. BASOC seeks to identify an oblique projection operator for dimensionality reduction of the time-independent value function (cost-to-go) that jointly captures directions in state space along which the value function is most sensitive, and the distribution of states exhibits large variance. Our approach builds on the active subspace framework, which applies proper orthogonal decomposition (POD) to gradients of a scalar-valued function sampled according to a user-prescribed probability distribution to reveal an active subspace [33], i.e., a subspace spanned by directions along which the function predominantly varies. The active subspace method has been employed in numerous challenging dimensionality reduction and optimal design problems in engineering and science. Zahm et al. [57] generalize the active subspace method to multivariate vector-valued functions and identify a projection that balances sensitivity information against the variance of points in the domain of interest. The connection with balancing transformations was identified in [39] and applied to dimensionality reduction of large-scale dynamical systems by computing balanced active state variables for nonlinear observability operators, yielding a snapshot-based method called Covariance Balancing Reduction using Adjoint Snapshots (CoBRAS). For linear systems forced by white noise, the state and gradient covariances recover the controllability and observability Gramians, and CoBRAS recovers the Balanced Proper Orthogonal Decomposition (BPOD) [45] approximation of Balanced Truncation (BT) [36].

BASOC exploits the fact that the costate variables provided by the Pontryagin minimum principle (PMP) [42] are generalized gradients of the HJB value function along optimal trajectories [18, 13]. This connection between the HJB equation and PMP enables us to employ an indirect forward-backward sweep method (FBSM) of trajectory optimization to obtain state and gradient samples of the optimal value function along optimal trajectories, which BASOC then uses to compute balanced active variables and projections similarly to [39]. We note that in practice FBSM only computes locally optimal trajectories, so the gradient samples we obtain are actually from a state-constrained optimal value function. We explain how the resulting BASOC variables and oblique projections can be used to build surrogate control laws for full-state feedback control and projection-based ROMs of the dynamical system. For LQR problems, we show that BASOC provides a snapshot-based method for initial condition balancing [8] of the optimally controlled system. We evaluate BASOC-based reductions for value function approximation, model reduction, and downstream control tasks on a three-dimensional nonlinear system where POD and BT are known to struggle, and on the nonlinear complex Ginzburg–Landau equation. We compare to reductions based on POD, BT, and another new reduction based on POD applied directly to optimal costates, which we call the POD-Adjoint method. Among these methods, only BASOC and BT respect arbitrary linear state transformations owing to their constructions via balancing.

1.1. Related work. Several other reduced basis methods have been introduced to address the computational burden of solving HJB equations. A related approach

[21] proposes a statistical POD method along optimal state trajectories for semilinear systems with random samples of initial conditions. The resulting reduced optimal feedback law is approximated in the POD subspace using tensor trains and evaluated cheaply online for near-optimal control. Although effective in this setting, the POD basis captures dominant state variance in the state space and approximates states, but not the value function, which may have steep gradients in directions that are not explored by the dominant state trajectories. A related alternative is to employ POD to obtain a ROM of the dynamical system via a Galerkin projection. By significantly reducing the degrees of freedom, the resulting HJB equation becomes computationally tractable [31]. However, this method can fail to capture low-variance, yet dynamically important (highly observable) states that are often important for modeling the dynamics of shear-dominated fluid flows such as boundary layers, shear layers, and wakes [15, 52, 47]. Near an equilibrium this problem can be addressed by applying oblique projection operators such as those obtained from balanced truncation or its snapshot-based approximation using BPOD [36, 45, 29]. For nonlinear systems, a theoretical framework for balanced truncation around a stable equilibrium was developed by Scherpen [46, 23]. While progress has been made towards scalable nonlinear balancing through tensor-based computations [30], the same curse of dimensionality still arises unless appropriate low-dimensional structures can be identified and exploited. BASOC provides a tool to reveal a simple kind of low-dimensional active variable structure in the value function that could potentially also be applied to the energy functions in nonlinear balancing. Alla et al. [2] review model reduction methods for HJB equations and suggest constructing a ROM via a POD basis generated from adjoint-equation simulations derived from optimality conditions. However, the adjoint equation is computed along non-optimal trajectories generated from random initial conditions and control inputs. Using optimal trajectories would recover our POD Adjoint method, which computes an active subspace of the value function. Adjoint POD presents the additional challenge that states are not necessarily well-approximated in the span of the resulting basis, making the approach poorly suited to constructing ROMs of dynamics and reduced-order observers.

Beyond reduced-basis methods, a variety of numerical approaches exploit alternative forms of structure to reduce the computational burden of solving HJB equations. One approach [20] suggests using low-rank tensor decomposition for the solutions of HJB PDEs. Deep learning approaches [27] reformulate the HJB equation as a backward stochastic differential equation and employ a deep-learning-based method for approximating its solution. Another direction [19] [17] further employs a grid-free algorithm for solving certain types of HJB equations with convex and state-dependent Hamiltonians based on the generalized Hopf–Lax formula.

  1. Preliminaries on Optimal Control. We consider the Lagrange form of the infinite-horizon optimal control problem in continuous time. The control problem is to find a control function u(⋅)u(\cdot) that minimizes the undiscounted infinite-horizon cost functional

(2.1)

Jx0(u(⋅)):=∫0∞L(x(t),u(t))dt,J_{x_{0}}(u(\cdot)):=\int_{0}^{\infty}\mathcal{L}(x(t),u(t))d t,

subject to the dynamics

(2.2)

{x˙(t)=f(x(t),u(t)),∀t∈[0,∞),y(t)=h(x(t),u(t)),∀t∈[0,∞),x(0)=x0.\begin{cases}\dot{x}(t)=f(x(t),u(t)),&\forall t\in[0,\infty),\\y(t)=h(x(t),u(t)),&\forall t\in[0,\infty),\\x(0)=x_{0}.\end{cases}

EMMANUEL S. AMEH, SAMUEL E. OTTO

The evolution of the state x(t)∈Rnx(t) \in \mathbb{R}^n is governed by the nonlinear dynamics f:Rn×U→Rnf : \mathbb{R}^n \times U \to \mathbb{R}^n, where U⊆RmU \subseteq \mathbb{R}^m denotes the set of admissible control values, with admissible control functions Uad={u:[0,∞)→U∣u measurable}\mathcal{U}_{\text{ad}} = \{u : [0, \infty) \to U \mid u \text{ measurable}\} and L:Rn×U→R\mathcal{L} : \mathbb{R}^n \times U \to \mathbb{R} measuring the running cost. We envision the situation where the initial condition x0x_0 is an undesirable state, such as stalled flow over an aircraft wing, from which we would like the system to optimally recover in real time. While it does not participate in the stated optimal control problem, our system description includes an output y(t)∈Rpy(t) \in \mathbb{R}^p given by a map h:Rn×Rm→Rph : \mathbb{R}^n \times \mathbb{R}^m \to \mathbb{R}^p that we use later to design output-based compensators.

We assume that ff is continuous in (x,u)(x,u) and locally Lipschitz in xx, uniformly with respect to u∈Uu\in U, and that the resulting controlled trajectories exist on [0,∞)[0,\infty) [7]. For initial states with finite optimal cost, the value function is defined by

(2.3)

V(x)=inf⁡u∈UadJx(u(⋅)).V(x)=\inf_{u\in\mathcal{U}_{\mathrm{ad}}}J_{x}(u(\cdot)).

Assuming the infimum is attained by an optimal control function u∗(⋅)∈Uadu^*(\cdot) \in \mathcal{U}_{\mathrm{ad}}, we obtain V(x)=Jx(u∗(⋅))V(x) = J_x(u^*(\cdot)) [53]. The dynamic programming principle relates the value function to the stationary Hamilton–Jacobi–Bellman (HJB) equation

(2.4)

inf⁡u∈U{L(x,u)+∇V(x)⊤f(x,u)}=0.\inf_{u\in U}\left\{\mathcal{L}(x,u)+\nabla V(x)^{\top}f(x,u)\right\}=0.

When V(x)V(x) is continuously differentiable, this equation is understood in the classical sense and ∇V\nabla V is the gradient of the optimal value function with respect to the state. In general, the value function need not be differentiable, and the HJB equation must instead be interpreted in the viscosity sense [53]. If V∈C1(Rn)V \in C^1(\mathbb{R}^n) is known, then an optimal input at any state x∈Rnx \in \mathbb{R}^n is given by a feedback law [32]

(2.5)

u∗(x)=κ(x)∈arg⁡min⁡u∈U[L(x,u)+∇V(x)Tf(x,u)].u^{*}(x)=\kappa(x)\in\arg\min_{u\in U}\left[\mathcal{L}(x,u)+\nabla V(x)^{T}f(x,u)\right].

Remark 2.1. We consider the infinite-horizon setup because it yields a value that depends only on the state. This is the simplest setting for BASOC, though generalization to finite-horizon problems with time-dependent value functions is possible.

The central challenge is the extreme difficulty of finding value functions on high-dimensional state spaces. Discretized systems in fluid dynamics that we would like to control routinely have state vectors with 10610^6 dimensions or more. The value functions on such high-dimensional state spaces become extremely difficult to approximate, compute, and store owing to the well-known “curse of dimensionality” and associated challenges with solving the HJB equation in high dimensions.

2.1. Pontryagin Minimum Principle. The Pontryagin Minimum Principle [42] derived from the calculus of variation provides first-order necessary optimality conditions for the optimal control problem (2.1). Following the standard convention, we define a Hamiltonian H:Rn×Rm×Rn→R\mathcal{H} : \mathbb{R}^n \times \mathbb{R}^m \times \mathbb{R}^n \to \mathbb{R}.

(2.6)

H(x(t),u(t),λ(t)):=L(x(t),u(t))+λ(t)⊤f(x(t),u(t)),t∈[0,∞)\mathcal{H}(x(t),u(t),\lambda(t)):=\mathcal{L}(x(t),u(t))+\lambda(t)^{\top}f(x(t),u(t)),\quad t\in[0,\infty)

where λ(t)∈Rn\lambda(t) \in \mathbb{R}^n is a Lagrange multiplier (costate) variable enforcing the system dynamics. If (u∗(t),x∗(t))(u^*(t), x^*(t)) is an optimal trajectory then there exists a costate trajectory λ∗(t)\lambda^*(t) so that the following canonical equations are satisfied:

(2.7)

x˙∗(t)=Hλ(x∗(t),u∗(t),λ∗(t)),x∗(0)=x0,(2.8)\dot{x}^{*}(t)=\mathcal{H}_{\lambda}(x^{*}(t),u^{*}(t),\lambda^{*}(t)),\quad x^{*}(0)=x_{0}, \tag{2.8} λ˙∗(t)=−Hx(x∗(t),u∗(t),λ∗(t)),lim⁡t→∞λ∗(t)=0,\dot{\lambda}^{*}(t)=-\mathcal{H}_{x}(x^{*}(t),u^{*}(t),\lambda^{*}(t)),\quad\lim_{t\to\infty}\lambda^{*}(t)=0,

with the stationarity condition

(2.9)

Hu(x∗(t),u∗(t),λ∗(t))=0,∀t∈[0,∞),(2.10)\mathcal{H}_{u}\big(x^{*}(t),u^{*}(t),\lambda^{*}(t)\big)=0,\quad\forall t\in[0,\infty), \tag{2.10} H(x∗(t),u∗(t),λ∗(t))≤H(x∗(t),u(t),λ∗(t)),∀t∈[0,∞).\mathcal{H}\big(x^{*}(t),u^{*}(t),\lambda^{*}(t)\big)\leq\mathcal{H}\big(x^{*}(t),u(t),\lambda^{*}(t)\big),\quad\forall t\in[0,\infty).

Solving these necessary conditions for (u∗(t),x∗(t),λ∗(t))(u^{*}(t), x^{*}(t), \lambda^{*}(t)) is a two-point boundary value problem where x∗(0)x^{*}(0) in (2.7) is the initial condition for the state ODE at optimality and lim⁡t→∞λ∗(t)=0\lim_{t \to \infty} \lambda^{*}(t) = 0 satisfies the transversality condition for the adjoint ODE computed backwards in time. The transversality condition follows from the absence of a terminal cost and the free terminal state at infinity [13]. The key fact for BASOC is that at points where the value function is differentiable, the costate (adjoint) variable and the gradient of the optimal value function are related by

(2.11)

λ∗(t)=∇V(x∗(t)).\lambda^{*}(t)=\nabla V(x^{*}(t)).

Under standard regularity assumptions, the value function is locally Lipschitz continuous, and Rademacher's theorem ensures that it is differentiable almost everywhere [7, 53]. At points where the value function is not differentiable, the relationship between the costate and the value function is understood in terms of generalized gradients [13, 10, 18]. The relation between the adjoint variable and the gradient of the value function is the link between the HJB equation and the Pontryagin minimum principle. This connection will be exploited in computing the balanced active subspace.

  1. Balanced Active Subspaces for Optimal Value Functions. We compute balanced active variables and projections for the value function (2.3) along optimal trajectories with initial conditions drawn from a probability measure μ\mu. For example this could be the Sinai–Ruelle–Bowen (SRB) [56] measure on an attractor representing uncontrolled states such as separated or turbulent flow, from which the objective is to optimally drive the system towards attached or laminar flow. To do this, we sample initial conditions from the distribution μ\mu and compute optimal trajectories from these using a standard forward-backward sweep method (FBSM) detailed in Algorithm A.1. The optimal state and costate samples from this ensemble are used within Algorithm 3.1 to compute biorthogonal direct and adjoint modes defining the BASOC projection and reduced variables. In practice, trajectory optimization may not yield a globally optimal solution. In this case the locally optimal state and costate trajectories used by BASOC correspond to state-constrained optimal value functions.

Specifically, we seek a rank-r linear projection P=ΦrΨrT∈Rn×nP = \Phi_r \Psi_r^T \in \mathbb{R}^{n \times n} defined by direct modes Φr∈Rn×r\Phi_r \in \mathbb{R}^{n \times r} and adjoint modes ΨrT\Psi_r^T satisfying the biorthogonality condition ΨrTΦr=Ir\Psi_r^T \Phi_r = I_r. This projection seeks to jointly preserve directions in state space along which the value function V(x)V(x) is most sensitive and states exhibit large variance. We quantify the distribution of states x(t)∗x(t)^* along optimal trajectories of (2.2) with the state covariance matrix,

(3.1)

Wx=Ex0∼μ[∫0∞x∗(t)x∗(t)Tdt].W_{x}=\mathop{\mathbb{E}}_{x_{0}\sim\mu}\left[\int_{0}^{\infty}x^{*}(t)x^{*}(t)^{T}d t\right].

The sensitivity of the optimal value function is quantified by its gradient covariance matrix along optimal trajectories, which by (2.11) is the optimal costate covariance,

(3.2)

Wg=Ex0∼μ[∫0∞∇xV(x∗(t))∇xV(x∗(t))Tdt]=Ex0∼μ[∫0∞λ∗(t)λ∗(t)Tdt].W_{g}=\mathop{\mathbb{E}}_{x_{0}\sim\mu}\left[\int_{0}^{\infty}\nabla_{x}V(x^{*}(t))\nabla_{x}V(x^{*}(t))^{T}d t\right]=\mathop{\mathbb{E}}_{x_{0}\sim\mu}\left[\int_{0}^{\infty}\lambda^{*}(t)\lambda^{*}(t)^{T}d t\right].

EMMANUEL S. AMEH, SAMUEL E. OTTO

Under an invertible linear change of coordinates on state space x(t)=Tx~(t)x(t) = T\tilde{x}(t) these matrices transform into W~x=T−1WxT−T\tilde{W}_x = T^{-1}W_xT^{-T} and W~g=TTWgT\tilde{W}_g = T^T W_gT. By a well-known result stated in [58] Theorem 3.22, there is a balancing transformation TT where these covariances are simultaneously diagonalized (balanced) as

(3.3)

W~x=diag(Σ,Σ1,0,0),W~g=diag(Σ,0,Σ2,0),\tilde{W}_{x}=\mathrm{d i a g}(\Sigma,\Sigma_{1},0,0),\qquad\tilde{W}_{g}=\mathrm{d i a g}(\Sigma,0,\Sigma_{2},0),

where Σ,Σ1,Σ2\Sigma, \Sigma_1, \Sigma_2 are diagonal positive-definite matrices with the balanced singular values in Σ=diag(σ1,…,σnb)\Sigma = \text{diag}(\sigma_1, \ldots, \sigma_{n_b}) arranged in non-increasing order. The balancing projection P=Tdiag(Ir,0)T−1P = T \text{diag}(I_r, 0)T^{-1} corresponds to transforming into the balanced coordinate system, truncating to retain the leading r≤rankΣr \leq \text{rank} \Sigma balanced coordinates, and then mapping back to the original coordinate system. Square-root balancing [51, 4] computes the direct and adjoint modes of this projection and the balanced singular values from factorized covariance matrices Wx=XXTW_x = XX^T and Wg=YYTW_g = YY^T via slim singular value decomposition (SVD) and rank-r truncation:

(3.4)

YTX=UΣVT,Φr=XVrΣr−1/2,Ψr=YUrΣr−1/2.Y^{T}X=U\Sigma V^{T},\qquad\Phi_{r}=X V_{r}\Sigma_{r}^{-1/2},\qquad\Psi_{r}=Y U_{r}\Sigma_{r}^{-1/2}.

Algorithm 3.1 Balanced Active Subspace (BASOC) Projection Algorithm

Input: μ\mu (sampling measure), NICN_{\mathrm{IC}} (number of samples), rr (reduced dimension)

Output: Φr\Phi_r (primal modes), Ψr\Psi_r (adjoint modes), Σr\Sigma_r (dominant singular values)

1: Draw x0(i)∼μx_0^{(i)} \sim \mu for i=1,…,NICi = 1, \ldots, N_{\mathrm{IC}}.

2: for i=1,…,NICi = 1, \ldots, N_{\mathrm{IC}} do

3: Solve the optimal control problem from x0(i)x_0^{(i)} using Algorithm A.1.

4: Obtain the optimal state and costate snapshot matrices X~(i)\tilde{X}^{(i)} and Y~(i)\tilde{Y}^{(i)} as defined in (3.11) and (3.12).

5: end for

6: Form the aggregate snapshot matrices

X=1NIC[X~(1)…X~(NIC)]X = \frac{1}{\sqrt{N_{\mathrm{IC}}}}[\tilde{X}^{(1)} \ldots \tilde{X}^{(N_{\mathrm{IC}})}]

Y=1NIC[Y~(1)…Y~(NIC)].Y = \frac{1}{\sqrt{N_{\mathrm{IC}}}}[\tilde{Y}^{(1)} \ldots \tilde{Y}^{(N_{\mathrm{IC}})}].

7: Compute a slim SVD of the state-costate inner-product matrix

YTX=UΣVTY^T X = U \Sigma V^T

8: Construct the biorthogonal primal and adjoint modes

Φ=XVΣ−1/2,Ψ=YUΣ−1/2.\Phi = X V \Sigma^{-1/2}, \quad \Psi = Y U \Sigma^{-1/2}.

9: Retain the first rr BASOC modes and singular values:

Φr=Φ(:,1:r),Ψr=Ψ(:,1:r),Σr=Σ(1:r,1:r).\Phi_r = \Phi(:, 1 : r), \quad \Psi_r = \Psi(:, 1 : r), \quad \Sigma_r = \Sigma(1 : r, 1 : r).

10: Return Φr\Phi_r, Ψr\Psi_r, and Σr\Sigma_r.

Remark 3.1. If the aggregate snapshot matrices X,Y∈Rn×MX, Y \in \mathbb{R}^{n \times M} are wide ( n≪Mn \ll M), where nn is the state dimension and MM is the total number of snapshots, an optional pre-compression can be performed prior to step 7 in Algorithm 3.1. Specifically, compute the slim SVDs

(3.5)

X=UXΣXVXT,Y=UYΣYVYT,X=U_{X}\Sigma_{X}V_{X}^{T},\qquad Y=U_{Y}\Sigma_{Y}V_{Y}^{T},

and replace

(3.6)

X←UXΣX,Y←UYΣY.X\leftarrow U_{X}\Sigma_{X},\qquad Y\leftarrow U_{Y}\Sigma_{Y}.

Since the right singular factors VXV_X and VYV_Y do not affect the column space of XX and YY, they may be removed. Additionally, a truncated rank- ℓ\ell approximation may be employed:

(3.7)

X≈UX,ℓΣX,ℓ,Y≈UY,ℓΣY,ℓ,X\approx U_{X,\ell}\Sigma_{X,\ell},\qquad Y\approx U_{Y,\ell}\Sigma_{Y,\ell},

where ℓ≪n\ell \ll n, while retaining the dominant variance and sensitivity directions.

Given an arbitrary linear projection P, the optimal approximation of the value function V(x)V(x) in the mean-square sense is given by its conditional expectation,

(3.8)

V~(Px)=E[V(x)∣Px].\tilde{V}(P x)=\mathbb{E}\big[V(x)\mid P x\big].

This averages V(x)V(x) over the components of x in the null space of the projection P. Zahm et al. [57] show that when state distribution is Gaussian, the resulting error is bounded by

(3.9)

E[∥V(x)−V~(Px)∥2]≤Tr[Wg(I−P)Wx(I−P)T].\mathbb{E}\left[\left\|V(x)-\tilde{V}(P x)\right\|^{2}\right]\leq\mathrm{T r}\left[W_{g}(I-P)W_{x}(I-P)^{T}\right].

Otto et al. [39] show that the balancing projection minimizes this upper bound. The truncated balanced active variables

(3.10)

z=ΨrTxz=\Psi_{r}^{T}x

are thus a principled choice for constructing reduced-order approximations of the value function V(x)≈V^(ΨrTx)=V^(z)V(x) \approx \hat{V}(\Psi_r^T x) = \hat{V}(z). Nonlinear kernel-based generalizations of these coordinates can also be found [39, 43], though we focus on the linear case here.

BASOC computes the balancing projection and balanced active variables for empirical covariance matrices of state and costate snapshots along the sampled ensemble of locally optimal trajectories. The square-root balancing method is used in Algorithm 3.1 with factors X and Y obtained from Monte Carlo sampling of initial conditions and temporal quadrature. With wjw_j being quadrature weights at quadrature points tjt_j approximating integration over [0,∞)[0, \infty), the blocks of X and Y corresponding to the ith trajectory are formed by

(3.11)

Y~(i)=[∣∣∣∣w1λ∗(i)(t1)w2λ∗(i)(t2)⋯wNqλ∗(i)(tNq)∣∣∣]∈Rn×Nq,(3.12)\tilde{Y}^{(i)}=\begin{bmatrix}|\quad|&\quad|&\quad|\\ \sqrt{w_{1}}\lambda^{*(i)}(t_{1})&\sqrt{w_{2}}\lambda^{*(i)}(t_{2})&\cdots\sqrt{w_{N_{q}}}\lambda^{*(i)}(t_{N_{q}})\\ |&|&|&\end{bmatrix}\in\mathbb{R}^{n\times N_{q}}, \tag{3.12} X~(i)=[∣∣∣∣w1x∗(i)(t1)w2x∗(i)(t2)⋯wNqx∗(i)(tNq)∣∣∣]∈Rn×Nq,\tilde{X}^{(i)}=\begin{bmatrix}|\quad|&\quad|&\quad|\\ \sqrt{w_{1}}x^{*(i)}(t_{1})&\sqrt{w_{2}}x^{*(i)}(t_{2})&\cdots\sqrt{w_{N_{q}}}x^{*(i)}(t_{N_{q}})\\ |&|&|&\end{bmatrix}\in\mathbb{R}^{n\times N_{q}},

where NqN_{q} is the number of temporal quadrature nodes and NICN_{IC} is the number of sampled initial conditions. Specifically, we use the same linearly-stretched left Gauss-Radau quadrature rule that we use for FBSM over a suitably long time horizon, as suggested in [44]. These yield factors of empirical covariance matrices because

(3.13)

Wx≈1NIC∑i=1NIC∑j=1Nqwjx∗(i)(tj)(x∗(i)(tj))T=XXT,W_{x}\approx\frac{1}{N_{\mathrm{I C}}}\sum_{i=1}^{N_{\mathrm{I C}}}\sum_{j=1}^{N_{q}}w_{j}x^{*(i)}(t_{j})\left(x^{*(i)}(t_{j})\right)^{T}=X X^{T},

EMMANUEL S. AMEH, SAMUEL E. OTTO

(3.14)

Wg≈1NIC∑i=1NIC∑j=1Nqwjλ∗(i)(tj)(λ∗(i)(tj))T=YYT.W_{g}\approx\frac{1}{N_{\mathrm{I C}}}\sum_{i=1}^{N_{\mathrm{I C}}}\sum_{j=1}^{N_{q}}w_{j}\lambda^{*(i)}(t_{j})\left(\lambda^{*(i)}(t_{j})\right)^{T}=Y Y^{T}.

4. Exploiting BASOC Projections and Variables

4.1. Petrov-Galerkin modeling. The BASOC projections P=ΦrΨrTP = \Phi_r \Psi_r^T in Section 3 can be used to construct rr-dimensional ROMs of the full-order model (FOM) (2.2). One of the simplest ways to do this is by Petrov–Galerkin projection of full-order dynamics. The resulting ROM is an rr-dimensional dynamical system given by

(4.1)

{z˙=ΨrTf(Φrz,u),z(0)=ΨrTx0,y^=h(Φrz,u).\begin{cases}\dot{z}=\Psi_{r}^{T}f(\Phi_{r}z,u),&z(0)=\Psi_{r}^{T}x_{0},\\\hat{y}=h(\Phi_{r}z,u).\end{cases}

One could also construct nonlinear Galerkin ROMs [34, 12, 38] based on nonlinear BASOC projections of the form

(4.2)

Pnonlin.(x)=ΦrΨrTx+(I−ΦrΨrT)ϕ(ΨrTx),P_{\mathrm{n o n l i n.}}(x)=\Phi_{r}\Psi_{r}^{T}x+(I-\Phi_{r}\Psi_{r}^{T})\phi(\Psi_{r}^{T}x),

where ϕ\phi parameterizes a nonlinear trial manifold as a graph in balanced coordinates and can be fit to trajectory data by WgW_g-weighted least-squares or losses as in [38]. The BASOC-Petrov–Galerkin method is intrusive as it requires directly accessing the FOM governing equations (2.2). However, the BASOC projection itself can be computed using less intrusive automatic differentiation methods for forward-backward sweeping. Thus, operator inference [41, 5, 25] using the BASOC projection or a nonlinear extension becomes an attractive option for non-intrusive model reduction. We leave this and the nonlinear extension for future work.

To provide some theoretical motivation for BASOC-Petrov–Galerkin ROMs, we consider the simplified case of a linear FOM and quadratic cost, that is, the LQR problem. In this setting, Theorem 4.2 shows that BASOC is related to initial condition balancing [8] of the optimal closed-loop system. Specifically, let the FOM be

(4.3)

x˙(t)=Ax(t)+Bu(t),x(0)=x0,\dot{x}(t)=A x(t)+B u(t),\qquad x(0)=x_{0},

where A∈Rn×nA \in \mathbb{R}^{n \times n}, B∈Rn×mB \in \mathbb{R}^{n \times m}, together with the LQR cost functional,

(4.4)

J(u(⋅)):=∫0∞(x(t)TQx(t)+u(t)TRu(t))dt,J(u(\cdot)):=\int_{0}^{\infty}\left(x(t)^{T}Q x(t)+u(t)^{T}R u(t)\right)d t,

where Q⪰0Q \succeq 0 defines the state penalty and R≻0R \succ 0 defines the control penalty. When (A,B)(A, B) is stabilizable and (Q1/2,A)(Q^{1/2}, A) is detectable, the optimal control law and value function [58, 32] are given by

(4.5)

u∗(t)=−Kx(t),V(x)=xTΠx,u^{*}(t)=-K x(t),\qquad V(x)=x^{T}\Pi x,

where K=R−1BTΠK = R^{-1}B^T\Pi is the optimal state-feedback gain matrix and Π⪰0\Pi \succeq 0 is the unique stabilizing solution of the algebraic Riccati equation

(4.6)

ATΠ+ΠA−ΠBR−1BTΠ+Q=0.A^{T}\Pi+\Pi A-\Pi B R^{-1}B^{T}\Pi+Q=0.

We use the following well-known lemma. Its proof is hard to locate, so we provide it.

LEMMA 4.1 (uniqueness of square-root balancing). Let Wc,Wo∈Rn×nW_c, W_o \in \mathbb{R}^{n \times n} be positive semidefinite matrices, let Wc=XXTW_c = XX^T and Wo=YYTW_o = YY^T be any factorizations of them, and let YTX=UΣVTY^T X = U \Sigma V^T be a slim SVD with nonzero singular values σ1≥⋯σρ>0\sigma_1 \geq \cdots \sigma_\rho > 0. Then the eigenvalues of WcWoW_c W_o are λj=σj2\lambda_j = \sigma_j^2 for j≤ρj \leq \rho and λj=0\lambda_j = 0 for j>ρj > \rho, meaning Σ\Sigma is uniquely determined by WcWoW_c W_o. Suppose that σr>σr+1\sigma_r > \sigma_{r+1} and let Φr=XVrΣr−1/2\Phi_r = X V_r \Sigma_r^{-1/2} and Ψr=YUrΣr−1/2\Psi_r = Y U_r \Sigma_r^{-1/2} be defined by rank-r truncation of the slim SVD. Then the rank-r square-root balancing projection Pr=ΦrΨrTP_r = \Phi_r \Psi_r^T is the unique rank-r spectral projector of WcWoW_c W_o associated with its largest rr eigenvalues.

Proof. Letting Φ=XVΣ−1/2\Phi = XV\Sigma^{-1/2} and Ψ=YUΣ−1/2\Psi = YU\Sigma^{-1/2}, we observe that

(4.7)

ΨTΦ=Σ−1/2UTYTXVΣ−1/2=I.\Psi^{T}\Phi=\Sigma^{-1/2}U^{T}Y^{T}X V\Sigma^{-1/2}=I.

Moreover, we observe that

(4.8)

(WcWo)=XXTYYT=XVΣUTYT=ΦΣ2ΨT.(W_{c}W_{o})=X X^{T}Y Y^{T}=X V\Sigma U^{T}Y^{T}=\Phi\Sigma^{2}\Psi^{T}.

Using these two relations, we obtain

(4.9)

(WcWo)Φ=ΦΣ2and(WcWo)TΨ=ΨΣ2,(W_{c}W_{o})\Phi=\Phi\Sigma^{2}\qquad\mathrm{a n d}\qquad(W_{c}W_{o})^{T}\Psi=\Psi\Sigma^{2},

meaning that (WcWo)(W_c W_o) has eigenvalues λ1=σ12,…,λρ=σρ2\lambda_1 = \sigma_1^2, \ldots, \lambda_\rho = \sigma_\rho^2 with λj=0\lambda_j = 0 for all j>ρj > \rho. Because λr>λr+1\lambda_r > \lambda_{r+1}, the right eigenspace ER=Range(Φr)E_R = \text{Range}(\Phi_r) of WcWoW_c W_o is unique and so is the left eigenspace EL=Range(Ψr)E_L = \text{Range}(\Psi_r). Because a projection is uniquely determined by its range and nullspace (see Section 5.9 [35]) it follows that Pr=ΦrΨrTP_r = \Phi_r \Psi_r^T is uniquely determined by WcWoW_c W_o and corresponds to its leading rank-r spectral projector.

THEOREM 4.2. Suppose that (A,B)(A, B) is stabilizable, (Q1/2,A)(Q^{1/2}, A) is detectable, and let KK and VV be as in (4.5). Let the initial conditions x0∼μx_0 \sim \mu have finite WIC=Ex0x0TW_{IC} = \mathbb{E} x_0 x_0^T and let PBASOCP_{BASOC} be a rank-r BASOC projection defined by the state and costate covariances (3.1) and (3.2). Let PBTP_{BT} be a rank-r balancing projection for the realization

(4.10)

\mathcal{G}_{\mathrm{c l}}=\left[\begin{array}{c|c}{{{A-B K}}}&{{{W_{I C}^{1/2}}}} \\{{{\hline Q^{1/2}}}}&{{{0}}} \\{{{R^{1/2}K}}}&{{{0}}}\end{array}\right].

The Hankel singular values Σ~\tilde{\Sigma} of GclG_{cl} and the BASOC singular values Σ\Sigma are related by

(4.11)

Σ=2Σ~2.\Sigma=2\tilde{\Sigma}^{2}.

If these have a gap σr>σr+1\sigma_r > \sigma_{r+1}, then the two projections are the same

(4.12)

PBASOC=PBT.P_{B A S O C}=P_{B T}.

Proof. The algebraic Riccati equation (4.6) can be rewritten as the Lyapunov equation

(4.13)

(A−BK)TΠ+Π(A−BK)+Q+KTRK=0.(A-B K)^{T}\Pi+\Pi(A-B K)+Q+K^{T}R K=0.

The observability Gramian WoW_{o} for the realization in (4.10) satisfies the same Lyapunov equation

(4.14)

(A−BK)TWo+Wo(A−BK)+Q+KTRK=0.(A-B K)^{T}W_{o}+W_{o}(A-B K)+Q+K^{T}R K=0.

EMMANUEL S. AMEH, SAMUEL E. OTTO

Because A – BK is Hurwitz, the solution is unique and we must have

(4.15)

Π=Wo.\Pi=W_{o}.

With initial condition x0x_{0}, the optimal state trajectory solving the LQR problem is

(4.16)

x∗(t)=e(A−BK)tx0.x^{*}(t)=e^{(A-B K)t}x_{0}.

Hence, the state covariance matrix along optimal trajectories in (3.1) is

(4.17)

Wx=Ex0[∫0∞x∗(t)x∗(t)Tdt]=Ex0[∫0∞e(A−BK)tx0x0Te(A−BK)Ttdt].W_{x}=\mathbb{E}_{x_{0}}\left[\int_{0}^{\infty}x^{*}(t)x^{*}(t)^{T}dt\right]=\mathbb{E}_{x_{0}}\left[\int_{0}^{\infty}e^{(A-BK)t}x_{0}x_{0}^{T}e^{(A-BK)^{T}t}dt\right].

By Fubini's theorem and linearity of expectation, the state covariance matrix is equal to the controllability Gramian WcW_{c} of the realization in (4.10),

(4.18)

Wx=∫0∞e(A−BK)tWICe(A−BK)Ttdt=Wc.W_{x}=\int_{0}^{\infty}e^{(A-B K)t}W_{I C}e^{(A-B K)^{T}t}d t=W_{c}.

Because the costates along optimal trajectories are λ∗(t)=∇V(x∗(t))=2Πx∗(t)\lambda^{*}(t) = \nabla V(x^{*}(t)) = 2\Pi x^{*}(t), the costate covariance matrix in (3.2) is

(4.19)

Wg=Ex0[∫0∞λ∗(t)λ∗(t)Tdt]=Ex0[∫0∞4Πx∗(t)x∗(t)TΠdt]=4WoWxWo.W_{g}=\mathbb{E}_{x_{0}}\left[\int_{0}^{\infty}\lambda^{*}(t)\lambda^{*}(t)^{T}dt\right]=\mathbb{E}_{x_{0}}\left[\int_{0}^{\infty}4\Pi x^{*}(t)x^{*}(t)^{T}\Pi dt\right]=4W_{o}W_{x}W_{o}.

Therefore, we have

(4.20)

WxWg=4(WcWo)2,W_{x}W_{g}=4(W_{c}W_{o})^{2},

and the claimed results follow from Lemma 4.1.

The oblique BASOC projection modes obtained in the linear case can be interpreted as an initial-condition balancing procedure, similar to [8]. The resulting ROM approximates the system output and optimal control signals using weights derived from the cost functional along optimal trajectories.

4.2. Surrogates for suboptimal control. Response surfaces and surrogate models can be constructed for the value function and feedback law in the reduced variables z=ΨrTx∈Rrz = \Psi_r^T x \in \mathbb{R}^r rather than in the full state x∈Rnx \in \mathbb{R}^n. If these quantities admit accurate approximations, then this can dramatically reduce the parametric complexity of the resulting surrogate models, the computational cost to evaluate them, and the sample complexity to fit them. By their construction, we expect BASOC variables to be well suited to constructing surrogate models of the optimal value function. This can be done either by fitting a response surface to the data along optimal trajectories {(ΨrTxi∗,V(xi∗))}i=1d\left\{\left(\Psi_r^T x_i^*, V(x_i^*)\right)\right\}_{i=1}^d, where dd denotes the total number of training samples, or by solving the HJB equation using a reduced-order model of the dynamics in the reduced BASOC coordinates. We adopt the former here.

The control law can also be approximated in reduced BASOC coordinates. For control-linear systems of the form x˙=f(x)+Bu\dot{x} = f(x) + Bu with a running cost L(x,u)=ℓ(x)+uTRu\mathcal{L}(x, u) = \ell(x) + u^T Ru, where R≻0R \succ 0, a differentiable value function, and no control constraints, the optimal feedback law obtained from the HJB equation is u∗(x)=−12R−1BT∇V(x)u^*(x) = -\frac{1}{2} R^{-1} B^T \nabla V(x). Consequently, if the value function admits an accurate approximation V(x)≈V~(ΨrTx)V(x) \approx \tilde{V}(\Psi_r^T x) with sufficiently accurate gradients, the optimal feedback law can also be approximated using only the reduced coordinates z=ΨrTxz = \Psi_r^T x, since ∇V(x)≈Ψr∇zV~(z)\nabla V(x) \approx \Psi_r \nabla_z \tilde{V}(z). One could potentially use second derivatives of the value function obtained by solving differential Riccati equations along optimal trajectories to find balanced active variables directly for the optimal feedback law, though we leave this for future work.

A surrogate control law can be obtained directly by fitting the control input as a function of the reduced variables z=ΨrTxz = \Psi_r^T x. We adopt this approach by fitting a surrogate model u=κ~(z)u = \tilde{\kappa}(z) to the optimal trajectory data {(ΨrTxi∗,u∗(xi∗))}i=1d\left\{\left(\Psi_r^T x_i^*, u^*(x_i^*)\right)\right\}_{i=1}^d. While a variety of regression techniques could be used, we employ Gaussian-process regression with Matérn kernels. Further implementation details are provided in the numerical results section where we evaluate surrogate feedback laws. An alternative approach could be to use a value function surrogate V~(z)\tilde{V}(z) in BASOC coordinates and Petrov-Galerkin ROM to solve the following finite-dimensional optimization problem at every time step:

(4.21)

u^∗(z)∈arg⁡min⁡w{∇V~(z)Tfr(z,w)+L(Φrz,w)}.\hat{u}^{*}(z)\in\arg\min_{w}\left\{\nabla\tilde{V}(z)^{T}f_{r}(z,w)+\mathcal{L}(\Phi_{r}z,w)\right\}.

However, this can be costly to perform online so we do not adopt this approach.

  1. Numerical Examples and Evaluation. In the following numerical examples, we consider the infinite-horizon optimal control problem

(5.1)

min⁡u(⋅)Jx0(u(⋅))=∫0∞(y(t)Ty(t)+100u(t)Tu(t))dt,\min_{u(\cdot)}\quad J_{x_{0}}(u(\cdot))=\int_{0}^{\infty}\left(y(t)^{T}y(t)+100u(t)^{T}u(t)\right)dt,

subject to the problem-specific dynamics and output quantities y=Cxy = Cx.

5.1. Challenging nonlinear toy problem. We consider the challenging nonlinear model in [39] for which standard model reduction methods perform poorly:

(5.2)

x˙1=−x1+20x1x3+u,x˙2=−2x2+20x2x3+u,x˙3=−5x3+u,y=x1+x2+x3.\begin{aligned}\dot{x}_{1}&=-x_{1}+20x_{1}x_{3}+u,\\\dot{x}_{2}&=-2x_{2}+20x_{2}x_{3}+u,\\\dot{x}_{3}&=-5x_{3}+u,\\y&=x_{1}+x_{2}+x_{3}.\end{aligned}

Model reduction and value function approximation for this system are challenging because the rapidly-decaying state x3x_{3} strongly influences the dynamics of x1x_{1} and x2x_{2} via quadratic nonlinear interactions, which lead to transient energy growth for these state variables. As a result, conventional methods such as balanced truncation perform poorly since it only considers the linear part of (5.2). Additionally, x3x_{3} remains small and has low energy due to its rapid decay and is consequently ignored by POD, which retains the most energetic variables closely aligned with x1x_{1} and x2x_{2}. The control goal is to minimize the cost functional in (5.1), suppress transient growth, and drive the system to the origin faster than its natural dynamics via feedback control.

To compute the balanced active modes defining the projection PP, we performed trajectory optimization in Algorithm A.1 for 50 initial conditions sampled uniformly at random from the cube [0.5,1]3⊂R3[0.5, 1]^3 \subset \mathbb{R}^3, with Nq=200N_q = 200 quadrature points over the time interval 0≤t≤100 \leq t \leq 10. The optimal state and gradient snapshots obtained via trajectory optimization were used to assemble the state and gradient covariance matrices. The projection was computed via Algorithm 3.1. The rapidly decaying balanced singular values indicate that the value function can be well-approximated using two balanced active variables. With r=2r = 2, the BASOC singular value tail satisfies

(5.3)

∑ℓ=1rσℓ2∑ℓ=1nσℓ2≥0.99.\frac{\sum_{\ell=1}^{r}\sigma_{\ell}^{2}}{\sum_{\ell=1}^{n}\sigma_{\ell}^{2}}\geq0.99.

EMMANUEL S. AMEH, SAMUEL E. OTTO

Figure

Figure

FIG. 1. Comparison of the value function along optimal trajectories plotted in reduced variables selected by different methods for the challenging nonlinear toy model.

We compare BASOC against other methods of obtaining rank-2 linear projections P=ΦΨTP = \Phi \Psi^T and reduced variables z=ΨTxz = \Psi^T x to approximate the value function, optimal control law, and construct Petrov-Galerkin ROM. To evaluate these projections on control-relevant tasks, we test on 30 unseen initial conditions sampled uniformly at random from the same cube [0.5,1]3[0.5, 1]^3, and 30 extrapolated initial conditions sampled uniformly at random from the new cube [1,1.5]3[1, 1.5]^3. In Figure 1, we observe that the value function is nearly a single-valued function of the retained BASOC coordinates over the trajectory ensemble. In contrast, the value function takes distinct values at nearby points in the coordinates retained by POD and BT, meaning the value function is poorly approximated as a function of these coordinates. The POD Adjoint coordinates — obtained by truncated SVD of the optimal costate matrix YY — also provide an excellent approximation of the value function comparable to BASOC.

5.2. Complex Ginzburg-Landau Equation. As a representative model for bluff-body wake flows, we consider the nonlinear complex Ginzburg-Landau (CGL) equation following [28]:

(5.4)

∂q∂t=(ν∂∂x+γ∂2∂x2+μ)q−a∣q∣2q,x∈(−∞,∞),q(x,t)∈C,\frac{\partial q}{\partial t}=\left(\nu\frac{\partial}{\partial x}+\gamma\frac{\partial^{2}}{\partial x^{2}}+\mu\right)q-a|q|^{2}q,\qquad x\in(-\infty,\infty),\qquad q(x,t)\in\mathbb{C},

with parameters a=0.1a = 0.1, ν=2+0.4i\nu = 2 + 0.4i, γ=1−i\gamma = 1 - i, μ=(μ0−0.22)+μ2x22\mu = (\mu_0 - 0.2^2) + \frac{\mu_2 x^2}{2}, i=−1i = \sqrt{-1}, μ0=0.41\mu_0 = 0.41, and μ2=−0.01\mu_2 = -0.01. For these parameters, the origin is unstable with nonnormal linearized dynamics resulting in high sensitivity in an “upstream” region and large response in a “downstream” region. Such behavior is typical of boundary-layer, shear, and convectively unstable flows [47], making it a standard test case. In addition, the system undergoes a supercritical Hopf bifurcation with respect to the parameter μ0\mu_0, giving rise to a stable limit cycle at the chosen value of μ0\mu_0 [16]. The optimal control goal is to minimize (5.1) by applying feedback forcing upstream at “branch I” to drive initial conditions on the stable limit cycle to the origin and suppress downstream disturbance amplification, as illustrated in Figure 2(b). The complex-valued control input uu acts through an upstream Gaussian actuator kernel located upstream as:

(5.5)

b(x)=exp⁡[−(x−x1s)2].b(x)=\exp\left[-\left(\frac{x-x_{1}}{s}\right)^{2}\right].

Figure

(a) Uncontrolled CGL model

(b) Controlled CGL model

FIG. 2. In (a) we show the uncontrolled CGL equation exhibiting a large downstream response due to upstream disturbances, and in (b) we show the controlled CGL equation under optimal control forcing upstream.

The measurement (output) matrix C for output y is a Gaussian kernel function:

(5.6)

C(x)=exp⁡[−(x+x2s)2]y(q)=∫−∞∞C(x)q(x)dx,C(x)=\exp\left[-\left(\frac{x+x_{2}}{s}\right)^{2}\right]\qquad y(q)=\int_{-\infty}^{\infty}C(x)q(x)dx,

where s=1.6s = 1.6 and x1,x2=−−2(μ0−0.22)μ2x_1, x_2 = -\sqrt{\frac{-2(\mu_0 - 0.2^2)}{\mu_2}}. Note that x1x_1 is the location of “branch I” upstream and −x2-x_2 is the location of “branch II” downstream of the unstable region. See [28, 6] for more details. Following [28, 6], a Gauss–Hermite pseudospectral discretization of (5.4), treated as a coupled system of real PDEs due to the nonholomorphic nonlinearity, yields a finite-dimensional full-order model of the form,

(5.7)

(5.8)

x˙=Ax+fN(x)+Bu\dot{x}=A x+f_{N}(x)+B u y=Cx.y=Cx.

The state x(t)∈R440x(t) \in \mathbb{R}^{440} is constructed to have Euclidean norm equal to the L2(R)2L^2(\mathbb{R})^2-norm of the function it represents; fNf_N is a cubic nonlinearity; and u(t),y(t)∈R2u(t), y(t) \in \mathbb{R}^2 denote the input and output vectors, respectively, each containing the real and imaginary components of the corresponding quantities. To construct BASOC, POD, and POD Adjoint modes, we perform trajectory optimization over t∈[0,80]t \in [0, 80] from 50 random initial conditions. These initial conditions are generated by placing independent zero-mean Gaussian coefficients with variance (0.15)2(0.15)^2 on the first 100L2(R)100 L^2(\mathbb{R})-orthonormal Gauss–Hermite functions for each component — real and imaginary — of the solution.

Figure

FIG. 3. Remaining fraction ∑ℓ=r+1nσℓ2/∑ℓ=1nσℓ2\sum_{\ell=r+1}^{n}\sigma_{\ell}^{2}/\sum_{\ell=1}^{n}\sigma_{\ell}^{2} of the total squared BASOC singular values as a function of the number r of retained modes for the CGL equation.

EMMANUEL S. AMEH, SAMUEL E. OTTO

Figure

(a) 3D POD State subspace

Figure

(b) 3D BT subspace

Figure

(c) 3D POD Adjoint subspace

Figure

(d) 3D BASOC subspace

FIG. 4. Visualization of the value function for all trajectories on three-dimensional subspaces for the different methods. The colorbar indicates the value function V(x)V(x).

Figure 3 shows that the BASOC singular values exhibit rapid decay, suggesting that the value function can be well approximated using a small number of balanced active variables. We visualize the value function over the ensemble of training trajectories in the leading three coordinates selected by different methods in Figure 4. Here BT, POD Adjoint, and BASOC coordinates all separate high and low value function values, while the POD coordinates do not. Because the equilibrium at q = 0 in the CGL equation is unstable at the chosen value of μ0\mu_0, we used the balancing method for unstable systems in [59] to compute the BT projections. To evaluate these projections on control-relevant tasks, we test on 10 unseen random initial conditions.

5.3. Full-state feedback control. We evaluate surrogate full-state feedback control laws u=κr(ΨrTx)u = \kappa_r(\Psi_r^T x) obtained by fitting κr\kappa_r to the optimal trajectory data in different reduced coordinate systems z=ΨrTxz = \Psi_r^T x obtained by BASOC, BT, POD, and POD Adjoint. To evaluate the different coordinates for learning near-optimal feedback laws, we test the surrogates as feedback laws for the full-order model with unseen initial conditions and compare the resulting costs to the (locally) optimal costs obtained by applying FBSM separately to each initial condition. Specifically, we use the unseen initial conditions in subsection 5.1 for the nonlinear toy problem and in

Figure

(a)

Figure

(b)

FIG. 5. Closed-loop full-state feedback using surrogate control laws for the challenging nonlinear toy model: (a) non-extrapolated test initial conditions; (b) extrapolated test initial conditions.

Figure

FIG. 6. Mean relative control cost error for CGL equation full-state feedback, comparing BASOC with other methods. The dashed black line denotes the full-state surrogate baseline.

subsection 5.2 for the Complex Ginzburg–Landau equation, with the corresponding locally optimal reference costs computed using FBSM. These initial conditions are not used for training, predictive evaluation, or hyperparameter selection. In order to assess whether dimensionality reduction improves or worsens the feedback law approximations, we also compare to surrogate models u=κ(x)u = \kappa(x) fit directly to the full-state optimal trajectory data.

The surrogate models κr\kappa_r and κ\kappa were fit using Gaussian process regression with a Matérn kernel having smoothness parameter νGP=1.5\nu_{\mathrm{GP}} = 1.5, scaled by a constant kernel, and an additive white-noise kernel. In our numerical experiments, we also tested Matérn kernels with smoothness parameters νGP=0.5\nu_{\mathrm{GP}} = 0.5 and νGP=2.5\nu_{\mathrm{GP}} = 2.5, but the results with νGP=1.5\nu_{\mathrm{GP}} = 1.5, provide a representative comparison among the methods. We train the Gaussian-process surrogate using 2,400 randomly-drawn samples from training trajectories, which are also used for kernel hyperparameter optimization using Scikit-learn [40]. Alternatively, the training data points could be selected using the randomly pivoted Cholesky method [14]. We evaluate the predictions on 1,000 held-out samples that are not used during fitting. Predictive accuracy is assessed using the coefficient of determination ( R2R^2) on both the training and held-out sets. The final control-performance results are tested using the unseen initial conditions described above.

We quantify the surrogate control performance using the relative cost error E=(J−J∗)/J∗E = (J - J^{*})/J^{*}, where JJ denotes the closed-loop cost achieved by the surrogate on the FOM and J∗J^{*} is the optimal cost obtained using trajectory optimization on the

EMMANUEL S. AMEH, SAMUEL E. OTTO

FOM. The results in Figure 5 are reported for non-extrapolated and extrapolated initial conditions for the toy model in Section 5.1. In both cases BT and state POD perform poorly. Remarkably, the surrogates fit using reduced r=2r = 2-dimensional BASOC and POD Adjoint coordinates outperform feedback surrogates fit using the full 3-dimensional state. In Figure 6 for the CGL model, we also see that surrogate feedback laws fit in suitable reduced coordinates can dramatically outperform surrogate feedback laws fit using the full state. The best-performing feedback surrogate, by approximately an order of magnitude in E, is obtained using BASOC coordinates over a wide range of reduced dimensions.

5.4. Open-loop ROM-based forecasting. To assess the quality of the ROMs in (4.1), we forecast reduced-state trajectories z(t)z(t) in an open-loop setting using optimal control inputs obtained via trajectory optimization of the FOM for test initial conditions. The forecasted reduced-state trajectory is then reconstructed via the trial basis Φr\Phi_{r} for comparison with optimal state trajectories from the FOM.

We compare r=2r = 2-dimensional Petrov-Galerkin ROMs of the toy model (5.2) obtained by BASOC, POD, and POD Adjoint using the training ensemble of optimal trajectories, and BT about the equilibrium at the origin. We evaluate the ROMs on extrapolated and non-extrapolated initial conditions introduced in Section 5.1 for the toy model. Prediction performance with optimal control for a single trajectory and the normalized squared output prediction errors for each trajectory in the test ensemble are shown in Figure 7(a) and (b) respectively. In Figure 7, BASOC and POD Adjoint have comparable performance, making accurate output predictions with orders of magnitude lower normalized error than ROMs based on BT and POD. The accuracy of the POD Adjoint ROM was unexpected because the trial basis is not designed to approximate states. The BT–Petrov–Galerkin model massively overpredicts the transient growth, while the POD-based model predicts no transient growth. In Figure 8 we compare state forecasts by the different Petrov–Galerkin ROMs of the CGL equation (5.4) across several reduced dimensions. Normalized state forecast error is plotted for trajectories in the unseen testing ensemble. Since the nonlinearity in (5.4) is represented as a homogeneous polynomial, the reduced nonlinear term is obtained via its associated polarization map [50] as a third-order tensor. Because the prescribed open-loop input drives the FOM toward an unstable equilibrium, eventual divergence of the ROM forecast is expected. Accuracy should therefore be assessed by the duration of agreement with the FOM rather than asymptotic stability.

Figure

(a) Output prediction (single trajectory)

(b) Error on multiple test trajectories

FIG. 7. ROM output prediction for the nonlinear toy model: (a) prediction for a single test trajectory; (b) normalized squared output prediction errors along optimal trajectories for extrapolated test initial conditions. Similar results are obtained for non-extrapolated initial conditions.

Figure

FIG. 8. Normalized squared state-forecast error across optimal test trajectories for the nonlinear CGL equation for different reduced dimensions r.

Although BASOC is not uniformly best at lower reduced dimensions, its accuracy improves rapidly with dimension, achieving the strongest overall performance at the highest dimension tested.

5.5. Open-loop state estimation with EKF-ROM. We evaluate different Petrov–Galerkin ROMs (4.1) within a reduced-order extended Kalman filter (EKF) to estimate the FOM’s state based on measured outputs at discrete time steps Δt=0.01\Delta t = 0.01. We evaluate state estimates along the testing ensemble of open-loop optimal trajectories before closing the loop in Section 5.6. The EKF formulation and algorithm are provided in Appendix B and Algorithm B.1. For this experiment, we omit the control update step in Algorithm B.1. Specifically, at the kkth time step we apply the pre-computed open-loop optimal input uk=uk∗u_k = u_k^*, measure the FOM’s output yk+1=yk+1∗y_{k+1} = y_{k+1}^*, and use it to correct the ROM’s prediction at the k+1k+1st time step.

For the three-dimensional toy model, the state estimation accuracy is evaluated on the same non-extrapolated and extrapolated initial conditions introduced in Section 5.1. For each initial condition, the relative state-reconstruction error is computed as ∥XFOM∗−ΦrZ∥F/∥XFOM∗∥F\|X_{\mathrm{FOM}}^{*}-\Phi_{r}Z\|_{F}/\|X_{\mathrm{FOM}}^{*}\|_{F}, where the columns of XFOM∗X_{\mathrm{FOM}}^{*} are the state snapshots along the optimal FOM trajectory and the columns of Z are the corresponding ROM state estimates. Figure 9(a) shows the relative state-reconstruction error for the different ROMs with r = 2. EKFs using state POD, POD Adjoint, and BASOC ROMs had similar performance with BASOC yielding slightly lower mean and median estimation errors. BT ROMs yielded a wider range of performance with higher mean and median

EMMANUEL S. AMEH, SAMUEL E. OTTO

Figure

(a) Toy model

(b) CGL equation model

FIG. 9. Open-loop reduced-order state estimation using an EKF-ROM. (a) Challenging nonlinear toy model. (b) CGL equation model.

error. Similar results are obtained for extrapolated test initial conditions. We note that state POD and BT show substantial improvements within the EKF compared to open-loop ROM forecasting, likely due to output-based reduced-state corrections.

For the nonlinear CGL equation, Figure 9(b) shows the normalized squared state-reconstruction error over time for test trajectories. BASOC has excellent performance at early times (roughly t<10t < 10) and improves as dimension is increased. POD has similar performance at early times, with a few outlying trajectories with higher error. At longer times — where trajectories are closer to the equilibrium and we expect nonlinear effects to be less significant — BT ROMs yield the best state estimates, with improvement as dimension is increased. However, its early time performance can be much worse than BASOC. POD Adjoint has poor performance in the EKF.

5.6. Output-based closed-loop feedback control via EKF-ROM. We now use the reduced-order state estimators validated in Section 5.5 for output-based closed-loop feedback control of the FOM. The prediction, correction, and control-update steps are detailed in Appendix B, while Algorithm B.1 details the closed-loop procedure. We report results in terms of the relative cost error E defined in Section 5.3 with respect to the FBSM cost.

Figure

(a) Non-extrapolated initial conditions

(b) Extrapolated initial conditions

FIG. 10. Output-based closed-loop feedback control for the challenging nonlinear toy model for (a) non-extrapolated and (b) extrapolated test initial conditions.

Figure

FIG. 11. Output-based closed-loop feedback control using the EKF and surrogate control law for the CGL equation model.

For the challenging nonlinear toy model, Figure 10 shows the results for output-based closed-loop feedback control. The same initial conditions introduced in Section 5.1 are used for this control task. Among the methods, BASOC achieves the lowest mean relative cost error, with the cost error computed relative to that of trajectory optimization. BT and state POD perform poorly on this problem.

For the nonlinear CGL equation, Figure 11 shows the results for output-based closed-loop feedback control using the different methods across reduced dimensions. Across the reduced dimensions, the BASOC compensator yields either best or near best performance among the tested methods, with BT yielding comparable overall results. The poor performance of the POD-based compensator is likely due to its poorly-performing feedback surrogate (see Section 5.3), whereas the poor performance of POD Adjoint is likely due to its poorly-performing state estimator (see Section 5.5).

  1. Conclusion. We have introduced Balanced Active Subspaces for Optimal Control (BASOC), a model reduction framework for the value function of high-dimensional nonlinear optimal control problems. BASOC yields an oblique projection that seeks to jointly capture directions in state space along which the value function is most sensitive and the distribution of states exhibits large variance. We explain several ways that this projection can be used for reduced-order modeling and control, and we evaluate some of these strategies on numerical examples. For linear-quadratic optimal control problems we show that the BASOC becomes a snapshot-based approximation of initial condition balancing of the optimal closed-loop system.

We demonstrate the framework on a challenging nonlinear toy model and the nonlinear CGL equation, where we evaluate lower-dimensional approximations for the value function, optimal control law, dynamical system, and their combination into low-order compensators for output-based closed-loop control. These numerical experiments show that optimal value functions and feedback laws are well approximated by BASOC reduced coordinates, whereas the other methods can yield substantially poorer approximations on the considered examples. Our experiments also show that POD on optimal adjoint snapshots — without balancing against state variance — can provide accurate approximations of the value function. However, it may yield poor reduced-order models in much higher dimensions as the states generally do not lie in the span of the gradients. Our results show that BASOC-based ROMs can provide accurate forecasts with improvements over balanced truncation and POD in nonlinear regimes. While BASOC had competitive performance in all tasks, it showed the largest advantages of POD and balanced truncation on the three-dimensional toy model, which has strongly nonlinear dynamics specifically designed to defeat POD.

EMMANUEL S. AMEH, SAMUEL E. OTTO

and balanced truncation.

Future work will extend BASOC to test for, and exploit balanced active subspaces in larger-scale nonlinear flow control problems. We will also leverage second-order value function information obtained from differential Riccati equations along optimal trajectories to identify active subspaces directly for feedback control laws, which depend on the gradient of the value function. Finally, we will seek to establish performance guarantees for BASOC-based ROMs and control laws.

Code availability: Our code was written in Python and is available at https://github.com/amehhh/BASOC.

Appendix A. Forward–Backward Sweep Algorithm.

Algorithm A.1 Gradient-Based Trajectory Optimization (FBSM)

1: Initialize the weighting matrices Q~\widetilde{Q} and RR

2: Choose NN quadrature nodes and a sufficiently large time horizon T^≫1\hat{T} \gg 1

3: Obtain left Gauss-Radau quadrature nodes {ti}i=1N\{t_i\}_{i=1}^N and weights {wi}i=1N\{w_i\}_{i=1}^N on [0,T^][0, \hat{T}]

4: Set k=0k = 0 and choose a stopping tolerance ϵ≪1\epsilon \ll 1. Total number of kk iterations determined by optimizer.

5: Control roll-out: Choose an initial control trajectory u(0)(⋅)u^{(0)}(\cdot) and interpolate.

6: Specify the solver relative and absolute tolerances.

7: while ∥∇J(u(k)(⋅))∥>ϵ\|\nabla J(u^{(k)}(\cdot))\| > \epsilon do

8: Forward sweep: Simulate the system dynamics in (2.7) from x0x_0 and interpolate the solution to obtain state trajectory x(k)(⋅)x^{(k)}(\cdot).

9: Compute the cost functional J(u(k)(⋅))J(u^{(k)}(\cdot)) in (4.4) approximated with quadrature.

10: Backward sweep: Simulate the adjoint dynamics in (2.8) backward in time with terminal condition λ(T^)=0\lambda(\hat{T}) = 0 to obtain the adjoint trajectory λ(k)(⋅)\lambda^{(k)}(\cdot)

11: Compute the gradient of the cost functional in (A.1) ∇uJ(u(k)(⋅))\nabla_u J(u^{(k)}(\cdot)) with respect to the control parameters via quadrature approximation.

12: Optimization update step: Pass J(u(k)(⋅))J(u^{(k)}(\cdot)) and ∇uJ(u(k)(⋅))\nabla_u J(u^{(k)}(\cdot)) to an optimizer (e.g., BFGS or L-BFGS) to obtain the updated control u(k+1)(⋅)u^{(k+1)}(\cdot).

13: Update k←k+1k \leftarrow k + 1

14: end while

15: Set u∗(⋅)u^*(\cdot) to the converged control trajectory.

16: Solve the forward and backward dynamics using u∗(⋅)u^*(\cdot) to obtain x∗(⋅)x^*(\cdot) and λ∗(⋅)\lambda^*(\cdot).

17: Compute the optimal cost J∗J^* along the optimal trajectory using (4.4).

18: Compute V(⋅)V(\cdot) along the optimal trajectory using (A.2).

19: return Optimal cost J∗J^*, value function V(⋅)V(\cdot), optimal control u∗(⋅)u^*(\cdot), optimal state x∗(⋅)x^*(\cdot), and optimal adjoint λ∗(⋅)\lambda^*(\cdot).

For the optimization problem in the nonlinear case, we obtain a closed-form expression for the gradient of the cost functional with respect to the optimization parameters using an adjoint formulation [26]. With the adjoint equation in (2.8) and the quadratic cost functional as defined in (2.1), (4.4) the closed form is given as:

(A.1)

DJ(u(⋅))[v(⋅)]=∫0∞[∇uL(x(t),u(t))+B⊤λ(t)]⏟(∇uJ(u(t)))⊤v(t)dt.D J(u(\cdot))[v(\cdot)]=\int_{0}^{\infty}\underbrace{\left[\nabla_{u}L(x(t),u(t))+B^{\top}\lambda(t)\right]}_{(\nabla_{u}J(u(t)))^{\top}}v(t)d t.

We employ left Gauss-Radau quadrature with a linearly transformed domain to

Figure

(a) Optimization convergence (Toy model)

Figure

(b) Optimization convergence (CGL model)

FIG. 12. Convergence of the cost function and its gradient norm during trajectory optimization for (a) the nonlinear toy model and (b) the CGL model.

approximate the continuous integrals as suggested in [44]. Its inclusion of left endpoint node on the discretization domain enforces the initial condition for infinite-horizon optimal control problems. High-order gaussian quadrature also provides an accurate integration with fewer nodes, reducing the computational expense of the optimization problem and Monte-Carlo estimation of the covariance matrices. We employ Barycentric interpolation due to its stability and compatibility with the Legendre polynomial framework of Gaussian quadrature methods [55]. In our numerical experiments, we employ the Scipy [54] BFGS [37] quasi-newton optimizer with a tolerance of 10−610^{-6} and gradient tolerance of 10−810^{-8}. The optimization stops when a convergence criterion is met. Our implementation of trajectory optimization, whose convergence on representative trajectories is plotted in Figure 12, required ≈1\approx 1 minute per trajectory for the nonlinear toy model and ≈15\approx 15 minutes per trajectory for the nonlinear CGL model. Optimization over multiple trajectories is embarrassingly parallel. All numerical experiments were conducted on a MacBook Pro equipped with an Apple M4 Pro chip and 24 GB of unified memory. The value function V(x)V(x) at any node tit_i along the optimal trajectory is computed with quadrature as:

(A.2)

V(x(ti))≈∑s=iN−1wsL(x∗(ts),u∗(ts)).V(x(t_{i}))\approx\sum_{s=i}^{N-1}w_{s}L\left(x^{*}(t_{s}),u^{*}(t_{s})\right).

Appendix B. State Estimation and Output-Based Closed-Loop Control.

This appendix presents the EKF-ROM formulation and algorithm used for the open-loop state-estimation experiment in Section 5.5 and the output-based closed-loop control experiment in Section 5.6. The same estimator is used in both settings, with the open-loop distinction specified in its respective section.

In both experiments, we use a fixed time step of Δt=0.01\Delta t = 0.01 for the discrete-time EKF. In particular, we do the following: Let FrΔt(z,u)=z(t+Δt)F_r^{\Delta t}(z, u) = z(t + \Delta t), z∈Rrz \in \mathbb{R}^r denote the discrete-time flow map of the ROM (4.1) with a constant control input u∈Rmu \in \mathbb{R}^m over a time interval of length Δt\Delta t. We approximate it using SciPy's RK45 integrator (version 1.16.2) [54]. In the prediction step, the a priori state is obtained by propagating the a posteriori state estimate via the ROM dynamics as:

(B.1)

z^k+1−=FrΔt(z^k+,uk).\hat{z}_{k+1}^{-}=F_{r}^{\Delta t}(\hat{z}_{k}^{+},u_{k}).

To propagate the a posteriori state-estimation error covariance matrix P^k+∈Rr×r\hat{P}_k^+ \in \mathbb{R}^{r \times r},

EMMANUEL S. AMEH, SAMUEL E. OTTO

let:

(B.2)

Jkz=∂FrΔt(z,u)∂z∣(z^k+,uk),J_{k}^{z}=\frac{\partial F_{r}^{\Delta t}(z,u)}{\partial z}\bigg|_{(\hat{z}_{k}^{+},u_{k})},

denote the Jacobian of the ROM discrete-time flow map evaluated at (z^k+,uk)(\hat{z}_{k}^{+}, u_{k}). Using a Euler forward discretization for propagating the ROM dynamics and a sufficiently small Δt\Delta t, we obtain a first-order approximation of the discrete-time flow map Jacobian as :

(B.3)

Jkz≈Ir+Δt∂fr(z,u)∂z∣(z^k+,uk).J_{k}^{z}\approx I_{r}+\Delta t\left.\frac{\partial f_{r}(z,u)}{\partial z}\right|_{(\hat{z}_{k}^{+},u_{k})}.

Let hr:Rr→Rph_r : \mathbb{R}^r \to \mathbb{R}^p denote the linear ROM output function. Its Jacobian is

(B.4)

H=∂hr(z)∂z∈Rp×rH=\frac{\partial h_{r}(z)}{\partial z}\in\mathbb{R}^{p\times r}

We assume that the process and measurement noises are uncorrelated, zero-mean Gaussian random processes with covariance matrices Q^\hat{Q} and R^\hat{R}, respectively, following [48]. In addition, the initial reduced state estimate is set to z^0+=ΨrTx0\hat{z}_0^+ = \Psi_r^T x_0, while the estimation error covariance matrix P^0+\hat{P}_0^+ is initialized following [48]. The error covariance update is obtained using the Joseph stabilized form to ensure it preserves symmetry and positive semidefiniteness [48]. See [22] for reduced state estimation of linear systems.

Algorithm B.1 Output-based closed-loop feedback control via EKF-ROM

1: Choose the process-noise covariance matrix Q^∈Rr×r\hat{Q} \in \mathbb{R}^{r \times r} and measurement noise covariance R^∈Rp×p\hat{R} \in \mathbb{R}^{p \times p}.

2: Choose a small time step Δt=0.01\Delta t = 0.01, define number of time steps as nt=T^/Δtn_t = \hat{T} / \Delta t.

3: Initialize the a posteriori state-estimation error covariance matrix as P^0+∈Rr×r\hat{P}_0^+ \in \mathbb{R}^{r \times r}.

4: Initialize a posteriori state z^0+∈Rr\hat{z}_0^+ \in \mathbb{R}^r and initial control u0=u^∗(z^0+)u_0 = \hat{u}^*(\hat{z}_0^+).

5: for k=0,…,nt−1k = 0, \ldots, n_t - 1 do

6: Propagate the FOM dynamics from time step kk to k+1k + 1 over the small time interval Δt\Delta t using uku_k and obtain the FOM measurement yk+1∈Rpy_{k+1} \in \mathbb{R}^p.

7: Propagate the a posteriori reduced state estimate through the ROM dynamics from time step kk to k+1k + 1 over the small time interval Δt\Delta t using uku_k to obtain the a priori state estimate z^k+1−\hat{z}_{k+1}^-.

8: Propagate the a posteriori state-estimation error covariance over the small time interval to obtain the a priori covariance: P^k+1−=JkzP^k+(Jkz)T+Q^\hat{P}_{k+1}^- = J_k^z \hat{P}_k^+(J_k^z)^T + \hat{Q}.

9: Compute the innovation covariance as Sk+1=HP^k+1−HT+R^S_{k+1} = H \hat{P}_{k+1}^- H^T + \hat{R}.

10: Compute the Kalman gain Kk+1∈Rr×pK_{k+1} \in \mathbb{R}^{r \times p} as Kk+1=P^k+1−HTSk+1−1K_{k+1} = \hat{P}_{k+1}^- H^T S_{k+1}^{-1}.

11: Compute the innovation as ek+1=yk+1−Hz^k+1−e_{k+1} = y_{k+1} - H \hat{z}_{k+1}^-.

12: Update the state estimate as z^k+1+=z^k+1−+Kk+1ek+1\hat{z}_{k+1}^+ = \hat{z}_{k+1}^- + K_{k+1} e_{k+1}.

13: Update the a priori state-estimation error covariance matrix to obtain the a posteriori covariance matrix using the Joseph stabilized form: P^k+1+=(Ir−Kk+1H)P^k+1−(Ir−Kk+1H)T+Kk+1R^Kk+1T\hat{P}_{k+1}^+ = (I_r - K_{k+1} H) \hat{P}_{k+1}^-(I_r - K_{k+1} H)^T + K_{k+1} \hat{R} K_{k+1}^T.

14: Update the control input with near-optimal control from surrogate control law evaluated at the a posteriori state estimate uk+1=u^∗(z^k+1+)u_{k+1} = \hat{u}^*(\hat{z}_{k+1}^+).

15: end for

References (31)