1. Introduction
Transportation system becomes an underlying basis for the economic development of all other countries [1]. Nonetheless, many cities in various parts of the world are now facing an uncontrollable development in traffic volume, causing significant challenges, like degradation of the quality of life in the modern world, traffic jams, delays, emergencies, accidents, high fuel prices, and increase of CO2 emission [2]. In most cases, the anomaly prediction approach applies unsupervised and semi-supervised learning algorithms. The primary objective is to find the anomaly forecast scheme used in road traffic incidents and focuses on appliances such as trespassers, atmosphere, communication, and vehicles [3]. It also observed that the scope of this has to enclose the class of abnormalities, the ability of the system in application contents, the nature of the input dataset and the representation, probability of supervised learning, anomaly prediction outcomes, and terminating conditions [4]. Anomalies were predicted using a recently established scheme as soon as the general patterns were defined [5].
Lately, different approaches have been used for predicting pedestrian walking that fits the bounding box for the pedestrian accessible from the image [6]. It has gradually attracted the attention of several research workers in the computer vision (CV) field and is a substantial component for different human-based fields including driverless cars, person inspection, automated traffic signalling, etc [7]. However, the predefined model was not fit for solving the difficulty of the model termed scaling problem which keeps the same reason for the outcomes of the pedestrian recognition technique. The conventional techniques have been maintained to resolve the scaling problems on 2-D size [8]. Initially, brute-force data was enhanced to increase the ability of the scale-invariance mechanism. Following, individual approaches with different scale filters were applied in all the instances with different sizes. Then, the incidence of intra-class variance of tiny and maximum instances makes it difficult to conquer the considerably different attribute responses together with a single method [9]. To exploit considerably different features with different scales, the divide-and-conquer model was exploited for solving scale variance problems. Finally, the study deployed Deep Learning (DL) based on the anomaly prediction technique [10]. Firstly, Convolution Neural Network (CNN) can be exploited and classified as the existence of objects.
This study develops an Improved Metaheuristics with Parallel Features Fusion Model for Anomaly Detection in Pedestrian Walkways (IMPFF-ADPW) technique. The IMPFF-ADPW method applies a joint bilateral filter (JBF) for the noise removal process. Besides, a parallel fusion process comprising NasNet Mobile and Darknet-53 models is utilized for feature extraction. For the anomaly detection system, the deep autoencoder (DAE) model is applied and its hyperparameters are finetuned by using an improved sparrow search algorithm (ISSA). A widespread of experimental values can be performed on the UCSD database to validate the betterment of the IMPFF-ADPW approach.
2. Related Works
Alohali et al. [11] examine an Anomaly Detection (AD) in Pedestrian Walkways for ITSs utilizing Federated Learning and HHO (ADPW-FLHHO) approach on RSIs. The projected ADPW-FLHHO system concentrations on the classification and detection of ADs, using vehicles from the pedestrian walkway. To achieve this, the study utilizes the HybridNet approach for the generation of feature vectors. Besides, the HHO system can be executed for the optimum hyper-parameter tuned method. Murugan et al. [12] presented a Region-based Scalable CNN (RSCNN). The presented approach utilized a region-based proposal for fast detection and properly enforced scalability problems. The RS-CNN approach can be validated by employing various video orders in the UCSD-AD database.
In [13], the authors challenge the problem in DL structure by assuming motion data of the entire pedestrian and its communication with the crowd. Especially, inspired by the residual learning in DL, the authors present to forecast displacement among neighboring frames to all the pedestrians in order. For predicting such displacement, the authorβs strategy is a crowd interaction DNN (CIDNN), which adopts the several importance of distinct pedestrians for displacement estimate of target pedestrian. Boyuan and Muqing [14] present a pedestrian detection method dependent upon an enhanced YOLO-v4 approach that regards either recognition accuracy or effectiveness. The detection method integrates a novel kind of SPP (Spatial Pyramid Pooling) and K-means clustering approach with YOLO-v4 algorithm for simpler extracting features.
The authors in [15], employ the Spectral Edge image fusion approach for fusing visible RGB and IR images, an earlier method employing an NN-based pedestrian recognition method. The procedure of image fusion allows the typical RGB object recognition network with no need the structural changes, which can be essential for handling multi-spectral input. Hara et al. [16] examine the approach for estimating the low of pedestrian walking on the footways. The aim is to obtain maximum accuracy with extensive region coverage at a minimum price. In pedestrian recognition, faces and backs of heads can be individually identified to understand the moving direction of pedestrians and their presence by executing CNN and LSTM.
In [17], the authors detect that it is much greater effective for learning and predicting pedestrian paths in 3D space as the human gesture and its performance designs are optimistically represented in 3D space. Accordingly, the authors utilize a stereo camera system for detecting and tracking human pose with DNNs. In the pose estimate, these twin DNNs fulfill the stereo consistency restriction. Jeong et al. [18] utilize DL approaches to overcome the restrictions of the present smartphone-based PDR algorithm. A CNN approach was utilized for classifying the smartphone positions; afterward, suitable sensor data can be chosen and modified. The LSTM approach was utilized for estimating the user step length.
3. The Proposed Model
In this article, a new IMPFF-ADPW model is established for detecting anomalies. The major intention of the IMPFF-ADPW approach is to recognize the existence of anomalies in the pedestrian walkways. To obtain this, the IMPFF-ADPW algorithm comprises JBF-based pre-processing, parallel fusion process, DAE classification, and ISSA-based hyperparameter tuning. Fig. 1 signifies the working flow of the IMPFF-ADPW system.
A. Image Pre-processing The JBF method is applied to remove the presence of noise. The typical JBF filter highly maintains the edge details dependent upon the image intensities [19]. JBF helps to preserve edge information existing in the images. However, with lower intensity, which filter can be incapable of maintaining the edge details of the images. Hence, the presented effort employs the JBF approach to address these drawbacks. The initial principal element was applied as the guidance image exchanging the kernel filter range for efficiently preserving the edge data over the typical filter. The expression of the JBF filtering method is represented by:
In Eq. (1), πΌππ shows the input images at pixel location (π, π), represents the first principal component, π refers to the index of spectral band ππ and ππ denotes the domain and range parameters, and π and π indicate the pixel point of the image. The normalization factor of JBF can be described by using Eq. (2):
The ππ parameter is called an edge-preserving factor and a large value creates Gaussian blurring, thus it can be desired that smaller. The edge information was preserved and the image quality was improved by using these filters for preprocessing. Thus, the outcomes from these phases assist in better feature extraction.
B. Parallel Feature Fusion Model At this stage, the parallel feature fusion process is performed. In this work, NASNet Mobile and Darknetβ53 are utilized as two preβtrained models for extracting deep features [20]. NASNet comprises two major functions, reduction cell, and normal cell NASNet implements the operation on smaller datasets and later transfers the block to large datasets for getting a mean average precision (mAP). The model learns an effective feature for detecting images and its size is 224x224 pixels. The convolution cell is used to decrease the processing costs and improve the classifier performance. Normal cells and reduction cells are established with this convolution cell to expand the usage of NASNet for images of any size.
Darknet53 is a 53-layered CNN. Here, the feature extractor includes the sequence of convolution layers at 1x1 and 3x3 dimensions. A Leaky rectified linear activation unit (LeakyReLU) layer and a batch normalization (25) layer followed all the convolutional layers. After the convolutional layer, it can prevent overfitting and accelerate network convergence. The LeakyReLU with leakage correction raises the nonlinearity of the network architecture. The transfer learning method was used for extracting DL features and training fine-tuned models. Remove the FC layer and add a new layer for the NasNet Mobile.
A Parallel Priority (PP) called parallel features fusion approach was introduced in this study. The inspiration behind this is to decrease the feature vectors with increasingly relevant features. The technique was dependent upon the three crucial phases. Initially, based on the entropy value, padding makes the equivalent size of these two vectors. Next, the entropy values are calculated from the huge feature size vector and used for the padding of small feature vectors and it can be mathematically computed as follows:
π shows the probability of all the feature points, and π refers to the overall amount of features. Padding is performed based on the β for small size feature vector using Eq. (4):
In Eq. (3), π indicates the feature point of the high dimensional feature vector, ππ
In Eq. (4), πΉπ and πΉπ β refer to the small and largeβsize feature vectors. After padding, the feature vector attained can be represented as πΉπΜ. Next, based on higher feature values, the priority of feature values was defined.
In Eq. (5), the function priority first chooses the high values for ππ‘β and ππ‘β features. Next, the mean value will be calculated for the whole vector, and determine threshold function for the last fusion given below:
In Eq. (6), πΉπ’π (π) denotes the final fused vector of dimension πΓ 1290.
C. Anomaly Detection Using Optimal DAE Model The DAE approach is used for the anomaly detection process. Autoencoder (AE) is a 3βlayer unsupervised NN model [21]. It is the simple process of NN that is utilized for learning representation namely size reduction or feature selection and recreating the input pattern in the output layers. The dimensions of the input and output layers are similar to the symmetrical structure. Compared to the visible layer, the hidden state from the network model generally has fewer neurons. By employing a limited amount of neurons, an effort was developed to represent or encode the input in a more compressed manner, which captures the relevant features of the input vector. According to the MSE loss function, the training of AE is performed by using a BP model as in FFNN. The training model comprises two phases, coding, and decoding. By exploiting the weight condition of the lower half layer the input was encoded during the coding stage in a hidden description. Utilizing the conditions of the upper half layer stage, a similar input is tried to reconstruct in the representation of coding during the decoding process. Assume π as data with π features and π samples. π¦ refers to the encoder output (viz., decreased representation of π). The equations of encoded and decoded functions for AE are shown below.
Where π€ and π refer to the adjustable parameter, π, and π are the activation function, π€Μ shows the weighted (πΜ) transpose, and πΜ indicates the recreated input vectors in the resulting layer. Fig. 2 portrays the framework of DAE.
Training an AE includes finding parameters π€ and π that reduce the errors amongst πΜ the reconstruction data and π the input data.
Finally, the ISSA selects the hyperparameter values of the DAE algorithm. SSA is a population optimization method that completes the food acquisition by continuously updating the location of the discoverers, followers, and vigilant while foraging, and the position of the optimum food is the optimum solution obtained so far [22].
The position updating equation of the discoverer can be given as follows:
Where π‘ characterizes the existing iteration count, π₯ππ π‘ signifies the location of ππ‘β sparrows in the ππ‘β dimensions at π‘π‘β generation, and πΌβ(0,1), ππ‘ππmax shows the maximal iteration count, π 2 represents the alarm value, ππ is the safety threshold, πΏ represents the identity matrix of 1 Γ πππ, π refers to the arbitrary integer that follows the uniform distribution, and the dimension is πππ.
The position updating of the follower is shown below:
π‘+1 denotes the individual location with better adaptation in π+ 1, π indicates a matrix of 1 Γ πππ, and all the components from the matrix are arbitrarily fixed to β1 or 1, π+ = ππ(πππ)β1. If π> ππ2, it implies that the ππ‘β entrants have not required food and are in hungry extreme form. The position updating of the vigilante is shown below:
π‘ signifies the individual location with worst adaptation of π‘, π₯π
π‘ shows the position of the global optimum at π‘ generation, the control step is, πβ[β1,1], follows the uniform distribution range of [0,1], the fitness values of the present global worse and fittest individuals is ππ and ππ€, π is constant, ππ indicates the fitness value of existing individuals.
The classical SSA is proposed to overcome the challenges of SSA easily stuck into local optima. Population elite strategy and Tent chaos mapping are used for initializing the multiplicity of the sparrow population and to increase the initial solution quality:
2, then the system is in a short cycle state, thus the value is commonly not taken. The initial value π₯π of the system and the system parameter π½ need to be different to avoid conversion to the cyclical system.
The reverse learning model is used to replace the sparrow locality. The dynamic edge of the elite sparrow can be attained while choosing the elite sparrow based on the fitness value of the upgraded sparrow, and the reverse antiβsparrow population can be attained to resolve the best solution, and the newest population can be created in the sparrow, and the best sparrow was chosen as newest generation individual to resolve the problems of local optima. The assumption that the extreme point corresponds to normal individuals from the population is elite individuals,
Its reverse solution is
The elite reverse solution was given as
In Eq. (17), πΎ indicates the stochastic figure within [0,1] and πΌπ, π½π signifies the dynamic boundary, and ππ,π
Fitness selection is a primary aspect of the ISSA model. An encoded solution can be exploited to estimate the best candidate outcome. The accuracy value is the key condition exploited to design an FF.
Here, πΉπ signifies false positive value and ππ represents true positive value.
4. Results and Discussion
The detection performance of the IMPFF-ADPW approach is tested on three datasets, as given in Table 1. Fig. 3 demonstrates the sample images. Fig. 4 represents the anomaly-detected images.
Figure 5: π΄πππ’π¦ curve of IMPFF-ADPW approach on UCSDPed1 database The training accuracy ππ _ππππ’π¦ and ππΏ_ππππ’π¦ of the IMPFF-ADPW algorithm on the UCSDPed1 database is shown in Fig. 5. The ππΏ_ππππ’π¦ is computed by assessing the IMPFF-ADPW method under the TR dataset while the ππΏ_ππππ’π¦ is described by estimating the result on testing database. The outcome exhibits that ππ _ππππ’π¦ and ππΏ_ππππ’π¦ increased with increasing epoch count. Thus, the outcome of the IMPFF-ADPW technique attains a maximum in TR and TS data with maximum epoch count.
Fig.6 shows the ππ _πππ π and ππ _πππ π investigation of the IMPFF-ADPW system on the UCSDPed1 database. The ππ _πππ π represents the error among the original and prediction performance values on the TR dataset. The ππ _πππ π signifies the performance metric of the IMPFF-ADPW method on the validation dataset. The accomplished finding denotes that ππ _πππ π and ππ _πππ π tend to reduce with maximum epoch count. It represented the high performance of the IMPFF-ADPW system and its proficiency in producing a precise classification. The minimal value of ππ _πππ π and ππ _πππ π reveals the maximum results of the IMPFF-ADPW system on capturing patterns and correlations.
that, the EADN model has managed to report slightly enhanced results. Meanwhile, the ADPW-FLHHO algorithm has resulted in considerable performance. However, the IMPFF-ADPW technique revealed better performance.
In Fig. 8, the comparison analysis of the IMPFF-ADPW method with existing approaches with respect to the AUC score on the UCSDPed1 dataset [11]. The outcomes show that the IMPFF-ADPW approach obtains a higher AUC score of 99.53%. On the other hand, the ADPW-FLHHO, EADN, binary SVM, MIL-C3D, TSN-Optical Flow, Spatiotemporal, and TSN-RGB approaches have obtained lower AUC score values of 99.36%, 98.36%, 96.73%, 94.99%, 92.86%, 91.57%, and 90.49% correspondingly.
Figure 9: π΄πππ’π¦ curve of IMPFF-ADPW approach on UCSDPed2 database Fig. 9 shows the training accuracy ππ _ππππ’π¦ and ππΏ_ππππ’π¦ of the IMPFF-ADPW approach on the UCSDPed2 database. The ππΏ_ππππ’π¦ is represented by the computation of the IMPFF-ADPW system on the TR dataset while the ππΏ_ππππ’π¦ is evaluated by measuring the solution on the testing dataset. The outcome exhibits that ππ _ππππ’π¦ and ππΏ_ππππ’π¦ are increased with increasing epoch count. Accordingly, the solution of the IMPFF-ADPW technique gains enhancement on the TR and TS dataset with increasing epoch count.
Fig. 10 shows the ππ _πππ π and ππ _πππ π curves of the IMPFF-ADPW system on the UCSDPed2 database. The ππ _πππ π describes the error amongst the original and predictive performance values on the TR dataset. The ππ _πππ π denotes the performance measure of the IMPFF-ADPW system on the validation dataset. The outcome denotes that the ππ _πππ π and ππ _πππ π tend to be reduced with maximum epoch count. It characterized the greater solution of the IMPFF-ADPW system and its proficiency in producing an accurate classification. The minimized value of ππ _πππ π and ππ _πππ π establishes the better outcomes of the IMPFF-ADPW system in capturing patterns and relationships.
Figure 11: Detection outcome of IMPFF-ADPW method on UCSDPed2 database Fig. 11 displays the detection outcome of the IMPFF-ADPW system with existing algorithms on the UCSDPed2 database. The outcomes show that the SF, MDT, and AMDN approaches have gained worse performance. Also, the EADN approach has managed to report slightly enhanced results. In the meantime, the ADPW-FLHHO system has resulted in considerable performance. However, the IMPFF-ADPW technique revealed better performance.
In Fig. 12, the comparison outcomes of the IMPFF-ADPW technique with other algorithms with respect to the AUC score on the UCSDPed2 dataset. The outcomes showed that the IMPFF-ADPW method obtained a superior AUC score of 99.32%. Afterwards, the ADPW-FLHHO, EADN, binary SVM, MIL-C3D, TSN-Optical Flow, Spatiotemporal, and TSN-RGB methods have attained lesser AUC score values of 99.19%, 98.30%, 97.16%, 95.50%, 94.36%, 92.48%, and 90.44% correspondingly.
Fig. 13 displays the training accuracy ππ _ππππ’π¦ and ππΏ_ππππ’π¦ of the IMPFF-ADPW approach on the Avenue database. The ππΏ_ππππ’π¦ is determined by estimating the IMPFF-ADPW system on the TR dataset while the ππΏ_ππππ’π¦ is evaluated by measuring the solution on the testing dataset. The outcome exhibits that ππ _ππππ’π¦ and ππΏ_ππππ’π¦ increased with the maximum epoch. Thus, the outcome of the IMPFF-ADPW method attains enhancements on the TR and TS datasets with maximum epoch count.
Fig. 14 shows the ππ _πππ π and ππ _πππ π outcome of the IMPFF-ADPW system on the Avenue dataset. The ππ _πππ π depicts the error amongst the prediction outcome and original values on the TR dataset. The ππ _πππ π shows the performance metric of the IMPFF-ADPW method on the validation dataset. The outcome indicates that the ππ _πππ π and ππ _πππ π tend to be minimized with increased epoch count. It demonstrated the greater outcome of the IMPFF-ADPW system and its proficiency for generating accurate classification. The minimized values of ππ _πππ π and ππ _πππ π reveal the enhanced outcome of the IMPFF-ADPW algorithm in capturing relationships and patterns.
Figure 15: Detection outcome of IMPFF-ADPW system on Avenue database Fig. 15 displays the detection results of the IMPFF-ADPW algorithm with other methods on the Avenue database. The outcomes demonstrated that the SF, MDT, and AMDN systems obtained the least result. Likewise, the EADN algorithm has managed to report slightly enhanced results. But, the ADPW-FLHHO approach has resulted in considerable performance. However, the IMPFF-ADPW approach revealed the best solution.
In Fig. 16, the comparison outcomes of the IMPFF-ADPW methodology with existing techniques concerning the AUC score on the Avenue database. The outcomes referred to the IMPFF-ADPW methodology attain a superior AUC score of 99.13%. Also, the ADPW-FLHHO, EADN, binary SVM, MIL-C3D, TSN-Optical Flow, Spatiotemporal, and TSN-RGB approaches have acquired lesser AUC score values of 98.90%, 97.78%, 96.21%, 95.02%, 93.31%, 91.41%, and 89.47% correspondingly.
5. Conclusion
In this article, a novel IMPFF-ADPW algorithm was established for detecting the anomalies. The primary objective of the IMPFF-ADPW technique is to recognize the existence of anomalies that exist in the pedestrian walkways. To obtain this, the IMPFF-ADPW approach comprises JBF-based pre-processing, parallel fusion process, DAE classification, and ISSA-based hyperparameter tuning. In this study, the hyperparameters of the DAE can be adjusted by using ISSA which helps in attaining improved detection rate. A widespread of experimental outcomes can be performed on the UCSD database to demonstrate the improved performance of the IMPFF-ADPW system. The simulation values stated the superior outcome of the IMPFF-ADPW system over other existing techniques. In the future, the ensemble voting classifier was designed to enhance the recognition rate of the IMPFF-ADPW method.
Funding: βThis research received no external fundingβ
Conflicts of Interest: βThe authors declare no conflict of interest.β