Abstract
Metaheuristics are widely used in science and industry because it as a high-level heuristic technique can provide robust or advanced solutions compared to classical search algorithms. Flow Regime Algorithm is a novel physics-based optimization approach recently proposed, and it is one of the candidate algorithms for solving complex optimization problems because of its few parameter configurations, simple coding, and good performance. However, the population that initialized randomly may have poor diversity issues, resulting in insufficient global search, and premature convergence to local optimum. To solve this problem, in this paper, a novel enhanced Flow Regime Algorithm based on opposition learning scheme is proposed. The proposed algorithm introduces the opposition-based learning strategy into the generation of some populations to enhance the global search performance while maintaining a fast convergence rate. In order to verify the performance of the proposed algorithm, 23 benchmark numerical optimization functions were studied experimentally in detail and compared with six well-known algorithms. Experimental results show that the proposed algorithm outperforms all other metaheuristic algorithms in all unimodal functions with higher accuracy, and can obtain competitive results on more multimodal cases. A statistical comparison shows that the proposed algorithm has superiority. Finally, that the proposed algorithm can achieve higher quality alignment compared to most other metaheuristic-based systems and OAEI ontology alignment systems.
Introduction
Metaheuristic algorithms are also regarded as advanced heuristics, and the ideas of algorithms are often inspired by the laws of physics in nature, the schemes of biological evolution, and the gregarious behavior of animals [1, 2]. These algorithms are based on natural properties and implement the logical exploration and exploitation through mathematical modeling. Exploration is a globally divergent search of the solution space to maximize new possible solutions, and exploitation is the process of searching the space locally to find a better solution within the neighborhood of the current best individual [3]. For example, particle swarm optimization algorithm (PSO) is inspired by bird flock behavior to achieve balanced global search and local search by inertia weights w [4, 5]. Grasshopper optimization algorithm (GOA) is inspired by grasshopper colony foraging behavior, and the exploration and exploitation processes is balanced by adaptively adjusting comfort zone coefficients [3]. Moth-flame optimization algorithm (MFO) is inspired by moth navigation flight to maintain exploration and exploitation processes by modeling a spiral equation [6].
Since this advanced global technique is a stochastic optimization method that relies on generated random characteristics of this random population make the algorithm with high performance and a strong optimality driver. This is also the root cause of meta-heuristic algorithms being able to solve problems that classical search techniques cannot solve. As a result, it is widely used in many engineering, science and mathematics optimization problems, such as the welded beam design [7], drone obstacle avoidance problem [8], network structure optimization [9], feature selection [10], image segmentation [11], multi-objective interval number planning [12], etc.
Flow regime algorithm (FRA) is a recently proposed novel physics-based algorithm, the idea of which is mainly inspired by classical fluid mechanics and flow regimes [13]. Flow regimes are usually divided into laminar and turbulent flows by a parameter called the Reynolds number. Inspired by these two flow regimes, the laminar flow is simulated as the local search of the algorithm, and turbulent flow is simulated as the global search of the algorithm. A Reynolds-like variable is formulated and called search type factor (STF) which balance the exploration and exploitation process. In detail, STF dynamically adjusts the probability of global and local searches as the number of iterations changes. However, random populations may have poor diversity problems, which cause the algorithm to enter local search prematurely, that is, the phenomenon of premature convergence. To solve this problem, in this work, a scheme of opposition-based learning (OBL) [14] is used to enhance the exploration capacity of the FRA. The proposed algorithm is called OLFRA. At the beginning of each generation of fluid particle renewal, the diversity of the population is increased by the opposite estimation of a certain probability of the population, so that more candidate solutions are searched, and the convergence rate can be accelerated.
The main contributions for this work are as follows: An improved flow regime algorithm using opposition-based learning is proposed. The performance of the proposed algorithm has been studied on both unimodal and multimodal functions. The proposed algorithm has been studied for solving the ontology alignment problem.
The rest of the paper is organized as follows: Section 2 provides an overview of relevant work. Section 3 introduces FRA and basic theories for OBL. The proposed novel FRA based on opposite learning is described in Section 4. Next, in Section 5, OLFRA is performed a detailed experimental study, and the experimental results are analyzed. A real application is studied in Section 6. In Section 7, the work of this paper is summarized and future plans are given.
Related work
The opposition-based learning scheme is the opposite solution for the current solution, and it is calculated through the idea of estimation and inverse estimation, so that those particles who are far away from the optimal solution are redirected. This strategy shortens the search time, and improves the probability of obtaining the optimal solution. In recent years, OBL has been applied to a variety of meta-heuristic algorithms, and a large number of experiments have proved to be one of the most effective strategies for improving global search performance. Ewees et al. [15] used the strategy of opposition-based learning to update half of the grasshopper population to solve the issues of the basic grasshopper optimization algorithm (GOA) of premature convergence and slow movements. Joshi et al. [16] proposed a gravitational search algorithm embedded with chaotic sequence based OBL to enhance its search ability. Si et al. [17] balances the exploration and exploitation capacity of the meta-heuristic algorithm by using OBL strategy, thereby improving its performance. Sarkhel et al. [18, 19] improved the performance of the OBL theory by taking into account each component of the candidate and integrated it into the harmonic search algorithm to obtain superior performance compared to the original OBL. Si et al. [20] designed five variants of the Salp Swarm Algorithm (SSA) based on the OBL scheme, and the experimental results show that embedding in the SSA using different OBL schemes can enhance the exploration capability of the algorithm and obtain better performance. Similarly, Wang et al. [21] used orthogonal opposition-based learning to enhance the comprehensive performance of the salp swarm algorithm. Dhargupta et al. [22] proposed combining the OBL with Grey Wolf Optimization (GWO) to enhance the exploration capability of the algorithm while maintaining a fast convergence rate. Omran et al. [23] used the OBL scheme to improve the performance of Particle Swarm Optimization (PSO). Yu et al. [29] used chaotic mapping and opposition-based learning to improve global search-ability for sparrow search algorithm. Zhao et al. [30] introduced the opposition-based learning mechanism into continuous ant colony optimization (ACO) to solve the problem of falling into local optima and low accuracy. Sharma et al. [31] used the opposition-based learning scheme for initializing the population of firefly algorithm (FA) and achieved better experiment results. The scheme improves the diversity of the population for the PSO by combining the randomly initialized population x and the opposite population
Basic notations and theory
Flow Regime Algorithm (FRA)
FRA is a recently proposed physics-based meta-heuristic [13]. The idea of this algorithm is inspired by classical fluid mechanics and flow regimes. Specifically, the algorithm simulates two states of the flow regime: laminar and turbulent. Turbulence is simulated as a global search for FRA, and laminar flow is simulated as a local search. The algorithm balances exploration and exploitation by formulating a Reynolds number-like Selection Type Factor (STF). This Selection Type Factor (STF) is defined as follows:
This 3.2 × 106 is used here to establish similarity between the critical Reynolds number and the critical STF. The Maxit represents the maximum number of iterations. This gbest
n
represents the global best solution found so far, n represents the current number of iterations, currParticle represents the current fluid particle, and particler1 and particler2 represent two randomly selected particles. To select the global and local search processes of the algorithm, the following conditions are defined:
When the STF is greater than or equal to 3.2 × 105, this indicates that the current particle is far from the starting point of the boundary layer. Further, the particle is in the turbulent region, that is, the algorithm enters the global search phase. Here Levy represents the random number generated by the Levy distribution. The γ is a scaling factor. When the STF is less than 3.2 × 105, this indicates that the current particle is near the boundary layer starting point. This also indicates that the particle is in the laminar flow region, that is, the algorithm enters the local search phase. Here Rand is a random number generated by the Gaussian distribution.
The random populations may have poor diversity problems, resulting in the defect of premature convergence of meta-heuristic algorithms. According to the review of Section 1, it is shown that the scheme for opposition-based learning can improve the diversity of populations, thereby enhancing the exploration capacity of the algorithm, and improving the convergence accuracy and convergence rate [16]. The opposition-based scheme is a better approximation of a candidate solution, which is achieved by considering the estimation and inverse estimation of one candidate solution in a solution space [14]. Specifically, the opposite vector
Here a
i
and b
i
represent the upper and lower bounds of the ith dimension in the search space. For example, x = (0.026, 0.068) is a two-dimensional point in the interval [– 1,1], and this opposite point is
Since FRA is a novel physics-based meta-heuristic algorithm, there is currently a lack of research related to it, especially to improve performance with opposition-based learning scheme. This phenomenon motivated our interest in this work research. After the functional experimental study of the basic FRA algorithm, it is found that poor solutions are obtained in more cases, for example, for the unimodal function Rosenbrock, the optimal value found by the algorithm is only 4.85E+00. The reason for this result is that the new particle learns from the best solution

Flowchart of OLFRA
First, the algorithm uses the OBL scheme to directly initialize population
In this section, 23 standard benchmark functions [24] are used to evaluate the convergence accuracy and convergence rate for the proposed algorithm OLFRA. These functions are tabulated in Table 1, Table 2, and Table 3 according to their categories: unimodal functions, multimodal functions, and multimodal functions with fixed dimensions. Specifically, functions with only one extreme point are called unimodal functions such as F1-F7. Functions with multiple extreme points are called multimodal functions such as F8-F23, where F14-F23 is a multimodal function with a fixed number of dimensions. These functional features enable evaluation of the convergence accuracy, convergence rate, and jump-out optimal performance of a meta-heuristic.
Unimodal functions
Unimodal functions
Multimodal functions
Multimodal functions with fix dimension
The results of each function are compared with basic FRA and the other state-of-the-art meta-heuristic algorithms, such as Biogeography-Based Optimization (BBO) [26], Moth-Flame Optimization (MFO) [6], Grasshopper Optimization Algorithm (GOA) [3], Bat Algorithm (BA) [27] and Firefly Algorithm (FA) [28]. For fairness of comparison, the common parameters involved in each algorithm: population size (N) is taken as 100, and the maximum number of iterations is 500. The detailed parameters of each algorithm are in Table 4. Each algorithm is run independently 20 times, and the mean (Mean) and standard deviation (Std) of the fitness function results are calculated as evaluation metrics. For a function, an algorithm performs best when it found the smallest mean value, and has better stability when it achieved the smaller the standard deviation if the mean is the same [22]. In the results comparison, the results for GOA, BA and FA were taken from our previous work [25]. These experiments were performed on Intel(R) Core (TM) i7-10700 CPU @ 2.90 GHz,2.90 GHz and 8 GB RAM. Each algorithm is implemented and executed in MATLAB 2017 under the Windows 10 Professional.
The parameter setting for all algorithm
Friedman’s test is a nonparametric statistical process whose goal is to detect whether there is a significant difference between two or more algorithms [36]. In this subsection, Friedman’s test is used to analyze the statistical significance of OLFRA and 6 other algorithms. The data samples for each algorithm are from the average value in Tables 5, 6 and 7. The null hypothesis indicates that there are no differences in the algorithms. If the null hypothesis is rejected, it indicates that there is a significant difference between the performance of all algorithms. The significance level is 0.05. The result of this experiment is χ= 37.151(The test statistics is approximated by using Chi-squared distribution) and p-value = 0.000002. From the results of this experiment, it can be seen that since the p-value is less than 0.05, the null hypothesis is rejected. This also shows that there is an extremely significant statistical difference, that is, it is statistically significant. Further, this discrepancy suggests the existence of at least one important set of outcomes.
Results of OLFRA and other well know metaheuristics in unimodal functions
Results of OLFRA and other well know metaheuristics in unimodal functions
Results of OLFRA and other well know metaheuristics in multimodal functions
Results of OLFRA and other well know metaheuristics in multimodal functions with fix dimension
To further analyze whether the proposed OLFRA algorithm provides significant results, this Wilcoxon test is performed to make pairwise comparisons with OLFRA. This null hypothesis is that the performance of the two algorithms is equivalent to a significance level of 0.05. If the comparison between the two algorithms results in a p-value less than 0.05, then there is a significant difference between them. As seen in Table 8, except for MFO, the proposed algorithm provides statistically significant results in all cases.
Wilcoxon Test Result
For convergence accuracy, the function calculation results in Table 1, Table 2 and Table 3 correspond to Table 5, Table 6 and Table 7, respectively, where the optimal solution is marked in bold. It is clear from Table 5 that the proposed algorithm outperforms all other meta-heuristic algorithms in convergence accuracy. Compared with the basic FRA, OLFRA greatly improves the accuracy, which also shows that embedding the OBL initialized population increases the population diversity and enhances the exploration ability of the algorithm. For multimodal functions, it is as can be seen from Table 6, that the proposed algorithm obtains better results than other meta-heuristics except F8. This also proves that the diversity problem of random initial population can be solved using the OBL model, thereby providing more promising solutions for the algorithm. For multimodal functions with fixed dimensions, the results of Table 7 show that the proposed algorithm obtains better solutions on F14, F15, F16, F21, F22, and F23. This also shows that OLFRA can improve the probability of the algorithm jumping out more local optimal in the complex functions of multi-extreme points, and thus obtain better solutions.
Regarding the convergence performance of each algorithm, the convergence rate of each algorithm is shown in Fig. 2, Fig. 3, and Fig. 4 according to the category of function: unimodal function, multimodal function, and multimodal function with fixed dimensionality. The abscissa of each plot represents the number of iterations, and the ordinate represents the best fitness value so far. It can be clearly seen from Fig. 2 that the proposed algorithm improves the rate of convergence of the basic algorithm to a better solution. This performance improvement is mainly due to the fact that OBL changes the direction of the random population, because if the random population is close to the optimal solution, then the algorithm converges faster. From the convergence curve of Fig. 3, it can be seen that the proposed algorithm has a faster convergence rate except for the function F8 compared to other meta-heuristic algorithms. For F8, however, only BA gets the best performance. For multimodal functions with fixed dimensions, it can be seen from the results of Fig. 4 that OLFRA maintains a rate of convergence towards a better solution on functions F14, F16, F17, F21, F22, and F23.

Convergence curves for all algorithms in unimodal functions 1–7.

Convergence curves for all algorithms in unimodal functions 8–13.

Convergence curves for all algorithms in unimodal functions with fix dimension 14–23.
Through the above analysis of the results, it can be concluded that initializing the population based on OBL can improve the exploration ability of the algorithm, so as to avoid premature convergence and discover the local optimal solution. This is mainly because meta-heuristics use random populations as a starting point. Further, if the random point is in the opposite direction of the best, then the algorithm is prone to stagnation. If the random point is in the direction of the optimal solution, then the algorithm will converge quickly.
The ontology alignment problem is a challenging such as an effective combination of multiple simple matchers. Ontology alignment is the process of finding a set of entity correspondences in a given two or more domain ontologies. This process is explained in Fig. 5. In recent years, the use of swarm intelligence algorithms to solve the ontology alignment problem has been proven to be an effective method [38–40]. To solve the problem of effective combination of multiple matchers. In this work, the ontology alignment problem is transformed into an optimization problem. High-quality alignment is achieved by optimizing an optimal set of combined weights. First, this optimization problem is defined as follows:

The ontology alignment process [37].
Here
The o and o′ is two ontologies. A is an input alignment.A′ is an alignment result.
In order to fairly evaluate the performance of the algorithm, the common parameters are uniformly set to N (population size) = 20, MaxIter (Termination) = 10, Dim (number of variables) = 4, ub(upperBound) = 1 and lb (lowerBound) = 0. Other intrinsic parameter configurations for each algorithm are shown in Table 9.
The parameter setting for all algorithm on ontology alignment
To verify the performance of the proposed algorithm in the application, Anatomy track is used to perform matching tasks and each algorithm runs independently 5 times. This average is listed in Table 10. The results are compared to FRA, BBO, MFO, GOA, BA and FA. In terms of F-measure, BBO got the best results. The proposed OLFRA, FRA and GOA obtained suboptimal results. The main reason for this is that the proposed algorithm only changes the initialized population. The renewal phase of the population has not been modified. The BA and FA get the worst results. For Optimal F-measure, the proposed OLFRA, BBO and MFO can all achieve high-quality alignment results of 0.86.
Comparison results of OLFRA with other ontology alignment system
In order to better compare the performance of the proposed algorithm to solve the ontology alignment problem. SANOM, Lily, Wiktionary, ALIN, FCAMap-KG and DOME systems from OAEI (Ontology Alignment Evaluation Initiative) were selected. The results of this comparison are shown in Table 11. From this result, it can be seen that the proposed OLFRA outperforms other systems except SANOM.
Comparison results of OLFRA with other ontology alignment system
In this paper, a novel Flow Regime Algorithm using opposition-based learning scheme is proposed. This OBL scheme is embedded in the initialization phase of the population. The algorithm directly initializes the opposite vector as a partial fluid particle by using the OBL strategy, and the remaining population is initialized by a random number of Gaussian distributions. In order to verify the performance of the proposed algorithm, 23 standard benchmark functions are used to conduct detailed experimental studies, and the experimental results show that embedding OBL into the initial population can increase the diversity of the population, thereby enhancing the convergence accuracy and convergence rate of the algorithm. Compared to the other state-of-the-art proposed meta-heuristic algorithms, the proposed OLFRA achieved better performance in most cases. Statistical analysis also shows that the proposed algorithm provides statistically significant results in some cases. The application in ontology alignment problems can demonstrate that the proposed algorithm can achieve higher quality alignment compared to most other meta heuristic-based systems and OAEI ontology alignment systems. In future work, we will further improve the performance of FRA, especially in more practical problems.
