Next Article in Journal
Gaze Estimation Approach Using Deep Differential Residual Network
Next Article in Special Issue
On the Challenges of Acoustic Energy Mapping Using a WASN: Synchronization and Audio Capture
Previous Article in Journal
Dynamic Segmentation of Sensor Events for Real-Time Human Activity Recognition in a Smart Home Context
Previous Article in Special Issue
Comprehensive Performance Analysis of Zigbee Communication: An Experimental Approach with XBee S2C Module
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Explainable Evolving Fuzzy Neural Network to Predict the k Barriers for Intrusion Detection Using a Wireless Sensor Network

by
Paulo Vitor de Campos Souza
1,*,†,
Edwin Lughofer
1,† and
Huoston Rodrigues Batista
2,†
1
Institute for Mathematical Methods in Medicine and Data Based Modeling, Johannes Kepler University Linz, 4040 Linz, Austria
2
School of Informatics, Communication and Media, University of Applied Sciences Upper Austria Hagenberg, 4232 Hagenberg im Mühlkreis, Austria
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Submission received: 29 June 2022 / Revised: 18 July 2022 / Accepted: 19 July 2022 / Published: 21 July 2022
(This article belongs to the Special Issue Reliability Analysis of Wireless Sensor Network)

Abstract

:
Evolving fuzzy neural networks have the adaptive capacity to solve complex problems by interpreting them. This is due to the fact that this type of approach provides valuable insights that facilitate understanding the behavior of the problem being analyzed, because they can extract knowledge from a set of investigated data. Thus, this work proposes applying an evolving fuzzy neural network capable of solving data stream regression problems with considerable interpretability. The dataset is based on a necessary prediction of k barriers with wireless sensors to identify unauthorized persons entering a protected territory. Our method was empirically compared with state-of-the-art evolving methods, showing significantly lower RMSE values for separate test data sets and also lower accumulated mean absolute errors (MAEs) when evaluating the methods in a stream-based interleaved-predict-and-then-update procedure. In addition, the model could offer relevant information in terms of interpretable fuzzy rules, allowing an explainable evaluation of the regression problems contained in the data streams.

1. Introduction

Evolving fuzzy neural networks are hybrid models that combine artificial neural networks with fuzzy logic [1,2] while being able to incrementally adapt their parameters and evolve their internal structure with newly recorded data (typically in the form of stream samples) [3]. Due to their universal approximation capabilities [2], inherited from classical fuzzy systems [4], they are able to solve complex data-stream mining problems with high precision while, at the same time, being able to extract knowledge from data and offer interpretable insights into this knowledge in form of (fuzzy) rules [5].
A current problem that has been the subject of research in the scientific community is the use of artificial intelligence and border protection in countries [6]. Numerous research approaches incorporate predictions of elements needed to secure a country’s borders, primarily linked to wireless sensors for detecting people crossing unduly from one country to another [7]. Countries with large territorial extensions can use these resources to facilitate the control of incoming people. Therefore, the use of intelligent techniques to rationalize the process and make it more effective is well-justified.
However, many models used in this context offer no other way to interpret the results, especially when evaluating the flow data or examining the behavior of the model(s) over time [3]. To fill this gap, methods with the ability to extract knowledge from data streams in an incremental, evolving manner have been proposed in the literature, while offering a joint interpretability of the functioning of the extracted models in the evaluation of new data, basically for stream classification problems in [8,9], or see also [10,11].
This paper aims to present the extension of an evolving fuzzy neural network (ENFS-Uni0) [8] to act on stream regression problems (named here as ENFS-Uni0-reg).In this work, we intend to explain how the interpretability of the results with the interpretability of the model’s behavior can help the analysis of knowledge contained in a data stream. ENFS-Uni0-reg is an evolving model with three layers, the first being the data-fuzzification process. This method is performed by a fuzzification technique based on the scalable data density responsible for building Gaussian neurons to represent the data of a problem. The second layer includes fuzzy-logic neurons that aggregate the neurons formed in the first layer with their respective weights. Finally, the third layer of the model is represented by an artificial aggregation neural network, which is responsible for the defuzzification process. Interpretability aspects of Gaussian neuron development, assessment of problem features, and the training of interpretable consequences of rules are embedded in our approach to support an advanced interpretation of results. The interpretability of fuzzy-systems models may meet different criteria from conventional models of artificial neural networks. Therefore, practical examples of problem solving must be presented in an interpretable way according to the interpretability criteria proposed in [12] for this category of models. These examples are provided by analyzing the model’s behaviors when performing the regression tasks. Therefore, it may be possible to measure the degree of interpretability achieved by ENFS-Uni0-reg. Thereby, the main focus will be placed on a particular application scenario, which is the identification of the number of barriers in wireless connections (as is explained in more detail in the subsequent section). This paper proposes to work with the resolution of a regression problem to identify the number of barriers in wireless connections.
The first contribution of this paper is extending an interpretable evolving fuzzy-neural-network model to solve regression problems. Thereby, the main highlight of this paper is to present the principal features of interpretability that the evolving fuzzy neural networks could achieve for k-barriers identification in wireless systems. An intrinsic aspect, thereby, is that the relevancy of the final achieved readable rules could be confirmed by an expert (the data owner) of the application. Thus, a reader may be able to follow the characteristics of the interpretability, facilitating the understanding of the use of these models. Another relevant contribution is the modification of the feature weights concept proposed in our previous work for stream classification [8] in stream regression problems. This factor allows the features of regression problems to also be interpreted and incorporated into the training process of the system model.
The paper presents a theoretical reference section (Section 3) associated with the concept of k barriers for intrusion detection, evolving fuzzy models, and their respective interpretability capabilities. Section 4 offers the reader the model’s layers and training procedures. Experiments and their discussions are emphasized in Section 5 and Section 6, respectively. Finally, in Section 7, conclusions regarding the major result findings in our empirical studies are presented.

2. k Barriers for Intrusion Detection in Wireless Sensor Networks—State-of-the-Art Approaches

Issues of territorial protection emerge as new conflicts and problems arise in modern society. Border protection interests all nations, especially those involved in armed conflicts or close to areas with a high flow of illegal products (drugs, weapons smuggling, and illegal immigrants, among others) [13]. To help control this identification of possible invaders, several sensors are used to identify suspicious movements at the borders of countries [14] (Figure 1). This technology is relatively inexpensive and can help monitor existing activities in these locations. These sensors use machine-learning concepts to facilitate the identification of adverse situations [14]. This type of technology also helps to reduce the number of human resources guarding countries with large borders. Sensors installed at borders are decentralized equipment that transmit data over a wireless network. Thus, these sensors detect possible intruders who are not allowed to enter a certain target territory [15]. Monitoring centers can act dynamically to identify them, acting quickly to avoid further problems caused by the unwanted invasion [16]. The use of machine learning to improve these identifications has been extensively discussed in the literature, thus making it a subject of great relevance and scope in science [17]. Authors have already proposed solutions to the problem using Gaussian processes [18], coverage probability in a mobile sensor network [19], low-power sensors inside the region of interest [20] and on-demand distance vector routing [21]. However, until the present moment, the interpretability of these sensors during identification has not been specified. This type of problem fits into the evaluation of streaming data, as it never knows when possible invaders will cross a country’s border.

3. Evolving Fuzzy Systems and Interpretability

3.1. Evolving Fuzzy Systems

Evolving fuzzy systems (EFS) have a significant difference compared to traditional neural network models, which is the ability to combine the advantages of fuzzy inference systems with training artificial neural network devices that adjust parameters based on the dynamics of the data [22].
The fundamental concepts of evolving fuzzy systems are their ability to process samples or blocks of data step-by-step for model building, omitting time-consuming retraining (incrementality), performing recursive parameter adjustments (customization), and adding structural elements (evolving) if the system handles newly loaded samples or has new states. EFS is also an incrementally evolving single-pass fuzzy system with online data streams/registrations with similarities between specific architectures with certain types of neural networks. They are, thus, a form of gray-box models as they combine data-driven learning with rule-based structures [22].
The key requirements for real-world applications are quick online model identification from scratch, updating and extending existing models, avoiding extrapolation, providing process reliability and robustness, and working with adjustments of the knowledge-based model extracted from the data, see [3,5] for recent surveys about successful applications of EFS.
Evolving fuzzy neural networks (EFNNs) are an extension of plain EFS by incorporating a layered structure in the form of hidden neurons in their model architecture. The hidden layers of these models vary according to the number of features in the fuzzy inference systems and the aggregations performed by the neural networks [1]. This ability of the fuzzy inference system that makes up the evolving fuzzy neural network allows a more sophisticated representation of rules (mixed AND-OR connections with smooth transitions inbetween their antecedents) through the usage of extended aggregation operators such as the uni-norms being applied to the construction of the neurons [23], which can be further associated with fuzzy rules [8]. Due to this direct association (see also Section 4), it is then possible to analyze the knowledge contained in the stream and its evolution over (timely) stream examples. Examples of evolving fuzzy neural network architectures can be seen in [9,24,25,26,27,28].

3.2. On-Line Criteria of Interpretability

A general definition of interpretability in machine-learning models is the degree to which a human can understand the cause of a decision or the degree to which a human can consistently predict the outcome of the decision model. [29]. Interpretable machine learning is an all-encompassing term that captures the extraction of relevant knowledge from a machine-learning model about relationships in data or learned from the model. In the context of evolving learning, some characteristics need to be modified so that the evaluation of these patterns occurs in a way that humans can understand, mainly due to their adaptive behavior [29].
The author of [12] discussed the criteria of transparency, readability, and interpretability of EFS models and their contained fuzzy rule bases, which can be largely applied also to EFNN models. To this end, some essential criteria have been defined for the evaluation of interpretability in these models, listed below [12]:
  • Distinguishability and simplicity: Simplicity requires models with a trade off between low complexity and high accuracy in order to avoid over-fitting effects [30]. In contrast, distinguishability requires the use of structural components (rules, fuzzy sets) in a separable way (avoiding significant overlaps and redundancies [31]).
  • Consistency: Consistency in a rule base is given when there are no conflicting, contradictory rules [32], e.g., when no rules overlap in their antecedents and consequents or when there is a significant overlap between two or more rules in their antecedents, then their consequents are also similar (overlapping). A fuzzy rule is consistent with another one if the similarity of their antecedents is lower than the similarity of their consequents [12].
  • Feature importance levels: This capability evaluates the importance of features in the final output of the model. It allows evaluation of their impact to explain the knowledge contained in the data (input–output relations) and also may serve for the possibility to reduce the rules’ length, which, in turn, increases their transparency and understandability (see the Results section for a concrete example).
  • Rule importance levels: estimations of the significance levels of the rules are defined by numerical values (weight or consequents of the rules) to assess the relevance of the rule for the analyzed context and, thus, its importance to the prediction capabilities of the model.
  • Interpretation of consequents: The consequents should not be too complex (e.g., higher order polynomials or wavelet functions), but represent the essential rule output statement for the local region it represents—for instance, in classification problems, a class confidence vector indicating the confidences in the different classes for the respective local regions leads (in combination with the rules’ antecedent parts) to a direct interpretation where classes are located in the feature space and overlap. In our case of regression problems, we deal with singleton numerical output values whose direct interpretation is the number of barriers in the associated region of the rule models. Another interpretation facet is how the consequents may change during stream learning and, thus, how rules may change their ’opinion’ in their output (we provide an example in the Results section).
  • Knowledge expansion: Evaluation of results beyond accuracy. The criteria for incorporating new knowledge, assessments, and operations with the rules fit as parameters for this measure. The rules evolution criteria also make it possible to identify an evaluation of the knowledge obtained from the model.
To be considered interpretable, an EFNN model should, ideally, meet both the criteria of high accuracy (to ensure the efficiency of the results) and the criteria discussed above. This is because a model with low predictive accuracy does not reflect well the behavior of the system. The model architecture, training, and interpretability improvement techniques are presented in the next section.

4. Evolving Fuzzy Neural Network for Regression Problems—ENFS-Uni0-reg

This section presents the architecture and training characteristics of the ENFS-Uni0-reg [8]. Aspects of its operation contribute to the interpretability of online problems and enable the evaluation behavior of the model when it analyzes data sets. The architecture of ENFS-Uni0-reg consists of three layers. The first two are a fuzzy inference system (responsible for extracting knowledge from the data set via IF-THEN rules). A neural-network-based layer represents the last layer, which is able to aggregate all the consequents of the fuzzy rules and convert them into the expected output (the defuzzification process) [8].
The model parameters are defined during a fuzzification process which specifies the number of fuzzy rules the system can extract from the data. This process leads to the trained Gaussian neurons with the centers and standard deviation of the clusters found using a stand-alone data-clustering technique [33] called autonomous data partitioning (ADPA). These clusters are defined by concepts of data density and empirical data operators [34]. The technique’s significant benefit is to use local mode to partition the input space in structures called data clouds, using approaches similar to the Voronoi tessellation technique. Another advantage is the objective representation of the actual distribution of data, creating clusters in arbitrary shapes. Therefore, these Gaussian neurons generated by the fuzzification process are liable for the formatting of the antecedent terms of the fuzzy rules [8]. It is worth mentioning that ENFS-Uni0 uses an extended supervised version of ADPA. In this paper, as it deals with the resolution of a regression problem, we obtained the original version of the technique proposed in [33].
This method has some steps to be performed to obtain the clusters (clouds):
  • Stage 1: Ranking of the samples regarding the distance to the global mode.
  • Stage 2: Detecting local maxima (local modes).
  • Stage 3: Forming data clouds.
  • Stage 4: Filtering local modes.
All these stages are performed in the offline phase of the model. The model proposed in this paper uses these steps to define the model’s initial architecture, since ADPA is able to autonomously extract an adequate number of rules for the correct problem (subject to density criteria) and thus defines the number of neurons (rules) for the network (omitting this as a predefined parameter). During the evolving phase, the algorithm works with the following steps:
  • Stage 5: Selection of the first data sample within the data stream as the first local mode.
  • Stage 6: System structure and meta-parameters update.
  • Stage 7: Forming data clouds from the updated structure and parameters.
  • Stage 8: Handling the outliers.
Thus, the fuzzification technique allows the evolution of neurons as new information or behaviors are noticed in the data. For details on the approach, see [33]. Each of these neurons has a weight determined by an online technique for determining the class separability criterion of the problem (feature weight separability criteria for regression problems (FWSCR)—to be explained in detail later). This approach brings advantages of interpretability to the dimensions of the problem (identifying those with greater relevance to find the values to be predicted to the model) and permitting a reduction in the rule lengths, generating compact knowledge about the problem in question [8]. These neurons and their weights are grouped in the second layer of the fuzzy logic neuron model. This neuron uses a fuzzy aggregator to combine weights and the Gaussian neuron and turn it into a single value [8]. For this, the EFNS-Uni0-reg uses the stochastic approach defined in [35], where the fuzzy neurons in the second layer are defined according to the best model architecture for solving the problem.
This skill facilitates the dynamic resolution of complex problems, allowing for knowledge extraction with flexibility [8]. The rule consequents are determined differently according to the stage in which the model executes its activities to complete the formation of fuzzy rules. The extreme-learning-machine concept [36] (using the pseudo-inverse of the Moore–Penrose matrix [37]) is applied in the offline stage. In the evolving phase of the model, the rule consequents are updated by a recursive weighted least squares technique [38] for the regression problems [8], embedding the activation levels of the rules in the current sample as weights. Rules covering a current sample better and, thus, having higher activation levels, are more intensively updated as better representing the current state of the system. The model output is obtained by a neural aggregation network with only one neuron (singleton concept in order to achieve high interpretability). This neuron, which has a linear activation function, is responsible for the model result [8]. The proposed approach has the capabilities to extract knowledge and interpret the results. The fuzzy rules formed by EFNS-Uni0-reg can be described by [8]:
R u l e 1 : I f x 1 i s A 1 1 w i t h i m p a c t w 11 a n d / o r x 2 i s A 1 2 w i t h i m p a c t w 21 T h e n y 1 i s v 11 . . . . R u l e L : I f x 1 i s A L 1 w i t h i m p a c t w 1 L a n d / o r x 2 i s A L 2 w i t h i m p a c t w 2 L T h e n y L i s v L
where A are the Gaussian neurons (where the membership functions of fuzzy sets, formed by the input data density through an evolving clustering method, are the activation functions of the corresponding neurons, i.e., a j l = μ l A for j = 1... N and l = 1 … L, where N is the number of inputs and L is the number of fuzzy sets for each input) and w is its respective weight ( w i l (for i = 1... N and l = 1... L). The consequent values v . are calculated in two different ways. The offline phase is based on Equation (2) and the evolving step uses Equation (5), related below.
v k = Z + y
η = z t Q t 1 ψ + ( z t ) T Q t 1 z t 1
Q t = ( I L t η T z t ) ψ 1 Q t 1
v k t = v k t 1 + η T ( y k t z t v k t 1 )
Z + = Z T Z is the pseudo-inverse of the Moore–Penrose matrix [37] of Z (logic fuzzy neuron) and y denotes the column output. η is the current Kalman gain (row) vector, I L s t is an identity matrix based on the number of neurons in the second layer, L s t × L s t ; ψ ] 0 , 1 ] denotes a possible forgetting factor, but is to 1 per default (no forgetting). Q denotes the inverse Hessian matrix Q = ( Z T Z ) 1 and is set initially as ω I L s t , where ω = 1000. Z is a logic neuron vector, and this fuzzy neuron can be represented by:
z = ζ η ( w ; a ) = γ i = 1 n p ( w i , a i ) w h e r e η = 1 o r 2 o r 3 o r 4 o r 5
where ζ can represent and-neurons ( η = 1), or-neurons ( η = 2), uni-neurons ( η = 3) null-neurons ( η = 4), or uninull-neurons ( η = 5), and γ represents a fuzzy operator (t-norm, t-conorm, uninorm or nullnorm) which is related to the neuron used. p is a function to transform the values into one unique value. For and-neurons, p is a t-norm; for or-neurons, a t-conorm. For uni-neurons, null-neurons and uni-nullneurons, the function p is expressed below:
p ( w , a , o ) = w a + w ¯ o
where w ¯ represents the complement of w and o is a value based on the neuron operator.
The process carried out in the third layer is also seen as a defuzzification process with an aggregation neural network composed of a single neuron. The adaptations of ENFS-Uni0 so that the model can act as a regressor are presented the following definition:
y = j = 0 l ( z j , v j )
where z 0 = 1, v 0 is the bias, and z j and v j , j = 1, ߪ, l are the output of each fuzzy neuron of the second layer and their corresponding weight, respectively. As the ENFS-Uni0-reg model can act as a universal approximator of functions, it can perform precise resolutions for regression problems.

Feature Weight Separability Criteria for Regression Problems (FWSCR)

The assessment of the changes in Gaussian neurons in the first layer can measure how the rule antecedents change over time [31]. The main difference in this paper is that this approach has always been used to distinguish classes and not regression values. However, these values can be grouped into two groups: those that are lower and higher than the average of the expected outputs. The mean in this context will be a cut-off factor to determine which values are smaller than what is considered a small-valued prediction in the model output. Conversely, values above the mean are considered a high prediction of the target to be analyzed in the regression problem. Analogously, we group the expected outputs of the regression problem as if they were a binary-pattern classification problem. This process is called discretization and it has been applied several times to solve regression problems as a classification problems [39,40,41]. The average of the expected outputs is calculated in the offline phase of definition. A transform function creates an auxiliary vector, assigning the value 0 for the values smaller than the average and 1 for the superior ones. The feature weight separability criteria for regression problems (FWSCR) is represented by:
y r = 1 , i f y > Ω 1 , i f y < Ω w h e r e Ω = 1 n w j = 1 n w y j
where y r is the transformed vector to be used to calculate the feature separability criteria, n w is the number of samples designated to calculate the mean of the values and Ω is the reference value used in the discretization process. Thus, the proposition made in [42] will be able to identify the dimensions that most contribute to a prediction of inferior and superior values of the analyzed regression problem. It is worth mentioning that the mean is also updated as new samples are evaluated by the model, using the classical incremental mean formula [43]. Other interpretable factors that the model can also measure are identifying the evolution of fuzzy rules and their respective consequents. The basic idea of the technique is still to extract feature weights based on the usage of a class separability criterion, but here, the classes will be considered as the discretization outcome performed by Equation (9) in the models’ output. Therefore, for the target regression problem, one can consider the approach analogous to an evaluation with two classes (elements greater and less than the average of the outputs). The technique defined in [42] uses the Dy–Brodley separability criterion to measure the discriminatory power of a feature set for two or more classes. It can be expressed by:
J = δ ( S w 1 S b )
where δ ( S w 1 S b ) describe the sum of the diagonal elements of the matrix S w 1 S b [42]. S b indicates the dispersion matrix between classes that measure the class’s dispersion averages to the total average, and S w denotes the within scattering matrix that calculates the samples’ dispersion in their class averages. This overview allows the model’s user to identify moments of change in the model’s efficiency or even to measure moments in which the technique acquired new knowledge [8]. Details on how the techniques work can be seen in depth at [8]. The approach employed in this paper will be leave-one-feature-out (LOFO), which means that the lower the value of J i becomes, the more important feature i is because feature i was discarded from the full feature set (and (10) recalculated). Thus, and aiming for a relative importance among all features (relative to the most crucial feature, which should be assigned a value of 1), the feature weights are assigned by:
w j = 1 J j min i = 1 , , N J i max i = 1 , , N J i
Thus, feature weights are assigned by:
w j = J j max i = 1 , , N J i
In particular, S b can be updated by updating the class-wise, and the overall mean through an incremental mean formula [43]. Specific recursive covariance update formulas proposed in [44] update the covariance matrices per class with rank-1 modification for more robust and faster convergence to the batch calculation.
The architecture of the model can be seen in Figure 2. A pseudo-code of ENFS-Uni0-reg is presented in Algorithm 1 and the organization of the steps performed in the algorithm is shown in Figure 3.
Algorithm 1 ENFS-Uni0-reg Training and Update Algorithm
Initial Batch Learning Phase (Input: data matrix X with K samples):
  • (1) Extract L clouds in the first layer using the ADPA approach (L is automatically estimated therein).
  • (2) Estimate center values c and widths σ for the L clouds derived from ADPA.
  • (3) Calculate the combination (feature) weights w for neuron construction using FWSCR.
  • (4) Construct L logic neurons on the second layer of the network by welding the L fuzzy neurons of the first layer, using uni-nullnorms concept and the centers c and widths σ .
  • (5)
  • for i = 1 , , K do
  •    (5.1)    Calculate the regression vector z ( x i ) .
  •    (5.2)    Store it as one row entry into the activation level matrix Z.
  • end for
  • (6) Extract activation level matrix Z according to the L neurons.
  • (7) Estimate the weights of the output layer by ELM approach using Z and vectors y k .
  • Update Phase (Input: single data sample ( x t , y ( t ) ) :
  • (8) Update L clouds and evolving new ones on demand (due to rule evolution conditions) in the first layer using extended evolving ADPA approach (→ L s , upd clouds).
  • (9) Calculate (9) to achieve discretized value y r ( t ) .
  • (10) Update the feature weights w by updating the within- and between-class scatter matrices using ( x t , y r ( t ) ) for each feature left out and recalculating (10).
  • (11) Perform Steps (2), (3) and (4).
  • (12) Calculate the degree of change in all neurons.
  • (13) Calculate the regression vector z ( x t ) .
  • (14) Update the weights of the output layer by (5) using y ( t ) .
The interesting computational complexity of ENFS-Uni0-reg includes the number of computations (flops) required to process one single sample through the update algorithm (second part in Algorithm 1), because this affects the on-line speed of the algorithm. The ADPA algorithm has a complexity of O ( p ) with p being the dimensionality of the input space when updating with a single sample. Constructing the neurons from the clouds takes O ( m p ) complexity with m the number of clouds extracted (the model applies in each cloud the fuzzy operator over the inputs). The definition of weights by the FWSCR technique is K p 3 where K is the number of classes, because the between and within-class scatter matrices need to be updated for each class, having a complexity of O ( p 2 ) because the matrices have a size of p × p , but this needs to be performed for each feature separately and independently. Calculating the neuron activation levels has a complexity of O ( m p ) , as for each sample the activation levels to all m neurons (with dimensionality p) need to be calculated. The complexity of the output layer neuron is also of O ( m p 2 ) because of the (weighted) RFWLS approach (per rule separately), requiring this complexity, as analyzed in [22]. Thus, the final complexity of ENFS-Uni0-reg for updating the model with a single sample is O ( p + m p + K p 3 + m p + m p 2 ) O ( m p 2 + K p 3 ) (as m p and p are ‘covered’ by m p 2 ).

5. Experiments

This paper aims to demonstrate the ability of evolving fuzzy neural networks in the interpretability of regression problems. To this end, some experiments and comparisons with state-of-the-art models will be carried out and discussed. The evaluation of the model’s performance in regression problems will be realized by the root mean square error (RMSE) expressed in (13) for the comparison of batch results and the accumulated one-step ahead prediction MAE in (15) for the results in trend lines, where y is the target, y ^ is the model’s estimated value, and N is the number of samples.
RMSE = q = 1 N ( y q y ^ q ) 2 N .
MAE = 1 N q = 1 N | y ( q ) y ^ q |
MAE ( N ) = ( N 1 ) MAE ( N 1 ) range ( y ) + | y ( N ) y ^ ( N ) | N 0.35 e m range ( y )
where MAE(0) = 0. This results in an accumulated mean absolute error (MAE) (normalized by the range of the target to achieve a kind of percentual deviation measure comparable among different data streams (with different target value ranges)). This is also in accordance with the interleaved-test-and-then-train evaluation scenario, which is widely used in the data-stream-mining and machine-learning community [45]. All values presented in the table tests in parentheses demonstrate the standard deviation of the experiments. All tests were run on a computer with the following settings: Intel(R) Core(TM) i7-6700 CPU 3.40 GHz, 16 GB RAM.

5.1. Intrusion Detection Using a Wireless-Sensor-Network Dataset

This study uses a dataset obtained synthetically through Monte-Carlo simulations. The method for generating the data set as well as a detailed description of the generation process is described in [46]. The data set has five columns. The first four columns are characteristics (i.e., area, sensing range, transmission range, number of sensor nodes) and the last column is the predictor or target variable (i.e., the number of barriers). The dataset generated in the aforementioned paper considers a finite number of sensors (N), uniformly and randomly distributed in a rectangular space. Each sensor is assumed to be homogeneous, i.e., the detection, transmission and computation capabilities are identical for each sensor. The dimensions of the network deployment vary from 100 × 50 m 2 to 250 × 200 m 2 .
Some elements can be displayed about the dataset used in this experiment. Table 1 summarizes the main statistics of each feature of the dataset with numerical values, such as mean, standard deviation, maximum, and minimum value.
A graphical evaluation of the dataset is presented in Figure 4.
Recent works using this data set investigated solutions for the same problem using automated machine learning (AutoML) [14]. However, knowledge extraction on the data set in question was not presented so far.

5.2. Models Used in the Experiments

The models used in the test are presented below. For appropriately eliciting the parameters (when necessary), we used a 10-fold procedure with cross validation after a 70%/ 30% split into training and separate test data, the latter serving as final evaluation set to report the expected generalization errors of the models. The following approaches were used for performance comparison:
Evolving neuro-fuzzy system based on logic neurons for regression problems (ENFS-Uni0-reg)—the evolving fuzzy neural network is used as a reference in this study. It uses an or-neuron, and the non-regularized approach was adopted to analyze all rules. A random-weighted version of the first layer of the model will also be presented in the test ((ENFS-Uni0).
MEEFIS—A multilayer ensemble evolving a fuzzy inference system primarily based on an ensemble of multiple-input multiple-output first-order evolving fuzzy inference systems (EFISs) prepared in a multilayered architecture. The parameters are the number of layers (default: 3), the number of training epochs (default: 3), and the forgetting factor (default: 0.1) [47].
ALMMo—A neuro-fuzzy approach for autonomous zero-order multiple models learning with embedded pre-processing that improves the classifier and the approximation model accuracy by creating robust models. The essential parameters are the density threshold (responsible for adding a new rule and, thus, the resulting final granularity) and ω (initialization of the size of the covariance matrix for a new rule) [48].
PSO-ALMMo—Version of ALMMo with particle swarm optimization. The parameters are maximum iteration number for the PSO algorithm (default: 200), the population number for the PSO algorithm (default: 100), inertia weight for the PSO algorithm (default: 0.7298), c1 for PSO (default: 1.49618), c2 for PSO (default: 1.49618), and the damping coefficient for PSO (set to 1) [49].
The results of regression experiments are presented in Table 2. For the regression experiment, 70% of the samples were destined for the training of the model and 30% of the samples for the test and evaluation of the model.
As for the trend-line evaluation, 20% of the samples were used for training and the architectural definition of the model, and the rest for its evaluation. The result obtained in the experiment is shown in Figure 5. The behavior of the weights related to each of the dimensions of the problem are shown in Figure 6 and Figure 7, and the evolution of neurons during the experiment can be seen in Figure 8.

6. Discussions

The discussions carried out in this paper seek to highlight a relationship between the main interpretability characteristics of an evolving fuzzy system model and the results obtained in the experiments performed.

6.1. Model Efficiency

The model presented in this paper obtained excellent results compared to state-of-the-art models of evolving fuzzy systems predicting the number of barriers. Table 2 presents the results of running 30 iterations of the algorithms, demonstrating that the proposed technique has better average RMSE performance during the experiment. There is also a gain in efficiency using the feature weights technique compared to generating random weights. The best-performing results of the ENFS-Uni0-reg model were observed in the data-stream test presented in Figure 5. The model maintained the curve with the lowest MAE values throughout large parts of the stream (only at the beginning did all approaches seem to behave similarly), and this with a largely monotonically decreasing trend, which was not the case for the related SoA works (which showed significantly increasing trends from some samples onwards).

6.2. Distinguishability and Simplicity

The criterion of simplicity was met in this paper because the model applied simple, coherent, and efficient techniques to solve the problems. The results achieved by the proposed model were the most assertive when compared to the state-of-the-art approaches to the prediction of evolving fuzzy systems for regression problems, and this with a small number of rules (maximal seven at the end of the learning process). Table 2 and Figure 5, in combination with Figure 8, support these conclusions.
On the other hand, the distinguishability criteria are met by the Gaussian neurons of the first layer of the model, which are separable and entirely distinguishable. Figure 9 presents the first configuration of the fuzzy rules found through clustering (the one that defines the initial architecture of the model in the offline phase of the ADPA model), and Figure 10 presents the final version of the model’s rules after the stream learning process. In both cases, the distinct clusters contained in the data (marked by crosses in different colors) are one-to-one represented by rules (thus meeting distinguishability).

6.3. Consistency

The consistency of fuzzy rules can be identified through the relationship between their antecedents and rule consequents. In this paper, to examine this condition, the following formulation proposed in [12] was used: A rule z n is inconsistent with z n + 1 if and only if the similarity of the consequents of these rules is greater than or equal to the similarity of the antecedents of them, with rule antecedents being greater than a single threshold, defined here as 0.8 (as in [12]). This evaluation condition can be defined by [12]:
R u l e z 1 i s i n c o n s i s t e n t t o R u l e z 2 i f a n d o n l y i f S ante ( z 1 , z 2 ) S cons ( z 1 , z 2 ) w i t h S ante ( z 1 , z 2 ) 0.8 .
where S ante and S cons close to 1 invariably can be assumed to indicate a heightened similarity, and when they are close to 0, a low similarity [12]. Similarities of rule antecedents and consequents were performed according to the criteria established in [12]. Therefore, a target rule is considered consistent (receiving the value 1) when it meets the criteria established in Equation (16). Otherwise, this rule is inconsistent and receives the value 0 to represent this factor. Figure 11 presents the evaluation of this criterion for the target experiment based on the values obtained in the evaluation of the similarity of the antecedents and the consequents. The criterion evaluation to generate the graph involves the average of the consistencies of the group of fuzzy rules generated at each model evaluation moment.
This experiment compared the consistency with the group of fuzzy rules generated in each of the evaluation moments of the samples. It can be noted that, until the evaluation of sample 54, the rules were consistent. After that, one of the rules remained inconsistent with the group of fuzzy rules generated until the evaluation of sample 67. This behavior occured other times. However, the model manages to perform the consistency adjustment so that, in the end, the group of seven rules consistently follows the criterion established in Equation (16).

6.4. Feature Importance Levels

The features relevance criteria for the problem were solved with the new approach proposed in this paper. Now, it is possible to differentiate the relevance of the data set features to identify the separation between responses, with many barriers necessary for identifying intruders from those that do not need so many barriers for the same purpose. Figure 6 highlights the results throughout the evaluations and allows the conclusion that the area dimension has little relevance to separation between the expected responses. The other dimensions, however, remain extremely relevant (weight values close to 1). In this case, it is possible to conclude that the number of sensor nodes, sensing range, and transmission range are the dimensions that best define whether a high or a low number of barriers should be applied to detect intruders.

6.5. Interpretation of Consequents

The values of their consequents measure the relevance of fuzzy rules in their output contributions. As they are crisp values, they can express the relevance of a rule to find an expected output or how that rule strongly contributes to the prediction of the value. In evaluating the values present in Table 3, we can identify that rule 1 is the one that most positively contributes to the increase in the values to be predicted. Likewise, when rule 2 is triggered, it contributes to decreasing the values predicted by the neural network in the third layer. In this sense, when a sample falls into a rule, i.e., for the rule activation level it is higher (close to 1), its consequent value can be used to find the reason for the final prediction (based on the corresponding rule antecedent), weighted together with the other reasons due to the consequents of the other rules and their activation levels (this is because a weighted average over rule consequents is produced for final predictions). Hence, the consequents in combination with the corresponding rule antecedents can serve as output (prediction) explanations for new samples.
In addition to the relevance aspects that the model has when creating a weight for the fuzzy rules, the ENFS-Uni0-reg also has a sample-by-sample evaluation criterion showing whether the fuzzy rules have changed over stream samples and to what extent. In this evaluation, it is possible to identify the impact of new samples on the fuzzy rules in the evolving training. Table 4 presents an example of this evaluation.
In this model update round, of the seven fuzzy rules that are part of its architecture, only five were changed, four of them with a decrease in the consequent value and one with an increase (compared to the previous version of the fuzzy rule before the update).
Another factor that can help in the evaluation of rule consequences is connected to their evolution. Figure 12 represents the evolution of the consequent values in the rules generated by the model.

6.6. Knowledge Expansion

Knowledge expansion occurs through the fuzzy rules obtained throughout the experiment. The evolution of fuzzy rules presented in Figure 8 demonstrates that the model, upon receiving a new sample, identified a new behavior and defined a new meaningful relationship for predicting the number of barriers. Presenting the logical relations obtained in the data set can also be seen as an expansion of knowledge, since this work is the first to present the linguistic relations for solving this problem in the format of IF-THEN rules. Another way of evaluating the knowledge obtained is through evolution and changes in fuzzy rules. For the first batch of samples, only two fuzzy rules were needed to determine the number of sensor barriers. These rules are presented below.
Rule 1.—If (area is high) with impact 0.11 or (sensing range is high) with impact 0.99 or (transmission range is high) with impact 0.99 or (number of sensor nodes is high) with impact 1.00 then (number of barriers is −1971.89).
Rule 2.– If (area is small) with impact 0.11 or (sensing range is small) with impact 0.99 or (transmission range is small) with impact 0.99 or (number of sensor nodes is small) with impact 1.00 then (number of barriers is 2061.66).
The evolution of the rules can be seen as a knowledge gain and expansion. The seven fuzzy rules obtained at the end of the training are also presented below.
Rule 1.—If (area is small) with impact 0.02 or (sensing range is medium) with impact 0.99 or (transmission range is medium) with impact 0.99 or (number of sensor nodes is medium) with impact 1.00 then (number of barriers is 15,937.14).
Rule 2.—If (area is small) with impact 0.02 or (sensing range is small) with impact 0.99 or (transmission range is small) with impact 0.99 or (number of sensor nodes is small) with impact 1.00 then (number of barriers is −51,137.92).
Rule 3.—If (area is small) with impact 0.02 or (sensing range is medium) with impact 0.99 or (transmission range is high) with impact 0.99 or (number of sensor nodes is high) with impact 1.00 then (number of barriers is 5260.04).
Rule 4.—If (area is small) with impact 0.02 or (sensing range is medium) with impact 0.99 or (transmission range is high) with impact 0.99 or (number of sensor nodes is very high) with impact 1.00 then (number of barriers is 8603.60).
Rule 5.—If (area is medium) with impact 0.02 or (sensing range is medium) with impact 0.99 or (transmission range is high) with impact 0.99 or (number of sensor nodes is extremely high) with impact 1.00 then (number of barriers is 6352.77).
Rule 6.—If (area is high) with impact 0.02 or (sensing range is medium) with impact 0.99 or (transmission range is high) with impact 0.99 or (number of sensor nodes is exceeding high) with impact 1.00 then (number of barriers is 7258.79).
Rule 7.—If (area is very high) with impact 0.02 or (sensing range is medium) with impact 0.99 or (transmission range is high) with impact 0.99 or (number of sensor nodes is excessively high) with impact 1.00 then (number of barriers is 7593.08).
Another way of interpreting knowledge that also meets the criteria for evaluating the dimensions of the problem is the ability to create reduced rules based on the evaluation of the weights of rule antecedents. As the area dimension has a much lower value weight than the others, it can be suppressed from interpreting the results as it does not contribute at all to identifying a small or large number of barriers. An example of a reduced fuzzy rule (Rule 1 at the end of the experiment) can be seen below.
Rule 1.—If (sensing range is medium) with impact 0.99 or (transmission range is medium) with impact 0.99 or (number of sensor nodes is medium) with impact 1.00 then (number of barriers is 15,937.14).
Another way of confirming the expansion of knowledge is linked to the validation of the results extracted by specialists on the subject (Appendix A). In this case, the seven fuzzy rules generated by the model were submitted for validation by the main owner responsible for the elaboration and dissemination of the target data set (see [46]) of this study. In response, positive feedback was obtained on the plausibility of the rules for the context of identifying the number of barriers. The following rules were presented to the owner of the data set (and expert in this application scenario), including the transformation of rule consequents into linguistic terms:
Rule 1.—If (area is small) with impact 0.02 or (sensing range is medium) with impact 0.99 or (transmission range is medium) with impact 0.99 or (number of sensor nodes is medium) with impact 1.00 then (number of barriers needed to increase strongly).
Rule 2.—If (area is small) with impact 0.02 or (sensing range is small) with impact 0.99 or (transmission range is small) with impact 0.99 or (number of sensor nodes is small) with impact 1.00 then (number of barriers needed to decrease).
Rule 3.—If (area is small) with impact 0.02 or (sensing range is medium) with impact 0.99 or (transmission range is high) with impact 0.99 or (number of sensor nodes is high) with impact 1.00 then (number of barriers needed to increase).
Rule 4.—If (area is small) with impact 0.02 or (sensing range is medium) with impact 0.99 or (transmission range is high) with impact 0.99 or (number of sensor nodes is very high) with impact 1.00 then (number of barriers needed to increase).
Rule 5.—If (area is medium) with impact 0.02 or (sensing range is medium) with impact 0.99 or (transmission range is high) with impact 0.99 or (number of sensor nodes is extremely high) with impact 1.00 then (number of barriers needed to increase).
Rule 6.—If (area is high) with impact 0.02 or (sensing range is medium) with impact 0.99 or (transmission range is high) with impact 0.99 or (number of sensor nodes is exceedingly high) with impact 1.00 then (number of barriers needed to increase).
Rule 7.—If (area is very high) with impact 0.02 or (sensing range is medium) with impact 0.99 or (transmission range is high) with impact 0.99 or (number of sensor nodes is excessive high) with impact 1.00 then (number of barriers needed to increase).
The owner could confirm these rules as valuable and interesting, as can be seen in the email exchange letter shown in Appendix A.

7. Conclusions

This paper presented the solution to the problem of identifying k barriers used for intrusion detection using data from wireless sensor networks with interpretability aspects. In this context, the model proposed in this paper acted assertively and interpretably in extracting knowledge about the analyzed problem.
The results obtained and compared with state-of-the-art models in evolving fuzzy systems support the idea that the ENFS-Uni0-reg model can help in defining the number of barriers needed to identify intruders in a given territory. The model proposed in the paper proved to be quite efficient in the approach, as it improved the RMSE by around 10% in the prediction of barriers compared to the model ENFS-Uni0 (Table 2). This improvement is accentuated when the results are compared to the other models evaluated in the experiment (21.86%, 142.38%, and 117.47%, compared with MEEFIS, ALMMo, and PSO-ALMMo, respectively). In Figure 5, there is also a sizeable numerical difference between the results obtained by the model throughout the evaluations. This allows us to conclude that the model remained stable throughout its evaluation, predicting values closer to those expected compared to the state-of-the-art model evaluated in the experiment.
The results obtained through model interpretability demonstrate how the data behave over time and allow for a sample-by-sample evaluation of the problem that seeks to identify the required number of barriers for territorial protection using a wireless sensor network. Thus, the costs of prediction and installation of equipment in these regions can be minimized.
The fuzzy rules extracted can be seen as a novel way to understand the behavior of the underlying problem, facilitating the dissemination of knowledge about the problem studied. These fuzzy rules can facilitate the construction of expert systems on the topic. The if-then rules can be easily adapted in computer systems with programming languages, and this explicit knowledge can help professionals who want to act in the prediction of the number of barriers and do not have much knowledge about the topic.
The limitations found in this approach are connected to a reference value for the process of discretization of regression values. This paper used the average value of the number of barriers. Perhaps a human expert can better contribute to the definition of a more fair value to discretize the number of barriers to this problem.
Future work may address improvements in the ENFS-Uni0-reg architecture, as well as new training models and optimization techniques. Another possible extension to this work is to implement an intelligent system based on rules based on the knowledge acquired in this research.

Author Contributions

Conceptualization, P.V.d.C.S. and E.L.; methodology, P.V.d.C.S. and H.R.B.; software, P.V.d.C.S.; validation, E.L.; formal analysis, E.L.; investigation, P.V.d.C.S.; resources, P.V.d.C.S.; data curation, E.L.; writing—original draft preparation, P.V.d.C.S.; writing—review and editing, E.L. and H.R.B.; visualization, P.V.d.C.S. and H.R.B.; supervision, E.L.; project administration, E.L.; funding acquisition, E.L. All authors have read and agreed to the published version of the manuscript.

Funding

Open Access Funding by the Austrian Science Fund (FWF), contract number P32272-N38, acronym IL-EFS.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Publicly available datasets were analyzed in this study. This data can be found here: https://archive-beta.ics.uci.edu/ml/datasets/lt+fs+id+intrusion+detection+in+wsns.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ENFS-Uni0-regEvolving neuro-fuzzy system based on logic neurons for regression problems.
ENFS-Uni0Evolving neuro-fuzzy system based on logic neurons.
EFNNsEvolving fuzzy neural networks
EFSEvolving fuzzy systems
FWSCRFeature weight separability criteria for regression problems.
RMSERoot mean square error.
MAEMean absolute error.
MEEFISMultilayer ensemble evolving fuzzy inference system.
EFISsEvolving fuzzy inference systems.
ALMMoAutonomous zero-order multiple learning.
PSO-ALMMoVersion of autonomous zero-order multiple learning with particle
swarm optimization.
PSOParticle swarm optimization.
RWLSRecursive weight least squares.
AutoMLAutomated machine learning.
LOFOLeave-one-feature-out.

Appendix A

The confirmation of the usefulness of the generated fuzzy rules (Figure A1 was performed by the owner of the data set used in this study. The following link provides more information about the owner: https://www.abhilashsingh.net/. Accessed on 16 June 2022.
Figure A1. Confirmation email about the consistency of the generated fuzzy rules.
Figure A1. Confirmation email about the consistency of the generated fuzzy rules.
Sensors 22 05446 g0a1

References

  1. Lin, C.T.; Lee, C.G.; Lin, C.T.; Lin, C. Neural Fuzzy Systems: A Neuro-Fuzzy Synergism to Intelligent Systems; Prentice Hall PTR: Upper Saddle River, NJ, USA, 1996; Volume 205. [Google Scholar]
  2. De Campos Souza, P.V. Fuzzy neural networks and neuro-fuzzy networks: A review the main techniques and applications used in the literature. Appl. Soft Comput. 2020, 92, 106275. [Google Scholar] [CrossRef]
  3. Škrjanc, I.; Iglesias, J.A.; Sanchis, A.; Leite, D.; Lughofer, E.; Gomide, F. Evolving fuzzy and neuro-fuzzy approaches in clustering, regression, identification, and classification: A Survey. Inf. Sci. 2019, 490, 344–368. [Google Scholar] [CrossRef]
  4. Pedrycz, W.; Gomide, F. Fuzzy Systems Engineering: Toward Human-Centric Computing; John Wiley & Sons: Hoboken, NJ, USA, 2007. [Google Scholar]
  5. Lughofer, E. Evolving Fuzzy Systems—Fundamentals, Reliability, Interpretability and Useability. In Handbook of Computational Intelligence; Angelov, P., Ed.; World Scientific: New York, NY, USA, 2016; pp. 67–135. [Google Scholar]
  6. Mostafaei, H.; Chowdhury, M.U.; Obaidat, M.S. Border surveillance with WSN systems in a distributed manner. IEEE Syst. J. 2018, 12, 3703–3712. [Google Scholar] [CrossRef]
  7. Mostafaei, H.; Menth, M. Software-defined wireless sensor networks: A survey. J. Netw. Comput. Appl. 2018, 119, 42–56. [Google Scholar] [CrossRef]
  8. De Campos Souza, P.V.; Lughofer, E. An evolving neuro-fuzzy system based on uni-nullneurons with advanced interpretability capabilities. Neurocomputing 2021, 451, 231–251. [Google Scholar] [CrossRef]
  9. Souza, P.; Ponce, H.; Lughofer, E. Evolving fuzzy neural hydrocarbon networks: A model based on organic compounds. Knowl.-Based Syst. 2020, 203, 106099. [Google Scholar] [CrossRef]
  10. Leite, D.; Costa, P.; Gomide, F. Evolving granular neural networks from fuzzy data streams. Neural Netw. 2013, 38, 1–16. [Google Scholar] [CrossRef]
  11. Silva, A.M.; Caminhas, W.; Lemos, A.; Gomide, F. A fast learning algorithm for evolving neo-fuzzy neuron. Appl. Soft Comput. 2014, 14, 194–209. [Google Scholar] [CrossRef]
  12. Lughofer, E. On-line assurance of interpretability criteria in evolving fuzzy systems—Achievements, new concepts and open issues. Inf. Sci. 2013, 251, 22–46. [Google Scholar] [CrossRef]
  13. Anders, T. Territorial control in civil wars: Theory and measurement using machine learning. J. Peace Res. 2020, 57, 701–714. [Google Scholar] [CrossRef]
  14. Singh, A.; Amutha, J.; Nagar, J.; Sharma, S.; Lee, C.C. AutoML-ID: Automated machine learning model for intrusion detection using wireless sensor network. Sci. Rep. 2022, 12, 9074. [Google Scholar] [CrossRef] [PubMed]
  15. Xu, P.; Wu, J.; Shang, C.; Chang, C.Y. GSMS: A Barrier Coverage Algorithm for Joint Surveillance Quality and Network Lifetime in WSNs. IEEE Access 2019, 7, 159608–159621. [Google Scholar] [CrossRef]
  16. Fan, F.; Ji, Q.; Wu, G.; Wang, M.; Ye, X.; Mei, Q. Dynamic barrier coverage in a wireless sensor network for smart grids. Sensors 2018, 19, 41. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  17. Amutha, J.; Sharma, S.; Nagar, J. WSN strategies based on sensors, deployment, sensing models, coverage and energy efficiency: Review, approaches and open issues. Wirel. Pers. Commun. 2020, 111, 1089–1115. [Google Scholar] [CrossRef]
  18. Singh, A.; Nagar, J.; Sharma, S.; Kotiyal, V. A Gaussian process regression approach to predict the k-barrier coverage probability for intrusion detection in wireless sensor networks. Expert Syst. Appl. 2021, 172, 114603. [Google Scholar] [CrossRef]
  19. Nagar, J.; Sharma, S. k-Barrier coverage-based intrusion detection for wireless sensor networks. In Cyber Security; Springer: Berlin/Heidelberg, Germany, 2018; pp. 373–385. [Google Scholar]
  20. Sharma, S.; Nagar, J. Intrusion detection in mobile sensor networks: A case study for different intrusion paths. Wirel. Pers. Commun. 2020, 115, 2569–2589. [Google Scholar] [CrossRef]
  21. Rajesh, S.; Sangeetha, M. Intrusion Detection In Wsn Using Modified AODV Algorithm. In Proceedings of the I3CAC 2021: Proceedings of the First International Conference on Computing, Communication and Control System, I3CAC 2021, Chennai, India, 7–8 June 2021; European Alliance for Innovation: Ghent, Belgium, 2021; p. 182. [Google Scholar]
  22. Lughofer, E. Evolving Fuzzy Systems—Methodologies, Advanced Concepts and Applications; Springer: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
  23. Bordignon, F.; Gomide, F. Uninorm based evolving neural networks and approximation capabilities. Neurocomputing 2014, 127, 13–20. [Google Scholar] [CrossRef]
  24. Kasabov, N.K. On-line learning, reasoning, rule extraction and aggregation in locally optimized evolving fuzzy neural networks. Neurocomputing 2001, 41, 25–45. [Google Scholar] [CrossRef]
  25. Kasabov, N. Evolving fuzzy neural networks for supervised/unsupervised online knowledge-based learning. IEEE Trans. Syst. Man Cybern. Part B (Cybern.) 2001, 31, 902–918. [Google Scholar] [CrossRef]
  26. Malcangi, M.; Nano, G. Biofeedback: E-health prediction based on evolving fuzzy neural network and wearable technologies. Evol. Syst. 2021, 12, 645–653. [Google Scholar] [CrossRef]
  27. Tang, J.; Zou, Y.; Ash, J.; Zhang, S.; Liu, F.; Wang, Y. Travel time estimation using freeway point detector data based on evolving fuzzy neural inference system. PLoS ONE 2016, 11, e0147263. [Google Scholar] [CrossRef] [PubMed]
  28. Hernández, J.A.M.; Castaneda, F.G.; Cadenas, J.A.M. An evolving fuzzy neural network based on the mapping of similarities. IEEE Trans. Fuzzy Syst. 2009, 17, 1379–1396. [Google Scholar] [CrossRef]
  29. Molnar, C. Interpretable Machine Learning. 2020. Available online: https://christophm.github.io/interpretable-ml-book (accessed on 28 June 2022).
  30. Schaffer, C. Overfitting Avoidance as Bias. Mach. Learn. 1993, 10, 153–178. [Google Scholar] [CrossRef] [Green Version]
  31. Lughofer, E.; Bouchot, J.L.; Shaker, A. On-line Elimination of Local Redundancies in Evolving Fuzzy Systems. Evol. Syst. 2011, 2, 165–187. [Google Scholar] [CrossRef]
  32. Gacto, M.; Alcala, R.; Herrera, F. Interpretability of Linguistic Fuzzy Rule-Based Systems: An Overview of Interpretability Measures. Inf. Sci. 2011, 181, 4340–4360. [Google Scholar] [CrossRef]
  33. Gu, X.; Angelov, P.P.; Príncipe, J.C. A method for autonomous data partitioning. Inf. Sci. 2018, 460, 65–82. [Google Scholar] [CrossRef] [Green Version]
  34. Angelov, P.; Gu, X.; Kangin, D. Empirical data analytics. Int. J. Intell. Syst. 2017, 32, 1261–1284. [Google Scholar] [CrossRef]
  35. De Campos Souza, P.V.; Lughofer, E.; Guimaraes, A.J. An interpretable evolving fuzzy neural network based on self-organized direction-aware data partitioning and fuzzy logic neurons. Appl. Soft Comput. 2021, 112, 107829. [Google Scholar] [CrossRef]
  36. Huang, G.B.; Zhu, Q.Y.; Siew, C.K. Extreme learning machine: Theory and applications. Neurocomputing 2006, 70, 489–501. [Google Scholar] [CrossRef]
  37. Albert, A. Regression and the Moore-Penrose Pseudoinverse; Elsevier: Amsterdam, The Netherlands, 1972. [Google Scholar]
  38. Huang, G.B.; Chen, L.; Siew, C.K. Universal approximation using incremental constructive feedforward networks with random hidden nodes. IEEE Trans. Neural Netw. 2006, 17, 879–892. [Google Scholar] [CrossRef] [Green Version]
  39. Ludl, M.C.; Widmer, G. Relative unsupervised discretization for regression problems. In European Conference on Machine Learning; Springer: Berlin/Heidelberg, Germany, 2000; pp. 246–254. [Google Scholar]
  40. Salman, R.; Kecman, V. Regression as classification. In Proceedings of the 2012 Proceedings of IEEE Southeastcon, Orlando, FL, USA, 15–18 March 2012; pp. 1–6. [Google Scholar] [CrossRef]
  41. Torgo, L.; Gama, J. Regression by classification. In Brazilian Symposium on Artificial Intelligence; Springer: Berlin/Heidelberg, Germany, 1996; pp. 51–60. [Google Scholar]
  42. Lughofer, E. On-line incremental feature weighting in evolving fuzzy classifiers. Fuzzy Sets Syst. 2011, 163, 1–23. [Google Scholar] [CrossRef]
  43. Finch, T. Incremental calculation of weighted mean and variance. Univ. Camb. 2009, 4, 41–42. [Google Scholar]
  44. Qin, S.; Li, W.; Yue, H. Recursive PCA for Adaptive Process Monitoring. J. Process Control 2000, 10, 471–486. [Google Scholar]
  45. Bifet, A.; Holmes, G.; Kirkby, R.; Pfahringer, B. MOA: Massive Online Analysis. J. Mach. Learn. Res. 2010, 11, 1601–1604. [Google Scholar]
  46. Singh, A.; Amutha, J.; Nagar, J.; Sharma, S.; Lee, C.C. LT-FS-ID: Log-Transformed Feature Learning and Feature-Scaling-Based Machine Learning Algorithms to Predict the k-Barriers for Intrusion Detection Using Wireless Sensor Network. Sensors 2022, 22, 1070. [Google Scholar] [CrossRef]
  47. Gu, X. Multilayer Ensemble Evolving Fuzzy Inference System. IEEE Trans. Fuzzy Syst. 2021, 29, 2425–2431. [Google Scholar] [CrossRef]
  48. Angelov, P.P.; Gu, X.; Príncipe, J.C. Autonomous Learning Multimodel Systems From Data Streams. IEEE Trans. Fuzzy Syst. 2018, 26, 2213–2224. [Google Scholar] [CrossRef] [Green Version]
  49. Gu, X.; Shen, Q.; Angelov, P.P. Particle Swarm Optimized Autonomous Learning Fuzzy System. IEEE Trans. Cybern. 2021, 51, 5352–5363. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Figure 1. Example of sensors for identifying intruders.
Figure 1. Example of sensors for identifying intruders.
Sensors 22 05446 g001
Figure 2. ENFS-Uni0-reg.
Figure 2. ENFS-Uni0-reg.
Sensors 22 05446 g002
Figure 3. Algorithm execution steps.
Figure 3. Algorithm execution steps.
Sensors 22 05446 g003
Figure 4. Graphical evaluation of the main features of the evaluated dataset.
Figure 4. Graphical evaluation of the main features of the evaluated dataset.
Sensors 22 05446 g004
Figure 5. Result in trend lines for the evaluation of the k-barriers prediction.
Figure 5. Result in trend lines for the evaluation of the k-barriers prediction.
Sensors 22 05446 g005
Figure 6. Result in trend lines for the evaluation of the k-barriers prediction.
Figure 6. Result in trend lines for the evaluation of the k-barriers prediction.
Sensors 22 05446 g006
Figure 7. Result in trend lines for the evaluation of the k-barriers prediction (best dimensions).
Figure 7. Result in trend lines for the evaluation of the k-barriers prediction (best dimensions).
Sensors 22 05446 g007
Figure 8. Evolution of neurons throughout the evaluation.
Figure 8. Evolution of neurons throughout the evaluation.
Sensors 22 05446 g008
Figure 9. Initial result of data fuzzification (relation area versus sensing range).
Figure 9. Initial result of data fuzzification (relation area versus sensing range).
Sensors 22 05446 g009
Figure 10. Final result of data fuzzification (relation area versus sensing range).
Figure 10. Final result of data fuzzification (relation area versus sensing range).
Sensors 22 05446 g010
Figure 11. Consistency of fuzzy rules during evaluation.
Figure 11. Consistency of fuzzy rules during evaluation.
Sensors 22 05446 g011
Figure 12. Evolution of rule consequents.
Figure 12. Evolution of rule consequents.
Sensors 22 05446 g012
Table 1. Statistics on the dataset for the number of k-barriers prediction.
Table 1. Statistics on the dataset for the number of k-barriers prediction.
FeatureMeanStandard DeviationMaximumMinimum
area24,375.0015,197.2550,000.005000.00
sensing range27.507.5240.0015.00
transmission range55.0015.0480.0030.00
number of sensor nodes250.0090.24400.00100.00
number of barriers94.0765.17320.0012.00
Table 2. Result of wireless sensor network data set (highlighted in bold is the best result).
Table 2. Result of wireless sensor network data set (highlighted in bold is the best result).
ModelRMSE.
ENFS-Uni0-reg11.16 (2.21)
ENFS-Uni012.29 (4.81)
MEEFIS13.60 (3.91)
ALMMo27.05 (1.67)
PSO-ALMMo24.27 (5.07)
Table 3. Values of the consequents of the generated fuzzy rules.
Table 3. Values of the consequents of the generated fuzzy rules.
Fuzzy Rulevv Standardized
115,937.140.6996
2−51,137.92−2.2412
35260.040.2314
48603.600.3780
56352.770.2794
67258.790.3191
77593.080.3337
Table 4. Interpretability with respect to (degree of) changes in fuzzy neurons during the evolving phase.
Table 4. Interpretability with respect to (degree of) changes in fuzzy neurons during the evolving phase.
Rule 1 did not change.
Rule 2 did not change.
Rule 3 changed with one membership function, changing the rule consequent from positive to negative.
Rule 4 changed with one membership function, changing the rule consequent from positive to negative.
Rule 5 changed with one membership function, changing the rule consequent from positive to negative.
Rule 6 changed with one membership function, changing the rule consequent from negative to positive.
Rule 7 changed with one membership function, changing the rule consequent from positive to negative.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

de Campos Souza, P.V.; Lughofer, E.; Rodrigues Batista, H. An Explainable Evolving Fuzzy Neural Network to Predict the k Barriers for Intrusion Detection Using a Wireless Sensor Network. Sensors 2022, 22, 5446. https://0-doi-org.brum.beds.ac.uk/10.3390/s22145446

AMA Style

de Campos Souza PV, Lughofer E, Rodrigues Batista H. An Explainable Evolving Fuzzy Neural Network to Predict the k Barriers for Intrusion Detection Using a Wireless Sensor Network. Sensors. 2022; 22(14):5446. https://0-doi-org.brum.beds.ac.uk/10.3390/s22145446

Chicago/Turabian Style

de Campos Souza, Paulo Vitor, Edwin Lughofer, and Huoston Rodrigues Batista. 2022. "An Explainable Evolving Fuzzy Neural Network to Predict the k Barriers for Intrusion Detection Using a Wireless Sensor Network" Sensors 22, no. 14: 5446. https://0-doi-org.brum.beds.ac.uk/10.3390/s22145446

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop