Literature DB >> 36236790

Multi-Path Routing Algorithm for Wireless Sensor Network Based on Semi-Supervised Learning.

Yiping Guo1, Guyu Hu1, Dongsheng Shao2.   

Abstract

Multi-path transmission can well solve the data transmission reliability problems and life cycle problems caused by single-path transmission. However, the accuracy of the routing scheme generated by the existing multi-path routing algorithms is difficult to guarantee. In order to improve the accuracy of the multi-path routing scheme, this paper innovatively proposes a multi-path routing algorithm for a wireless sensor network (WSN) based on the evaluation. First, we design and implement the real-time evaluation algorithm based on semi-supervised learning (RESL). We prove that RESL is better in evaluation time and evaluation accuracy through comparative experiments. Then, we combine RESL to design and implement the multi-path routing algorithm for wireless sensor networks based on semi-supervised learning (MRSSL). Then, we prove that MRSSL has advantages in improving the accuracy of the multi-path routing scheme through comparative experiments.

Entities:  

Keywords:  evaluation; multi-path routing; semi-supervised learning; wireless sensor network

Year:  2022        PMID: 36236790      PMCID: PMC9571042          DOI: 10.3390/s22197691

Source DB:  PubMed          Journal:  Sensors (Basel)        ISSN: 1424-8220            Impact factor:   3.847


1. Introduction

Wireless sensor networks consist of a large number of sensor nodes. These sensor nodes use wireless communication to form a multi-hop self-organizing network system, so as to realize cooperative sensing, collection and processing of the information of sensing objects in the geographical area covered by the network [1]. The structure of wireless sensor network is generally simple, as shown in Figure 1. The data transmission of the whole network is mainly the transmission process between the sink node and the source sensor node.
Figure 1

Wireless sensor network structure.

In the process of designing the traditional routing method of the wireless sensor network, the optimal path from the source sensor node to the sink node is generally used for data transmission. There are many problems with the traditional single-path transport mechanism. First, single-path transmission cannot guarantee the reliability of data transmission. Once the current path fails, the reliability of data transmission cannot be guaranteed because there is no backup path available. The rerouting caused by this consumes more (communication) energy, which is undoubtedly fatal to sensor nodes that are already short of energy. Second, single-path transmission puts more pressure on the network. If a large amount of data needs to be transmitted between the source sensor node and the sink node, blindly relying on a certain path for data transmission will make the energy consumption of each network node vary greatly. It often causes premature aging of some nodes [2], which eventually leads to a shortened network life cycle [3]. Multi-path transmission can well solve the data transmission reliability problems and life cycle problems caused by single-path transmission [4]. References [4,5] have proposed solutions to the problems caused by single-path transmission. Reference [5] proposed a graph routing algorithm with enhanced lifecycle (hereinafter referred to as QGRLE). The algorithm effectively alleviates the life cycle problem and considers the reliability of data transmission but does not effectively solve the problem of data transmission reliability. Reference [4] proposed a classical energy multi-path routing mechanism (hereafter referred to as CEMRM). The mechanism establishes multiple paths between the source node and the destination node and assigns a certain selection probability to each path according to the communication energy consumption of the nodes on the paths and the remaining energy of the nodes. This mechanism effectively alleviates life cycle issues and data transmission reliability issues. Reference [6] proposed a multi-path routing algorithm based on the genetic algorithm, which dynamically selects the optimal path with the minimum distance and minimum energy dissipation according to the cost function. Reference [7] proposed a multi-path routing algorithm based on quadratic programming. The algorithms proposed in references [6,7] can reduce energy consumption and routing overhead, but they are difficult to ensure the accuracy of the routing scheme. Compared with single-path transmission, multi-path transmission has obvious advantages. However, the accuracy of the routing scheme generated by the existing multi-path routing algorithms is difficult to guarantee [8]. After the multi-path routing scheme is generated, the paths are selected in order for data transmission. Each additional selection is a waste of energy, and an inaccurate routing scheme will lead to a large amount of energy waste. The node energy in wireless sensor networks is limited, so the accuracy of the routing scheme is very important, but the existing schemes have not been deeply researched on this problem. For the accuracy of the routing scheme, this paper considers using evaluation to improve the accuracy of the routing scheme. We evaluate the initial routing scheme immediately after it is generated and make adjustments to the schemes with abnormal evaluation (that is, the routing scheme is inaccurate), thereby effectively improving the accuracy of the final routing scheme. At present, the common algorithms used to evaluate routing schemes include fuzzy evaluation algorithm [9], adaptive evaluation algorithm [10] and so on. Multi-path transmission can well solve the problems caused by single-path transmission. However, existing multi-path routing algorithms are difficult to ensure the accuracy of the generated routing scheme. The innovation of this paper is to solve the problem of low accuracy of multi-path routing schemes in wireless sensor networks (WSN) by means of evaluation. The main research contents are as follows: (1) Section 2 covers the design and implementation of the real-time evaluation algorithm based on semi-supervised learning (RESL) with the goal of reducing evaluation time and improving evaluation accuracy. Then, we compare RESL with the two evaluation algorithms proposed in references [9,10]. The experimental results show that RESL is better in evaluation time and evaluation accuracy. (2) Section 3 combines RESL to design and implement the multi-path routing algorithm for wireless sensor networks based on semi-supervised learning (MRSSL). Then, we compare MRSSL with the two wireless sensor network multi-path routing algorithms proposed in references [4,5]. The experimental results show that MRSSL is better in the accuracy of the routing scheme.

2. Real-Time Evaluation Algorithm Based on Semi-Supervised Learning (RESL)

In this section, we design and implement the real-time evaluation algorithm based on semi-supervised learning (RESL). We verify the advantages of this algorithm in reducing evaluation time and improving evaluation accuracy through comparative experiments.

2.1. Algorithm Design and Implementation

In order to improve the applicability of the evaluation algorithm (applicable to single-path transmission and multi-path transmission), this section considers converting the routing scheme into a single piece of data and performs real-time evaluation. When a node generates a routing scheme, routing scheme is converted into a single piece of data before transmitting data according to the scheme. To determine whether the data is abnormal is to evaluate in real time whether the routing scheme is feasible. To improve evaluation accuracy and further reduce evaluation time, we employ machine learning algorithms to evaluate the routing scheme. Unlabeled samples are more readily available than labeled samples. Since supervised learning requires all training data to be labeled, we chose semi-supervised learning with only a few labeled samples. Since there are only two types of labels, abnormal and non-anomalous, we chose a semi-supervised learning algorithm suitable for binary classification problems. Here, we chose the Semi-Supervised Support Vector Machine (S3VM). This type of algorithm has the following advantages: (1) There are less restrictions on the form of input data, which is conducive to reuse and training data generation. (2) The storage overhead is low, which is beneficial for us to process large-scale data. (3) It is simple and effective. Compared with other semi-supervised learning algorithms, the latency is relatively low, which can properly compensate for the timeliness shortcomings of evaluation methods. The classic algorithm in the semi-supervised support vector machine is the Transduction Support Vector Machine (TSVM) [11]. Assumption: Given a labeled sample set and an unlabeled sample set . (1 means abnormal, −1 means not abnormal), . The goal of TSVM is to predict the label of (that is ) such that it satisfies Equation (1). In Equation (1), is the relaxation vector; and are user-defined parameters for balancing the importance of labeled samples and unlabeled samples; determines a dividing hyperplane. TSVM continuously tries to assign labels to unlabeled samples, and the goal is to determine the partitioning hyperplane that maximizes the separation over all samples. The flow of TSVM is shown in Algorithm 1. Algorithm 1 obtains the predicted labels for unlabeled samples and a final SVM model (hereinafter referred to as the TSVM model), which can be used to predict new samples. We generate the initial multi-path routing scheme according to the wireless sensor network multi-path routing algorithm proposed in reference [4]. The scheme includes p paths sorted according to the selection probability from large to small, and each path must have a node with the smallest remaining energy. The unlabeled samples in this paper contain the energy consumption and remaining energy of these p nodes. Due to the different training data sets (including labeled samples and unlabeled samples) corresponding to different p and the high cost of manually obtaining training data, it is difficult for us to obtain enough training data for all possible p. To ensure efficient operation of TSVM and avoid overfitting, we need to ensure that there is enough training data. Therefore, we employ data augmentation to improve TSVM in an attempt to effectively augment the training data. Supervised data augmentation is to expand more labeled data from the original labeled data through some transformation method, and then use the original data and augmented data to jointly train the model. The current general method is to fit the real sample distribution by adding sample points to continuous discrete sample points. We build on this idea for data augmentation in semi-supervised tasks. We expand positive labeled samples, negative labeled samples and unlabeled samples, respectively. We leave the markup the same and expand in the same way. The expansion method is to insert a sample point into the two discrete sample points and , and the calculation method of the interpolation is as shown in Equation (2). In Equation (2), and are user-defined parameters, which are generally set to 0.5. The flow of data enhancement for TSVM is shown in Algorithm 2. It is assumed that the routing scheme involves p paths in total, and each path has a minimum residual energy node, so the scheme includes p minimum residual energy nodes. The energy consumption of the i-th node is , and the remaining energy is . The scheme to be checked is . The label y equal to 1 indicates that x is abnormal. The equation for determining the label is Equation (3). When the load ratio of a node exceeds a predetermined threshold (which may cause the node to fail) or the variance of the load of all nodes exceeds a predetermined threshold (indicating that the energy distribution is unreasonable, which may eventually lead to node failure), the logical value of Equation (3) is 1, that is, x is abnormal. Combining Algorithms 1 and 2, we design and implement the real-time evaluation algorithm based on semi-supervised learning (RESL), whose flow is as in Algorithm 3. When the training data is not enough to train an effective model, use formula (3) to obtain the label; when the training data is enough to train the model but not enough to train a better model, the label is obtained after the data is enhanced; when the training data is enough to train a good model, the label is obtained directly.

2.2. Comparative Experiment

Taking time and accuracy as evaluation indicators, we compared the evaluation algorithm (RESL) proposed in this paper with the evaluation algorithm proposed in references [9,10]. The fuzzy evaluation algorithm (FEA) proposed in reference [9] has a very low evaluation time, but the evaluation accuracy is not high; the adaptive evaluation algorithm (AEA) proposed in reference [10] has a high evaluation accuracy, but the evaluation time is not low. We measured and recorded the evaluation time and evaluation accuracy of the three algorithms for the same multi-path routing scheme. Evaluation accuracy We conducted a total of 500 trials and the results are shown in Table 1. We used three algorithms to measure each of the 50 sets of data corresponding to p = 1~10 and recorded the evaluation accuracy.
Table 1

Evaluation accuracy.

The Number of PathsEvaluation Accuracy
RESLFEAAEA
p = 10.980.940.96
p = 20.980.920.98
p = 310.941
p = 410.921
p = 510.880.96
p = 60.980.880.94
p = 70.960.840.94
p = 810.880.94
p = 910.860.94
p = 1010.840.92
If the path is selected more than twice (that is, the top two paths are not feasible), the actual result of the routing scheme is abnormal. We converted the routing plan to the corresponding data to be checked and used three evaluation algorithms to evaluate the data to be checked to obtain the judgment result (whether it is abnormal). If the judgment result is the same as the actual result, the evaluation is regarded as accurate. Since FEA and AEA both evaluate the multi-path routing scheme multiple times, if at least one abnormality occurs in the multiple evaluations, the judgment result is abnormal. Plot Table 1 as Figure 2. It can be seen from Figure 2 that the evaluation accuracy of RESL is much higher than that of FEA and slightly higher than that of AEA.
Figure 2

Evaluation accuracy.

Evaluation time We conducted a total of 150 trials and the results are shown in Table 2. We used three algorithms to measure each of the 50 sets of data corresponding to p = 1~10 and recorded the running time of the evaluation algorithm.
Table 2

Algorithm running time.

The Number of PathsAlgorithm Running Time (ms)
RESLFEAAEA
p = 119, 29, 19, 19, 201, 1, 1, 1, 15, 19, 19, 19, 19
p = 220, 20, 30, 19, 202, 2, 2, 2, 240, 40, 40, 40, 40
p = 319, 29, 29, 29, 293, 3, 3, 3, 359, 60, 59, 60, 60
p = 460, 60, 59, 59, 604, 4, 4, 4, 480, 80, 80, 80, 80
p = 569, 69, 79, 69, 705, 5, 5, 5, 5100, 100, 100, 100, 100
p = 6110, 109, 109, 109, 1096, 6, 6, 6, 6120, 119, 120, 120, 119
p = 7129, 129, 129, 130, 1307, 7, 7, 7, 7140, 140, 140, 140, 140
p = 8150, 159, 149, 150, 1508, 8, 8, 8, 8159, 160, 160, 160, 160
p = 9179, 169, 169, 169, 1699, 9, 9,9, 9180, 180, 180, 179, 180
p = 10180, 180, 180, 180, 18010, 10, 10, 10, 10200, 200, 199, 199, 200
Since both FEA and AEA are single-path evaluations, they need to perform multiple evaluations for the multi-path solution, so their evaluation time counts the total time of multiple evaluations. Plot Table 2 as Figure 3. It can be seen from Figure 3 that the algorithm running time of RESL is lower than AEA but higher than FEA.
Figure 3

Algorithm running time.

Although FEA has a great advantage in algorithm running time, its evaluation accuracy is not high. The time cost of evaluating errors introduced (rerouting time, etc.) is much higher than the running time of evaluating algorithms. Therefore, the overall evaluation time of using FEA in an evaluation-based routing algorithm is unstable and extremely time-consuming. Given that the running time of the algorithm is t, the evaluation accuracy is c and the time introduced by the evaluation error is f. The evaluation time T for evaluating the routing scheme is defined as Equation (4). Given different f, we combine Table 1 and Table 2 to obtain the evaluation time of the three algorithms, as shown in Figure 4.
Figure 4

Evaluation time.

It can be seen from Figure 4 that the evaluation time of RESL is lower than that of FEA and AEA. In conclusion, RESL outperforms the two comparison algorithms in evaluation time and evaluation accuracy. (1) Compared with FEA with extremely low algorithm running time, the evaluation accuracy of RESL is much higher than that of FEA. Although the algorithm running time of RESL is higher than that of FEA, the evaluation time is lower than that of FEA. (2) Compared with AEA, which has a higher evaluation accuracy, the evaluation accuracy of RESL is slightly higher than that of AEA and the evaluation time is lower than that of AEA.

3. Multi-Path Routing Algorithm for Wireless Sensor Network Based on

3.1. Semi-Supervised Learning (MRSSL)

In this section, we design and implement a semi-supervised learning-based multi-path routing algorithm for wireless sensor networks (MRSSL). We prove that the algorithm has significant effect in improving the accuracy of the routing scheme through comparative experiments.

3.2. Algorithm Design and Implementation

The basic idea of MRSSL is to use the RESL proposed in Section 2 (i.e., Algorithm 3) to evaluate the multi-path routing scheme, and then adjust the scheme that evaluates abnormally (i.e., y = 1) until the evaluation is normal (i.e., y = 0) or end of iteration. According to this idea, we designed and implemented the multi-path routing algorithm for wireless sensor networks based on semi-supervised learning (MRSSL), whose flow is shown in Algorithm 4. The initial scheme in Algorithm 4 is . Every time the scheme is adjusted, the value pairs are reordered (). The abnormality of the initial scheme indicates that the top two paths in the scheme are infeasible, so the constraint condition of the adjustment scheme is to adjust the top two value pairs of the initial scheme to the end. The output of Algorithm 4 is the final multi-path routing scheme. The multiple paths in the routing scheme are ordered from high to low probability of selection.

3.3. Comparative Experiment

In order to verify the advantages of MRSSL in improving the accuracy of multi-path routing schemes, we compared it with two classical multi-path routing algorithms (CEMRM proposed in [4] and RMBDP proposed in [5]). We tested the routing schemes generated by three multi-path routing algorithms. In each test, the existence of feasible paths in the top two paths in the routing scheme indicates that the scheme is feasible. We grouped 50 different tests as a set and recorded the average feasibility rate. We conducted ten groups of tests, and the experimental results are shown in Table 3 (corresponding to Figure 5). The higher the average feasible rate of the routing scheme, the higher the accuracy of the routing scheme.
Table 3

Average feasible rate.

Data GroupAverage Feasible Rate
RMWSLRMBDPCEMRM
110.981
2110.96
30.980.900.98
40.980.980.98
50.940.940.94
6111
710.781
810.540.96
9110.98
100.980.960.92
Figure 5

Average feasible rate.

Executing the same number of schemes multiple times, a higher scheme feasibility rate indicates that there is a higher probability of including a feasible scheme, indicating that the scheme accuracy is higher. It can be seen from Figure 5 that the average feasibility rate of the scheme generated by MRSSL is higher than that of the two comparison methods, indicating that MRSSL has advantages in improving the accuracy of the multi-path routing scheme.

4. Conclusions

Multi-path transmission can well solve the problems caused by single-path transmission. However, existing multi-path routing algorithms make it difficult to ensure the accuracy of the generated routing scheme. The innovation of this paper is to solve the problem of low accuracy of multi-path routing schemes in wireless sensor networks (WSN) by means of evaluation. First, we designed and implemented the real-time evaluation algorithm based on semi-supervised learning (RESL). We proved that RESL is better in evaluation time and evaluation accuracy through comparative experiments. Then, we combined RESL to design and implement the multi-path routing algorithm for wireless sensor networks based on semi-supervised learning (MRSSL). We proved that MRSSL has advantages in improving the accuracy of the multi-path routing scheme through comparative experiments. The method proposed in this paper can be well applied to the routing of WSN. In the research process, there are still shortcomings: (1) Due to the limited training data and time-consuming acquisition, the evaluation method proposed in this paper can only be a semi-supervised algorithm with lower evaluation accuracy. Later, if a lot of time can be used to further improve the training data, it can be replaced with a supervised algorithm with a higher evaluation accuracy. (2) Whether the method proposed in this paper is applicable to other network areas should be explored in the next work.
  1 in total

1.  Energy Efficient Multipath Routing Algorithm for Wireless Multimedia Sensor Network.

Authors:  Addisalem Genta; D K Lobiyal; Jemal H Abawajy
Journal:  Sensors (Basel)       Date:  2019-08-21       Impact factor: 3.576

  1 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.