# Pattern Recognition and Neural Network-Driven Roller Track Analysis via 5G Network

Authors: Yuliang Guo
Journal: Mobile Information Systems
 (2020)

---

## Abstract

Roller skating is an important and international physical exercise, which has beautiful body movements to be watched. However, the falling of roller athletes also happens frequently. Upon the roller athletes’ fall, it means that the whole competition is over and even the roller athletes are perhaps injured. In order to stave off the tragedy, the roller track can be analyzed and be notified the roller athlete to terminate the competition. With such consideration, this paper analyzes the roller track by using two advanced technologies, i.e., pattern recognition and neural network, in which each roller athlete is equipped with an automatic movement identifier (AMI). Meanwhile, AMI is connected with the remote video monitor referee via the transmission of 5G network. In terms of AMI, its function is realized by pattern recognition, including data collection module, data processing module, and data storage module. Among them, the data storage module considers the data classification based on roller track. In addition, the neural network is used to train the roller tracks stored at AMI and give the further analysis results for the remote video monitor referee. Based on NS3, the devised AMI is simulated and the experimental results reveal that the prediction accuracy can reach 100% and the analyzed results can be used for the falling prevention timely.


---

## Body

## 1. Introduction

With respect to the beautiful sports, the roller skating is a nonnegligible and international physical exercise thanks to its graceful body movements. Since the roller athletes make the highly ornamental postures during the process of competition, it perhaps causes the dangerous situations, where the falling of roller athletes is regarded as the most representative tragedy [1, 2]. Upon the roller athletes’ fails, this indicates that the whole roller competition is forced to be over; at the same time, the roller athletes may be seriously affected. Therefore, it is a very important research topic to make the falling detection for the roller athletes. Regarding this, a comment and popular method is to analyze the roller track, and based on this, the falling risk can be decreased.The neural network [3–5] is usually used to analyze the behavior track including but not limited to the roller track, this is because it has some obvious advantages. For example, it has the strong computation ability, especially for the large-scale data features. Besides, it also has the strong stability to obtain the convergent analysis results. To sum up, the neural network can be used to train the prestored data related to the previous roller tracks and give the real-time training results to be used for the falling prevention. Well, there are a number of neural network models, but the back-propagation (BP) neural network [6, 7] has the simplest network structure. Thus, this paper uses BP neural network to do the data training.In spite of this, it also exits three issues: at first, where the BP neural network module is embedded; then, what the prestored data container is; finally, how to transmit the analysis result between roller athletes and the remote video monitor referee. These first two issues require this paper to explore an additional component, i.e., automatic movement identifier, (AMI) to store such roller tracks data. In particular, AMI is equipped into the body of roller athlete. In other words, the BP neural network module is embedded into AMI and used to train the roller tracks stored at AMI. However, the further problem is how to obtain the roller tracks data. Regarding this, the pattern recognition [8–10] is a highly-regarded candidate. That is to say, the function of AMI can be realized by pattern recognition by three inherent modules, i.e., data collection, data processing, and data storage. Furthermore, in terms of the last issue, it has the ultra-high requirement on the delay and stability of data transmission. Upon the transmission delay being out of the certain level of acceptance, the falling behavior cannot be avoided even though the system has detected the analysis results on the falling of roller athletes. Similarly, if the data transmission is unstable, the remote video monitor referee and roller athletes cannot make the following decision well. With these concerns, the 5G-enabled network can be deployed at the competition gymnasiums and stadiums so as to enhance the transmission stability and cut down the transmission delay.By reviewing the above statements, it is observed that pattern recognition and BP neural network are used to analyze the roller track, and the 5G network is used to guarantee the data transmission [11–13]. To sum up, the contributions of this paper are shown as follows. At first, the whole roller track analysis structure is introduced. Then, AMI is devised and its function is realized by pattern recognition. Thirdly, the improved BP neural network is used to do the data training. Finally, the experimental results reveal that the prediction accuracy can reach 100% and the analyzed results can be used for the falling prevention timely.The remaining paper is organized as follows. Section2 introduces the whole network architecture. Section 3 uses pattern recognition to realize AMI. Section 4 uses BP neural network to train the data. Section 5 reports the experimental results. The overview of this paper is concluded in Section 6.


## 2. Network Architecture

The whole network architecture includes two character roles, i.e., roller athlete and remote video monitor referee, where the former is the main research object and the latter is the assistant research optimization, as shown in Figure1. In particular, the whole network architecture introduces a new component, i.e., AMI to store the roller tracks data, and AMI is equipped into the body of roller athlete.Figure 1
The whole network architecture.Furthermore, AMI consists of two modules, i.e., pattern recognition and BP neural network. Meanwhile, the pattern recognition module is used to realize AMI based on data collection, data processing, and data storage, where the data storage part considers the data classification based on roller track. The BP neural network module is used to train the roller tracks stored at AMI and give the further analysis results.Moreover, based on the analyzed results, the whole network architecture involves two kinds of message transmissions. On one hand, AMI delivers the analyzed results to the roller athlete directly and the competition is forced to be terminated. On the other hand, AMI delivers the analyzed results to the remote video monitor referee for conducting the posture adjustment. If the analyzed results belong to the emergency situation, the first kind of message is performed; otherwise, the second kind of message is performed. Especially for the second condition, the data transmission between AMI and remote video monitor referee depends on the 5G-enabled network to guarantee the fast and stable performance.


## 3. Pattern Recognition

The pattern recognition is used to realize the function of AMI, which includes data collection, data processing, and data storage. The system framework of pattern recognition is shown in Figure2, and the whole process is completed based on field-programmable gate array (FPGA) [14]. To be specific, the inherent static random access memory (SRAM) [15] is used to extract the roller tracks. Then, the digital signals are converted into the analog signals by a D/A transverter. Finally, the analog signals are amplified based on rejector and input into FPGA for receiving, processing, and storing.Figure 2
The whole system framework of pattern recognition.


### 3.1. Feature Vector Determination

During the process of data classification for roller tracks, it involves the attribution problem in terms of data samples. For such problem, the basic principle is to build the maximum membership degree function. Furthermore, letWx denote the x−th data object’s feature vector, and for N data applications in terms of roller tracks, Wx is expressed as w1,w2,…,wN and Wx∈fg. For any g0∈G, if it exits, i≤N, and g0 is regarded as one membership degree value of Wx. On this basis, all membership degree functions can be determined based on the feature values of roller tracks, which are used to make the data classification of roller tracks.Regarding the determination of feature vector, the law of large numbers based on the Chebyshev [16] is used to obtain the coagulation equation with respect to the random variable:(1)h−GhGh<δ≥1−varhδG2h,where h is a random variable; varh is the variance; Gh is the average value; and δ is the error value. When the variance is relatively small, the corresponding error value is smaller than δ. In other words, when and only when the coagulation value is around the average value, the relatively small error value can be guaranteed. In order to further make the data classification for roller tracks, this paper introduces a resolution for objective set:(2)P=Gh0−Ghavarh0+varha,where h0 is the object and ha is the backdrop.


### 3.2. Membership Degree Function Computation

LetVi denote any data application’s feature vector, i.e., Vi=v1,v2,…,vj, where vj is the subcomponent of Vi and it concentrates around the average value. For a data application a, vj is used to compute the related membership degree value ea. In particular, the Cauchy distribution [17] is used as the reference of the membership degree function, as shown in Figure 3.Figure 3
The Cauchy distribution reference.Based on the Cauchy distribution reference,ea is computed as follows:(3)ea=1−vj−ave∑Nvj−ave,where ave is the average value. Regarding further obtaining of the method of data storage in terms of AMI, this paper uses the maximum membership degree to address this. Let Da denote the maximum membership degree function regarding a, and it is defined as follows:(4)Da=Δea,a∈1,j.According toDa, this paper can complete the data storage in AMI by considering the data classification based on roller tracks, and the related pseudocode is described as follows. Among them, line 1 means the clocks collection; line 2 means the initialization of serial communication clocks; lines 4-5 and 7-8 mean the address processing; line 6 means to output the handled data; line 9 means the completion of data storage.(1)
module flash(2)
input w_clk(3)
input r_clk(4)
input w_runtrack(5)
input r_runtrack(6)
output [8 : 0]datain(7)
input [9 : 0]wrads(8)
input [9 : 0]rads(9)
input [8 : 0]set_rtrack


## 3.1. Feature Vector Determination

During the process of data classification for roller tracks, it involves the attribution problem in terms of data samples. For such problem, the basic principle is to build the maximum membership degree function. Furthermore, letWx denote the x−th data object’s feature vector, and for N data applications in terms of roller tracks, Wx is expressed as w1,w2,…,wN and Wx∈fg. For any g0∈G, if it exits, i≤N, and g0 is regarded as one membership degree value of Wx. On this basis, all membership degree functions can be determined based on the feature values of roller tracks, which are used to make the data classification of roller tracks.Regarding the determination of feature vector, the law of large numbers based on the Chebyshev [16] is used to obtain the coagulation equation with respect to the random variable:(1)h−GhGh<δ≥1−varhδG2h,where h is a random variable; varh is the variance; Gh is the average value; and δ is the error value. When the variance is relatively small, the corresponding error value is smaller than δ. In other words, when and only when the coagulation value is around the average value, the relatively small error value can be guaranteed. In order to further make the data classification for roller tracks, this paper introduces a resolution for objective set:(2)P=Gh0−Ghavarh0+varha,where h0 is the object and ha is the backdrop.


## 3.2. Membership Degree Function Computation

LetVi denote any data application’s feature vector, i.e., Vi=v1,v2,…,vj, where vj is the subcomponent of Vi and it concentrates around the average value. For a data application a, vj is used to compute the related membership degree value ea. In particular, the Cauchy distribution [17] is used as the reference of the membership degree function, as shown in Figure 3.Figure 3
The Cauchy distribution reference.Based on the Cauchy distribution reference,ea is computed as follows:(3)ea=1−vj−ave∑Nvj−ave,where ave is the average value. Regarding further obtaining of the method of data storage in terms of AMI, this paper uses the maximum membership degree to address this. Let Da denote the maximum membership degree function regarding a, and it is defined as follows:(4)Da=Δea,a∈1,j.According toDa, this paper can complete the data storage in AMI by considering the data classification based on roller tracks, and the related pseudocode is described as follows. Among them, line 1 means the clocks collection; line 2 means the initialization of serial communication clocks; lines 4-5 and 7-8 mean the address processing; line 6 means to output the handled data; line 9 means the completion of data storage.(1)
module flash(2)
input w_clk(3)
input r_clk(4)
input w_runtrack(5)
input r_runtrack(6)
output [8 : 0]datain(7)
input [9 : 0]wrads(8)
input [9 : 0]rads(9)
input [8 : 0]set_rtrack


## 4. BP Neural Network

BP neural network is a feedforward network with the multiple layers, and its topology is shown in Figure4, including n input layers, p hidden layers, and q output layers.Figure 4
BP neural network topology.For the BP neural network, the weight adjustment is considerably important, which is as follows:(5)Δwj,k=−η∂E∂wj,k=ηδkyj,Δwi,j=−η∂E∂wi,j=ηδjxi,where wj,k is the network weight between the output layer and hidden layer; wi,j is the network weight between the input layer and hidden layer; Δwj,k and Δwi,j are two increments with respect to the weight; xi is the input data from the i-th node; yj is the output data from the j-th node; and η∈0,1 is the learning rate of BP neural network. In particular, the negative sign means the gradient descent action. Furthermore, E is the error function of BP neural network, and it is defined as follows:(6)E=12∑o=1qdon−yon2,where don is the expected output result and yon is the actual output result.However, the traditional BP neural network has two obvious limitations. On one hand, the training speed is very slow; on the other hand, it is very difficult to converge to the global optimum. Therefore, in order to enhance the recognition efficiency and the accurate rate of roller track analysis, this paper improves the traditional BP neural network from two aspects, i.e., momentum attachment and learning rate optimization.By using the momentum attachment method, the improved weight adjustment is as follows:(7)ΔwI+1=βwI+1−wI+α1−β∂EI∂wI,where β is the momentum factor; α is the self-learning rate; I is the number of training; and ∂EI/∂wI is the gradient of wI. Equation (7) indicates that, when the modeling error decreases, the different momentum factors are used to adjust the whole network parameters so as to reach the global optimum in terms of the network performance. To be specific, when the surface of error is the flat state, the momentum factor is increased to accelerate the convergence process; on the contrary, when the surface of error is the steep state, the momentum factor is decreased to avoid the network instability. According to the abovementioned statements, the momentum factor is defined as follows:(8)β=e−R−∂EI/∂wI,where R is a random number, satisfying R∈0,1. In particular, when the surface of error is the flat state and the corresponding curve stays the bottom, ∂EI/∂wI gradually decreases until the following equation is satisfied:(9)ΔwI+1=βwI+1−wI=ΔwI,which avoids the situation of ΔwI=0.In fact, the unchanging learning rate has the important influence on the BP neural network performance. In order to guarantee that the BP neural network always has the maximal training effect, the dynamic learning rate is defined as follows:(10)ηI=αI−1,EI<EI−1,αI−1e−γ,otherwise,where γ is a parameter, satisfying γ∈0.0001,0.001.According to the abovementioned statements, the BP neural network is used to train the roller tracks stored at AMI, and the related pseudocode is described as follows:(1)
Input the roller tracks data(2)
Build BP neural network according to Figure4(3)
Add momentum factorβ and self-learning rate α into BP neural network(4)
Compute the error function according to equation (6)(5)
Modify the weight adjustment(6)
Check whether the number of training satisfies the givenI(7)
Output the analyzed results on roller tracks(8)
Send the results to the roller athlete or the monitor referee according to the real emergency


## 5. Performance Evaluation

The proposed pattern recognition and neural network-driven roller track analysis method, called PRNN, is implemented by NS3 [18], which is a discrete event emulator. Since the open dataset on the roller tracks cannot be obtained, this paper simulates 1500 roller competitions and considers them as the data trace. In addition, this paper is the first paper to propose roller track analysis based on the emerging computer technologies, and there is no suitable comparison baseline. As a result, this paper considers the method without the improved BP neural network, called PRWI, as the baseline. Meanwhile, there are four 5G wireless base stations which are used to support the efficient data communication. The detailed deployment is shown in Figure 5.Figure 5
The detailed deployment on 5G-enabled network.


### 5.1. Parameter Determination:α and β

For the improved BP neural network,α and β are two important parameters. In this paper, suppose that α,β=0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9, and different settings generate different network performances. In this section, the standard deviation is used to measure the network performance, and the smaller standard deviation means the better network performance. The experimental results on standard deviation with respect to different α and β settings are shown in Table 1 and Figure 6.Table 1
The experimental results on standard deviation with respect to differentα and β settings.
α0.10.20.30.40.50.60.70.80.9Standard deviation0.63230.59640.53190.52160.49060.45340.36130.40590.4638β0.10.20.30.40.50.60.70.80.9Standard deviation0.53610.49370.41150.46610.50320.51060.49530.53570.5661Figure 6
Different standard deviations with differentα and β settings.As can be seen from Table1 and Figure 6, with the increasing of α, the change of standard deviation includes two phases. At first, the standard deviation gradually decreases. Then, when α reaches 0.7, the standard deviation will have the minimal value. After that, the standard deviation gradually increases. As a result, α is set as 0.7. Different from α, the standard deviation from β shows fours change phases, and the corresponding inflection points are 0.4115 β=0.3, 0.5106 β=0.6, and 0.4953 β=0.7 respectively. It is obvious that when β=0.3, the corresponding standard deviation has the minimal value. As a result, β is set as 0.3.


### 5.2. Prediction Ratio

Based onα=0.7 and β=0.3, this paper performs the roller track analysis based on 1500 roller competitions, where the number of simulations is set as 15. The experimental results on prediction ratio with respect to different simulations are shown in Figure 7. It is observed that PRNN always has better prediction ratio than PRWI, and the prediction ratio of PRNN always keeps 100%, because this paper enhances the traditional BP neural network from two aspects, i.e., momentum attachment and learning rate optimization. For PRWI, its prediction ratio is low and the corresponding stability is also bad, varying from 86.49% (the ninth simulation) to 95.06% (the second simulation).Figure 7
The experimental results on prediction ratio with respect to different simulations.


### 5.3. Communication Time

Although PRNN has reached 100% prediction ratio, this does not mean that the analyzed results can be used for the falling prevention timely. Therefore, this section tests the communication time to illustrate the availability of PRNN. For 1500 roller competitions, there are 60 times events requiring AMI to transmit the adjustment message or the termination message. Furthermore, there are 54 times events for the first condition while there are 6 times events for the second condition. The communication time between AMI to the roller athlete can be neglected due to the fact that AMI is equipped into the body of roller athlete. Given this, this paper only tests the communication time between AMI and the remote video monitor referee. The average communication times regarding 54 times events under different simulations are shown in Figures8–11, where Figure 8 shows the experiment results based on 1 Gbps network bandwidth, Figure 9 shows those based on 5 Gbps network bandwidth, Figure 10 shows those based on 10 Gbps network bandwidth, and Figure 11 shows those based on 15 Gbps network bandwidth.Figure 8
The experimental results on communication time with respect to different simulations, where network bandwidth is 1 Gbps.Figure 9
The experimental results on communication time with respect to different simulations, where network bandwidth is 5 Gbps.Figure 10
The experimental results on communication time with respect to different simulations, where network bandwidth is 10 Gbps.Figure 11
The experimental results on communication time with respect to different simulations, where network bandwidth is 15 Gbps.As can be seen from Figures8–11, the communication time of PRNN is always smaller than that of PRWI, this is because the improved BP neural network accelerates the convergence speed. Furthermore, under the scenario of 5G-enabled network, with the increasing of network bandwidth, the communication time decreases drastically. It suggests that 5G network has great performance improvement in terms of the communication time. In addition, it is also observed that, with the increasing of network bandwidth, the communication time difference between PRNN and PRWI becomes smaller and smaller. This suggests that 5G network can guarantee the availability of PRNN; that is to say, the analyzed results can be used for the falling prevention timely.


## 5.1. Parameter Determination:α and β

For the improved BP neural network,α and β are two important parameters. In this paper, suppose that α,β=0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9, and different settings generate different network performances. In this section, the standard deviation is used to measure the network performance, and the smaller standard deviation means the better network performance. The experimental results on standard deviation with respect to different α and β settings are shown in Table 1 and Figure 6.Table 1
The experimental results on standard deviation with respect to differentα and β settings.
α0.10.20.30.40.50.60.70.80.9Standard deviation0.63230.59640.53190.52160.49060.45340.36130.40590.4638β0.10.20.30.40.50.60.70.80.9Standard deviation0.53610.49370.41150.46610.50320.51060.49530.53570.5661Figure 6
Different standard deviations with differentα and β settings.As can be seen from Table1 and Figure 6, with the increasing of α, the change of standard deviation includes two phases. At first, the standard deviation gradually decreases. Then, when α reaches 0.7, the standard deviation will have the minimal value. After that, the standard deviation gradually increases. As a result, α is set as 0.7. Different from α, the standard deviation from β shows fours change phases, and the corresponding inflection points are 0.4115 β=0.3, 0.5106 β=0.6, and 0.4953 β=0.7 respectively. It is obvious that when β=0.3, the corresponding standard deviation has the minimal value. As a result, β is set as 0.3.


## 5.2. Prediction Ratio

Based onα=0.7 and β=0.3, this paper performs the roller track analysis based on 1500 roller competitions, where the number of simulations is set as 15. The experimental results on prediction ratio with respect to different simulations are shown in Figure 7. It is observed that PRNN always has better prediction ratio than PRWI, and the prediction ratio of PRNN always keeps 100%, because this paper enhances the traditional BP neural network from two aspects, i.e., momentum attachment and learning rate optimization. For PRWI, its prediction ratio is low and the corresponding stability is also bad, varying from 86.49% (the ninth simulation) to 95.06% (the second simulation).Figure 7
The experimental results on prediction ratio with respect to different simulations.


## 5.3. Communication Time

Although PRNN has reached 100% prediction ratio, this does not mean that the analyzed results can be used for the falling prevention timely. Therefore, this section tests the communication time to illustrate the availability of PRNN. For 1500 roller competitions, there are 60 times events requiring AMI to transmit the adjustment message or the termination message. Furthermore, there are 54 times events for the first condition while there are 6 times events for the second condition. The communication time between AMI to the roller athlete can be neglected due to the fact that AMI is equipped into the body of roller athlete. Given this, this paper only tests the communication time between AMI and the remote video monitor referee. The average communication times regarding 54 times events under different simulations are shown in Figures8–11, where Figure 8 shows the experiment results based on 1 Gbps network bandwidth, Figure 9 shows those based on 5 Gbps network bandwidth, Figure 10 shows those based on 10 Gbps network bandwidth, and Figure 11 shows those based on 15 Gbps network bandwidth.Figure 8
The experimental results on communication time with respect to different simulations, where network bandwidth is 1 Gbps.Figure 9
The experimental results on communication time with respect to different simulations, where network bandwidth is 5 Gbps.Figure 10
The experimental results on communication time with respect to different simulations, where network bandwidth is 10 Gbps.Figure 11
The experimental results on communication time with respect to different simulations, where network bandwidth is 15 Gbps.As can be seen from Figures8–11, the communication time of PRNN is always smaller than that of PRWI, this is because the improved BP neural network accelerates the convergence speed. Furthermore, under the scenario of 5G-enabled network, with the increasing of network bandwidth, the communication time decreases drastically. It suggests that 5G network has great performance improvement in terms of the communication time. In addition, it is also observed that, with the increasing of network bandwidth, the communication time difference between PRNN and PRWI becomes smaller and smaller. This suggests that 5G network can guarantee the availability of PRNN; that is to say, the analyzed results can be used for the falling prevention timely.


## 6. Conclusions

This paper studies the roller track analysis based on pattern recognition and BP neural network. In particular, the 5G-enabled network is used to guarantee the stability and efficiency of transmission. Meanwhile, regarding pattern recognition, it is used to realize the function of AMI, which includes data collection, data processing, and data storage, and the whole process is completed based on FPGA. Then, regarding BP neural network, this paper improves it by considering momentum attachment and dynamic learning rate. The simulation is driven by NS3, where prediction ratio and communication time are regarded as two performance evaluation metrics, and the experimental results demonstrate that the proposed roller track analysis method can be used for the falling prevention of roller athlete timely.This paper is the first paper to propose roller track analysis based on the emerging computer technologies, which has the important reference value in the field of sports. However, this paper also has some limitations. At first, the system platform of AMI is not implemented. Then, the simulation only depends on NS3 and lacks of the verification based on the test-bed. At last, the posture variety of roller athlete is not considered. In future, the abovementioned limitations will be overcome.



---

*Source: 6675140-2020-12-30.xml*