Download PDF
Research Article Open Access 30 Nov 2026

Neural adaptive multiple-fading extended Kalman filter for fully observed nonlinear systems

Views:27 Downloads:0 Cited: 0
Complex Eng. Syst. 2026, 6, 19. 10.20517/ces.2026.27
Article Notes

Graphical Abstract

Abstract

A single fading factor applies uniform covariance inflation across state directions, which can limit tracking performance under direction-dependent disturbances. This paper proposes a neural adaptive proportional multiple-fading extended Kalman filter (EKF) for nonlinear systems with full-state measurements. A gated recurrent unit uses temporal filtering statistics to adapt state-wise fading proportions. A bilateral covariance inflation scheme maintains the symmetry and positive semidefiniteness of the predicted covariance. The network is trained offline through the filtering recursion using simulated true states, and its weights remain fixed during online estimation. In the main three-tank simulation, the proposed method achieves an overall RMSE of 0.01031170 m, compared with 0.02348845 m for EKF, 0.01129267 m for strong tracking filter, and 0.01138233 m for fixed-proportion SMFEKF. Additional controlled simulations examine state jumps and process-noise covariance mismatch separately and jointly. The results support the use of adaptive state-wise covariance adjustment under the evaluated conditions.

Keywords

Strong tracking filteringfull-dimensional fading factorsgated recurrent unitstate estimationextended Kalman filter
Reprints
Download PDF

1. INTRODUCTION

State estimation aims to reconstruct the internal states of a system using measurement data contaminated by noise [1,2]. It is a key technology in fields such as intelligent transportation [3,4,5,6], target tracking [7,8], robot localization and navigation [9], fault detection in networked systems [10], and industrial process monitoring [11,12,13]. Kalman filtering and its nonlinear extensions have been widely applied because of their simple structures and high computational efficiency [14,15]. However, conventional filtering methods generally rely on accurate system models and noise statistics. Unmodeled dynamics, parameter variations, and abrupt state changes can cause a mismatch between the prediction model and the actual state evolution. This mismatch reduces estimation accuracy and may cause filter divergence [16,17].

The strong tracking filter (STF) improves the responsiveness of the filter to state variations and model mismatch by introducing a time-varying fading factor into the predicted error covariance. Its fundamental principle is to assess the reliability of the current prediction model based on the statistical characteristics of the innovation. When an abnormal innovation is identified, the predicted error covariance is inflated, thereby increasing the filter gain and enhancing the state-tracking capability [18,19,20]. Since no explicit anomaly model is required, the STF has demonstrated favorable adaptability in maneuvering target tracking, integrated navigation, and state estimation for complex dynamical systems [21,22].

Nevertheless, the conventional STF typically employs a single scalar fading factor to uniformly inflate the predicted error covariance [23,24]. This mechanism reduces the multidimensional innovation information to its trace and therefore does not fully characterize the directional differences in model mismatch. Under the fully observed setting considered in this study, model mismatch or abrupt state changes may primarily affect only a subset of the state directions. However, the conventional STF determines a single scalar fading factor based on aggregate innovation statistics and applies uniform covariance inflation across all state directions. Consequently, although the scalar fading factor may respond to an abnormal innovation, it cannot independently adjust the fading strength according to the different correction demands of individual states. This may result in insufficient compensation in disturbed directions or unnecessary covariance inflation in unaffected directions. Therefore, a direction-dependent fading mechanism is desirable to improve state-tracking performance under the full-state measurement assumption[25,26,27].

To address this issue, Zhou et al. proposed the suboptimal multiple-fading extended Kalman filter (SMFEKF) [26]. This approach replaces the scalar fading factor with multiple fading factors. These factors form a diagonal fading matrix that adjusts the predicted error covariance along different state directions. However, the conventional SMFEKF relies on fixed fading-factor proportions determined from prior knowledge. Although effective for stable variation patterns, these proportions cannot adapt when the dominant mismatch direction changes. Consequently, insufficient fading in anomalous directions may cause tracking lag, whereas excessive fading in nominal directions may amplify noise and estimation fluctuations. This dependence on directional prior knowledge limits its adaptability to rapid, time-varying state changes [27,28,29,30].

Beyond conventional EKF- and STF-based designs, several related approaches address complementary challenges in nonlinear state estimation. Unscented and central-difference Kalman filters improve nonlinear propagation without relying solely on first-order Jacobian linearization [2,29], but they do not inherently provide learned state-wise fading allocation. Variational Bayesian adaptive filters estimate unknown noise statistics, and multiple-fading-factor VB methods combine statistical adaptation with directional covariance adjustment [18,27]. Maximum-correntropy-based strong-tracking filters improve robustness to non-Gaussian measurement errors and outliers [8,21]. Learning-based state estimation has also been investigated through data-driven representations and adaptive estimation parameters, as reviewed in [20]. For example, Jin et al. combine attention-based representation learning with an LSTM and online EM parameter estimation [31], whereas Liu and Ding develop a Newton-search-based iterative identification method with a Kalman-principle observer for bilinear stochastic systems [32]. These methods address different aspects of nonlinear and adaptive estimation. The present work focuses specifically on learning state-wise fading proportions from temporal filtering statistics while retaining an explicit EKF-based estimation structure under full-state measurements.

Unlike the residual statistics and chi-square test used in [25], the proposed method employs a gated recurrent unit (GRU) to learn temporal dependencies among heterogeneous filtering features and adapt state-wise fading proportions accordingly. The temporal features are used to adapt the fading proportions across state directions. The resulting covariance adjustment is evaluated through state-estimation errors and individual fading-factor trajectories.

Specifically, this paper proposes an NMFEKF. The method is built on a nominal extended Kalman filter. It extracts statistical features from the filtering process, including the innovation, the nominal state correction, the diagonal entries of the predicted covariance, the diagonal entries of the innovation covariance, the normalized innovation squared (NIS), and the control input. These features are then organized into a time-series input. A GRU generates the proportional coefficients associated with the fading factors for different state dimensions online. These coefficients are then used to form a full-dimensional fading matrix, which adaptively regulates the predicted error covariance in a direction-dependent manner. Unlike the single-scalar fading mechanism used in conventional STF, the proposed method can allocate fading strength according to the differences in model mismatch across state directions. This helps improve tracking performance in the affected directions while avoiding unnecessary covariance inflation in unaffected ones. To ensure that the adjusted predicted covariance still satisfies the structural requirements of the filtering recursion, a bilateral symmetric inflation scheme is adopted to construct the corrected predicted error covariance. The resulting covariance is then used directly in the Kalman gain computation and state update. In this way, the neural network is embedded as a covariance adjustment module in the filtering recursion. This preserves the interpretability of model-driven filtering while improving its adaptability to time-varying mismatches.

Reliable state estimation is a prerequisite for safety monitoring and feedback control in complex engineering systems. Under abrupt disturbances or model mismatch, delayed or biased state estimates may obscure rapid process changes and adversely affect downstream monitoring, alarm generation, and control decisions. By adapting covariance inflation across observed state directions, the proposed method aims to improve the responsiveness of state estimation under the evaluated conditions. This contribution is relevant to the state-estimation layer of safety enhancement. However, the present study does not establish a formal closed-loop safety guarantee, and its effectiveness has not yet been validated using measurements from the physical test rig.

The main contributions of this paper are summarized as follows:

● A GRU-based mechanism is introduced to adapt the state-wise fading proportions from temporal filtering statistics. This mechanism provides state-dependent covariance adjustment under the full-state measurement assumption.

● Based on the filtering statistical features, this article constructs a mechanism that generates proportional coefficients online using a GRU.

● Design a bilateral symmetric covariance inflation strategy. It integrates both the learning process and state estimation objective of the fading factor proportions on the premise of ensuring the validity of the covariance structure.

The rest of this paper is organized as follows. Section 2 presents the problem formulation and the related filtering background. Section 3 describes the proposed GRU-based neural network-driven full-dimensional strong tracking filter and its implementation details. Section 4 presents multi-operating-condition simulations of a three-tank system and analyzes the corresponding results. Finally, Section 5 concludes the paper and discusses future research directions.

2. PROBLEM FORMULATION AND FILTERING MODEL

In this section, we first formulate the nonlinear discrete-time stochastic system and specify the associated noise assumptions. We then review the nominal EKF and conventional STF recursions, highlighting the limitations that motivate the proposed full-dimensional fading-factor design.

2.1 Nonlinear discrete-time stochastic system model

Consider the following discrete-time nonlinear system:

$$ \mathbf{x}_{k+1} = \mathbf{f}\!\left(k,\mathbf{x}_k,\mathbf{u}_k\right) + \boldsymbol{\Gamma}_k\mathbf{w}_k, $$

$$ \mathbf{y}_{k+1} = \mathbf{h}\!\left(\mathbf{x}_{k+1}\right) + \mathbf{v}_{k+1}, $$

here, $$\mathbf{x}_k\in\mathbb{R}^{n} $$ is the state vector, $$\mathbf{u}_k\in\mathbb{R}^{p} $$ is the control input, and $$\mathbf{y}_k\in\mathbb{R}^{m} $$ is the measurement vector. The process noise is $$\mathbf{w}_k\in\mathbb{R}^{q} $$, the measurement noise is $$\mathbf{v}_k\in\mathbb{R}^{m} $$, and $$\boldsymbol{\Gamma}_k\in\mathbb{R}^{n\times q} $$ maps the process noise into the state equation. The measurement function is $$\mathbf{h}: \mathbb{R}^{n}\rightarrow \mathbb{R}^{m} $$. The nonlinear discrete-time state-space representation in (1)-(2) follows the standard formulation used in nonlinear state estimation [14].

The noise sequences have zero means and satisfy

$$ \begin{aligned} \mathbb{E}[\mathbf{w}_k]&=\mathbf{0}, & \mathbb{E}[\mathbf{v}_k]&=\mathbf{0},\\ \mathbb{E}[\mathbf{w}_k\mathbf{w}_j^{T}] &=\mathbf{Q}_k\delta_{kj}, & \mathbb{E}[\mathbf{v}_k\mathbf{v}_j^{T}] &=\mathbf{R}_k\delta_{kj},\\ \mathbb{E}[\mathbf{w}_k\mathbf{v}_j^{T}] &=\mathbf{0}. \end{aligned} $$

Here, $$\mathbf{Q}_k\in\mathbb{R}^{q\times q} $$ and $$\mathbf{R}_k\in\mathbb{R}^{m\times m} $$ are the process-noise and measurement-noise covariance matrices, respectively. The symbol $$\delta_{kj} $$ denotes the Kronecker delta. The initial state satisfies

$$ \mathbb{E}[\mathbf{x}_0]=\bar{\mathbf{x}}_0, \qquad \mathbb{E} \left[ (\mathbf{x}_0-\bar{\mathbf{x}}_0) (\mathbf{x}_0-\bar{\mathbf{x}}_0)^T \right] =\mathbf{P}_{0|0}. $$

2.2 Basic recursion of the EKF

The nominal EKF recursion in Eqs. (3)-(13) provides the basis for the multiple-fading extension [26]. Under the full-state measurement assumption adopted in this study, the measurement Jacobian reduces to the identity matrix. For the nonlinear system in (1) and (2), the one-step state prediction and state-transition Jacobian are

$$ \hat{\mathbf{x}}_{k+1\mid k} = \mathbf{f}\!\left(k,\hat{\mathbf{x}}_{k\mid k},\mathbf{u}_k\right), $$

$$ \mathbf{F}_k = \left. \frac{\partial \mathbf{f}\!\left(k,\mathbf{x},\mathbf{u}_k\right)} {\partial \mathbf{x}} \right|_{\mathbf{x}=\hat{\mathbf{x}}_{k\mid k}}. $$

The nominal prediction-error covariance, obtained without fading factors, is

$$ \mathbf{P}^{0}_{k+1\mid k} = \mathbf{F}_k\mathbf{P}_{k\mid k}\mathbf{F}_k^{\mathrm{T}} + \boldsymbol{\Gamma}_k\mathbf{Q}_k \boldsymbol{\Gamma}_k^{\mathrm{T}}. $$

In this study, we consider a full-state measurement setting, where all state components are directly measured with additive measurement noise. Accordingly, the measurement function is given by \(\mathbf{h}(\mathbf{x})=\mathbf{x}\), and the measurement Jacobian satisfies \(\mathbf{H}_{k+1}=\mathbf{I}_n\). Under this assumption, the predicted measurement and innovation are given by

$$ \hat{\mathbf{y}}_{k+1\mid k} = \mathbf{h}\!\left(\hat{\mathbf{x}}_{k+1\mid k}\right), $$

$$ \boldsymbol{\gamma}_{k+1} = \mathbf{y}_{k+1} - \mathbf{h}\!\left(\hat{\mathbf{x}}_{k+1\mid k}\right). $$

The nominal innovation covariance and Kalman gain are

$$ \begin{aligned} \mathbf{S}_{k+1}^{0} &= \mathbf{H}_{k+1} \mathbf{P}_{k+1\mid k}^{0} \mathbf{H}_{k+1}^{\mathrm{T}} + \mathbf{R}_{k+1} \\ &= \mathbf{P}_{k+1\mid k}^{0} + \mathbf{R}_{k+1}, \end{aligned} $$

$$ \begin{aligned} \mathbf{K}_{k+1}^{0} &= \mathbf{P}_{k+1\mid k}^{0} \mathbf{H}_{k+1}^{\mathrm{T}} \left(\mathbf{S}_{k+1}^{0}\right)^{-1} \\ &= \mathbf{P}_{k+1\mid k}^{0} \left( \mathbf{P}_{k+1\mid k}^{0} + \mathbf{R}_{k+1} \right)^{-1}. \end{aligned} $$

The resulting nominal state correction is

$$ \Delta\hat{\mathbf{x}}_{k+1}^{0} = \mathbf{K}_{k+1}^{0}\boldsymbol{\gamma}_{k+1}. $$

Its component form is

$$ \Delta\hat{\mathbf{x}}_{k+1}^{0} = \begin{bmatrix} \Delta\hat{x}_{1,k+1}^{0} \\ \Delta\hat{x}_{2,k+1}^{0} \\ \vdots \\ \Delta\hat{x}_{n,k+1}^{0} \end{bmatrix}, $$

where $$\Delta\hat{x}_{i, k+1}^{0} $$ is the correction along the $$i $$th state direction. These components are subsequently used to determine the standardized correction intensities and fading-factor proportions. Computing them with the nominal gain avoids an algebraic loop between the final gain and the fading matrix.

The conventional EKF update is

$$ \hat{\mathbf{x}}_{k+1\mid k+1} = \hat{\mathbf{x}}_{k+1\mid k} + \mathbf{K}_{k+1}^{0}\boldsymbol{\gamma}_{k+1}, $$

with covariance update

$$ \mathbf{P}_{k+1\mid k+1} = \left( \mathbf{I}_{n} - \mathbf{K}_{k+1}^{0} \right) \mathbf{P}_{k+1\mid k}^{0}. $$

The EKF performs well with an accurate model and known noise statistics. Under model mismatch or rapid state variations, however, its covariance and gain may respond too slowly.

2.3 Conventional STF

STF improves the responsiveness of the EKF by introducing a time-varying fading factor $$\lambda_k $$ into the prediction-error covariance:

$$ \mathbf{P}_{k\mid k-1} = \lambda_k \mathbf{F}_{k-1} \mathbf{P}_{k-1\mid k-1} \mathbf{F}_{k-1}^{\mathrm{T}} + \boldsymbol{\Gamma}_{k-1} \mathbf{Q}_{k-1} \boldsymbol{\Gamma}_{k-1}^{\mathrm{T}}, $$

where $$\lambda_k \geq 1. $$ When the model is accurate, $$\lambda_k $$ approaches unity and the STF behaves similarly to the EKF. When state or parameter variations occur, a larger $$\lambda_k $$ increases the prediction-error covariance and filter gain, thereby increasing the influence of current measurements. The scalar fading-factor formulation in (14) follows the conventional strong tracking filtering framework [26]. Related developments in strong tracking innovation filtering are discussed in [19].

However, a scalar fading factor uniformly adjusts all state directions and cannot reflect direction-dependent correction demands. This may cause insufficient tracking in rapidly varying directions and excessive adjustment in nominal directions. Therefore, the following section replaces it with an adaptively determined full-dimensional fading matrix.

3. FULL-DIMENSIONAL FADING-FACTOR STF

In this section, we first describe the conventional SMFEKF with fixed fading-factor proportions. We then develop the proposed adaptive STF, in which the proportional coefficients are determined online from the standardized nominal state-correction intensities. The overall architecture of the proposed NMFEKF is illustrated in Figure 1.

Neural adaptive multiple-fading extended Kalman filter for fully observed nonlinear systems

Figure 1. Architecture of NMFEKF.

3.1 Conventional SMFEKF

The conventional SMFEKF generalizes the single fading factor to multiple fading factors and constructs the following fading-factor matrix:

$$ \boldsymbol{\Lambda}_{k} = \operatorname{diag}\!\left( \lambda_{1,k},\lambda_{2,k},\ldots,\lambda_{n,k} \right), \lambda_{i,k}\geq 1. $$

After introducing the full-dimensional fading factors, the corresponding prediction-error covariance is expressed as

$$ \mathbf{P}_{k\mid k-1} = \boldsymbol{\Lambda}_{k} \mathbf{F}_{k-1} \mathbf{P}_{k-1\mid k-1} \mathbf{F}_{k-1}^{\mathrm{T}} + \boldsymbol{\Gamma}_{k-1} \mathbf{Q}_{k-1} \boldsymbol{\Gamma}_{k-1}^{\mathrm{T}}. $$

The conventional method requires fixed proportional coefficients $$\alpha_i $$ to be prescribed according to prior knowledge of the system, such that the fading factors satisfy

$$ \lambda_{1,k}:\lambda_{2,k}:\cdots:\lambda_{n,k} = \alpha_1:\alpha_2:\cdots:\alpha_n, $$

namely,

$$ \lambda_{i,k}=\alpha_i c_k, i=1,2,\ldots,n, $$

where $$c_k $$ is a common factor shared by all state directions. To determine the common factor $$c_k $$, define the state-prediction covariance mapping matrix $$\mathbf{M}_{k+1} $$ as

$$ \mathbf{M}_{k+1} = \mathbf{H}_{k+1} \mathbf{F}_{k} \mathbf{P}_{k\mid k} \mathbf{F}_{k}^{\mathrm{T}} \mathbf{H}_{k+1}^{\mathrm{T}} = \mathbf{F}_{k} \mathbf{P}_{k\mid k} \mathbf{F}_{k}^{\mathrm{T}}. $$

The innovation-covariance matching matrix $$\mathbf{N}_{k+1} $$ is defined as

$$ \begin{aligned} \mathbf{N}_{k+1} &= \widehat{\mathbf{S}}_{k+1} - \beta\mathbf{R}_{k+1} - \mathbf{H}_{k+1} \boldsymbol{\Gamma}_{k} \mathbf{Q}_{k} \boldsymbol{\Gamma}_{k}^{\mathrm{T}} \mathbf{H}_{k+1}^{\mathrm{T}} \\ &= \widehat{\mathbf{S}}_{k+1} - \beta\mathbf{R}_{k+1} - \boldsymbol{\Gamma}_{k} \mathbf{Q}_{k} \boldsymbol{\Gamma}_{k}^{\mathrm{T}}, \end{aligned} $$

here, $$\beta\geq 1 $$ is a weakening factor, and $$\widehat{\mathbf{S}}_{k+1} $$ denotes the online estimate of the innovation covariance. It is recursively computed as

$$ \widehat{\mathbf{S}}_{k+1} = \begin{cases} \boldsymbol{\gamma}_{k+1} \boldsymbol{\gamma}_{k+1}^{T}, & k=0,\\[4pt] \rho\widehat{\mathbf{S}}_{k} +(1-\rho) \boldsymbol{\gamma}_{k+1} \boldsymbol{\gamma}_{k+1}^{T}, & k\geq1. \end{cases} $$

Here, $$0 < \rho < 1 $$ is the forgetting factor. The weights $$\rho $$ and $$1-\rho $$ determine the contributions of the previous covariance estimate and the current innovation outer product, respectively. A larger $$\rho $$ gives greater weight to the previous estimate. The simulations use $$\rho=0.90 $$.

According to the definition of the full-dimensional fading-factor matrix and the covariance-matching condition, one obtains

$$ \operatorname{tr}\!\left( \boldsymbol{\Lambda}_{k+1}\mathbf{M}_{k+1} \right) = \operatorname{tr}\!\left(\mathbf{N}_{k+1}\right). $$

Substituting

$$ \boldsymbol{\Lambda}_{k+1} = \operatorname{diag}\!\left( \alpha_{1}c_{k+1}, \alpha_{2}c_{k+1}, \ldots, \alpha_{n}c_{k+1} \right) $$

into (22) yields

$$ c_{k+1} \sum\limits_{i=1}^{n} \alpha_{i}M_{ii,k+1} = \operatorname{tr}\!\left(\mathbf{N}_{k+1}\right), $$

where $$M_{ii, k+1} $$ denotes the $$i $$th diagonal element of $$\mathbf{M}_{k+1} $$. Therefore, the common factor is given by

$$ c_{k+1} = \frac{ \operatorname{tr}\!\left(\mathbf{N}_{k+1}\right) }{ \sum\limits_{i=1}^{n} \alpha_{i}M_{ii,k+1} }. $$

The fixed coefficients $$\alpha_i $$ represent only prespecified state-variation characteristics. They cannot adapt to the directional corrections induced by the current innovation. The proposed method computes $$\alpha_{i, k+1} $$ online from the nominal state-correction vector.

3.2 GRU-based online determination of the proportional coefficients and full-dimensional fading factors

As shown in (5)-(10), the nominal prediction-error covariance $$\mathbf{P}_{k+1\mid k}^{0} $$, the nominal innovation covariance $$\mathbf{S}_{k+1}^{0} $$, and the nominal state-correction vector $$\Delta\hat{\mathbf{x}}_{k+1}^{0} $$ can be sequentially obtained without introducing any fading factors. Based on these nominal filtering quantities, a feature vector is constructed at each time step to characterize the current filtering statistics and their temporal evolution:

$$ \mathbf{z}_{k+1} = \left[ \begin{array}{c} \bar{\boldsymbol{\gamma}}_{k+1} \\ \Delta \hat{\mathbf{x}}^{0}_{k+1} \\ \log \operatorname{diag}\!\left(\mathbf{P}^{0}_{k+1|k}\right) \\ \log \operatorname{diag}\!\left(\mathbf{S}^{0}_{k+1}\right) \\ \mathrm{NIS}_{k+1} \\ \mathbf{u}_{k} \end{array} \right], $$

here, $$\mathbf{z}_{k+1}\in\mathbb{R}^{d_z} $$ is the feature vector, with $$d_z=2n+2m+p+1 $$. The normalized innovation is computed componentwise as

$$ \bar{\gamma}_{i,k+1} = \frac{\gamma_{i,k+1}} {\sqrt{\max\{S^{0}_{ii,k+1},10^{-12}\}}}, \qquad i=1,\ldots,m. $$

The vector $$\Delta\hat{\mathbf{x}}^{0}_{k+1} $$ is the nominal state correction. The terms $$\log\operatorname{diag}(\mathbf{P}^{0}_{k+1|k}) $$ and $$\log\operatorname{diag}(\mathbf{S}^{0}_{k+1}) $$ contain the log-scaled diagonal entries of the nominal predicted state covariance and innovation covariance, respectively. Diagonal entries are floored at $$10^{-12} $$ before taking logarithms. The normalized innovation squared is computed as

$$ \mathrm{NIS}_{k+1} = \boldsymbol{\gamma}_{k+1}^{T} \left(\mathbf{S}^{0}_{k+1}+\delta\mathbf{I}_{m}\right)^{-1} \boldsymbol{\gamma}_{k+1}, \qquad \delta=10^{-10}. $$

To exploit the short-term temporal correlation in the filtering statistics, the feature vectors from the most recent $$L $$ time steps are stacked into a sequence:

$$ \mathbf{Z}_{k} = \left\{ \mathbf{z}_{k-L+2}, \mathbf{z}_{k-L+3}, \ldots, \mathbf{z}_{k+1} \right\}. $$

Accordingly, the network input tensor has dimension

$$ L \times d_z, d_z = m + n + n + m + 1 + p = 2n + 2m + p + 1, $$

where $$L $$ denotes the history-window length and $$d_z $$ is the feature dimension.

Since the proportional coefficients should reflect not only the current filtering statistics but also their temporal evolution, a GRU is adopted as the sequence encoder. Compared with a conventional recurrent neural network, the GRU can capture short-term temporal dependencies with a lower computational burden, which is suitable for online filtering applications. The input sequence $$\mathbf{Z}_{k} $$ is first encoded into a hidden representation $$\mathbf{h}_{k} $$, which is then mapped by a multilayer perceptron (MLP) to an unconstrained output vector:

$$ \mathbf{Z}_{k} \rightarrow \mathrm{GRU} \rightarrow \mathbf{h}_{k} \rightarrow \mathrm{MLP} \rightarrow \mathbf{a}_{k+1}, $$

where

$$ \mathbf{a}_{k+1} = \left[ a_{1,k+1}, a_{2,k+1}, \ldots, a_{n,k+1} \right]^T \in \mathbb{R}^{n}. $$

The network output is then converted into the online proportional coefficients through a bounded element-wise mapping:

$$ \alpha_{i,k+1} = 1 + \sigma\!\left(a_{i,k+1}\right), i=1,2,\ldots,n, $$

where $$\sigma(\cdot) $$ denotes the sigmoid function. Therefore, $$1 < \alpha_{i, k+1} < 2, i=1, 2, \ldots, n. $$ The resulting online proportional-coefficient vector is

$$ \boldsymbol{\alpha}_{k+1} = \left[ \alpha_{1,k+1}, \alpha_{2,k+1}, \ldots, \alpha_{n,k+1} \right]^T. $$

These online proportional coefficients replace the fixed coefficients used in the conventional suboptimal multiple-fading-factor method. Accordingly, the fading factors satisfy

$$ \lambda_{1,k+1} : \lambda_{2,k+1} : \cdots : \lambda_{n,k+1} = \alpha_{1,k+1} : \alpha_{2,k+1} : \cdots : \alpha_{n,k+1}, $$

namely,

$$ \lambda_{i,k+1} = \alpha_{i,k+1} c_{k+1}, i=1,2,\ldots,n, $$

For reference, applying the conventional covariance-matching condition to the adaptive proportional coefficients yields

$$ c_{k+1} = \frac{\mathrm{tr}\!\left(\mathbf{N}_{k+1}\right)} {\sum\nolimits_{i=1}^{n}\alpha_{i,k+1} M_{ii,k+1}}, $$

where $$M_{ii, k+1} $$ denotes the $$i $$th diagonal element of $$\mathbf{M}_{k+1} $$.

To satisfy the strong-tracking requirement, each fading factor is constrained to be no smaller than one:

$$ \lambda_{i,k+1} = \max\!\left(1,\alpha_{i,k+1}c_{k+1}\right), i=1,2,\ldots,n. $$

The full-dimensional fading-factor matrix is then constructed as

$$ \mathbf{\Lambda}_{k+1} = \operatorname{diag} \left( \lambda_{1,k+1}, \lambda_{2,k+1}, \ldots, \lambda_{n,k+1} \right). $$

It should be noted that Eqs. (33)-(36) describe the covariance-matching-based proportional fading formulation. In the numerical implementation of NMFEKF, the final fading factors are determined using a hybrid statistical–neural mechanism that incorporates statistical coefficient estimation, GRU modulation, temporal smoothing, and directional and global innovation-based adjustments. These operations constitute integral components of the implemented NMFEKF rather than optional numerical procedures. Their complete formulations and parameter settings are provided in Section 4.

Unlike the one-sided covariance inflation in the conventional formulation, a two-sided symmetric covariance inflation scheme is adopted to preserve the symmetry and positive semidefiniteness of the adjusted prediction-error covariance. Specifically, the covariance recursion is written as

$$ \mathbf{P}_{k+1|k} = \mathbf{\Lambda}_{k+1}^{1/2} \mathbf{F}_{k}\mathbf{P}_{k|k}\mathbf{F}_{k}^{T} \mathbf{\Lambda}_{k+1}^{1/2} + \mathbf{\Gamma}_{k}\mathbf{Q}_{k}\mathbf{\Gamma}_{k}^{T}. $$

Since $$\mathbf{\Lambda}_{k+1} $$ is diagonal with nonnegative entries, the matrix $$\mathbf{\Lambda}_{k+1}^{1/2} $$ is well defined. Therefore, if $$\mathbf{P}_{k|k} $$ is symmetric positive semidefinite, then the adjusted prediction-error covariance $$\mathbf{P}_{k+1|k} $$ remains symmetric positive semidefinite as well.

Based on the adjusted prediction-error covariance in (38), the innovation covariance, Kalman gain, and posterior state estimate are updated as

$$ \mathbf{S}_{k+1} = \mathbf{H}_{k+1}\mathbf{P}_{k+1|k}\mathbf{H}_{k+1}^{T} + \mathbf{R}_{k+1}, $$

$$ \mathbf{K}_{k+1} = \mathbf{P}_{k+1|k}\mathbf{H}_{k+1}^{T}\mathbf{S}_{k+1}^{-1}, $$

$$ \hat{\mathbf{x}}_{k+1|k+1} = \hat{\mathbf{x}}_{k+1|k} + \mathbf{K}_{k+1}\boldsymbol{\gamma}_{k+1}. $$

During offline training, the GRU and the filtering recursion are jointly unrolled to form a differentiable computation graph, allowing the state-estimation loss and fading regularization term to update the network parameters through backpropagation. After training, the network weights are frozen for online estimation. The deployed filter uses the available measurements and filtering-derived features to generate adaptive fading coefficients without requiring ground-truth states or online network retraining.

The network is trained to improve transient state-tracking performance while suppressing unnecessary fading in nominal directions. Let $$\mathbf{x}_{k+1}^{\ast} $$ denote the ground-truth state. The loss function is defined as

$$ \mathcal{L} = \frac{1}{N} \sum\limits_{k=0}^{N-1} \left\| \hat{\mathbf{x}}_{k+1|k+1} - \mathbf{x}_{k+1}^{\ast} \right\|_2^2 + \eta \frac{1}{N} \sum\limits_{k=0}^{N-1} \left\| \mathbf{\Lambda}_{k+1} - \mathbf{I}_{n} \right\|_{F}^{2}, $$

where the first term penalizes the posterior state-estimation error, and the second term regularizes the fading intensity so as to reduce excessive covariance inflation in state directions that remain nominal; $$\eta > 0 $$ is a weighting coefficient. By minimizing (42), the network learns online proportional coefficients that allocate stronger fading to mismatch-dominant directions while limiting unnecessary adjustment elsewhere.

4. SIMULATION RESULTS AND ANALYSIS

The proposed method is evaluated using a nonlinear three-tank system. Figure 2 presents a photograph of the physical three-tank platform for reference. The system consists of three interconnected tanks, liquid-level sensors, pumps, and adjustable valves. The liquid levels of the three tanks are selected as the system states.

Neural adaptive multiple-fading extended Kalman filter for fully observed nonlinear systems

Figure 2. Physical three-tank reference platform. Photograph taken by one of the authors. All quantitative results reported in this study were obtained from numerical simulations.

4.1 Simulation setup

A nonlinear three-tank system is used to evaluate the proposed method. The system state is defined as

$$ \mathbf{x}_k = \begin{bmatrix} h_{1,k} & h_{2,k} & h_{3,k} \end{bmatrix}^{T}, $$

where $$h_{1, k} $$, $$h_{2, k} $$, and $$h_{3, k} $$ denote the liquid levels of the three tanks at the $$k $$th sampling instant. The initial true state and initial estimated state are

$$ \mathbf{x}_0 = \begin{bmatrix} 0.63 & 0.46 & 0.25 \end{bmatrix}^{T}\ \mathrm{m}, $$

and

$$ \hat{\mathbf{x}}_0 = \begin{bmatrix} 0.60 & 0.43 & 0.22 \end{bmatrix}^{T}\ \mathrm{m}, $$

respectively. The sampling interval and simulation duration are $$\Delta t = 0.20\ \mathrm{s} $$ and $$T=120\ \mathrm{s} $$, respectively, with $$N=\frac{T}{\Delta t} $$ sampling intervals.

Thus, $$N=600 $$ and the sampled trajectory contains $$N+1=601 $$ states, including the initial state. Measurements are available for all three liquid levels: $$\mathbf{y}_k=\mathbf{x}_k+\mathbf{v}_k $$, with $$\mathbf{H}=\mathbf{I}_3 $$.

4.1.1 Three-tank dynamics

Let $$q_{13} $$ and $$q_{32} $$ denote signed inter-tank flows, and let $$q_{10} $$, $$q_{20} $$, and $$q_{30} $$ denote outlet flows. The continuous-time balance equations used in the simulator are

$$\begin{equation*} \begin{aligned} A_1\dot h_1 &= q_1-q_{10}-q_{13},\\ A_2\dot h_2 &= q_2+q_{32}-q_{20},\\ A_3\dot h_3 &= q_{13}-q_{32}-q_{30}. \end{aligned} \end{equation*} $$

For the coefficient vector $$\mathbf{b}=(b_{13}, b_{32}, b_{10}, b_{20}, b_{30}) $$, the implemented flow laws are

$$\begin{equation*} \begin{aligned} q_{13}&=b_{13}\sqrt{2g}\,s_{\epsilon}(h_1-h_3),& q_{32}&=b_{32}\sqrt{2g}\,s_{\epsilon}(h_3-h_2),\\ q_{i0}&=b_{i0}\sqrt{2g\max(h_i,0)},\quad i=1,2,3,& s_{\epsilon}(z)&=\operatorname{sgn}(z)\sqrt{|z|+10^{-12}}. \end{aligned} \end{equation*} $$

All tank areas are $$A_1=A_2=A_3=0.0154\; \mathrm{m}^2 $$, and $$g=9.81\; \mathrm{m}\, \mathrm{s}^{-2} $$. The nominal orifice coefficients used by every filter are $$(a_{13}, a_{32}, a_{10}, a_{20}, a_{30})=(5.0, 5.0, 4.0, 4.2, 4.5)\times10^{-5}\; \mathrm{m}^2 $$. In the original main simulation, the plant coefficients are obtained by multiplying these nominal values by $$(1.16, 0.86, 1.05, 0.91, 1.09) $$, respectively. The four additional controlled cases use the nominal coefficients for both plant and filter.

The two deterministic inflows, expressed in $$\mathrm{m}^3\, \mathrm{s}^{-1} $$ with $$t $$ in seconds, are

$$\begin{equation*} \begin{aligned} q_1(t)&=1.60\times10^{-4}\bigl[1+0.05\sin(0.060t)+0.02\cos(0.110t)\bigr],\\ q_2(t)&=1.30\times10^{-4}\bigl[1+0.08\sin(0.075t+0.35)-0.025\cos(0.090t)\bigr]. \end{aligned} \end{equation*} $$

Writing the balance equations as $$\dot{\mathbf{x}}=\boldsymbol{\phi}_{\mathbf{b}}(\mathbf{x}, \mathbf{u}) $$, the discrete simulator uses forward Euler integration and the componentwise projection $$\Pi_+(\mathbf{z})=\max(\mathbf{z}, 10^{-6}\mathbf{1}) $$:

$$\begin{equation*} \begin{aligned} f_{\mathbf{b}}(\mathbf{x},\mathbf{u}) &=\Pi_+\!\left(\mathbf{x}+\Delta t\,\boldsymbol{\phi}_{\mathbf{b}}(\mathbf{x},\mathbf{u})\right),\\ \mathbf{x}_{k+1} &=\Pi_+\!\left(f_{\mathbf{b}}(\mathbf{x}_k,\mathbf{u}_k)+\mathbf{w}_k+\mathbf{d}_{k+1}\right). \end{aligned} \end{equation*} $$

The process and measurement noises are zero-mean Gaussian sequences, independent across time and from each other. The stated process covariance is a discrete-step covariance; it is not multiplied by $$\Delta t $$ again.

4.1.2 Disturbance implementation and noise covariances

Five nominal disturbance onsets are specified at $$0.46 $$ s, $$20 $$ s, $$45 $$ s, $$70 $$ s, and $$95 $$ s, with the following amplitude vectors in meters:

$$ \Delta \mathbf{x}(0.46) = \begin{bmatrix}0.100 & 0 & 0\end{bmatrix}^{T}, $$

$$ \Delta \mathbf{x}(20) = \begin{bmatrix}0.102 & 0 & 0\end{bmatrix}^{T}, $$

$$ \Delta \mathbf{x}(45) = \begin{bmatrix}0 & 0.077 & 0\end{bmatrix}^{T}, $$

$$ \Delta \mathbf{x}(70) = \begin{bmatrix}0 & 0 & -0.078\end{bmatrix}^{T}, $$

and

$$ \Delta \mathbf{x}(95) = \begin{bmatrix}-0.077 & -0.101 & 0.102\end{bmatrix}^{T}. $$

For onset $$\tau $$, the disturbance-window lengths in sampling intervals are $$D_{\tau}=1, 2, 4, 3, 5 $$, respectively. The increment actually added to the plant is

$$\begin{equation*} \mathbf{d}_{k+1}=\sum\limits_{\tau} \mathbf{1}_{\{0\le t_{k+1}-\tau<D_{\tau}\Delta t\}} \exp\!\left[-0.35\frac{t_{k+1}-\tau}{\Delta t}\right] \Delta\mathbf{x}(\tau). \end{equation*} $$

These vectors specify increments within each disturbance window. The net level change also includes the hydraulic evolution and process noise. In particular, $$0.46 $$ s is not on the sampling grid: the first affected sample is at $$0.60 $$ s, where the first increment is $$\exp[-0.35(0.60-0.46)/0.20]\, [0.100, 0, 0]^{T}\approx[0.07827, 0, 0]^{T} $$ m. The original onset and decay rule is retained.

Before a complete GRU input window is available, the filter uses the statistical fading rule. Feature samples are collected from 0.20 s onward. The first complete 14-sample window becomes available at 2.80 s, after which GRU modulation is applied. The initial disturbance therefore affects the filtering statistics before the first neural update.

The true process-noise covariance is

$$ \mathbf{Q}_{\mathrm{true}} =\operatorname{diag}\left(2.2\times10^{-5},2.8\times10^{-5},2.5\times10^{-5}\right), $$

while the filter uses the nominal process-noise covariance

$$ \mathbf{Q}_{\mathrm{filter}} =\operatorname{diag}\left(0.55\times10^{-5},0.55\times10^{-5},0.55\times10^{-5}\right), $$

to create model mismatch between the plant and the estimator. The measurement-noise covariance and initial estimation-error covariance are

$$ \mathbf{R}=\operatorname{diag}\left(3.2\times10^{-4},3.2\times10^{-4},3.2\times10^{-4}\right), $$

and

$$ \mathbf{P}_0=\operatorname{diag}\left(10^{-3},10^{-3},10^{-3}\right), $$

respectively, with covariance entries in $$\mathrm{m}^2 $$. For STF, SMFEKF, and NMFEKF, $$\rho=0.90 $$ and $$\beta=1.60 $$. The SMFEKF baseline uses fixed proportions $$\boldsymbol{\alpha}=[1.0, 1.5, 1.9]^{T} $$ and bilateral covariance inflation. These values are fixed for the reported experiments.

4.1.3 Numerical covariance propagation and fading settings

The covariance propagation uses the following numerical transition matrix. Define $$c_{ij}=a_{ij}\sqrt{2g} $$, $$o_i=a_{i0}\sqrt{2g}/[2\sqrt{\max(h_i, 10^{-12})}] $$, $$d_{13}=\operatorname{sgn}(h_1-h_3)/[2\sqrt{|h_1-h_3|+10^{-12}}] $$, and $$d_{32}=\operatorname{sgn}(h_3-h_2)/[2\sqrt{|h_3-h_2|+10^{-12}}] $$. At the current posterior estimate, the matrix used for covariance propagation is

$$ \mathbf{F}_k=\mathbf{I}_3+\Delta t \begin{bmatrix} -(o_1+c_{13}d_{13})/A_1&0&c_{13}d_{13}/A_1\\ 0&-(o_2+c_{32}d_{32})/A_2&c_{32}d_{32}/A_2\\ c_{13}d_{13}/A_3&c_{32}d_{32}/A_3&-(o_3+c_{13}d_{13}+c_{32}d_{32})/A_3 \end{bmatrix}. $$

The online innovation statistic in this implementation is initialized as $$\mathbf{V}_1=\boldsymbol{\gamma}_1\boldsymbol{\gamma}_1^{T} $$ and subsequently updated as $$\mathbf{V}_{k+1}=\rho\mathbf{V}_k+(1-\rho)\boldsymbol{\gamma}_{k+1}\boldsymbol{\gamma}_{k+1}^{T} $$. Let $$\mathbf{M}_{k+1}=\mathbf{F}_k\mathbf{P}_{k|k}\mathbf{F}_k^{T} $$ and $$\mathbf{C}_{k+1}=\mathbf{V}_{k+1}-\beta\mathbf{R}-\mathbf{Q}_{\mathrm{filter}} $$. STF uses $$\max\{1, \operatorname{tr}(\mathbf{C}_{k+1})/\operatorname{tr}(\mathbf{M}_{k+1})\} $$ as its scalar fading factor. SMFEKF uses $$c=\operatorname{tr}(\mathbf{C}_{k+1})/\sum_i\alpha_iM_{ii, k+1} $$ and $$\lambda_i=\max(1, c\alpha_i) $$. A nonpositive or numerically negligible denominator, using a threshold of $$10^{-12} $$, gives unit fading.

The statistical coefficient used in the online NMFEKF is

$$\begin{equation*} \alpha^{\mathrm{fast}}_{i,k+1}=\operatorname{clip}_{[1.02,1.98]} \!\left(1+\sigma\!\left[2.8\left(0.58|\xi_i|+0.42\bar r_i-0.55\right)\right]\right), \end{equation*} $$

where $$\xi_i=\Delta\hat x_i^0/\sqrt{\max(P^0_{ii}, 10^{-12})} $$. The quantity $$\bar r_i $$ is the mean absolute normalized innovation over the most recent, at most 14, samples. Superscript $$0 $$ denotes the nominal update before fading.

The numerical NMFEKF implementation combines a statistical proportion $$\boldsymbol{\alpha}^{\mathrm{fast}} $$ with the GRU output $$\boldsymbol{\alpha}^{\mathrm{GRU}} $$. The network output is clipped to $$[1.02, 1.98] $$ before mixing. Once a complete feature window is available, the statistical and neural weights are $$0.75 $$ and $$0.25 $$, respectively. Before that, the statistical proportion is used alone. The resulting vector is smoothed with weights $$0.25 $$ on the previous vector and $$0.75 $$ on the current vector, and clipped to $$[1.02, 1.98] $$; the initial previous vector is $$1.10\mathbf{1} $$. For the reported run, the final fading factors are

$$\begin{equation*} \begin{aligned} r_i&=\max\!\left(1,\frac{\max(C_{ii,k+1},0)}{\max(M_{ii,k+1},10^{-12})}\right),\\ r_g&=\max\!\left(1,\frac{\max[\operatorname{tr}(\mathbf{C}_{k+1}),0]}{\operatorname{tr}(\mathbf{M}_{k+1})}\right),\\ \lambda_{i,k+1}&=\operatorname{clip}_{[1,5]} \left(0.50\alpha_{i,k+1}+0.30r_i+0.20r_g\right). \end{aligned} \end{equation*} $$

Here $$r_g=1 $$ when its denominator is at most $$10^{-12} $$. This is the numerical allocation used in the reported run. It includes the statistical coefficient, GRU modulation, smoothing, and upper clipping.

Following the covariance inflation and state update in Eqs. (38-(41), the actual numerical recursion is completed by

$$\begin{aligned} \mathbf{P}^{-}_{k+1} &=\mathcal{P}_{\delta}\!\left(\boldsymbol{\Lambda}_{k+1}^{1/2} \mathbf{M}_{k+1}\boldsymbol{\Lambda}_{k+1}^{1/2} +\mathbf{Q}_{\mathrm{filter}}\right),\\ \mathbf{S}_{k+1}&=\mathcal{P}_{\delta}(\mathbf{P}^{-}_{k+1}+\mathbf{R}),\\ \mathbf{K}_{k+1}&=\mathbf{P}^{-}_{k+1}(\mathbf{S}_{k+1}+\delta\mathbf{I}_3)^{-1},\\ \hat{\mathbf{x}}_{k+1|k+1}&=\hat{\mathbf{x}}_{k+1|k}+\mathbf{K}_{k+1}\boldsymbol{\gamma}_{k+1},\\ \mathbf{P}_{k+1|k+1}&=\mathcal{P}_{\delta}\!\left[(\mathbf{I}_3-\mathbf{K}_{k+1})\mathbf{P}^{-}_{k+1}\right]. \end{aligned} $$

For $$\delta=10^{-10} $$, $$\mathcal{P}_{\delta} $$ first symmetrizes its argument and then replaces eigenvalues below $$\delta $$ by $$\delta $$. The same projection is used for nominal covariances. This projection is used for numerical covariance regularization.

4.1.4 Network training

The GRU input is constructed from the filtering statistics introduced in Section 3, including the normalized innovation, nominal correction, logarithms of the diagonal entries of the nominal predicted covariance and innovation covariance, the normalized innovation squared, and the control input. The resulting feature dimension is $$d_z=3+3+3+3+1+2=15 $$. A sliding window of length $$L=14 $$ is used to form the GRU input sequence. The network adopts a lightweight three-layer GRU with hidden size $$d_h=32 $$ and dropout rate $$p=0.10 $$. The output head has widths $$32\rightarrow32\rightarrow16\rightarrow3 $$, with ReLU activations between its linear layers. The final three outputs are mapped through $$1+\sigma(\cdot) $$. The network contains 19, 011 trainable parameters. Each online evaluation re-encodes the current 14-sample window with a zero initial GRU hidden state; network weights are frozen, and dropout is disabled during filtering. The normalized innovation is computed componentwise as $$\gamma_i/\sqrt{S^0_{ii}} $$, and diagonal covariance entries are floored at $$10^{-12} $$ before division or logarithms. No additional learned feature normalization is used.

The network is trained offline and then embedded online into the filtering recursion. Adam is used as the optimizer, with a learning rate of $$2\times10^{-4} $$, weight decay of $$10^{-5} $$, and 100 training epochs. Training uses 20 complete simulated episodes. Each episode is processed in temporal order. The episode order is shuffled at each epoch.

The training objective is Eq. (42), with $$\eta=10^{-4} $$. The first term uses the simulated true states as offline supervision. The second term penalizes the final fading matrix $$\boldsymbol{\Lambda}_{k+1} $$, rather than the proportional vector alone. Adam's weight decay acts on the network parameters and is separate from this fading penalty. True states are not inputs to the online filter.

Gradients pass through the GRU and the filtering recursion over blocks of 14 sampling intervals. The state, covariance, innovation history, and feature window are carried forward between blocks. Their gradients are detached at block boundaries. Adam is updated after each block, and the gradient norm is clipped at 10. Thus, the implementation uses truncated backpropagation through time. The 14-step gradient block is distinct from the 14-sample GRU input window. Each optimizer update uses a single temporal block.

The loss plotted for each epoch is the accumulated state-error and fading-penalty sum divided by $$20N $$. Parameters are updated during the epoch, so the curve is an optimization history. The final network after 100 epochs is used for testing. This run uses no validation-based model selection or early stopping. Python, NumPy, and PyTorch use initial seed 42. The network uses single precision, and the state and covariance calculations use double precision on the CPU.

The 20 training trajectories use noise seeds 1042-1061. Their initial filter estimates are perturbed independently, with standard deviation $$0.006 $$ m per state and seeds 2042-2061. The main test uses noise seed 1041 and the fixed initial estimate stated above. The split is made by complete trajectory. No main-test measurements enter training. The controlled tests use seeds 6042-6061, which are also disjoint from the training seeds.

The main test retains the deterministic input and disturbance schedule used in training. It therefore tests independent noise realizations under that schedule. The controlled cases introduce different combinations of disturbance presence and process-noise covariance. All use the same frozen GRU. Disturbances with previously unseen onset times or amplitudes are left for further evaluation.

Figure 3 shows an early decrease in the training objective, followed by smaller fluctuations and a gradual decline. Its vertical range is narrow. The curve describes training behavior; the estimation results below provide the separate performance evaluation.

Neural adaptive multiple-fading extended Kalman filter for fully observed nonlinear systems

Figure 3. Training objective in Eq. (42) over 100 epochs, with $$\eta=10^{-4} $$.

For quantitative evaluation, the state-wise RMSE and overall RMSE are defined as

$$ \operatorname{RMSE}_{i} =\sqrt{\frac{1}{N+1}\sum\limits_{k=0}^{N} \left(x_{i,k}-\hat{x}_{i,k}\right)^2},\quad i=1,2,3, $$

and

$$ \operatorname{RMSE}_{\mathrm{overall}} =\sqrt{\frac{1}{3(N+1)}\sum\limits_{i=1}^{3}\sum\limits_{k=0}^{N} \left(x_{i,k}-\hat{x}_{i,k}\right)^2}. $$

Both metrics include the initial estimation error. The program also computes the overall mean absolute error, $$[3(N+1)]^{-1}\sum_{i, k}|\hat x_{i, k}-x_{i, k}| $$, and maximum absolute error, $$\max_{i, k}|\hat x_{i, k}-x_{i, k}| $$. The maximum is taken over all states and sampled times. Error histories and filter diagnostics complement these scalar metrics. The difference in time indexing between the training loss in Eq. (42) and the evaluation metrics in Eqs. (55)–(56) is intentional. Specifically, Eq. (42) evaluates the N posterior estimates obtained after filtering updates $$(k = 1, ..., N) $$, excluding the initial estimate, which is specified before filtering and is independent of the trainable network parameters. In contrast, Eqs. (55)-(56) include all $$N+1 $$ sampled states $$(k = 0, ..., N) $$ to evaluate the estimation performance over the complete trajectory, including the initial estimation error. The same evaluation criterion is applied consistently to all compared methods.

4.2 Results and analysis

Figure 4 shows the main simulation, which combines state disturbances, process-noise covariance mismatch, and physical-parameter differences. All four filters follow the overall liquid-level evolution. EKF shows clear lag around several abrupt changes. The fading-based filters follow these transitions more promptly. Table 1 gives the errors for this held-out trajectory. NMFEKF has the lowest state-wise RMSE, overall RMSE, MAE, and maximum absolute error in this main case.

Neural adaptive multiple-fading extended Kalman filter for fully observed nonlinear systems

Figure 4. True and estimated liquid levels for EKF, STF, SMFEKF, and NMFEKF in the original main simulation. Dashed lines mark the nominal disturbance onsets

Table 1

State estimation errors in the main simulation (test seed 1041; unit: m)

Method RMSE$$_{\bf{h_1}} $$ RMSE$$_{\bf{h_2}} $$ RMSE$$_{\bf{h_3}} $$ RMSE$$_{\mathrm{\textbf{overall}}} $$
EKF 0.02074938 0.02740113 0.02176612 0.02348845
STF 0.01095379 0.01214774 0.01072474 0.01129267
SMFEKF 0.01100252 0.01210851 0.01100003 0.01138233
NMFEKF 0.00984967 0.01090607 0.01015061 0.01031170
Additional metric EKF STF SMFEKF NMFEKF
MAE 0.01245074 0.00865755 0.00877285 0.00783625
Maximum absolute error 0.18428974 0.07994841 0.07847777 0.06279611

Figure 5 gives local views near 20, 45, 70, and 95 s. The first three panels show disturbances concentrated in $$h_1 $$, $$h_2 $$, and $$h_3 $$, respectively. The lower panels show all three states near 95 s. Here, $$h_1 $$ and $$h_2 $$ decrease while $$h_3 $$ increases. The fading-based filters capture these changes more promptly than the EKF. Their curves are close over parts of the transient intervals, while differences remain visible in local peaks and fluctuations. These local views complement the full-horizon errors in Table 1.

Neural adaptive multiple-fading extended Kalman filter for fully observed nonlinear systems

Figure 5. Local trajectory comparisons around the main disturbance windows. The panels show $$h_1 $$ near 20 s, $$h_2 $$ near 45 s, $$h_3 $$ near 70 s, and all three states near 95 s.

Figure 6 shows $$\hat h_{i, k}-h_{i, k} $$ directly. EKF has pronounced error excursions around several jumps. The fading-based filters reduce these excursions in the main simulation. Near 95 s, the signs of the errors differ across the three states because the imposed changes have different directions. Away from the disturbance windows, the errors fluctuate around zero.

Neural adaptive multiple-fading extended Kalman filter for fully observed nonlinear systems

Figure 6. State-estimation error histories, $$\hat h_{i, k}-h_{i, k} $$, for the four filters in the original main simulation.

Figure 7 shows the proportional coefficients and final fading factors for each state. The right-hand panels present $$\lambda_{i, k+1} $$ for $$i=1, 2, 3 $$. SMFEKF uses the fixed proportions $$[1.0, 1.5, 1.9]^T $$, while the NMFEKF proportions vary with the filtering history. The fading factors respond differently across states and disturbance windows. The NMFEKF factors remain bounded by 5 under the implemented clipping rule, while SMFEKF shows larger peaks at several events. These trajectories provide evidence of state-dependent covariance adjustment in the tested full-state measurement setting. They describe the filter's response to prediction errors and do not directly identify the physical source of those errors. Clipping can change the trace-matching equality, so that equality is not assumed to remain exact after clipping.

Neural adaptive multiple-fading extended Kalman filter for fully observed nonlinear systems

Figure 7. Proportional coefficients and final fading factors for SMFEKF and NMFEKF. The NMFEKF coefficients are obtained through statistical–GRU fusion and temporal smoothing, while the final fading factors incorporate directional and global innovation-based adjustments and are clipped to [1, 5].

Figure 8 combines overall RMSE with three filter diagnostics. They are $$\mathrm{NIS}_k=\boldsymbol{\gamma}_k^T(\mathbf{S}_k+\delta\mathbf{I}_3)^{-1}\boldsymbol{\gamma}_k $$, the minimum eigenvalue of $$\mathbf{P}_{k|k} $$, and $$\|\mathbf{K}_k\|_F $$. NIS and gain norms increase around several disturbance windows. This shows how the measurement update changes when prediction errors grow. The minimum covariance eigenvalues remain positive under the stated numerical projection. Positivity alone does not establish estimation accuracy or stability. The dotted NIS bounds, 0.2158 and 9.3484, are the 0.025 and 0.975 quantiles of a chi-square distribution with three degrees of freedom. They are reference bounds for this adaptive filter. The RMSE bars describe the single main-test trajectory.

Neural adaptive multiple-fading extended Kalman filter for fully observed nonlinear systems

Figure 8. Main-simulation RMSE and filter diagnostics: overall RMSE, normalized innovation squared, minimum posterior covariance eigenvalue, and Kalman-gain Frobenius norm.

4.2.1 Controlled simulations

Additional controlled simulations separate state jumps from process-noise covariance mismatch. Four cases are evaluated: neither factor, jumps only, covariance mismatch only, and both factors together. All use full-state measurements with $$\mathbf{H}=\mathbf{I}_3 $$. The plant and filters use the same nominal physical coefficients in these cases. The sampling interval, duration, control inputs, measurement-noise covariance, and initial conditions are unchanged.

In the matched-noise cases, the actual covariance is $$\mathbf{Q}_{\mathrm{filter}} $$. In the mismatched-noise cases, it is $$\mathbf{Q}_{\mathrm{true}} $$. Every filter still uses $$\mathbf{Q}_{\mathrm{filter}} $$. When enabled, the disturbances retain their original timings, amplitudes, durations, and decay rule. The same trained GRU is frozen for all four cases.

Each case uses 20 noise realizations with seeds 6042-6061. For each seed, the standardized process-noise samples and measurement-noise samples are shared across the four cases. All four filters receive the same measurements within each case. Table 2 reports the mean and sample standard deviation of the 20 overall RMSE values. This variability is across noise realizations for one trained network.

Table 2

Overall RMSE in the four controlled cases (unit: m). Each cell gives the mean, with the standard deviation in parentheses below, over 20 paired noise realizations

State jumps Process-noise covariance EKF STF SMFEKF NMFEKF
Disabled Matched 0.0062544
(0.0002557)
0.0063906
(0.0002976)
0.0063864
(0.0002982)
0.0074178
(0.0002934)
Enabled Matched 0.0221882
(0.0003858)
0.0084371
(0.0004150)
0.0085366
(0.0004101)
0.0089032
(0.0003337)
Disabled Mismatched 0.0100170
(0.0003898)
0.0097976
(0.0003708)
0.0098204
(0.0003596)
0.0090074
(0.0002725)
Enabled Mismatched 0.0236458
(0.0006060)
0.0107738
(0.0004511)
0.0108840
(0.0004379)
0.0101024
(0.0003240)

To assess statistical significance, the 20 independent noise realizations, rather than individual sampling points, were treated as the statistical units. Paired mean RMSE differences were defined as $$\mathrm{RMSE}(\mathrm{STF/SMFEKF})-\mathrm{RMSE}(\mathrm{NMFEKF}) $$. The differences and conservative 95% confidence-interval bounds (mean $$\pm $$ half-width, in $$10^{-3} $$ m) were $$-1.027\pm0.277 $$ and $$-1.031\pm0.277 $$ for the matched case without jumps, and $$-0.466\pm0.350 $$ and $$-0.367\pm0.348 $$ for the matched case with jumps. For the corresponding mismatched cases, the values were $$0.790\pm0.301 $$ and $$0.813\pm0.296 $$, and $$0.671\pm0.363 $$ and $$0.782\pm0.357 $$, respectively. These conservative bounds were derived from the marginal standard deviations under an approximate normality assumption, rather than exact paired differences. The results indicate that NMFEKF performs better under covariance mismatch but not under matched conditions.

The matched-noise rows show the effect of adding state jumps. The rows without jumps show the effect of process-noise covariance mismatch. The final row evaluates their joint presence. NMFEKF has the lowest mean RMSE in the two cases with process-noise covariance mismatch. These results distinguish covariance-mismatch compensation from abrupt-change tracking. They are reported separately from the main simulation, which also includes physical-parameter differences.

5. CONCLUSIONS

This paper proposed a neural adaptive proportional multiple-fading extended Kalman filter for nonlinear systems with full-state measurements. A lightweight GRU uses temporal filtering statistics to modulate state-wise fading proportions. A two-sided symmetric inflation scheme maintains the predicted covariance structure. The network is trained offline using posterior state errors and a fading penalty, and its weights are frozen during online filtering. In the main three-tank simulation, NMFEKF achieved the lowest state-wise and overall RMSE among the four compared filters. Local trajectory views, error histories, fading-factor curves, and filter diagnostics further described its response. Four controlled cases examined state jumps and process-noise covariance mismatch separately and jointly. Their settings and results were distinguished from the original combined main simulation. Future work will investigate unseen disturbance schedules, partially observed systems, unknown noise statistics, and stability analysis. Experimental validation using the physical three-tank platform will also be pursued to further assess the practical applicability of the proposed method.

DECLARATIONS

Authors' contributions

Writing - original draft, methodology: Lin, S.

Investigation, validation: Liu, M.; Shi, Y.

Supervision, funding acquisition: He, X.

Availability of data and materials

The raw data supporting the conclusions of this article will be made available by the authors on request.

AI and AI-assisted tools statement

During the preparation of this manuscript, the AI tool ChatGPT (version 5.6 Sol, released 2026-07-09) was used solely for language editing. The tool did not influence the study design, data collection, analysis, interpretation, or the scientific content of the work. All authors take full responsibility for the accuracy, integrity, and final content of the manuscript.

Financial support and sponsorship

This work was supported in part by the National Natural Science Foundation of China under grant 62473223, and in part by the Beijing Natural Science Foundation under grant L241016.

Conflicts of interest

He, X. is an associate editor of the journal Complex Engineering Systems and is also a Guest Editor of the Special Issue "Safety Enhancement for Complex Engineering Systems" in the same journal. He, X. was not involved in any steps of editorial processing, notably including reviewers' selection, manuscript handling and decision making. Shi, Y. is affiliated with CRRC Qingdao Sifang Co., Ltd., while the other authors have declared that they have no conflicts of interest.

Ethical approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Copyright

© The Author(s) 2026.

REFERENCES

1. Sivaraman, D.; Pillai, B. M.; Wiratkapun, C.; Suthakorn, J.; Ongwattanakul, S. Dynamic order selection analysis in adaptive polynomial Kalman filtering: implementation and integration of sensor data and hybrid image processing for bio-inspired needle systems. Syst. Sci. Control. Eng. 2025, 13, 2546839.

2. Zhang, Y.; Liu, G.; Song, X. Unscented recursive three-step filter based unbiased minimum-variance estimation for a class of nonlinear systems. Int. J. Syst. Sci. 2025, 56, 227-36.

3. Bekiaris-Liberis, N.; Roncoli, C.; Papageorgiou, M. Highway traffic state estimation with mixed connected and conventional vehicles. IEEE. Trans. Intell. Transport. Syst. 2016, 17, 3484-97.

4. Li, T.; Han, X.; Ma, J. Cooperative perception for estimating and predicting microscopic traffic states to manage connected and automated traffic. IEEE. Trans. Intell. Transport. Syst. 2022, 23, 13694-707.

5. Olariu, S.; El-Tawab, S. Introduction to the special issue on real-time traffic state estimation. IEEE. Trans. Intell. Transport. Syst. 2023, 24, 1356-8.

6. Liu, B.; Shi, H.; Jia, D.; et al. Collaborative sensing and communication for intelligent connected vehicles: a comprehensive survey. IEEE. Commun. Surv. Tutorials. 2026, 28, 3125-64.

7. Baradaran Khalkhali, M.; Vahedian, A.; Sadoghi Yazdi, H. Vehicle tracking with Kalman filter using online situation assessment. Robot. Auton. Syst. 2020, 131, 103596.

8. Bai, S.; Hu, J.; Yan, Y.; Shen, L.; He, Z.; Yin, G. An integrated approach for vehicle state estimation under non-ideal conditions using adaptive strong tracking maximum correntropy criterion EKF. IEEE. Trans. Veh. Technol. 2024, 73, 14604-116.

9. Talbot, W.; Nubert, J.; Tuna, T.; et al. Continuous-time state estimation methods in robotics: a survey. IEEE. Trans. Robot. 2025, 41, 4975-99.

10. Chen, W.; Hu, J.; Wu, Z.; Ma, S. A survey on fault detection for networked systems under communication constraints. Syst. Sci. Control. Eng. 2025, 13, 2460434.

11. Anagnostou, G.; Kunjumuhammed, L. P.; Pal, B. C. Dynamic state estimation for wind turbine models with unknown wind velocity. IEEE. Trans. Power. Syst. 2019, 34, 3879-90.

12. Yu, S.; Emami, K.; Fernando, T.; Iu, H. H. C.; Wong, K. P. State estimation of doubly fed induction generator wind turbine in complex power systems. IEEE. Trans. Power. Syst. 2016, 31, 4935-44.

13. Yang, D.; Han, H.; Karimi, H. R.; Zhu, Y. Back-propagation-based multivariate state estimation technique: A lightweight adaptive condition monitoring approach for wind turbine. Neurocomputing 2025, 611, 128693.

14. Bai, X.; Ge, Q.; Zeng, P. DCM_MCCKF: A non-Gaussian state estimator with adaptive kernel size based on CS divergence. Neurocomputing 2025, 617, 128809.

15. Cai, S.; Liang, J. Recursive filtering for nonlinear systems with relay communication, energy harvesting and correlated noises. Int. J. Netwo. Dyn. Intell. 2025, 4, 100021.

16. Zou, L.; Song, B.; Suo, J.; Li, N.; Wang, C. A survey on outlier-resistant state estimation and its applications. Syst. Sci. Control. Eng. 2025, 13, 2474471.

17. Wang, W.; Kan, X.; Ding, D.; Liu, H.; Gao, X. Distributed correntropy Kalman filtering over sensor networks with FlexRay-based protocols. Int. J. Syst. Sci. 2025, 56, 1347-59.

18. Xu, K.; Shi, W.; Yan, F.; Li, C.; Li, S. Heave motion prediction with variational Bayesian-based strong tracking Kalman filter. Ocean. Eng. 2026, 354, 124967.

19. Kiani, M.; Ahmadvand, R. The strong tracking innovation filter. IEEE. Trans. Aerosp. Electron. Syst. 2022, 58, 3662-9.

20. Liu, M.; He, X. Machine learning-embeded Bayesian filtering: a review. Int. J. Netw. Dyn. Intell. 2026, 5, 12.

21. Wang, Q.; Zhou, D.; Li, Y.; Li, S. Maximum correntropy criterion-based robust fuzzy adaptive unscented Kalman filter for target tracking with model mismatches. IEEE. Trans. Automat. Sci. Eng. 2026, 23, 5814-27.

22. Zhou, D. H.; Frank, P. M. A stability guaranteed distributionally robust adaptive Kalman filter for dual uncertainties in model and noise. IEEE. Trans. Instrum. Meas. 2026, 75, 6509313.

23. Zhou, D. H.; Frank, P. M. Strong tracking filtering of nonlinear time-varying stochastic systems with coloured noise: application to parameter estimation and empirical robustness analysis. Int. J. Control. 1996, 65, 295.

24. Liang, Y.; Chen, Y.; Pan, D.; Song, H. Privacy-preserving distributed entropy filtering for microgrids with innovation decomposition. Int. J. Netw. Dyn. Intell. 2025, 4, 100004.

25. Geng, Y.; Wang, J. Adaptive estimation of multiple fading factors in Kalman filter for navigation applications. GPS. Solut. 2008, 12, 273-9.

26. Zhou, D. H.; Xi, Y. G.; Zhang, Z. J. A suboptimal multiple fading extended Kalman filter. Acta. Autom. Sin. 1991, 17, 689-95. Available from: https://www.aas.net.cn/article/id/14540 [Last accessed on 18 Nov 2026].

27. Pan, C.; Gao, J.; Li, Z.; Qian, N.; Li, F. Multiple fading factors-based strong tracking variational Bayesian adaptive Kalman filter. Measurement 2021, 176, 109139.

28. Wu, W.; Zeng, J.; Jian, Q.; et al. A Li-ion battery state of charge estimation strategy based on the suboptimal multiple fading factor extended Kalman filter algorithm. Processes 2024, 12, 998.

29. Ma, H.; Lu, Z.; Zhang, X.; Liao, W. Strong tracking central difference Kalman filter for CubeSat attitude estimation with status mutation. Trans. Inst. Meas. Control. 2021, 43, 3519-30.

30. Ge, H.; Zou, L.; Chen, H.; Guo, J. Finite-time bounded state estimation for time-varying systems over FlexRay networks with probabilistic bit flips. Int. J. Netw. Dyn. Intell. 2025, 4, 100023.

31. Jin, X.; Sun, T.; Chen, W.; Ma, H.; Wang, Y.; Zheng, Y. Parameter adaptive non-model-based state estimation combining attention mechanism and LSTM. ICCK. Trans. Intell. Syst. 2024, 1, 40-8.

32. Liu, S.; Ding, F. Iterative estimation algorithm for bilinear stochastic systems by using the Newton search. ICCK. Trans. Intell. Syst. 2025, 2, 76-84.

Cite This Article

Research Article
Open Access
Neural adaptive multiple-fading extended Kalman filter for fully observed nonlinear systems

How to Cite

Lin, S.; Liu, M.; Shi, Y.; He, X. Neural adaptive multiple-fading extended Kalman filter for fully observed nonlinear systems. Complex Eng. Syst. 2026, 6, 19. https://dx.doi.org/10.20517/ces.2026.27

Download Citation

If you have the appropriate software installed, you can download article citation data to the citation manager of your choice. Simply select your manager software from the list below and click on download.

Export Citation File

Type of Import

Tips on Downloading Citation

This feature enables you to download the bibliographic information (also called citation data, header data, or metadata) for the articles on our site.

Citation Manager File Format

Use the radio buttons to choose how to format the bibliographic data you're harvesting. Several citation manager formats are available, including EndNote and BibTex.

Type of Import

If you have citation management software installed on your computer your Web browser should be able to import metadata directly into your reference database.

Direct Import: When the Direct Import option is selected (the default state), a dialogue box will give you the option to Save or Open the downloaded citation data. Choosing Open will either launch your citation manager or give you a choice of applications with which to use the metadata. The Save option saves the file locally for later use.

Indirect Import: When the Indirect Import option is selected, the metadata is displayed and may be copied and pasted as needed.

Data & Comments

Data

Views
27
Downloads
0
Citations
0
Comments
0
0

Comments

Comments must be written in English. Spam, offensive content, impersonation, and private information will not be permitted. If any comment is reported and identified as inappropriate content by OAE staff, the comment will be removed without notice. If you have any queries or need any help, please contact us at [email protected].