BaLSI: Batch Least-Squares Identification
- BaLSI is a parameter estimation method that uses finite batches to minimize a quadratic cost function, yielding closed-form or convex solutions.
- It is applicable to linear and nonlinear parameter-affine models, ensuring unbiased and consistent estimates under persistent excitation.
- The method supports adaptive and safety-critical control through efficient, event-triggered updates and reduced computational complexity compared to recursive approaches.
Batch Least-Squares Identification (BaLSI) is a class of identification methods that estimate unknown parameters in linear or nonlinear models by minimizing a quadratic cost constructed from a finite batch of observed data. BaLSI approaches offer closed-form or convex solutions and play a central role in system identification, adaptive control, and model-based safety-critical control, with rigorous statistical and implementation properties across both deterministic and stochastic settings.
1. Mathematical Foundations and Formulations
BaLSI is applicable in both linear time-series models and nonlinear systems with parameters affine in the regression vector. In discrete-time autoregressive (AR) models, BaLSI estimates parameters by forming a normal equation from a stack of regression equations over a batch: where is the output, the regressor (composed of lagged outputs or inputs), the parameter vector, and the innovation process. For AR(1)/AR(2) models this yields the canonical stacked regression , with batch-least-squares cost
whose stationary point gives the closed-form solution
provided is nonsingular (Wafi, 2023).
For matrix-parameterized linear systems, BaLSI generalizes to
where closed-form minimizer is
with analysis and computational simplifications compared to vec-permutation-based treatments (Lai et al., 2024).
In nonlinear, parameter-affine systems
integration over a time interval or batch yields batch regression forms in the parameter, with BaLSI updates solving
where are batch-integrated data matrices (Karafyllis et al., 2018, Shen et al., 2024).
2. Algorithmic Structure and Implementation
The BaLSI procedure consists of the following fundamental steps:
- Batch Selection: Choose batch size and, when desirable, the number of independent data batches .
- Data Aggregation: Stack inputs and outputs into regression form ( or , or in nonlinear cases cumulative , ).
- Solve Normal Equations: Compute (or matrix ) via closed-form inversion or constrained projection if is singular or parameter constraints apply.
- Empirical Analysis: If using multiple independent batches, compute means and covariances over batch estimates to study accuracy and convergence properties.
- Update and Convergence Check: Iterate with different batch sizes or groupings until stabilization criteria are met (Wafi, 2023).
For regulation- or safety-triggered BaLSI (event-triggered identification), parameter updates are activated when Lyapunov or safety conditions are violated beyond a threshold, integrating all data since the last update (Karafyllis et al., 2018, Shen et al., 2024).
3. Statistical Properties and Convergence
Under standard linear regression with zero-mean white noise, the BaLSI estimate is unbiased with covariance
Variance scales as ; aggregation across multiple batches further reduces estimator uncertainty. For colored (correlated) noise processes, bias and variance increase, and the simple covariance expression no longer applies, motivating the use of pre-whitening or more sophisticated prediction error methods in system identification (Wafi, 2023).
In the matrix case, persistence of excitation in the regressor sequence ( positive definite) is both necessary and sufficient for consistent identification: when the regressor is persistently exciting and measurement noise is sufficiently small (Lai et al., 2024).
In event-triggered adaptive control, BaLSI guarantees finite-time constancy of parameters: under batch-level excitation (rank increase in the batch Gram matrix), the true parameter is estimated within at most correction events (where is the parameter dimension), after which certainty equivalence prevails and no further correction is possible (Karafyllis et al., 2018, Shen et al., 2024).
4. Computational Complexity and Practicality
BaLSI methods are highly efficient. In the matrix setting, direct matrix BaLSI avoids the cubic computational and quadratic memory overhead of large Kronecker products or vec-permutation representations:
- Matrix BaLSI: Complexity , memory
- Vec-permutation: Complexity , memory
Thus, direct matrix BaLSI achieves orders-of-magnitude savings in both computation and storage relative to vec-permutation approaches (Lai et al., 2024). All batch-least-squares methods benefit from closed-form updates, and can be extended to recursive (online) identification via recursions on Gram matrices and sufficient statistics.
For nonlinear, parameter-affine systems, the batch integrals required for BaLSI admit real-time computation via auxiliary ODEs, supporting event-driven updates and adaptive regulation or safety enforcement (Karafyllis et al., 2018, Shen et al., 2024).
5. Application Areas and Key Results
AR process identification
Simulation studies demonstrate that, for AR(1) and AR(2) processes of the form
BaLSI produces unbiased minimum-variance estimates under white noise. Increasing batch size roughly halves the variance. When the true model is AR(2), AR(2) BaLSI achieves lower mean-squared error than AR(1), but estimation variance increases in the presence of colored noise (Wafi, 2023).
Adaptive control
In regulation-triggered schemes, BaLSI delivers finite-time constancy of parameter estimates and ensures the closed-loop system tracks the nominal system associated with the final estimate, not the true parameter. Uniform exponential convergence rates are achieved without persistent excitation or parameter observability, as shown in state regulation for the wing-rock model (Karafyllis et al., 2018).
Adaptive safety-critical control
BaLSI enables robust parameter identification in adaptive safety control with Control Barrier Functions (CBFs) and Control Lyapunov Functions (CLFs), ensuring forward invariance of safety constraints, bounding the number of correction events, and excluding Zeno behavior. Lyapunov-based parameter adaptation schemes may become ill-posed or overly conservative when relaxation terms are introduced for constraint handling, but BaLSI remains well-defined and data-driven even under such relaxations (Shen et al., 2024).
Model Predictive Control (MPC)
Matrix-form BaLSI is particularly effective in online identification of multiple-input, multiple-output (MIMO) systems for indirect adaptive MPC; avoiding Kronecker product overhead enables scalable real-time parameter adaptation in predictive-cost adaptive control architectures (Lai et al., 2024).
6. Theoretical Guarantees and Limitations
In batch LS with white noise, unbiasedness and minimum variance are guaranteed. Under batch-level persistent excitation, convergence to the true parameter is secured even in the presence of (sufficiently small) noise. In the nonlinear, event-triggered cases, BaLSI delivers finite-time exact cancellation of parameter error—the number of necessary correction events is upper bounded by the parameter dimension . Parameter updates are triggered only by batch-level violation of trajectory constraints or Lyapunov/safety thresholds. After the final batch correction, error remains orthogonal to all future regressors, enforcing certainty equivalence for the adaptive controller (Karafyllis et al., 2018, Shen et al., 2024).
In practice, biases and variances may still arise due to colored noise, insufficient excitation, or model misspecification. When safety or regulation triggers are used, BaLSI updates are in general sparse (“event-triggered”) rather than continuous, which may reduce adaptation speed in highly time-varying systems.
| Setting | Guarantee (White Noise) | Guarantee (Colored Noise) |
|---|---|---|
| AR(1/2) Time Series | Unbiased, min-variance, var | Bias, increased variance; MSE higher |
| Nonlinear Event-Triggered | Finite-time constancy, certainty-equivalence | At most correction events; noise robustness demonstrated empirically |
| Matrix-ID (MIMO) | Consistency under PE | As above (with caveats) |
7. Connections to Related Methods and Research Directions
BaLSI is closely related to recursive least-squares (RLS), classical prediction error methods, and subspace identification, but distinguished by its batch-data structure and, when event-triggered, its adaptation strategy. In adaptive and safety-critical contexts, BaLSI’s update paradigm contrasts with continuous Lyapunov-based adaptive laws—providing robustness to relaxation terms and constraint violations.
Recent research focuses on:
- Extensions to large-scale and nonlinear/nonaffine systems
- Integration with advanced control architectures (e.g., adaptive MPC, safety-critical QP controllers)
- Reduction of computational overhead via matrix-structured BaLSI (Lai et al., 2024)
- Empirical and theoretical guarantees for adversarial or colored noise
- Management of estimation trade-offs (variance, bias, interval length, batch size)
- Avoidance of overparameterization and exclusion of Zeno phenomena in event-triggered implementations (Shen et al., 2024)
A plausible implication is that BaLSI frameworks will continue to expand in both theory and application, especially where fast, robust, and certifiable parameter estimation is required for control under safety or performance constraints.