Abstract
In this article, an argument Kalman filter is exposed for the fast updating of a neural network. The argument Kalman filter is developed based on the extended Kalman filter, but the recommended scheme has the next two advantages: first, it has less computational complexity because it only employs the Jacobian argument instead of the full Jacobian, second, its gain is ensured to be uniformly stable based on the Lyapunov approach. The commented scheme is applied for the modeling of two Takagi-Sugeno fuzzy models.
Introduction
In the fuzzy models, the fuzzy logic employs values between 0 (it represents totally false facts) and 1 (it represents totally true facts). The binary logic is a particular case of the fuzzy logic. The concepts are associated to fuzzy sets (they are associated to membership functions) in the fuzzification. Once the fuzzified values are gotten, the fuzzy rules are employed to get a fuzzy output. Later, the fuzzy output can be defuzzified to get a discrete value [2, 9, 12, 25]. And the neural networks are computing systems vaguely inspired by the biological neural networks that constitute animal brains. Such models learn dynamic behaviors by considering examples, generally without a specific programming [1, 17, 19, 23]. It would be interesting to take into account neural networks to improve the capacities of fuzzy models, some examples of this goal are described in [7, 21, 22, 29].
On the other hand, there is some development about filters applied for updating of neural networks. The search filters of neural networks are focused in [4] and [28]. In [8, 13, 14], nonlinear filters of neural networks are mentioned. Single-pass active filters of neural networks are employed in [10, 11]. From all filters, the Kalman filter is one of the most famous because it is fast.
The Kalman filter is an approach that exploits a series of measurements observed over time, containing statistical noise and other inaccuracies, and it estimates unknown variables [5]. There is some development about Kalman filters for fast updating of neural networks. The extended Kalman filter of neural networks is discussed in [3, 15, 26]. In [6, 27, 30, 31], the unscented Kalman filter of neural networks is considered. The decoupled Kalman filter of neural networks is addressed in [3, 24, 32]. The aforementioned studies show that several variants of Kalman filters have been recently employed for the fast updating of neural networks. Consequently, any new develop in this creative topic will be well received.
Other Kalman filters are conformed by the decoupled Kalman filter, unscented Kalman filter, extended Kalman filter, and are characterized to employ the full Jacobian, while the argument Kalman filter is characterized to employ the Jacobian argument. Other Kalman filters have two difficulties for fast updating of a neural network: first, they have high computational complexity because they compute many operations in their full Jacobians, second, some of their elements could become unstable. In this article, an argument Kalman filter is exposed to solve the above mentioned difficulties as follows: first, it only uses the Jacobian argument instead of the full Jacobian to compute less operations, second, its gain is ensured to be uniformly stable.
In this article, an argument Kalman filter is employed for the fast updating a neural network. The develop of the exposed approach is based on three aspects. First, the Taylor series is employed to get the modeling dynamic equality, the mathematical expectation of the factors error and the modeling dynamic equality are exploited to get the extended Kalman filter, and the mathematical expectation of factors error and modeling dynamic equality are employed to get the argument Kalman filter. Second, the gain of the argument Kalman filter is ensured to be uniformly stable based on the Lyapunov approach. And third, the computational complexity comparison between the other Kalman filters and argument Kalman filter is analyzed based on the algebraic operations number employed by both approaches.
Finally, the argument Kalman filter is compared with the decoupled Kalman filter, unscented Kalman filter, and extended Kalman filter for the modeling of two Takagi-Sugeno fuzzy models. The importance of mentioned fuzzy models is that they can be applied to chaos or pendulums [15].
The remainder of the article is as follows. The neural network, is explained in the sections 2, In section 3, the extended Kalman filter is developed. The argument Kalman filter, its stability analysis, and its computational complexity are explained in Section 4. In Section 5, the commented scheme is summarized. The argument Kalman filter is applied for modeling of two examples in Section 6. In Section 7, conclusions and future develop areexpressed.
The neural network and its modeling dynamic equality
In this part of the article: first, the neural network will be explained, second, the Taylor series is employed to get the modeling dynamic equality, it will be exploited after in the article.
The neural network
Take into account the Takagi-Sugeno fuzzy models:
In this study, a special neural network is developed which only has one hidden layer. It could be extended to a general multilayer neural network; nevertheless, this study is concentrated in a smaller neural network.
The neural network with the input, hidden, and output layers is:
The modeling error
Figure 1 shows the architecture of the neural network where the input layer, hidden layer, and output layer are observed.

Architecture of the neural network.
The linearization of the neural network is required to get the modeling dynamic equality, this equality will be employed for the develop of the extended Kalman filter and argument Kalmanfilter.
According to the Stone-Weierstrass theorem, the unknown complex map H
k
of (1) is approximated:
Replacing (2) and (4) into (9):
From (11), the next modeling dynamic equality can be gotten:
In the subsequent two sections, two alternative schemes for the updating of the neural network will be represented: the extended Kalman filter and argument Kalman filter.
The extended Kalman filter is developed in this section for the updating of a neural network.
From (12), the states space model is:
with
η
k
Take into account the observer:
Represent the next states error:
Taking into account (3), the next closed loop equality of the observer (15) applied to the model (13) is gotten by the subtraction of (13) to (15):
Tacking into account (16), the next closed loop equality (17) can be represented:
where E{ · } is the mathematical expectation.
with
Replacing (19) and (24) in the last equality of (25):
Adding and subtracting
From the definition of Qk in (24), the minimum value of Qk + 1 is desired to assure the convergence to a minimum value of the factors error
Replacing G of (28) into the last equality of (27):
It is the second equality of (20) by taking into account
It is the first equality of (20) by taking into account
The argument Kalman filter is developed in this section for the updating of a neural network. The difference between the argument Kalman filter and extended Kalman filter is that the extended Kalman filter uses the full Jacobian, while the argument Kalman filter only uses the Jacobian argument instead of the full Jacobian. After, the Lyapunov approach of [16, 18, 20] is employed to analyze the gain stability in the argument Kalman filter. And finally, the computational complexity comparison between the extended Kalman filter and argument Kalman filter will be analyzed.
Approach
The argument Kalman filter developed as the updating map of the neural network (2) for the modeling of Takagi-Sugeno fuzzy models (1) is:
The stability and convergence of the gain in the argument Kalman filter are analyzed by the next Theorem.
Other Kalman filters are conformed by the decoupled Kalman filter, unscented Kalman filter, extended Kalman filter, and are characterized to employ the full Jacobian, while the argument Kalman filter is characterized to employ the Jacobian argument. The computational complexity comparison between the other Kalman filters and the argument Kalman filter will be expressed. Table 1 shows the comparison of the computational complexity in each iteration as are the multiplications number or the algebraic additions number.
The equations to be compared in the other Kalman filters are (22) and (23) where:
The equations to be compared in the argument Kalman filter are (33) and (34) where:
In the Table 1, the comparison results for the computational complexity between the argument Kalman filter of equation (43) and the other Kalman filters of equation (42) are described, where the argument Kalman filter is denoted as AKF, the other Kalman filters are denoted as OKF, the multiplications number are denoted as m, the algebraic additions number are denoted as a, and the total operations number is denoted as To.
Computational complexity
From Table 1, it can be observed for the other Kalman filters the algebraic additions number is 4M and the multiplications number is 10M, and for the argument Kalman filter the algebraic additions number is 0 and the multiplications number is 2M. Then, the argument Kalman filter has less computational complexity than the other Kalman filters because the first has less operations number.

The training for the example 1.

The testing for the example 1.
The steps of the argument Kalman filter for the updating of a neural network are:
The Takagi-Sugeno fuzzy model output Dk+1 is gotten with (1). The Takagi-Sugeno fuzzy model should has the form represented by (1); the term N is chosen in concordance with the inputs number in this Takagi-Sugeno fuzzy model. Take into account the elements; chose terms For each iteration k, the neural network output The behavior of the scheme could be altered by the selection of different values in the elements M ∈ [N, 5N], q1 ∈ [1 × 100, 1 × 104], r1 ∈ [5 × 10-5, 5 × 10-1], or r2 ∈ [1 × 10-2, 5 × 10-1]. The mentioned intervals are chosen based on that they yield the best modeling of the recommended approach.
Simulations
In this part of the article, the exposed scheme is applied for the modeling of two examples. The two examples have the two main characteristics: first, they are Takagi-Sugeno fuzzy models with the structure of equation (1), second, they let to show the advantages of the recommended approach. In all cases, the argument Kalman filter will be compared with the decoupled Kalman filter of [24, 32], the unscented Kalman filter of [6, 30], and the extended Kalman filter of [15, 26]. The differences between the schemes were expressed in the past sections. The goal of the Kalman filters is the fast updating of a neural network, it can produce that the Kalman filters with neural networks reach faster the signal of the Takagi-Sugeno fuzzy models. The next root mean square error denoted as MSE is employed for comparisons [31]:
The Takagi-Sugeno fuzzy model of the example 1 is:
The Takagi-Sugeno fuzzy model of (1), (45) is developed where the inputs are D1,k = D1,k, D2,k = D2,k, the outputs are D1,k+1 = D1,k+1, D2,k+1 = D2,k+1, and the initial conditions are D1,1 = D2,1 = 0.5, rand is a random number between 0 and 1, sech(⋅) and tanh(⋅) are complex maps. The data of 2000 iterations is developed for the training stage and the data of the least 200 iterations is developed for the testing stage.
The decoupled Kalman filter of [24, 32] is represented with elements N = 2, M = 2, q1 = 1 ×101, r1 = 1 ×10-2, r2 = 0.2,
The unscented Kalman filter of [15, 26] is represented with elements N = 2, M = 2, q1 = 1 ×101, r2 = 0.2,
The extended Kalman filter of [24, 32] is represented as (2), (3), (20)-(23) with elements N = 2, M = 2, q1 = 1 ×101, r1 = 1 ×10-2, r2 = 0.2,
The argument Kalman filter of this article is represented as (2), (3), (31)-(34) with elements N = 2, M = 2, q1 = 1 ×101, r1 = 3 ×10-2, r2 = 0.2,
Figures 2 and 3 show the comparisons for the training and testing stages of the decoupled Kalman filter, unscented Kalman filter, extended Kalman filter, and argument Kalman filter. The training and testing MSE comparisons of (44) are shown in Table 2.
MSE Comparisons for the example 1
From Figures 2 and 3, it is observed that the argument Kalman filter upgrades the decoupled Kalman filter, unscented Kalman filter, and extended Kalman filter because the signal of the first reaches faster the signal of the Takagi-Sugeno fuzzy model than the signal of the others. From Table 2, it is observed that the argument Kalman filter achieves better simulation results when compared with the decoupled Kalman filter, unscented Kalman filter, and extended Kalman filter because the MSE is smaller for the first. Then, the argument Kalman filter is the best selection for the modeling in the example 1.

The training for the example 2.
The Takagi-Sugeno fuzzy model of the example 2 is:
The Takagi-Sugeno fuzzy model of (1), (46) is developed where the inputs are D1,k = D1,k, D2,k = D2,k, the outputs are D1,k+1 = D1,k+1, D2,k+1 = D2,k+1, and the initial conditions are D1,1 = D2,1 = 0.5, rand is a random number between 0 and 1, sin(⋅) and cos(⋅) are complex maps. The data of 2000 iterations is developed for the training stage and the data of the least 200 iterations is developed for the testing stage.
The decoupled Kalman filter of [24, 32] is represented with elements N = 2, M = 2, q1 = 1 ×101, r1 = 1 ×10-2, r2 = 0.2,
The unscented Kalman filter of [6, 30] is represented with elements N = 2, M = 2, q1 = 1 ×101, r2 = 0.2,
The extended Kalman filter of [15, 26] is represented as (2), (3), (20)-(23) with elements N = 2, M = 2, q1 = 1 ×101, r1 = 1 ×10-2, r2 = 0.2,
The argument Kalman filter of this article is represented as (2), (3), (31)-(34) with elements N = 2, M = 2, q1 = 1 ×101, r1 = 3 ×10-2, r2 = 0.2,
Figures 4 and 5 show the comparisons for the training and testing stages of the decoupled Kalman filter, unscented Kalman filter, extended Kalman filter, and argument Kalman filter. The training and testing MSE comparisons of (44) are shown in Table 3.

The training for the example 2.
From Figures 4 and 5, it is observed that the argument Kalman filter upgrades the decoupled Kalman filter, unscented Kalman filter, and extended Kalman filter because the signal of the first reaches faster the signal of the Takagi-Sugeno fuzzy model than the signal of the second. From Table 3, it is observed that the argument Kalman filter achieves better simulation results when compared with the decoupled Kalman filter, unscented Kalman filter, and extended Kalman filter because the MSE is smaller for the first. Then, the argument Kalman filter is the best selection for the modeling in the example 2.
MSE Comparisons for the example 2
In this study, a argument Kalman filter was recommended for the fast updating of a neural network. The develop of the exposed scheme was expressed based on the exploitation of the Taylor series and mathematical expectation approaches. From simulations, it was observed that the commented scheme achieves better results when compared with the decoupled Kalman filter, unscented Kalman filter, and extended Kalman filter for the modeling of two Takagi-Sugeno fuzzy models. The recommended scheme could be employed as the fast updating of a fuzzy model or an evolving intelligent model. In the future studies, the recommended approach will be applied to real world models, or it will be developed for the fault detection and diagnosis, or the Baysian filters will be studied to be employed instead of the full Jacobians.
Footnotes
14
Authors are grateful to the editors and the reviewers for their valuable comments. Authors thank the Instituto Politécnico Nacional, the Secretaría de Investigación y Posgrado, the Comisión de Operación y Fomento de Actividades Académicas, and Consejo Nacional de Ciencia y Tecnología for their help in this study. The second author acknowledges the support of the Austrian COMET-K2 programme of the Linz Center of Mechatronics (LCM), funded by the Austrian federal government and the federal state of Upper Austria. This publication reflects only the authors’ views.
