Convergence and Variance Analysis of Semi-Parametric Weighted Null-Space Fitting

Miguel Galrinho, Cristian R. Rojas, Håkan Hjalmarsson

Abstract

Standard system identification methods often provide inconsistent estimates with closed-loop data. With the prediction error method (PEM), this issue is solved by using a noise model that is flexible enough to capture the noise spectrum. However, a too flexible noise model increases model complexity, leading to numerical instability. This paper investigates the weighted null-space fitting (WNSF) method, which models the system using a non-parametric ARX model followed by weighted least squares reduction. We prove that this semi-parametric approach provides consistent estimates in closed loop and asymptotically efficient estimates in open loop, even without explicitly estimating a parametric noise model. A new geometric variance analysis tool is introduced to derive the asymptotic covariance. Simulation studies demonstrate that WNSF offers significant advantages in speed and reliability over traditional PEM when dealing with complex noise.

Introduction

System identification aims to construct mathematical models of dynamic systems from observed input-output data. A significant challenge arises in closed-loop identification, where the input is correlated with the output noise due to feedback. Traditional approaches like the Prediction Error Method (PEM) require a sufficiently flexible noise model to ensure consistency. However, increasing the number of parameters in the noise model often transforms the identification into a non-convex optimization problem prone to local minima—a "numerical nightmare."

This paper explores the Semi-Parametric Weighted Null-Space Fitting (WNSF) method as a robust alternative. WNSF avoids non-linear optimization by using a multi-step linear approach, achieving the statistical benefits of high-order noise modeling without the associated numerical risks.

The WNSF Method

WNSF decomposes the identification process into three primary stages:

  1. High-Order ARX Estimation: A high-order (non-parametric) Auto-Regressive with Exogenous variables (ARX) model is fitted using linear least squares. This step "soaks up" the system dynamics and complex noise.
  2. Model Reduction: The high-order model is reduced to the desired parametric structure.
  3. Weighted Refinement: Parameters are re-estimated using weighted least squares to minimize variance.

The "semi-parametric" nature of the method is key: in the reduction step, a parametric noise model does not need to be estimated if it is not of interest. The paper provides formal mathematical proof that this shortcut still results in consistent and efficient estimates.

Theoretical Contributions: Geometric Variance Analysis

To prove their results, the authors developed a new technical result for geometric variance analysis. By treating variance analysis as a projection problem in a Hilbert space, they were able to handle "non-square" matrices that previous geometric proofs could not. This tool allowed them to derive the asymptotic covariance for the estimation error obtained in closed loop, showing it is optimal for an infinite-order noise model.

Simulation Results

The theoretical results were validated through Monte Carlo simulations comparing WNSF against various PEM implementations (using AIC, BIC, and non-parametric criteria).

Performance and Reliability

In scenarios with complex, high-order noise models, WNSF demonstrated superior reliability. While PEM variants often produced outliers (failed identifications) when the noise model was complex, WNSF remained stable across the test runs.

Comparison of FIT values for WNSF and PEM variants across different sample sizes N. Arrows indicate the number of outliers below the plot range.

As shown in the box plots, WNSF (shaded grey) provides competitive FIT performance with significantly fewer catastrophic failures (outliers) compared to PEM variants, especially as the sample size $N$ increases.

Computational Efficiency

One of the most striking advantages of WNSF is its speed. Because it relies on iterative least squares rather than general non-linear search algorithms like Gauss-Newton, it is far less likely to fail or get stuck in a bad local minimum.

Mean computation time (in seconds) for WNSF and PEM variants.

In simulations, WNSF was roughly 30x to 500x faster than PEM. For a sample size of $N=10,000$, WNSF took approximately 1.3 seconds, while a non-parametric PEM took nearly 4 minutes.

Conclusion

This paper establishes a rigorous theoretical foundation for Semi-Parametric WNSF, proving its consistency and efficiency in closed-loop system identification. By decoupling system dynamics from noise modeling through a multi-step linear approach, WNSF provides a numerically robust and computationally efficient alternative to traditional PEM. The newly developed geometric analysis tools also offer a promising framework for analyzing other system identification algorithms beyond WNSF.

Summary updated

BibTeX
@article{galrinho2019convergence,
  author = {Miguel Galrinho and Cristian R. Rojas and Håkan Hjalmarsson},
  title = {{Convergence and Variance Analysis of Semi-Parametric Weighted Null-Space Fitting}},
  journal = {Automatica},
  year = {2019},
  doi = {10.1016/j.automatica.2018.12.039},
}
Figure