Zonotopic Recursive Least Squares
- 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 is defined as the affine image of the unit ball:
where is the center, and the generator matrix. In the context of ZRLS, the current set-valued uncertainty for the unknown parameter at time is represented by a zonotope , ensuring for all (Akhormeh et al., 21 Sep 2025).
A crucial property of zonotopes is closure under affine transformation. For and affine map , the image is again a zonotope: . 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:
with and 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 (where is the forgetting factor), and the generator corresponding to model drift is appended:
where 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:
where is the generator for measurement noise.
(c) Gain Computation:
To minimize zonotope size as measured by the trace of a "covariance" proxy, , the optimal gain is given by
with and .
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) |
3. Set-Membership Guarantees and Error Bounds
ZRLS ensures that the true parameter always remains within the current zonotope enclosure, provided initial and assumed uncertainty sets are correct. The update
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 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 is used, ensuring that
where has a fixed, reduced number of columns . 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,
by stacking and into the parameter vector and running EF-ZRLS. The reachable set at each step is then a zonotope
where and denote process and model mismatch uncertainties (Akhormeh et al., 21 Sep 2025).
For nonlinear, Lipschitz systems,
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:
where evolves as a "quantity of uncertainty." The affine form
and the property that
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 , 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 close to 1, with the zonotope radius reflecting only inevitable drift and noise (Akhormeh et al., 21 Sep 2025).
- Proper tuning of is critical: for static systems, for slow drift. Too small 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 , requires order reduction | Fixed (), no growth |
| Flexibility (Time-Varying/Nonlinear) | Supports LTV and nonlinear Lipschitz via local linearization | Focused on constant-, affine in initial value |
| Computational Cost | per update, plus reduction overhead | per update |
| Coverage Guarantee | Holds if noise/drift assumptions and initial zonotope correct | Holds if initial zonotope contains |
| 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).