Papers
Topics
Authors
Recent
Search
2000 character limit reached

Zonotopic Recursive Least Squares

Updated 22 January 2026
  • Zonotopic Recursive Least Squares is a set-theoretic parameter estimation method that uses zonotopes to provide guaranteed, real-time uncertainty enclosures.
  • It leverages affine mapping properties to update parameter sets amid noise and drift, ensuring robust error bounds in dynamic environments.
  • The EF-ZRLS algorithm integrates prediction, correction, and order reduction to efficiently manage computational complexity in online control applications.

Zonotopic Recursive Least Squares (ZRLS) is a set-theoretic framework for recursive parameter estimation that maintains guaranteed, real-time uncertainty enclosures using zonotopes. Unlike classical recursive least squares (RLS), which propagates a point estimate and covariance, ZRLS produces at each time step a zonotope containing all parameters consistent with the observed data, prior assumptions, and bounded disturbances. ZRLS is particularly suited for online identification in safety-critical and data-driven control, offering robust uncertainty quantification for systems with time-varying and uncertain dynamics, even when only noisy or incomplete model information is available (Akhormeh et al., 21 Sep 2025, Cohen et al., 2023).

1. Mathematical Foundations: Zonotopes and Affine Mapping

A vector zonotope in Rn\mathbb{R}^n is defined as the affine image of the unit ℓ∞\ell_\infty ball:

Z={ c+G ξ∣∥ξ∥∞≤1 },\mathcal{Z} = \{\, c + G\,\xi \mid \|\xi\|_\infty \leq 1\,\},

where c∈Rnc \in \mathbb{R}^n is the center, and G∈Rn×γG \in \mathbb{R}^{n\times\gamma} the generator matrix. In the context of ZRLS, the current set-valued uncertainty for the unknown parameter θtr,k\theta_{tr,k} at time kk is represented by a zonotope Θk=⟨Ck,Gk⟩\Theta_k = \langle C_k, G_k \rangle, ensuring θtr,k∈Θk\theta_{tr,k} \in \Theta_k for all kk (Akhormeh et al., 21 Sep 2025).

A crucial property of zonotopes is closure under affine transformation. For Z=⟨c,G⟩Z = \langle c, G \rangle and affine map x↦Ax+bx \mapsto Ax + b, the image is again a zonotope: AZ+b=⟨Ac+b,AG⟩A Z + b = \langle Ac + b, AG \rangle. This property enables the recursive propagation of set-valued parameter enclosures through both continuous-time and discrete-time RLS dynamics (Cohen et al., 2023).

2. Exponentially Forgetting ZRLS Algorithm

The Exponentially Forgetting Zonotopic Recursive Least Squares (EF-ZRLS) algorithm is formulated for a standard linear regression model with time-varying parameters under bounded, zonotopic noise and drift:

yk=ϕkθtr,k+vk,θtr,k=θtr,k−1+δθk−1,y_k = \phi_k \theta_{tr,k} + v_k, \quad \theta_{tr,k} = \theta_{tr,k-1} + \delta\theta_{k-1},

with vkv_k and δθk−1\delta\theta_{k-1} modeled as known zonotopes. Key features of the EF-ZRLS workflow include:

(a) Prediction (Time Update with Forgetting):

Existing generators are "aged" by scaling with λ−1/2\lambda^{-1/2} (where λ∈(0,1]\lambda\in(0,1] is the forgetting factor), and the generator corresponding to model drift is appended:

Ck∣k−1=(I−Kk−1ϕk−1)Ck−1,C_{k|k-1} = (I - K_{k-1}\phi_{k-1}) C_{k-1},

Gk∣k−1=[ λ−1/2(I−Kk−1ϕk−1)Gk−1  ∣ Gθ ],G_{k|k-1} = [\ \lambda^{-1/2}(I - K_{k-1}\phi_{k-1}) G_{k-1}\ \ |\ G_\theta\ ],

where GθG_\theta is the generator for parameter drift (Akhormeh et al., 21 Sep 2025).

(b) Correction (Measurement Update):

Upon data arrival, the center and generators are updated via:

Ck=(I−Kkϕk)Ck∣k−1+Kkyk,C_k = (I - K_k \phi_k) C_{k|k-1} + K_k y_k,

Gk=[(I−Kkϕk)Gk∣k−1 ∣ −KkGv],G_k = [ (I - K_k \phi_k) G_{k|k-1} \ |\ -K_k G_v ],

where GvG_v is the generator for measurement noise.

(c) Gain Computation:

To minimize zonotope size as measured by the trace of a "covariance" proxy, Pk=GkGk⊤P_k = G_k G_k^\top, the optimal gain KkK_k is given by

Kk=Pk∣k−1ϕk⊤[ϕkPk∣k−1ϕk⊤+λQ]−1,K_k = P_{k|k-1} \phi_k^\top [\phi_k P_{k|k-1} \phi_k^\top + \lambda Q]^{-1},

with Q=mσv2IQ = m\sigma_v^2 I and Pk∣k−1=Gk∣k−1Gk∣k−1⊤P_{k|k-1} = G_{k|k-1} G_{k|k-1}^\top.

A pseudocode summary is:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
for k in 0, 1, ...
    # Prediction
    G_pred = [lambda**(-0.5) * (I - K_prev * phi_prev) * G_prev | G_theta]
    C_pred = (I - K_prev * phi_prev) * C_prev

    # Gain
    P_pred = G_pred @ G_pred.T
    Lambda = phi_k @ P_pred @ phi_k.T + lambda * Q
    K_k = P_pred @ phi_k.T @ np.linalg.inv(Lambda)

    # Correction
    C_k = (I - K_k * phi_k) * C_pred + K_k * y_k
    G_k = [ (I - K_k * phi_k) * G_pred | -K_k * G_v ]

    # Order reduction (optional)
    G_k = zonotope_reduce(G_k, target_order)
(Akhormeh et al., 21 Sep 2025)

3. Set-Membership Guarantees and Error Bounds

ZRLS ensures that the true parameter θtr,k\theta_{tr,k} always remains within the current zonotope enclosure, provided initial and assumed uncertainty sets are correct. The update

θtr,k∈Θk  ⟹  θtr,k+1∈(I−Kkϕk)Θk⊕Kk{yk}⊕(−Kk)⟨0,Gv⟩⊕⟨0,Gθ⟩\theta_{tr,k} \in \Theta_k \implies \theta_{tr,k+1} \in (I - K_k\phi_k)\Theta_k \oplus K_k\{y_k\} \oplus (-K_k)\langle 0,G_v \rangle \oplus \langle 0,G_\theta \rangle

is justified by set-propagation through affine maps and Minkowski sums. Proposition 3.1 (in (Akhormeh et al., 21 Sep 2025)) details the algebraic bounding steps ensuring coverage. The forgetting factor λ\lambda is chosen to prevent "holes" in generator space, guaranteeing completeness of the enclosure.

4. Complexity and Generator Management

A primary computational cost arises as, at each iteration, new generators corresponding to noise and drift are appended, leading to linear growth in zonotope order with the time index. To maintain tractability, a zonotope order-reduction operator ↓q\downarrow_q is used, ensuring that

⟨C,G⟩⊆⟨C,G~⟩,\langle C, G \rangle \subseteq \langle C, \tilde G \rangle,

where G~\tilde G has a fixed, reduced number of columns qq. Practical reduction strategies include greedy or principal-component-based merging of small-norm generators (Proposition 4.4 of (Akhormeh et al., 21 Sep 2025)). This reduction is essential for embedding ZRLS in real-time safety-critical systems.

5. Extensions to Linear Time-Varying and Nonlinear Systems

ZRLS generalizes to discrete-time linear time-varying (LTV) models,

xk+1=Atr,kxk+Btr,kuk+wk,x_{k+1} = A_{tr,k}x_k + B_{tr,k}u_k + w_k,

by stacking AA and BB into the parameter vector and running EF-ZRLS. The reachable set at each step is then a zonotope

R^k+1=Ak(R^k×Uk)⊕Zw⊕Zϵ,\hat{\mathcal{R}}_{k+1} = \mathcal{A}_k(\hat{\mathcal{R}}_k \times \mathcal{U}_k) \oplus \mathcal{Z}_w \oplus \mathcal{Z}_\epsilon,

where Zw\mathcal{Z}_w and Zϵ\mathcal{Z}_\epsilon denote process and model mismatch uncertainties (Akhormeh et al., 21 Sep 2025).

For nonlinear, Lipschitz systems,

xk+1=f(xk,uk)+wk,f Lipschitz,x_{k+1} = f(x_k, u_k) + w_k, \quad f \text{ Lipschitz,}

a local linearization plus zonotopic modeling of the Taylor remainder yields a reachability update similar in spirit, with extra zonotopes capturing modeling error and the global Lipschitz bound.

6. Continuous-Time Zonotopic RLS Perspective

An alternative approach considers continuous-time RLS, as in (Cohen et al., 2023). Here, the parameter estimate evolves according to:

θ^˙(t)=Γ(t)Φ(t)⊤[Y(t)−Φ(t)θ^(t)],\dot{\hat\theta}(t) = \Gamma(t) \Phi(t)^\top [Y(t) - \Phi(t) \hat\theta(t)],

Γ˙(t)=βΓ(t)−Γ(t)Φ(t)⊤Φ(t)Γ(t),\dot{\Gamma}(t) = \beta \Gamma(t) - \Gamma(t) \Phi(t)^\top \Phi(t) \Gamma(t),

where Γ(t)\Gamma(t) evolves as a "quantity of uncertainty." The affine form

θ^(t)=A(t)θ^(0)+b(t)\hat\theta(t) = A(t) \hat\theta(0) + b(t)

and the property that

Zt=⟨θ^(t),Γ(t)⟩Z_t = \langle \hat\theta(t), \Gamma(t) \rangle

immediately guarantee zonotopic enclosures for the true parameter, without the need for iterative generator stacking.

In continuous and discrete settings, computational cost per update is O(p2)O(p^2), and the generator count remains fixed.

7. Practical Considerations, Insights, and Limitations

  • Convergence is guaranteed under a persistent excitation (PE) condition on regressors and for λ\lambda close to 1, with the zonotope radius reflecting only inevitable drift and noise (Akhormeh et al., 21 Sep 2025).
  • Proper tuning of λ\lambda is critical: λ=1\lambda=1 for static systems, 0.95<λ<10.95 < \lambda < 1 for slow drift. Too small λ\lambda risks unbounded covariance growth.
  • When regressors are uncertain, their uncertainty can be incorporated as an additional generator (Akhormeh et al., 21 Sep 2025).
  • Benefits over classical set-membership RLS include online operation, efficient order reduction tools, and explicit reachability analysis in presence of both modeling and measurement uncertainties.
  • Limitations include potential under-approximation if initial zonotope does not contain the true parameter, the need for manual drift/noise tuning, and the cost of generator management in high-dimensional regimes (Cohen et al., 2023).

Summary Table: Comparison of Key ZRLS Attributes

Attribute EF-ZRLS (Akhormeh et al., 21 Sep 2025) Continuous-Time ZRLS (Cohen et al., 2023)
Generator Growth Linear in kk, requires order reduction Fixed (q=pq = p), no growth
Flexibility (Time-Varying/Nonlinear) Supports LTV and nonlinear Lipschitz via local linearization Focused on constant-θ\theta, affine in initial value
Computational Cost O(p2)O(p^2) per update, plus reduction overhead O(p2)O(p^2) per update
Coverage Guarantee Holds if noise/drift assumptions and initial zonotope correct Holds if initial zonotope contains θ\theta
Direct Reachability Integration Yes Yes

ZRLS, particularly EF-ZRLS, forms the foundation for online, data-driven reachability and robust safety analysis for uncertain and adaptive control systems, marrying classical recursive estimation with modern set-theoretic techniques (Akhormeh et al., 21 Sep 2025, Cohen et al., 2023).

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 Zonotopic Recursive Least Squares.