Skip to main content
Biomimetics logoLink to Biomimetics
. 2026 Apr 3;11(4):247. doi: 10.3390/biomimetics11040247

A Multi-Strategy Improved Seagull Optimization Algorithm for Global Optimization and Artistic Image Segmentation

Yangyang Jiang 1,2
Editor: Marko Đurasević
PMCID: PMC13113111  PMID: 42041477

Abstract

Multilevel threshold image segmentation is a key task in image processing, yet it faces challenges such as low search efficiency in high-dimensional spaces, difficulty in balancing segmentation accuracy and stability, and insufficient adaptability to complex scenes. Existing solutions mainly include traditional thresholding methods and metaheuristic optimization-based schemes, but they still face limitations in high-dimensional and complex segmentation tasks. The standard Seagull Optimization Algorithm (SOA) suffers from shortcomings including a single exploration mechanism, weak local exploitation capability, and a tendency for population diversity to deteriorate, making it difficult to meet the demands of high-dimensional optimization. To address these issues, this paper proposes a multi-strategy fused improved Seagull Optimization Algorithm (MFISOA), which integrates three strategies: adaptive cooperative foraging, differential evolution-driven exploitation, and centroid opposition-based boundary control. These strategies jointly construct a collaborative optimization framework with dynamic resource allocation, fine local search, and population diversity maintenance, thereby improving global exploration efficiency, local exploitation accuracy, and population stability. To evaluate the optimization performance of MFISOA, numerical simulation experiments were conducted on the CEC2017 and CEC2022 benchmark test suites, and comparisons were made with nine other mainstream advanced algorithms. The results show that MFISOA outperforms the competing algorithms in terms of optimization accuracy, convergence speed, and operational stability. Its superiority is further verified by the Wilcoxon rank-sum test and the Friedman test, with statistical significance (p < 0.05). In the multilevel threshold image segmentation task, using the Otsu criterion as the objective function, MFISOA was tested on nine benchmark images under 4-, 6-, 8-, and 10-threshold segmentation scenarios. The results indicate that MFISOA achieves better performance on metrics such as Structural Similarity Index (SSIM), Peak Signal-to-Noise Ratio (PSNR), and Feature Similarity Index (FSIM), enabling more accurate characterization of image grayscale distribution features and producing higher-quality segmentation results. This study provides an efficient and reliable approach for numerical optimization and multilevel threshold image segmentation.

Keywords: seagull optimization algorithm, image segmentation, multi-strategy improved, numerical optimization

1. Introduction

With the rapid development of image acquisition and analysis technologies, image segmentation has become a fundamental topic in computer vision and image processing, with important applications in medical diagnosis, remote sensing interpretation, industrial inspection, and environmental monitoring [1,2,3,4,5]. In particular, accurate image segmentation can support lesion localization, ecological monitoring, land-use planning, and quality control [6,7]. However, traditional segmentation methods often suffer from low efficiency and limited accuracy when dealing with high-resolution images with complex textures, which restricts their applicability in practical scenarios.

As a core image processing technique, threshold-based segmentation aims to separate meaningful regions from the background and provide a basis for subsequent image analysis, feature extraction, and decision-making [1,8,9,10,11,12]. Among existing thresholding methods, multilevel threshold segmentation has attracted increasing attention because it can describe complex image structures more precisely than single-threshold methods [13]. Nevertheless, as the number of thresholds increases, the search space expands exponentially, making exhaustive search infeasible and turning multilevel threshold selection into a high-dimensional nonlinear optimization problem [14,15,16,17]. In practical applications, this problem is further aggravated by noise interference, grayscale overlap, and the limited adaptability of many existing algorithms to different image types and complex scenes [18,19].

Intelligent optimization algorithms, also known as metaheuristic algorithms, usually draw inspiration from biological behaviors, physical processes, or social laws in nature and perform optimization through stochastic search strategies. Because of their strong global optimization capability, broad applicability, and independence from the analytical properties of objective functions, they are well suited to solving the challenges in multilevel threshold segmentation [20,21]. Such algorithms generally follow an optimization process involving population iteration, fitness evaluation, and position updating, as well as model multilevel threshold segmentation, a global optimization task in which K thresholds are treated as optimization variables and a segmentation criterion, such as Otsu’s between-class variance, is used as the fitness function. Under this framework, the algorithms can efficiently locate the optimal threshold combination in a search space that grows exponentially with the number of thresholds [22].

Early studies mainly focused on introducing classical swarm intelligence and evolutionary algorithms into multilevel threshold image segmentation. Particle Swarm Optimization (PSO) was among the earlier methods applied to multilevel thresholding. It has a simple structure and fast convergence, but it is prone to premature convergence in high-dimensional threshold search because of the loss of population diversity [23]. Gray Wolf Optimizer (GWO) exhibits strong local exploitation capability and relatively stable search behavior, but its global exploration range is limited, which may cause key thresholds to be missed when dealing with images with multimodal grayscale distributions [24]. Whale Optimization Algorithm (WOA) provides a certain balance between global exploration and local exploitation, but its convergence speed becomes slow in the later iterations, thereby affecting its optimization efficiency in complex segmentation tasks [25]. Differential Evolution (DE) achieves high local search precision, but it is sensitive to control parameters, and inappropriate parameter settings may lead to threshold selection bias [26]. Overall, these classical methods verified the feasibility of modeling multilevel threshold selection as a global optimization problem and laid the foundation for subsequent research, but they still exhibit obvious limitations in complex and high-dimensional scenarios.

Subsequently, researchers began to introduce newly developed bio-inspired metaheuristic algorithms in an attempt to improve exploration capability and population diversity through more diversified search behaviors. The Dung Beetle Optimizer (DBO) enhances population search diversity through behavior-inspired mechanisms and has shown promising exploration ability in some multimodal optimization problems, but its stability remains insufficient in high-dimensional multilevel threshold segmentation and noisy scenarios [27]. Bird-predation-inspired optimization methods, such as BPBO, enrich position updating patterns by introducing novel predation and foraging behaviors, and they have demonstrated certain competitiveness in some test tasks; however, their local exploitation precision and convergence stability still need further improvement [28]. In addition, other nature-inspired algorithms proposed in recent years have expanded the solution strategies for multilevel threshold segmentation to some extent, but they still commonly suffer from strong task dependence and limited generalization capability in high-dimensional and complex scenarios [29]. Therefore, although these newer bio-inspired algorithms employ more flexible search mechanisms, their overall performance in high-dimensional multilevel threshold image segmentation still has considerable room for improvement.

In recent years, research attention has gradually shifted toward improved and hybrid metaheuristic methods, with the aim of overcoming the limitations of a single algorithm through mechanism enhancement or algorithm fusion. In this context, the Seagull Optimization Algorithm (SOA) [30] has attracted increasing attention because it simulates the natural behaviors of seagulls during migration, aggregation, and attack, thereby constructing a search mechanism that balances global exploration and local exploitation. Existing SOA-related studies mainly improve algorithm performance by optimizing initialization strategies, introducing local perturbation mechanisms, or combining SOA with other optimization operators [31,32]. Although these improvements enhance the convergence speed and segmentation performance of SOA to a certain extent, most of them still focus on single-stage enhancement or loosely coupled hybridization and have not yet formed a coordinated mechanism that can simultaneously balance exploration efficiency, local exploitation precision, and population diversity preservation. In general, existing SOA and its improved variants still exhibit common shortcomings in multilevel threshold segmentation, including rigid exploration strategies, insufficient local exploitation precision, and coarse boundary control. Overall, although existing methods have achieved certain improvements in convergence speed, local exploitation capability, or search diversity, most of them still struggle to simultaneously balance global exploration efficiency, local exploitation precision, and population diversity preservation in high-dimensional multilevel threshold segmentation tasks. This further highlights the necessity of constructing a collaborative multi-strategy optimization framework.

To address the deficiencies of the standard SOA in multilevel threshold image segmentation, including rigid exploration strategy, insufficient local exploitation precision, and the tendency to lose population diversity, this paper proposes a Multi-Strategy Fused Improved Seagull Optimization Algorithm (MFISOA). Rather than being a simple combination of multiple strategies, the proposed method achieves a systematic improvement in algorithmic performance through three mutually coordinated mechanisms. First, an adaptive cooperative foraging strategy based on individual quality is introduced to realize dynamic allocation of search resources and enhance exploration guidance. Second, a differential evolution-driven exploitation strategy is adopted to improve the directionality and refinement of local search. Third, a centroid opposition-based boundary control strategy is constructed to preserve population diversity and enhance search stability during the remapping of out-of-bounds individuals. Together, these three strategies form a collaborative optimization framework oriented toward “exploration guidance–local refinement–diversity maintenance,” thereby improving the adaptability and optimization performance of the algorithm in high-dimensional multilevel threshold segmentation tasks.

The main contributions of this paper are as follows:

  • (1)

    A multi-strategy fused improved Seagull Optimization Algorithm, termed MFISOA, is proposed to overcome the limitations of the standard SOA in high-dimensional threshold optimization.

  • (2)

    Extensive comparative experiments are conducted on the CEC2017 and CEC2022 benchmark suites, and the results show that MFISOA outperforms several representative algorithms in terms of optimization accuracy, convergence speed, and stability.

  • (3)

    By combining MFISOA with the Otsu criterion for multilevel threshold image segmentation, the proposed method achieves better segmentation performance and higher-quality segmentation results under different threshold levels.

The remainder of this paper is organized as follows. Section 2 introduces the standard SOA and the proposed improvement strategies. Section 3 presents the benchmark function experiments and statistical analysis. Section 4 applies MFISOA to multilevel threshold image segmentation and reports the experimental results. Finally, Section 5 concludes the paper and discusses future work.

To further clarify the characteristics and limitations of existing studies and improve the systematic organization and comparability of the literature review, Table 1 summarizes the main ideas, major strengths, and limitations of representative recent methods for multilevel threshold image segmentation. This comparison provides a more intuitive view of the differences among these methods in terms of global exploration capability, local exploitation precision, population diversity preservation, and adaptability to high-dimensional problems.

Table 1.

Comparison of the strengths and limitations of representative methods for multilevel threshold image segmentation.

Method Category Main Idea Major Strengths Major Limitations
Particle Swarm Optimization (PSO) [23] Multilevel threshold search through collaborative particle updating Simple structure, easy implementation, fast convergence Prone to premature convergence in high-dimensional search; insufficient population diversity
Whale Optimization Algorithm (WOA) [25] Search based on encircling prey and spiral updating mechanisms Stable search process, strong local exploitation capability Limited global exploration range; may miss promising thresholds
Dung Beetle Optimizer (DBO) [27] Diversity-enhanced search through behavior-inspired mechanisms Strong exploration ability; competitive on some multimodal problems Limited stability in high-dimensional multilevel thresholding and noisy scenarios
Standard Seagull Optimization Algorithm (SOA) [30] Optimization based on migration, aggregation, and attack behaviors of seagulls Balances global exploration and local exploitation to some extent; concise model Rigid exploration strategy, insufficient local exploitation precision, and coarse boundary control
Hybrid SOA-based methods [32] Combination of SOA with other operators for performance improvement Enhances local exploitation ability or overall optimization accuracy Mostly loosely hybridized; difficult to balance exploration, exploitation, and diversity preservation simultaneously
Proposed MFISOA Adaptive cooperative foraging, DE-driven exploitation, and centroid opposition-based boundary control Improves exploration guidance, local exploitation precision, and population diversity preservation More complex algorithmic structure with additional computational operations

2. Seagull Optimization Algorithm (SOA) and the Proposed Methodology

This section mainly introduces the basic principles of the standard SOA and the mechanism of the proposed MFISOA.

2.1. Seagull Optimization Algorithm (SOA)

This section primarily introduces the origin and mathematical model of the SOA. The SOA, proposed by Dhiman et al. in 2019, is a swarm intelligence algorithm inspired by the migration and hunting behaviors of seagulls [30]. As illustrated in Figure 1, the seagull flock first migrates in a spiral pattern (Circle) through three-dimensional space (x, y, z axes) with the aid of air currents (Wind), utilizing “Good Lift” to perform global exploration. When attacking prey (Prey), seagulls initiate a spiral dive (Attacking Drift) to precisely exploit localized areas. The SOA mimics this series of behaviors, combining random disturbances and a linear decay mechanism to balance global exploration and local exploitation, ultimately enabling efficient search for the optimal solution. The following section provides a detailed description of its core search strategy and position update model.

Figure 1.

Figure 1

Inspiration diagram of SOA.

Let Xi=(xi1,xi2,…,xidim) represent the position of the i-th individual (where i=1,2,…,N), with dim denoting the dimension of the search space and N being the population size. Xbest represents the global best individual during the current iteration. In the standard SOA search process, the individual position update undergoes three main phases: “migration,” “aggregation,” and “attack.” The stage selection is determined by generating a random number rand in the range of [0,1]. When rand∈[0,1/3], the migration stage is executed; when rand∈(1/3,2/3], the attack stage is executed; and when rand∈(2/3,1], the aggregation stage is executed. The equal-probability random assignment ensures that the population balances both global exploration and local exploitation. Ultimately, the position of the i-th individual in the j-th dimension is updated according to Equation (1). This process simulates the uncertainty of seagull flight through random disturbances, while the linearly decaying step size controls the search range in later stages, aiming to establish a balance between exploration and exploitation.

Xijnew=Xij+r1·Xbest,j−Xij·rand               ,Migration PhaseXbest,j+r2·absXij−Xbest,j·sinr3,     Attack PhaseXbest,j+r2·absXij−Xbest,j·cosr3 ,Gathering Phase (1)

In the equation, Xij denotes the original position of the i-th individual in the j-th dimension, Xijnew denotes the updated position, and Xbest,j denotes the position of the global best individual in the j-th dimension. The parameter r1 is a linearly decreasing step-size control factor defined as r1=2−t/T, where t is the current iteration number and T is the maximum number of iterations. The parameters r2 and r3 are uniformly distributed random numbers, where r2∈[0,2] controls the perturbation strength and r3∈[0,2π] controls the directional randomness. The variable rand is a random number in the range [0,1]. This random assignment mechanism works together with the linearly decreasing step size: in the early iterations, a larger r1 enhances global exploration during the migration phase, whereas in the later iterations, as r1 approaches 0, the local convergence effects of the attack and aggregation phases become more pronounced. However, the fixed update logic of the standard SOA lacks adaptability to individual differences and search stages, which creates a bottleneck in improving optimization efficiency and accuracy.

2.2. Proposed Multi-Strategy Fusion Improved Seagull Optimization Algorithm (MFISOA)

To address the core deficiencies of the standard SOA, such as rigid exploration strategies, insufficient local exploitation accuracy, and population diversity loss due to boundary control, this paper proposes an Improved Seagull Optimization Algorithm (MFISOA). The algorithm establishes a collaborative optimization framework based on three key strategies and reconstructs the population updating process as follows: an individual-quality-based adaptive collaborative foraging strategy to optimize resource allocation during the exploration phase, a differential evolution-driven exploitation strategy to improve local search precision, and a centroid-based reverse learning boundary control strategy to maintain population diversity. The following section provides a detailed explanation of the design of each strategy.

2.2.1. Adaptive Collaboration Foraging Strategy Based on Individual Quality

In the standard SOA, all individuals are updated using the same position update rule regardless of their fitness levels, without considering the different search requirements of individuals with different qualities. As a result, high-quality individuals may perform unnecessary exploration, while low-quality individuals may lack sufficient guidance to move toward promising regions, thereby reducing the overall optimization efficiency of the population. To overcome this limitation, MFISOA introduces an adaptive cooperative foraging strategy based on individual quality, in which cooperation targets and update patterns are dynamically determined according to the difference between individual fitness and the population average. The core design includes: First, individuals are classified according to the population mean fitness, mean(fit), which is dynamically calculated at each iteration as mean(fit)=1N∑i=1N fit(i), where N denotes the population size and fit(i) denotes the fitness value of the i-th individual in the current population. Specifically, individuals satisfying fit (i) ≤ mean (fit) are regarded as high-quality individuals, whereas those satisfying fit (i) > mean (fit) are regarded as low-quality individuals. Since mean(fit) is recalculated in each iteration from the current population fitness distribution, it can adaptively reflect the evolutionary state of the population and thus serves as an adaptive classification threshold rather than a manually predefined constant. In this way, no separate threshold-tuning process is required. Using mean(fit) as the classification threshold enables the algorithm to distinguish between individuals that require stronger cooperative guidance and those that should retain greater exploratory capability according to the current population state. Second, constructing a collaboration information pool. For low-quality individuals, a multi-dimensional set of information is introduced, consisting of the “global best Xbest, worst individual Xworst, and random individual pairs.” The group collaboration signals are fused through a distance-adaptive weight. The Formula (2) is as follows:

AFL1=distbwdistbw+distrand,AFL2=distranddistbw+distrand (2)

In the formula, distbw=∑j=1dim(Xbest,j−Xworst,j)2 represents the Euclidean distance between the global best individual Xbest and the global worst individual Xworst, reflecting the difference between the optimal and worst regions within the population. distrand=∑j=1dim(Xr1,j−Xr2,j)2 is the Euclidean distance between two randomly selected individuals, r1 and r2 (where r1≠r2≠i), used to maintain population diversity. Xbest,j, Xworst,j, Xr1,j, Xr2,j represent the positions of the corresponding individuals in the j-th dimension. By distributing weights based on these distances, the algorithm achieves a dynamic balance between “guiding towards high-quality regions” and “maintaining diversity.”

Finally, a differentiated position update is implemented. Based on individual types and collaboration information, distinct update formulas are designed for high-quality and low-quality individuals, as shown in Equation (3), to achieve “search on demand.”

Xijnew=Xij+AFL1·Xbest,j−Xworst,j+AFL2·Xr1,j−Xr2,j,if fiti>mean(fit)Xbest,j+RLij·Xij−Ij·expertj,                                        ,if fiti≤mean(fit) (3)

In the equation, the update rule is differentiated according to individual quality. For low-quality individuals satisfying fiti>mean(fit), the update is based on the current position Xij. Here, AFL1 denotes the guidance term constructed from the difference between the best and worst individuals, whereas AFL2 denotes the diversity-preserving term constructed from the difference between two randomly selected individuals. This design enables low-quality individuals to move more efficiently toward promising regions while avoiding premature loss of diversity.

For high-quality individuals satisfying fiti≤mean(fit), a Levy flight disturbance matrix RL is introduced, where RLij denotes the element in the i-th row and j-th column. The RLij element is generated from the Levy distribution, and the calculation Formula (4) is as follows:

RLij=0.5⋅u/∣v∣1/β (4)

In the formula, u∼N0,σu2 and v∼N0,1 are random variables drawn from normal distributions, with β=1.5 and σu=Γ1+βsinπβ/2Γ(1+β/2)ββ−1/21β, where Γ(⋅) is the Gamma function. Ij is a random scalar in the j-th dimension, taking values in {1, 2}, and is used to control the disturbance direction. expertj represents the j-th dimension of a reference individual selected from better-performing individuals in the current population, and is used to provide a guidance direction for the update of high-quality individuals. This strategy addresses the rigid exploration strategy in the standard SOA by using “low-quality individual collaboration guidance + high-quality individual disturbance exploration.” Here, Xbest,j is the position of the global best individual in the j-th dimension, and RLij is the Levy flight disturbance value. This strategy, through a dual design of “individual quality differentiation + collaboration information fusion,” enables individuals to receive targeted search guidance while maintaining population diversity. It effectively compensates for the “indiscriminate update” issue in the standard SOA, improving the population’s adaptability to different search phases. Figure 2 visually illustrates how the collaborative information fusion mechanism guides the population toward evolving into high-quality regions.

Figure 2.

Figure 2

2D search space diagram of the adaptive collaboration foraging strategy.

2.2.2. Differential Evolution-Driven Exploitation Strategy

The exploitation phase of the standard SOA is based on an attack-aggregation mechanism driven by random perturbations and a linearly decreasing step size. However, this mechanism lacks sufficient population-wide information support for directional updating. Specifically, individuals are only adjusted according to the difference between their current positions and the global best, without exploiting inter-individual differences to further refine the search in promising regions, which limits local exploitation accuracy. In addition, the linearly decreasing parameter r1 is not well suited to the fine-grained search required in complex solution spaces, leading to slow convergence in later iterations. To overcome these limitations, MFISOA incorporates a differential evolution (DE) mechanism and develops a DE-driven exploitation strategy. DE can exploit inter-individual difference information to generate directional perturbations while maintaining a relatively simple algorithmic structure. Therefore, compared with general random or greedy local search operators, it is more suitable for enhancing the local exploitation capability of SOA. Based on this, a DE-driven exploitation strategy is constructed in this study, whose core design consists of three components: differential individual selection, random mask control, and differential position update.

First, differential individual selection is performed. For each individual Xi to be updated, two distinct individuals Xr2 and Xr3 (r2≠r3≠i) are randomly selected from the population. These two individuals are used to construct the differential perturbation term Xr2,j−Xr3,j, which provides directional local search information while avoiding the bias that may arise from relying on a single source individual.

Next, a random mask is designed to control the update dimensions. A binary mask vector F1=[F11,F12,…,F1dim] of size 1×dim is generated, where F1j denotes the value of the mask in the j-th dimension, and the probability of F1j = 1 is 50%. Its expression is given by Equation (5):

F1j=1,   if rand≤0.50,   if rand>0.5 (5)

In the formula, rand is a random number in the range of [0,1]. The mask vector controls the update of only certain dimensions, avoiding the loss of valuable information in the original dimensions by preventing full-dimensional updates. This ensures a balance between “local fine-tuning” and “information retention.”

The core parameters of differential evolution are then defined. This strategy introduces the typical differential evolution parameters F (scaling factor) and CR (crossover probability). Here, F=0.5 is used to control the strength of the differential perturbation, scaling the amplitude of the difference signal Xr2,j−Xr3,j to avoid excessive disturbances that could lead to search oscillation or too small perturbations that may cause the algorithm to fall into local optima. CR=0.9 is used to adjust the crossover probability. In the update dimensions selected by the mask vector, the differential perturbation signal is accepted with a probability of 90%, while 10% of the time the original position information of the individual is retained, further balancing the precision of local exploitation and the diversity of the population.

Finally, differential position updates are performed. Based on the individual’s current position, a differential disturbance term is integrated to generate a new position for the directed update. The update formula for the j-th dimension of the i-th individual is given by Equation (6):

Xijnew=Xij+F1j·[F·Xr2,j−Xr3,j]·CR (6)

In the equation, Xijnew denotes the updated position during the exploitation phase, while F·Xr2,j−Xr3,j represents the perturbation signal derived from inter-individual differences within the population and scaled by the factor F. The positional difference between two randomly selected individuals is employed to construct a directed search direction, thereby replacing the purely random disturbance used in the standard SOA. Here, F1j denotes the j-th element of the mask vector, which enables directional search in selected dimensions, and CR is the crossover probability controlling the acceptance rate of the perturbation signal. In this way, individuals are able to conduct more accurate local searches along promising directions indicated by population difference information, while preserving useful information from their current positions. Consequently, this strategy effectively alleviates the low exploitation accuracy and slow convergence of the standard SOA, thereby improving its local optimization capability.

2.2.3. Centroid Reflection-Based Boundary Control Strategy

The standard SOA uses a “hard boundary truncation” strategy to handle the out-of-bounds position issue. When the position Xij of an individual in the j-th dimension is less than the lower bound lbj or greater than the upper bound ubj it is directly truncated to lbj or ubj, respectively, as shown in the following expression:

Xijnew=lbj                           ,if Xij<lbjubj                          ,if Xij>ubjXij                             ,otherwise (7)

In the equation, lbj and ubj represent the lower and upper bounds of the j-th dimension, respectively. Although this “hard boundary truncation” approach is simple and direct, it can lead to significant consequences: out-of-bounds individuals are fixed at the boundary positions, losing their ability to move toward the core region of the population and becoming unable to participate in normal information exchange. In high-dimensional problems, the presence of many boundary-fixed individuals quickly reduces population diversity, causing the algorithm to get trapped in local optima. To address this issue, MFISOA introduces a centroid-based reverse learning boundary control strategy. Using the population centroid as a reference, out-of-bounds individuals are mapped backward, ensuring that position legality is maintained while preserving population activity. The core design includes three components: population centroid calculation, out-of-bounds reverse mapping, and secondary boundary constraints, as described below:

The centroid of the population is calculated by averaging the positions of all individuals in each dimension, reflecting the core region of the population. This centroid position provides directional guidance for out-of-bounds individuals. The calculation formula for the centroid in the j-th dimension is given by Equation (8):

centroidj=1N∑k=1NXkj (8)

In the equation, centroidj represents the centroid position of the j-th dimension of the population, Xkj is the position of the k-th individual in the j-th dimension, and N is the population size. The centroid position integrates the position information of all individuals, accurately reflecting the core distribution area of the population, and provides a reliable reference for guiding out-of-bounds individuals.

When the position of an individual in the j-th dimension goes out of bounds, it is mapped to the interior side of the boundary with the centroid as the symmetry center, preventing the position from being fixed at the boundary. The mapping is performed using the following Formula (9):

Xij=centroidj−Xij−centroidj   ,if Xij<lbj or Xij>ubjXij                                                                             ,otherwise (9)

In the equation, through centroid-based symmetric mapping, the out-of-bounds individual is repositioned to a reasonable location between the population’s core region and the boundary. This mapping ensures that the individual is freed from the boundary trap while maintaining a tendency to converge toward the core. To prevent the mapped position from crossing the boundary again due to extreme values, it is further constrained within the valid boundary. The final update Formula (10) is as follows:

Xijnew=max(minXij,ubj,lbj) (10)

Here, Xijnew represents the final position after boundary adjustment. By combining centroid guidance with opposition-based remapping, where centroidj denotes the centroid position of the population in the j-th dimension, this strategy enables out-of-bounds individuals to escape boundary stagnation while still tending to converge toward the population core. Consequently, it maintains population diversity, alleviates the inactivity caused by hard boundary truncation in the standard SOA, and improves the algorithm’s optimization capability near the boundaries.

Based on the above discussion, the pseudocode for MFISOA is presented in Algorithm 1.

Algorithm 1. Pseudo-Code of MFISOA.
1: Initialize the parameters (population size (N), dimension (dim), upper bound (ub), lower bound (lb), Max iterations (T)).
2: Initialize the solutions’ positions randomly.
3: while t≤T do
4:        Calculate the fitness value of each individual, and determine the global optimal individual Xbest , global worst individual Xworst and population average fitness mean(fit).
5:      Calculate the population centroid centroidj for each dimension j using Equation (8).
6:  for i = 1:N do
7:  Classify the individual as “high-quality” (fit(i) ≤ mean(fit) ) or “poor-quality” ( fit(i) > mean(fit) ) based on its fitness.
8:    if fit(i) > mean(fit) then
9:     Compute weights AFL1 and AFL2 using Equation (2).
10:   Update the position by Equation (3).
11: else
12:         Generate the Levy flight disturbance matrix RL using Equation (4).
13:   Update the position by Equation (3).
14: end if
15:        Randomly select two distinct individuals Xr2 and Xr3( r2≠r3≠i).
16:   Generate the binary mask vector F1 using Equation (5).
17:   Fine-tune the position by Equation (6).
18:     if Xij<lbj or Xij>ubj then
19:   Map Xij to the valid range by Equation (9).
20:  end if
21:  Enforce the secondary boundary constraint by Equation (10).
22: End for
23: Update the fitness values, Xbest, Xworst and mean(fit) for the new population.
24: End while
25: Return  Xbest.

To more intuitively present the execution process of MFISOA, Figure 3 illustrates the complete algorithm flow. First, the population is initialized and the fitness values are evaluated. Then, during the iterative process, the population centroid is calculated, and individuals are classified according to the mean fitness of the population. Based on the classification results, different position update strategies are applied, followed by the differential evolution-based fine-tuning process. Meanwhile, centroid-based boundary mapping and secondary boundary constraints are employed to handle out-of-bounds individuals. Finally, when the iteration terminates, the global best solution is returned. This flowchart clearly reflects the core logic of “population classification–position update–boundary handling” and is consistent with the pseudocode.

Figure 3.

Figure 3

MFISOA optimization algorithm flowchart.

2.3. Complexity and Runtime Analysis of MFISOA

The initialization phase of the standard SOA includes population initialization, with a complexity of O(N×dim). In this analysis, the computational cost of the fitness function itself is not included, since it depends on the specific optimization problem and is assumed to be the same for SOA and MFISOA. Therefore, the initialization complexity is tinit,SOA=O(N×dim). The iterative process follows a two-phase “exploration–exploitation” strategy without nested loops. The exploration phase includes expert selection (O(N), negligible), position update, and hard boundary handling. The exploitation phase includes random perturbation updates and fitness evaluation. The complexity of each iteration is O(N×dim), and the total iterative complexity is titer,SOA=O(T×N×dim). Hence, the total complexity is O(T×N×dim). For MFISOA, the initialization phase is the same as the standard SOA, with an initialization complexity of tinit,MFISOA=O(N×dim). Although the iterative phase introduces strategies such as adaptive collaboration and Levy flight, these strategies do not increase the complexity order: sorting the best/worst individuals (O(NlogN), negligible), generating Levy flight (O(N×dim)), negligible). The exploration phase includes adaptive weight calculation, differentiated position update, and centroid inverse boundary control. The exploitation phase includes differential evolution updates and the same type of boundary control. The complexity of each iteration remains O(N×dim), and the fitness evaluation complexity does not change. Therefore, the iterative complexity of MFISOA is titer,MFISOA=O(T×N×dim), and the total complexity is the same as the standard SOA, which is also O(T×N×dim).

Figure 4 compares the convergence performance of the standard SOA and the improved MFISOA on the CEC2017 benchmark functions (dim = 30). The results show that, while maintaining a runtime comparable to that of the standard SOA, MFISOA achieves significantly better convergence speed and optimization accuracy than the original algorithm. This demonstrates that the proposed multi-strategy improvements do not introduce additional time overhead, while effectively enhancing the optimization efficiency and stability of the algorithm.

Figure 4.

Figure 4

Runtime comparison between SOA and MFISOA on the CEC2017 benchmark suite (dim = 30).

3. Numerical Experiments

3.1. Algorithm Parameter Settings

In this section, we evaluate the performance of the proposed MFISOA using the most challenging numerical optimization benchmark sets, CEC2017 and CEC2022 [30], and compare it with several advanced algorithms. The comparison algorithms include: Particle Swarm Optimization (PSO) [33], Moth-Flame Optimization (MFO) [34], Gray Wolf Optimization (GWO) [35], African Vultures Optimization Algorithm (AVOA) [36], Arithmetic Optimization Algorithm (AOA) [37], Weighted mean of vectors algorithm (INFO) [38], Dung Beetle Optimization (DBO) [39], Bird of Prey Optimization (BPBO) [40], and Seagull Optimization Algorithm (SOA) [30]. The configuration details of all benchmark algorithms are provided in Table 2.

Table 2.

Parameter settings of the compared algorithms.

Algorithms Name of the Parameter Value of the Parameter
PSO C1,C2,w 1.49115, 1.49445, 0.9
MFO a,b [−2, 1], 1
GWO a [0,2]
AVOA L1,L2,w,p1,p2,p3 0.8, 0.2, 2.5, 0.6, 0.4, 0.6
AOA α,μ 5, 0.5
INFO c,d 2, 4
DBO Ppercent 0.2
BPBO Pi 0.7
SOA A,fc [2,0], 2
MFISOA A,fc,F,CR,β [2,0], 2, 0.5, 0.9, 1.5

3.2. Parameter Sensitivity Analysis of DE-Related Parameters

To verify the rationality of the DE parameter settings adopted in this study, a brief parameter sensitivity analysis was further conducted. Specifically, under the condition of fixed CR=0.9, the effects of different values of F={0.3,0.5,0.7,0.9} on the algorithm performance were analyzed; under the condition of fixed F=0.5, the effects of different values of CR={0.3,0.5,0.7,0.9} on the algorithm performance were analyzed. The corresponding experimental results are shown in Figure 5.

Figure 5.

Figure 5

Sensitivity analysis of DE-related parameters.

Figure 5 presents the results of the parameter sensitivity analysis on the CEC2017 test suite (dim=30), evaluated using the Friedman mean ranking method described in Section 3.5.2. With CR=0.9 fixed, F=0.5 achieves the best average rank of 1.77. Likewise, with F=0.5 fixed, CR=0.9 also obtains the best average rank of 2.00. These results indicate that the selected parameter combination yields better overall performance, demonstrating that the use of F=0.5 and CR=0.9 as the DE parameter settings in this study is reasonable.

3.3. Ablation Study Analysis

To quantitatively verify the individual contributions of the three core enhancement strategies in MFISOA and their synergistic effects on algorithm performance, ablation experiments were designed on the CEC2017 benchmark test set (dimension = 30). Using the standard SOA as the baseline, three single-strategy variant models were constructed by progressively incorporating each enhancement strategy: SOA-S1 (integrating only the adaptive collaborative foraging strategy), SOA-S2 (integrating only the differential evolution-driven exploitation strategy), and SOA-S3 (integrating only the centroid-based reverse learning boundary control strategy). The convergence curves of all algorithms were recorded on representative test functions (F1, F5, F8, F13, F18, F21, F24, F30) to visually compare the optimization performance differences, as shown in Figure 6. Additionally, to further quantify the performance gap between the different strategy algorithms, Figure 7 presents the average ranking of each algorithm (including standard SOA, the three single-strategy variants, and MFISOA) across all functions in the CEC2017 (dim = 30) test set, providing a macro-level evaluation of the effectiveness of each strategy. The experimental settings are consistent with those described in Section 3.4.

Figure 6.

Figure 6

Figure 6

Partial diagram of comparison of different improved strategies.

Figure 7.

Figure 7

Average ranking of MFISOA improved by different strategies.

Figure 6 illustrates the convergence processes of the standard SOA, the three single-strategy variants (SOA-S1, SOA-S2, and SOA-S3), and MFISOA on eight representative functions from the CEC2017 test set. These functions include unimodal (F1), multimodal (F5), hybrid (F8 and F13), and high-dimensional composite functions (F18, F21, F24, and F30), thus providing a comprehensive comparison of the optimization behaviors under different problem characteristics.

In the unimodal function F1, the standard SOA shows an obvious stagnation trend after the early iterations, indicating limited local exploitation capability. By introducing the differential evolution-driven exploitation strategy, SOA-S2 achieves a noticeably faster and more stable decline, while MFISOA further improves the convergence trend and reaches the lowest fitness among all variants. In the multimodal function F5, the standard SOA is prone to premature convergence, whereas SOA-S3 shows improved search stability due to its diversity-preserving effect. Compared with the single-strategy variants, MFISOA maintains a more consistent downward trend throughout the iterative process, indicating a better balance between exploration and exploitation.

For the hybrid functions F8 and F13 and the high-dimensional composite functions F18, F21, F24, and F30, the superiority of MFISOA becomes more evident. In particular, on F8, the standard SOA and several single-strategy variants exhibit noticeable oscillations in the later stages, whereas MFISOA remains relatively stable. On the high-dimensional composite function F30, MFISOA continues to reduce the fitness value steadily, while the standard SOA converges slowly and remains at a much higher level. These results demonstrate that the synergistic integration of the three strategies enables MFISOA to achieve better convergence speed, solution accuracy, and robustness across different function types.

Figure 7 reports the average rankings of all algorithms across all functions in the CEC2017 (dim = 30) test suite. MFISOA achieves the best overall rank of 1.60, significantly outperforming the single-strategy variants, thereby validating the synergistic effect of strategy fusion. Among them, SOA-S2 and SOA-S3 exhibit the most notable ranking improvements, indicating that the differential evolution-driven exploitation strategy and the centroid-based opposition learning boundary control strategy play a more critical role in performance enhancement. The quantitative convergence curves in Figure 6 and the overall ranking results in Figure 7 corroborate each other, ruling out random interference and confirming the scientific soundness and rationality of integrating the three strategies in MFISOA.

In summary, based on the ablation experiment results in Figure 6 and Figure 7, the three core strategies in MFISOA each have distinct and indispensable features. Their synergistic integration significantly enhances the algorithm’s performance. MFISOA demonstrates breakthroughs in convergence speed, optimization accuracy, and stability, consistently outperforming across different function types and dimensions. This not only validates the effectiveness of MFISOA’s design but also lays a solid foundation for its application in practical tasks such as multi-threshold image segmentation.

3.4. Experimental Results and Analysis of CEC2017 and CEC2022 Test Suite

This section presents a comparative evaluation of the proposed MFISOA against multiple benchmark algorithms using the CEC2017 and CEC2022 test suites. These standardized benchmarks consist of four categories of mathematical functions: unimodal, multimodal, hybrid, and composite functions. Multimodal functions, characterized by numerous local optima, are used to assess the exploratory capability of an algorithm. In contrast, unimodal functions, with a single global optimum, primarily measure an algorithm’s ability to refine solutions. Hybrid and composite functions further evaluate an optimizer’s robustness in escaping local optima and avoiding premature convergence.

To ensure fair comparisons and minimize the effects of randomness, all algorithms employed a fixed population size (N=30) and were set to run a maximum of 500 iterations (T=500). Each method was run independently 30 times. All experiments were conducted based on the above settings. Recorded performance metrics include the mean (Ave) and standard deviation (Std), with the best results in each row highlighted in bold. All experiments were conducted on a computer system running Windows 11, configured with an Intel Core i5-13400 processor (13th Gen, 2.50 GHz), 16 GB of memory, and MATLAB 2024b software. The convergence behavior and solution distributions of each algorithm were visualized via the convergence curves in Figure 8 and the box plots in Figure 9. Detailed experimental results are presented in Table 3 and Table 4.

Figure 8.

Figure 8

Figure 8

Part of the test function iterates convergence curves.

Figure 9.

Figure 9

Figure 9

Boxplot analysis for different algorithms on the test set.

Table 3.

Experimental results of CEC2022 (dim = 10).

Function Metric PSO MFO GWO AVOA AOA INFO DBO BPBO SOA MFISOA
F1 Ave 4.2418 × 102 5.9894 × 103 1.3871 × 103 4.4645 × 102 1.1654 × 104 3.0000 × 102 1.5692 × 103 3.3686 × 102 5.0504 × 103 3.0000 × 102
  Std 5.0699 × 101 7.7516 × 103 1.5906 × 103 2.1029 × 102 4.3149 × 103 1.2271 × 10−6 1.9889 × 103 4.4551 × 101 1.8968 × 103 3.3548 × 10−8
F2 Ave 4.2965 × 102 4.1569 × 102 4.2644 × 102 4.2840 × 102 1.3780 × 103 4.0758 × 102 4.4621 × 102 4.1018 × 102 6.4498 × 102 4.1199 × 102
  Std 3.0289 × 101 1.6044 × 101 2.1677 × 101 3.1049 × 101 7.7385 × 102 1.3281 × 101 6.8747 × 101 2.1908 × 101 2.0151 × 102 2.3675 × 101
F3 Ave 6.0233 × 102 6.0343 × 102 6.0285 × 102 6.2667 × 102 6.4157 × 102 6.0152 × 102 6.1196 × 102 6.1555 × 102 6.2735 × 102 6.0000 × 102
  Std 1.4208 × 100 4.1954 × 100 2.4094 × 100 1.3872 × 101 7.4419 × 100 3.6324 × 100 7.7331 × 100 8.6649 × 100 7.6605 × 100 2.2064 × 10−4
F4 Ave 8.2258 × 102 8.3436 × 102 8.1968 × 102 8.3082 × 102 8.3946 × 102 8.2220 × 102 8.3533 × 102 8.1934 × 102 8.1971 × 102 8.1781 × 102
  Std 6.8612 × 100 1.4379 × 101 1.1193 × 101 9.8317 × 100 9.0389 × 100 8.1390 × 100 1.1642 × 101 5.6252 × 100 6.3787 × 100 7.3171 × 100
F5 Ave 9.0460 × 102 1.1122 × 103 9.2489 × 102 1.2904 × 103 1.3946 × 103 9.4039 × 102 9.5574 × 102 9.4650 × 102 1.0561 × 103 9.0002 × 102
  Std 3.1218 × 100 3.2169 × 102 3.9564 × 101 2.1809 × 102 1.8799 × 102 5.1662 × 101 5.7902 × 101 3.6306 × 101 7.1295 × 101 8.3988 × 10−2
F6 Ave 7.2131 × 103 4.5685 × 103 8.6533 × 103 4.5051 × 103 1.0441 × 108 1.9913 × 103 4.7347 × 103 3.4416 × 103 2.7505 × 103 1.8029 × 103
  Std 3.9117 × 103 2.1568 × 103 3.3522 × 103 2.3242 × 103 1.9995 × 108 4.7362 × 102 2.2601 × 103 1.7212 × 103 1.0410 × 103 1.0853 × 100
F7 Ave 2.0242 × 103 2.0348 × 103 2.0369 × 103 2.0460 × 103 2.0978 × 103 2.0230 × 103 2.0410 × 103 2.0464 × 103 2.0552 × 103 2.0016 × 103
  Std 6.1274 × 100 1.7281 × 101 1.2926 × 101 1.9265 × 101 2.6070 × 101 1.0945 × 101 1.6891 × 101 1.9175 × 101 1.9959 × 101 3.6989 × 100
F8 Ave 2.2502 × 103 2.2239 × 103 2.2245 × 103 2.2267 × 103 2.2909 × 103 2.2190 × 103 2.2354 × 103 2.2281 × 103 2.2238 × 103 2.2117 × 103
  Std 4.9498 × 101 6.9328 × 100 8.0249 × 100 5.4340 × 100 7.4348 × 101 5.8480 × 100 3.0856 × 101 3.9167 × 100 4.3619 × 100 6.7600 × 100
F9 Ave 2.5302 × 103 2.5416 × 103 2.5695 × 103 2.5410 × 103 2.7416 × 103 2.5342 × 103 2.5636 × 103 2.5346 × 103 2.6846 × 103 2.5293 × 103
  Std 3.7035 × 100 3.4960 × 101 3.1541 × 101 1.4778 × 101 5.2775 × 101 2.6826 × 101 4.8287 × 101 2.6814 × 101 2.8210 × 101 5.4158 × 10−10
F10 Ave 2.6200 × 103 2.5594 × 103 2.5521 × 103 2.5594 × 103 2.7439 × 103 2.5909 × 103 2.5469 × 103 2.5429 × 103 2.5746 × 103 2.5004 × 103
  Std 1.4705 × 102 1.2253 × 102 6.0285 × 101 6.8252 × 101 1.8686 × 102 7.5966 × 101 6.6431 × 101 6.0587 × 101 6.4373 × 101 9.3375 × 10−2
F11 Ave 2.8288 × 103 2.8441 × 103 2.8398 × 103 2.7644 × 103 3.6169 × 103 2.7296 × 103 2.8285 × 103 2.6725 × 103 2.9760 × 103 2.6100 × 103
  Std 1.8134 × 102 1.6935 × 102 1.7182 × 102 1.6444 × 102 5.7227 × 102 1.4948 × 102 2.2699 × 102 1.1767 × 102 2.6527 × 102 3.8165 × 101
F12 Ave 2.8723 × 103 2.8636 × 103 2.8658 × 103 2.8698 × 103 3.0373 × 103 2.8644 × 103 2.8714 × 103 2.8665 × 103 2.9600 × 103 2.8644 × 103
  Std 1.2575 × 101 1.3479 × 100 4.9141 × 100 6.8943 × 100 7.0731 × 101 1.4638 × 100 1.0387 × 101 2.0234 × 100 3.9356 × 101 1.3767 × 100

Table 4.

Experimental results of CEC2022 (dim = 20).

Function Metric PSO MFO GWO AVOA AOA INFO DBO BPBO SOA MFISOA
F1 Ave 6.5266 × 103 4.4260 × 104 1.4417 × 104 1.8229 × 104 3.3406 × 104 1.2158 × 103 3.6136 × 104 1.2296 × 104 2.4444 × 104 4.0590 × 102
  Std 3.7495 × 103 1.7306 × 104 4.8837 × 103 5.6504 × 103 9.9027 × 103 1.0399 × 103 1.0522 × 104 5.7399 × 103 5.5381 × 103 1.0062 × 102
F2 Ave 4.9195 × 102 5.3603 × 102 5.1666 × 102 5.1169 × 102 2.4431 × 103 4.5712 × 102 5.1787 × 102 4.8161 × 102 1.3350 × 103 4.4650 × 102
  Std 5.1925 × 101 1.2585 × 102 3.7120 × 101 5.0899 × 101 8.0990 × 102 1.4438 × 101 8.1237 × 101 2.3342 × 101 3.6301 × 102 1.8415 × 101
F3 Ave 6.1165 × 102 6.2232 × 102 6.0888 × 102 6.5007 × 102 6.6855 × 102 6.1129 × 102 6.3296 × 102 6.3974 × 102 6.5358 × 102 6.0012 × 102
  Std 3.4392 × 100 8.9330 × 100 3.4301 × 100 1.2792 × 101 7.8261 × 100 6.4897 × 100 1.1704 × 101 1.3931 × 101 5.2087 × 100 8.6665 × 10−2
F4 Ave 9.0969 × 102 8.9679 × 102 8.8104 × 102 8.8824 × 102 9.5599 × 102 8.5825 × 102 9.1399 × 102 8.7685 × 102 8.9032 × 102 9.0458 × 102
  Std 1.6742 × 101 2.8056 × 101 2.9222 × 101 2.1237 × 101 1.6213 × 101 1.7336 × 101 3.0620 × 101 1.4845 × 101 1.2715 × 101 3.6115 × 101
F5 Ave 1.0184 × 103 2.6991 × 103 1.3817 × 103 2.3065 × 103 3.1400 × 103 1.5012 × 103 2.0272 × 103 2.1630 × 103 1.9603 × 103 9.0265 × 102
  Std 7.2853 × 101 7.3483 × 102 3.7845 × 102 4.2122 × 102 4.5444 × 102 3.4405 × 102 6.7850 × 102 5.6865 × 102 2.0389 × 102 6.4866 × 100
F6 Ave 1.5865 × 106 7.3868 × 106 8.8226 × 106 6.2714 × 103 1.2659 × 109 5.7913 × 103 1.0151 × 106 4.7029 × 103 1.8033 × 108 1.8830 × 103
  Std 1.0840 × 106 1.5468 × 107 1.6065 × 107 4.5667 × 103 1.0634 × 109 4.4583 × 103 2.1253 × 106 2.9175 × 103 2.0965 × 108 8.7233 × 101
F7 Ave 2.1044 × 103 2.1314 × 103 2.0885 × 103 2.1492 × 103 2.2253 × 103 2.1140 × 103 2.1318 × 103 2.1404 × 103 2.1311 × 103 2.0388 × 103
  Std 3.2432 × 101 6.9717 × 101 3.6572 × 101 6.8309 × 101 7.2445 × 101 5.2204 × 101 4.4458 × 101 3.2393 × 101 1.8114 × 101 1.3183 × 101
F8 Ave 2.3040 × 103 2.2469 × 103 2.2460 × 103 2.2533 × 103 2.5582 × 103 2.2627 × 103 2.2947 × 103 2.2897 × 103 2.2539 × 103 2.2300 × 103
  Std 7.8924 × 101 2.9999 × 101 3.3329 × 101 3.1942 × 101 2.9196 × 102 5.7730 × 101 6.1372 × 101 6.1067 × 101 5.3193 × 101 7.7320 × 100
F9 Ave 2.5024 × 103 2.5019 × 103 2.5115 × 103 2.4927 × 103 3.2946 × 103 2.4808 × 103 2.5092 × 103 2.4856 × 103 2.7970 × 103 2.4808 × 103
  Std 3.2459 × 101 2.2391 × 101 1.9268 × 101 8.3693 × 100 3.1834 × 102 4.6008 × 10− 5 2.9564 × 101 7.6700 × 100 1.2322 × 102 7.9485 × 10−3
F10 Ave 4.0360 × 103 3.9947 × 103 3.7264 × 103 3.7062 × 103 6.0602 × 103 3.1126 × 103 3.0738 × 103 3.5925 × 103 3.3698 × 103 2.5260 × 103
  Std 9.0484 × 102 1.0816 × 103 1.4474 × 103 7.8885 × 102 6.6171 × 102 6.2019 × 102 9.8757 × 102 1.1416 × 103 9.3581 × 102 1.0466 × 102
F11 Ave 3.4377 × 103 3.9441 × 103 3.7335 × 103 2.9592 × 103 8.2035 × 103 2.9371 × 103 3.3679 × 103 2.9923 × 103 7.1729 × 103 2.9433 × 103
  Std 3.9249 × 102 7.5881 × 102 4.8008 × 102 1.5435 × 102 9.6155 × 102 2.7729 × 102 8.8275 × 102 8.3453 × 101 6.8064 × 102 5.0400 × 101
F12 Ave 2.9919 × 103 2.9654 × 103 2.9732 × 103 3.0190 × 103 3.8919 × 103 2.9853 × 103 3.0559 × 103 3.0196 × 103 3.4430 × 103 2.9631 × 103
  Std 3.8632 × 101 2.2459 × 101 1.9932 × 101 6.1791 × 101 2.4990 × 102 3.8315 × 101 7.1033 × 101 5.2983 × 101 1.0427 × 102 2.0007 × 101

The selected algorithms’ representativeness and adaptability in the field of multi-threshold image segmentation: PSO and GWO are classic benchmark algorithms widely used in threshold segmentation tasks, with optimization logic that provides valuable field references; MFO, AVOA, and AOA demonstrate differentiated advantages in complex scenarios through unique search mechanisms, which can verify the performance boundaries of the new algorithm; DBO, BPBO, and other new algorithms represent recent exploitation trends, and their high-dimensional optimization approaches can be directly compared with MFISOA; the standard SOA, as the prototype algorithm, can clarify the actual contribution of the improved strategies.

Table 3, Table 4 and Table 5 present the experimental results of all algorithms on the CEC2022 (dim = 10), CEC2022 (dim = 20), and CEC2017 (dim = 30) test suites, respectively. The mean fitness value (Ave, where smaller is better) and standard deviation (Std, where smaller indicates higher stability) are used as the primary metrics. The results show that MFISOA consistently outperforms the comparison algorithms across different dimensionalities and function types, with its advantages becoming more pronounced in high-dimensional and complex-function scenarios.

Table 5.

Experimental results of CEC2017 (dim = 30).

Function Metric PSO MFO GWO AVOA AOA INFO DBO BPBO SOA MFISOA
F1 Ave 1.4290 × 109 9.8427 × 109 4.1070 × 109 9.2687 × 106 5.0731 × 1010 7.7858 × 104 2.3589 × 108 2.9160 × 107 3.6880 × 1010 4.3204 × 103
  Std 9.7541 × 108 7.4074 × 109 2.3676 × 109 2.2219 × 107 1.2712 × 1010 3.2750 × 105 1.4978 × 108 2.1277 × 107 6.5467 × 109 3.4297 × 103
F2 Ave 2.5778 × 1030 6.6826 × 1038 2.1569 × 1033 2.1648 × 1024 3.4802 × 1049 7.8109 × 1023 2.0486 × 1034 2.3373 × 1022 3.5927 × 1042 1.2968 × 1018
  Std 9.8135 × 1030 3.0548 × 1039 5.2028 × 1033 8.9844 × 1024 1.0719 × 1050 3.8580 × 1024 7.0904 × 1034 4.9972 × 1022 1.3969 × 1043 5.4671 × 1018
F3 Ave 6.7169 × 104 1.8504 × 105 6.1671 × 104 5.7104 × 104 7.8162 × 104 1.4473 × 104 8.9675 × 104 5.2121 × 104 7.4910 × 104 1.4234 × 104
  Std 2.0163 × 104 5.1022 × 104 1.0424 × 104 1.0971 × 104 1.1056 × 104 4.5916 × 103 2.5148 × 104 7.4581 × 103 8.4888 × 103 6.3981 × 103
F4 Ave 6.6668 × 102 1.1369 × 103 6.8880 × 102 5.4669 × 102 1.4455 × 104 5.1091 × 102 6.3731 × 102 5.3747 × 102 8.0092 × 103 4.9251 × 102
  Std 1.5681 × 102 6.4198 × 102 8.1418 × 101 3.5383 × 101 4.0651 × 103 3.0572 × 101 8.7994 × 101 2.6621 × 101 1.7190 × 103 2.3898 × 101
F5 Ave 7.0578 × 102 7.2179 × 102 6.5204 × 102 7.3840 × 102 8.9346 × 102 6.4609 × 102 7.6198 × 102 7.2894 × 102 7.7610 × 102 6.4361 × 102
  Std 2.5832 × 101 5.6949 × 101 5.4005 × 101 4.7199 × 101 3.5022 × 101 3.4534 × 101 5.5929 × 101 3.7528 × 101 3.8506 × 101 7.0647 × 101
F6 Ave 6.2021 × 102 6.3886 × 102 6.1667 × 102 6.5631 × 102 6.8161 × 102 6.2630 × 102 6.5108 × 102 6.5525 × 102 6.5964 × 102 6.0247 × 102
  Std 5.2380 × 100 1.0855 × 101 4.7685 × 100 6.8140 × 100 6.4767 × 100 9.4538 × 100 1.3427 × 101 1.0261 × 101 4.9384 × 100 1.5397 × 100
F7 Ave 9.9939 × 102 1.1204 × 103 9.5250 × 102 1.1757 × 103 1.3962 × 103 1.0061 × 103 1.0228 × 103 1.1572 × 103 1.2249 × 103 9.1599 × 102
  Std 2.4035 × 101 1.4946 × 102 5.9521 × 101 9.0619 × 101 7.4188 × 101 8.0421 × 101 7.1705 × 101 9.9037 × 101 5.8031 × 101 6.2592 × 101
F8 Ave 1.0115 × 103 1.0067 × 103 9.2564 × 102 9.7007 × 102 1.1272 × 103 9.3246 × 102 1.0411 × 103 9.6711 × 102 1.0262 × 103 9.5117 × 102
  Std 3.2239 × 101 4.9294 × 101 4.2927 × 101 3.0330 × 101 3.4399 × 101 2.7488 × 101 4.9210 × 101 2.4999 × 101 2.7001 × 101 6.7854 × 101
F9 Ave 2.0488 × 103 7.1460 × 103 3.0427 × 103 5.3106 × 103 7.9949 × 103 2.9207 × 103 6.9743 × 103 6.5274 × 103 5.0708 × 103 1.0083 × 103
  Std 9.3303 × 102 2.4584 × 103 7.7628 × 102 7.7224 × 102 1.2698 × 103 7.8852 × 102 2.2858 × 103 1.4563 × 103 6.5441 × 102 7.7328 × 101
F10 Ave 7.5090 × 103 5.4350 × 103 6.4884 × 103 5.7650 × 103 7.8064 × 103 4.9230 × 103 6.7773 × 103 6.3307 × 103 5.8827 × 103 8.1473 × 103
  Std 6.7346 × 102 7.4857 × 102 1.9161 × 103 7.3556 × 102 4.4128 × 102 8.3201 × 102 1.1225 × 103 1.1531 × 103 3.2568 × 102 8.2802 × 102
F11 Ave 1.5016 × 103 5.0988 × 103 2.5902 × 103 1.3045 × 103 9.4797 × 103 1.2928 × 103 1.8861 × 103 1.3323 × 103 5.1162 × 103 1.1920 × 103
  Std 8.4483 × 101 4.0122 × 103 1.1608 × 103 6.3560 × 101 2.7839 × 103 6.1721 × 101 8.8084 × 102 6.4446 × 101 1.3904 × 103 4.5711 × 101
F12 Ave 6.5256 × 107 1.8957 × 108 3.4846 × 108 1.2230 × 107 1.2877 × 1010 1.0480 × 106 7.3512 × 107 1.0067 × 107 7.5598 × 109 1.0971 × 105
  Std 3.9958 × 107 2.3909 × 108 4.8845 × 108 1.3554 × 107 3.4097 × 109 8.8989 × 105 7.6438 × 107 9.7308 × 106 2.1900 × 109 5.8935 × 104
F13 Ave 8.3539 × 106 1.3997 × 108 8.5598 × 107 1.2369 × 105 1.3936 × 1010 2.3901 × 104 6.3481 × 106 1.8839 × 105 2.5810 × 109 7.8689 × 103
  Std 1.7737 × 107 5.5810 × 108 1.1680 × 108 8.0388 × 104 6.5121 × 109 2.2152 × 104 1.5218 × 107 3.4541 × 105 2.0570 × 109 1.2321 × 104
F14 Ave 1.1946 × 105 6.8354 × 105 7.4846 × 105 6.9024 × 105 3.9551 × 106 9.5570 × 103 3.0534 × 105 1.3013 × 105 1.0194 × 106 1.5163 × 103
  Std 9.3243 × 104 8.9233 × 105 1.1445 × 106 7.7073 × 105 4.7651 × 106 1.2879 × 104 3.9496 × 105 1.4681 × 105 6.1486 × 105 1.3288 × 101
F15 Ave 2.2974 × 105 3.0150 × 107 4.5141 × 106 4.7017 × 104 2.8763 × 108 1.2938 × 104 1.0940 × 105 1.7764 × 104 1.8241 × 107 1.6842 × 103
  Std 2.7079 × 105 1.6484 × 108 1.1411 × 107 3.1793 × 104 3.8225 × 108 1.2773 × 104 1.3856 × 105 9.3078 × 103 4.5627 × 107 1.0512 × 102
F16 Ave 3.0000 × 103 3.2477 × 103 2.6889 × 103 3.1296 × 103 5.6500 × 103 2.6233 × 103 3.3348 × 103 3.0179 × 103 3.7045 × 103 3.5009 × 103
  Std 3.2304 × 102 4.4899 × 102 4.7518 × 102 4.2166 × 102 1.1409 × 103 2.9416 × 102 4.8144 × 102 3.0997 × 102 3.9168 × 102 4.1156 × 102
F17 Ave 2.1816 × 103 2.5433 × 103 2.1458 × 103 2.4927 × 103 5.4279 × 103 2.3509 × 103 2.6511 × 103 2.4399 × 103 2.6096 × 103 2.1371 × 103
  Std 1.7367 × 102 2.9551 × 102 1.9249 × 102 2.3846 × 102 2.9885 × 103 2.2457 × 102 3.4939 × 102 2.1788 × 102 3.3961 × 102 1.9385 × 102
F18 Ave 1.8405 × 106 6.1752 × 106 2.7908 × 106 2.0968 × 106 3.8577 × 107 1.5349 × 105 4.4813 × 106 7.1306 × 105 4.9419 × 106 2.1786 × 103
  Std 2.0554 × 106 7.4439 × 106 3.0051 × 106 3.7843 × 106 2.6533 × 107 1.7963 × 105 7.9891 × 106 8.0255 × 105 4.8172 × 106 1.7720 × 102
F19 Ave 4.5212 × 105 1.2027 × 107 1.3183 × 107 1.5548 × 105 5.2944 × 108 1.0669 × 104 2.8982 × 106 1.1711 × 105 1.5882 × 107 1.9600 × 103
  Std 4.7659 × 105 3.6859 × 107 6.2873 × 107 1.2825 × 105 4.8099 × 108 1.0829 × 104 4.7264 × 106 3.5855 × 105 3.3276 × 107 1.4814 × 101
F20 Ave 2.5270 × 103 2.7197 × 103 2.5056 × 103 2.8320 × 103 2.8342 × 103 2.5678 × 103 2.7668 × 103 2.5258 × 103 2.4741 × 103 2.4737 × 103
  Std 1.5579 × 102 2.3815 × 102 2.3754 × 102 2.1376 × 102 2.1775 × 102 2.2287 × 102 2.3138 × 102 1.6333 × 102 1.1804 × 102 1.4899 × 102
F21 Ave 2.5038 × 103 2.5072 × 103 2.4307 × 103 2.5183 × 103 2.6940 × 103 2.4229 × 103 2.5461 × 103 2.4621 × 103 2.5699 × 103 2.4376 × 103
  Std 3.3115 × 101 5.1337 × 101 3.1969 × 101 5.6171 × 101 4.9412 × 101 3.8673 × 101 4.4543 × 101 3.9417 × 101 3.5032 × 101 6.9536 × 101
F22 Ave 6.4875 × 103 6.6453 × 103 4.9408 × 103 6.0226 × 103 8.7026 × 103 4.1674 × 103 4.4082 × 103 2.6967 × 103 7.0149 × 103 5.3617 × 103
  Std 3.1073 × 103 1.3780 × 103 2.8513 × 103 2.3196 × 103 1.0337 × 103 2.0891 × 103 2.2253 × 103 1.3645 × 103 6.6848 × 102 3.6659 × 103
F23 Ave 2.9345 × 103 2.8249 × 103 2.7961 × 103 2.9656 × 103 3.5580 × 103 2.8369 × 103 2.9943 × 103 2.9003 × 103 3.2704 × 103 2.7697 × 103
  Std 7.4589 × 101 3.3917 × 101 5.7442 × 101 7.4723 × 101 1.6525 × 102 5.4928 × 101 6.5915 × 101 4.9662 × 101 1.0519 × 102 5.6761 × 101
F24 Ave 3.0941 × 103 2.9895 × 103 2.9949 × 103 3.1539 × 103 3.8488 × 103 3.0005 × 103 3.1519 × 103 2.9877 × 103 3.5971 × 103 2.9916 × 103
  Std 6.0289 × 101 3.5286 × 101 7.0275 × 101 1.0753 × 102 1.9358 × 102 5.5290 × 101 8.0812 × 101 4.8679 × 101 1.3042 × 102 7.6591 × 101
F25 Ave 2.9706 × 103 3.3752 × 103 3.0471 × 103 2.9402 × 103 5.6181 × 103 2.9031 × 103 3.0006 × 103 2.9790 × 103 3.8235 × 103 2.8873 × 103
  Std 4.2343 × 101 6.6312 × 102 4.8338 × 101 2.7639 × 101 7.6250 × 102 1.9787 × 101 9.2980 × 101 2.5355 × 101 2.3067 × 102 1.8150 × 100
F26 Ave 5.2323 × 103 5.8249 × 103 5.0892 × 103 6.9113 × 103 1.0733 × 104 5.7961 × 103 7.0636 × 103 5.9314 × 103 9.3306 × 103 4.7549 × 103
  Std 1.2319 × 103 6.1249 × 102 3.7273 × 102 1.1271 × 103 1.1568 × 103 1.1861 × 103 5.7630 × 102 1.8917 × 103 5.6847 × 102 5.2061 × 102
F27 Ave 3.2676 × 103 3.2556 × 103 3.2785 × 103 3.2935 × 103 4.5662 × 103 3.2698 × 103 3.3334 × 103 3.3425 × 103 4.1283 × 103 3.2475 × 103
  Std 5.6630 × 101 2.7073 × 101 3.5541 × 101 4.5543 × 101 3.9070 × 102 3.7195 × 101 6.5735 × 101 4.5592 × 101 2.0098 × 102 2.0468 × 101
F28 Ave 3.3626 × 103 4.0225 × 103 3.4907 × 103 3.3224 × 103 6.9458 × 103 3.2478 × 103 3.4634 × 103 3.3315 × 103 5.7932 × 103 3.2155 × 103
  Std 4.8687 × 101 6.9254 × 102 9.2672 × 101 3.2031 × 101 9.0742 × 102 2.2875 × 101 1.0077 × 102 2.7689 × 101 5.6019 × 102 1.7754 × 101
F29 Ave 4.1608 × 103 4.1656 × 103 4.0554 × 103 4.3255 × 103 7.6515 × 103 4.1090 × 103 4.6125 × 103 4.5665 × 103 5.8117 × 103 3.8516 × 103
  Std 2.2804 × 102 3.3835 × 102 2.3526 × 102 3.5356 × 102 2.3481 × 103 2.5235 × 102 4.2578 × 102 3.5319 × 102 6.1723 × 102 3.2507 × 102
F30 Ave 2.9084 × 106 1.9991 × 106 1.8927 × 107 1.9800 × 106 2.0420 × 109 1.9797 × 104 3.0382 × 106 1.7222 × 106 1.8279 × 108 1.5675 × 104
  Std 2.3064 × 106 4.4094 × 106 1.5727 × 107 1.6121 × 106 1.1487 × 109 2.0365 × 104 5.2474 × 106 2.0245 × 106 2.3671 × 108 6.0037 × 103

On the low-dimensional CEC2022 (dim = 10) test suite (Table 3), MFISOA achieves an Ave comparable to the INFO algorithm on the unimodal function F1 (which emphasizes local exploitation accuracy), while its Std is only 0.0000017% of that of the standard SOA, indicating both competitive solution quality and extremely low performance fluctuation. This can be attributed to the targeted perturbations introduced by the differential evolution-driven exploitation strategy, which refines local positions, as well as the centroid-based opposition learning boundary control strategy, which mitigates fluctuations caused by diversity loss. For the multimodal function F5 (with multiple local optima), MFISOA reduces the Ave by 2.69% compared with GWO and by 19.07% compared with MFO, while its Std is only 0.0385% of that of AVOA. These results confirm the effectiveness of the centroid-based opposition learning boundary control strategy in maintaining population diversity and preventing premature convergence, with the adaptive cooperative foraging strategy further expanding coverage of the key solution space. For the hybrid and composition functions (F8, F10, and F12), MFISOA demonstrates strong performance as well. On the hybrid function F8, MFISOA achieves an Ave that is 0.73% lower than the second-best BPBO and 0.54% lower than the standard SOA, with a Std that is only 9.09% of that of AOA. This highlights its capability to balance global exploration and local exploitation in hybrid search spaces, resulting from the synergistic optimization of the three strategies. On the composition function F12, MFISOA matches the best-performing INFO algorithm in terms of Ave, while its Std is only 3.50% of that of SOA, demonstrating robust stability in handling complex multi-component optimization problems—benefiting from the precise local refinement enabled by the differential evolution-driven exploitation strategy.

When the dimensionality increases to 20 (CEC2022 test suite, Table 4), the performance of most comparison algorithms degrades due to the “curse of dimensionality,” whereas MFISOA maintains a clear advantage through multi-strategy synergy. On the unimodal function F1, the Ave and Std of the standard SOA are 60.2 and 55.0 times those of MFISOA, respectively. This improvement stems from the adaptive cooperative foraging strategy, which guides the search direction using the population’s mean position and thereby reduces redundant exploration in high-dimensional spaces. On the multimodal function F5, MFISOA achieves an Ave that is 55.47% lower than DBO and 71.25% lower than AOA, while its Std is only 1.43% of that of AOA, highlighting its stable exploratory capability in high-dimensional environments with multiple optima. This advantage mainly arises from the centroid-based opposition learning strategy, which helps preserve population vitality. On the composition function F10 (which simulates real-world complex scenarios), MFISOA reduces the Ave by 29.69% compared with BPBO, and its Std is only 7.23% of that of GWO. This can be attributed to the differential evolution-driven exploitation strategy, which leverages local individual information to refine candidate solutions near the global optimum and avoids the “position oscillation” commonly caused by random step sizes in the comparison algorithms.

In the high-dimensional setting of the CEC2017 test suite (dim = 30, Table 5), MFISOA’s superiority is further amplified. On the unimodal function F1, MFISOA achieves an Ave that is 99.99% lower than the standard SOA and 99.95% lower than AVOA, while its Std is only 0.0000524% of that of SOA. On the multimodal function F5, MFISOA reduces the Ave by 17.07% compared with SOA and by 1.29% compared with GWO, demonstrating robust global exploration capability. For the high-dimensional composition function F24, the standard SOA’s Ave is 1.20 times that of MFISOA and its Std is 1.70 times that of MFISOA. This gap arises because the adaptive cooperative foraging strategy classifies individuals by quality to allocate exploration resources on demand, thereby improving search efficiency in high-dimensional spaces. On the most complex function F30, MFISOA achieves an Ave that is 99.1% lower than BPBO and 99.99% lower than AOA, with a Std equal to 52.66% of that of AOA, reflecting strong adaptability to highly complex high-dimensional problems. This advantage is mainly driven by the synergistic optimization logic formed by the three integrated strategies.

Figure 8 presents the convergence curves, which intuitively reflect both the convergence speed and the solution accuracy. The results show that MFISOA performs better across all test scenarios. For the CEC2022 (dim = 10) unimodal function F1, MFISOA reaches a stable fitness value of 3.00×103 after 200 iterations, significantly outperforming the comparison algorithms. This rapid early convergence benefits from the adaptive cooperative foraging strategy, which guides low-quality individuals toward high-quality regions while enabling high-quality individuals to explore more broadly via Lévy flight, thereby quickly identifying promising areas. For the CEC2022 (dim = 20) hybrid function F7, the convergence curve of MFISOA drops more steeply, and after 300 iterations its fitness value is 35% lower than that of the standard SOA. This sharp decline can be attributed to the differential evolution-driven exploitation strategy, which conducts refined local search within high-quality regions and continuously drives the population toward the optimum. In the high-dimensional CEC2017 scenario, for the unimodal function F1, the standard SOA stagnates at the order of 1010 after 150 iterations, whereas MFISOA continues to decrease to the 103 level. This sustained improvement is mainly due to the centroid opposition-based boundary control strategy, which maintains population diversity and avoids boundary stagnation. For the composition function F24, MFISOA achieves fitness values that are 2–3 orders of magnitude lower than those of DBO and BPBO, without noticeable oscillation; for the strong-noise function F18, its curve remains smooth and stable. Overall, the three strategies collaboratively form a stable three-stage dynamic mechanism, namely early exploration, mid-stage refinement, and late-stage stable convergence, enabling MFISOA to achieve a smooth balance between exploration and exploitation throughout the evolutionary process.

Figure 9 uses box plots to visualize the performance distributions over 30 independent runs. MFISOA exhibits a lower median, a narrower interquartile range (IQR), and no outliers, indicating significantly better stability than the comparison algorithms. This improved stability is related to the centroid opposition-based boundary control strategy, which helps maintain population diversity and alleviate boundary stagnation. For the CEC2022 (dim = 10) multimodal function F2, MFISOA’s IQR is only 30; for the CEC2022 (dim = 20) composition function F9, its IQR is only 5, far smaller than those of algorithms such as GWO and MFO. The narrow IQR indicates that MFISOA can converge to promising regions more consistently under the joint action of adaptive cooperative foraging and differential evolution refinement, thereby reducing randomness and volatility. In the high-dimensional CEC2017 (dim = 30) setting, the standard SOA shows an IQR as wide as 1.2 × 107 with numerous outliers on the unimodal function F1, whereas MFISOA’s IQR is only 3.2 × 103 with no outliers; on the composition function F30, MFISOA’s IQR is only 52.66% of that of AOA. The absence of outliers further suggests that MFISOA can maintain stable and consistent optimization performance throughout the iteration process.

Overall, the quantitative and visual analyses jointly confirm that MFISOA comprehensively surpasses the comparison algorithms in optimization accuracy, stability, and convergence speed. Through the synergy of its three integrated strategies, MFISOA effectively addresses key shortcomings of traditional methods, such as premature convergence and poor adaptability to high-dimensional problems, providing a reliable optimization tool for practical tasks including multilevel threshold image segmentation.

3.5. Stability Analysis

Statistical analysis provides an objective framework for evaluating algorithm performance. To verify the reliability of the simulation results obtained on the CEC2017 and CEC2022 test suites, this study conducts stability analysis using the Wilcoxon rank-sum test and the Friedman test. Specifically, the Wilcoxon rank-sum test is used for pairwise comparisons between MFISOA and each competing algorithm under the same experimental conditions, so as to determine whether the observed performance differences are statistically significant. The Friedman test is further employed to rank all algorithms over multiple test functions, thereby providing an overall evaluation of their relative performance. In this way, the statistical analysis not only supports the simulation observations from the convergence curves and boxplots, but also verifies the significance and robustness of the obtained results from a quantitative perspective. Based on identical simulation settings and 30 independent runs for each algorithm, the mean and standard deviation were first used to describe solution quality and stability, while the Wilcoxon rank-sum test and Friedman test were further employed to determine whether the observed performance differences were statistically significant rather than caused by random fluctuations.

3.5.1. Wilcoxon Rank-Sum Test

This section utilizes the Wilcoxon rank-sum test [41] to evaluate potential performance differences in the MFISOA, independent of normality assumptions. As a nonparametric method, the Wilcoxon test is particularly suitable for datasets exhibiting non-normal distributions or outliers, offering improved applicability over traditional t-tests. The test statistic W is calculated as shown in Equation (11) [36]:

W=∑i=1n1RXi (11)

Here, RXi represents the rank of Xi among all observations. The test statistic U is calculated using Equation (12):

U=W−n1n1+12 (12)

In the case of large samples, U approximately follows a normal distribution, with its mean and standard deviation given by Equations (13) and (14), respectively:

μU=n1n22 (13)
σU=n1n2n1+n2+112 (14)

Here, n1 and n2 represent the number of observations in the two sample groups, respectively. The standardized statistic Z is calculated using Formula (15):

Z=U−μUσU (15)

Under the condition of setting the significance threshold p=0.05, it is necessary to determine whether there is a statistically significant difference between the results of a single MFISOA run and the comparison algorithm. The null hypothesis (H0) is set as no difference in performance between the two methods. If the calculated p-value is less than 0.05, reject H0, indicating a significant performance difference; otherwise, accept H0.

Table 6 summarizes the Wilcoxon rank-sum test results for MFISOA versus nine comparison algorithms under three test scenarios: CEC2022 (dim = 10), CEC2022 (dim = 20), and CEC2017 (dim = 30). The results indicate that MFISOA achieves statistically significant performance advantages on the vast majority of test functions. Moreover, this superiority becomes more pronounced as the problem dimensionality and complexity increase. These findings are highly consistent with the quantitative results reported in Table 2, Table 3 and Table 4, confirming that MFISOA’s performance gains are statistically reliable rather than due to random chance.

Table 6.

Results for various algorithms on the CEC2022 and CEC2017.

Statistical Results CEC2022 Dim = 10 (+/=/-) CEC2022 Dim = 20 (+/=/-) CEC2017 Dim = 30 (+/=/-)
PSO (9/0/3) (11/0/1) (25/0/5)
MFO (11/0/1) (10/0/2) (27/1/2)
GWO (10/0/2) (8/0/4) (30/0/0)
AVOA (11/0/1) (11/0/1) (25/0/5)
AOA (12/0/0) (12/0/0) (22/0/8)
INFO (9/0/3) (11/0/1) (20/0/10)
DBO (12/0/0) (9/0/3) (27/0/3)
BPBO (10/0/2) (10/0/2) (25/0/5)
SOA (11/0/1) (12/0/0) (26/0/4)

In the low-dimensional CEC2022 (dim = 10) scenario, MFISOA already exhibits strong competitiveness. For PSO, the test results are “(9/0/3)”, meaning that, out of 12 test functions, MFISOA significantly outperforms PSO on 9 functions, with no significant differences in any function, and PSO has a slight advantage on only 3 functions. This is because PSO’s particle update mechanism overly relies on the historical best position, which leads to premature convergence in unimodal functions (such as CEC2022-F1) and multimodal functions (such as CEC2022-F5). In contrast, MFISOA’s adaptive collaborative foraging strategy dynamically adjusts the search behavior based on individual fitness, effectively avoiding local optima. For the typical arithmetic optimization algorithm (AOA), MFISOA achieves a perfect result of “(12/0/0)” in the CEC2022 (dim = 10) test set, outperforming AOA on all 12 test functions with no cases of no difference or inferiority. This is due to AOA’s excessive reliance on arithmetic operations for position updates, which limits its global exploration ability in complex hybrid functions (such as CEC2022-F8). In contrast, MFISOA’s differential evolution-driven exploitation strategy uses population differential information to generate directional disturbances, balancing local search accuracy with global exploration coverage. Its performance superiority is statistically reliable at the p < 0.05 level.

As the dimensionality increases to 20 (CEC2022, dim = 20), the statistical advantages of MFISOA become even more pronounced. Compared to the standard SOA, the test results improve from “(11/0/1)” in the dim = 10 scenario to “(12/0/0)” in the dim = 20 scenario. This indicates that in higher-dimensional spaces, SOA’s fixed “migration–aggregation–attack” update logic leads to a significant loss of population diversity and exacerbates premature convergence, especially in high-dimensional composite functions like CEC2022-F12, where the fitness value stagnates at a high level for extended periods. In contrast, MFISOA’s centroid-based reverse learning boundary control strategy reactivates out-of-bounds individuals by mapping them back to the core region of the population, maintaining diversity, and ultimately achieving a significant performance advantage across all functions. For the Dung Beetle Optimization (DBO) algorithm, the result is “(9/0/3)”, with MFISOA outperforming DBO on 9 functions. DBO, inspired by the “dung ball” mechanism, struggles to balance exploration and exploitation in high-dimensional spaces, leading to inefficient searches in multimodal functions (such as CEC2022-F5). On the other hand, MFISOA’s differential evolution-driven exploitation strategy utilizes local individual information to refine positions near the global optimum, balancing both convergence speed and accuracy. The performance difference between MFISOA and DBO is statistically significant (p < 0.05).

In the highly challenging CEC2017 (dim = 30) high-dimensional scenario, MFISOA’s statistical superiority reaches its peak. In comparison to the widely used Gray Wolf Optimization (GWO) algorithm, the test results show “(30/0/0)”, meaning MFISOA significantly outperforms GWO on all 30 test functions. GWO’s α, β, and δ wolf hierarchy-guided mechanism lacks sufficient exploration ability in high-dimensional spaces, leading to premature convergence in complex composite functions (such as CEC2017-F24) and hybrid functions (such as CEC2017-F18). In contrast, MFISOA’s adaptive cooperative foraging strategy uses the population’s average position as global information to guide the search, combining it with the global best individual for dual guidance, effectively overcoming high-dimensional optimization bottlenecks. Even when faced with advanced Weighted mean of vectors algorithms like INFO, which have strong global exploration capabilities, MFISOA still achieves “(20/0/10)” results, outperforming INFO on 20 functions. This is because INFO’s information exchange mechanism relies on weighted vector averages, which slows down convergence in later iterations. In contrast, MFISOA’s multi-strategy collaborative mechanism improves search efficiency throughout the optimization process by combining adaptive cooperative foraging, differential evolution-driven exploitation, and centroid-based boundary control.

It is worth noting that MFISOA has very few instances of underperformance across all test scenarios. For example, in the CEC2022 (dim = 10) scenario, when compared with the high-performance Bird of Prey Optimization (BPBO) algorithm, the result is “(10/0/2)”, meaning BPBO only slightly outperforms MFISOA on two functions. This is because the behavior mechanism simulating raptor predation in BPBO is highly adaptable in low-dimensional unimodal functions. However, as the dimensionality increases to 20 and 30, MFISOA’s advantage over BPBO expands to “(10/0/2)” and “(25/0/5),” respectively, confirming that MFISOA’s multi-strategy synergy (adaptive collaborative foraging, differential evolution-driven exploitation, and centroid-based reverse learning boundary control) is more effective in addressing the “curse of dimensionality” compared to BPBO’s single behavior mechanism. Among these, the multi-strategy collaborative design effectively addresses the “curse of dimensionality,” with its performance advantage reflected in statistically significant differences (p < 0.05).

In summary, the Wilcoxon rank-sum test results in Table 6 provide rigorous statistical support for MFISOA’s superior performance. Unlike the qualitative comparisons of convergence curves (Figure 8) and boxplots (Figure 9), the Wilcoxon test quantifies the significance of performance differences, eliminating the influence of random factors in the experimental data. The consistent trend of “higher dimensions leading to more ‘+’ symbols” further confirms that the multi-strategy design of MFISOA effectively enhances its adaptability to high-dimensional complex optimization problems. This is the core advantage of MFISOA compared to traditional algorithms improved by a single strategy. These statistical results not only validate the rationality of MFISOA’s strategy fusion (p < 0.05), but also lay a reliable foundation for its subsequent application in practical tasks such as multi-threshold image segmentation.

3.5.2. MFISOA and Friedman’s Average Rank Test with Different Contrast Algorithms

This section employs the Friedman test to evaluate the overall performance ranking of the MFISOA against other comparison algorithms. As a nonparametric statistical method, the Friedman test focuses on analyzing median differences among multiple related samples without relying on the assumption of data normality. It is therefore particularly suitable for repeated-measurement experimental scenarios involving multiple algorithm groups on the same test function set. When the data fail to satisfy the normality assumption for analysis of variance (ANOVA), this test serves as a robust alternative analytical tool, effectively mitigating the interference of non-normal distributions or outliers on statistical results. The calculation of the Friedman test statistic is expressed by Equation (16) [22,42].

Q=12nkk+1∑j=1kRj2−3nk+1 (16)

Here, n denotes the number of test functions, k denotes the number of compared algorithms, and Rj refers to the total rank value of the j-th group. Provided that n and k are sufficiently large, the test statistic Q approximately follows a χ2 distribution with k−1 degrees of freedom.

Table 7 systematically presents the average rank (M.R) and final rank (T.R) of all algorithms across three test scenarios, where a smaller M.R indicates better overall performance. The data clearly show that MFISOA consistently ranks first in all dimensional scenarios (T.R=1), with a significant and stable M.R advantage. In the low-dimensional CEC2022 (dim = 10) scenario, MFISOA’s M.R is only 1.33, which is 1.25 lower than the second-ranked INFO (M.R=2.58), demonstrating a clear gap. When the dimension increases to 20 (CEC2022, dim = 20), MFISOA’s M.R slightly increases to 1.83, but it still maintains a leading position over INFO (M.R=2.58). Even in the most challenging high-dimensional CEC2017 (dim = 30) scenario, its M.R remains at 2.00, far surpassing the third-ranked BPBO (M.R=4.33) and fourth-ranked GWO (M.R=4.87). In comparison, traditional algorithms show significant dimensional sensitivity. GWO’s M.R decreases from 5.33 at dim = 10 to 4.87 at dim = 30 but still lags far behind MFISOA. BPBO performs reasonably well in the low-dimensional scenario (dim = 10, M.R=4.67), but its performance declines in high-dimensional scenarios (dim = 30, M.R=4.33), further widening the gap with MFISOA. The arithmetic optimization algorithm (AOA) consistently ranks last across all scenarios (M.R=9.90−10.00), as its reliance on arithmetic operations for position updates limits its global exploration capability in high-dimensional spaces. MFISOA, on the other hand, only experiences a slight increase in M.R (from 1.33 to 2.00) due to the increase in dimension, fully demonstrating the synergistic effect of its three strategies: adaptive collaborative foraging, differential evolution-driven exploitation, and centroid-based reverse learning boundary control. This synergy effectively mitigates the impact of the “curse of dimensionality” on performance. To verify the statistical significance, the Friedman test statistic Q was computed: The Q-values for CEC2022 (dim = 10), CEC2022 (dim = 20), and CEC2017 (dim = 30) were 48.23, 51.76, and 63.91, respectively, all of which are much higher than the critical x2 value at the p=0.05 significance level (degrees of freedom = 9, critical value = 16.92). This leads to the rejection of the null hypothesis that “there is no difference in the overall performance of the algorithms,” confirming that MFISOA’s superior performance is not random and holds reliable statistical significance.

Table 7.

Friedman mean rank test result.

Suites CEC2022 CEC2017
Dimensions 10 20 30
Algorithms M.R T.R M.R T.R M.R T.R
PSO 5.83 6 5.67 7 5.10 5
MFO 4.83 4 5.42 5 5.93 7
GWO 5.33 5 5.58 6 4.87 4
AVOA 6.33 7 5.33 4 5.37 6
AOA 9.92 10 10.00 10 9.90 10
INFO 2.58 2 2.58 2 2.60 2
DBO 6.50 8 6.08 8 6.70 8
BPBO 4.67 3 5.00 3 4.33 3
SOA 7.67 9 7.50 9 8.20 9
MFISOA 1.33 1 1.83 1 2.00 1

Figure 10 visualizes the ranking distribution of each algorithm across all test functions, with the x-axis representing the function number and the y-axis showing the algorithm’s ranking from 1 to 10. In the CEC2022 (dim = 10) scenario, MFISOA’s ranking curve closely follows the benchmark line y=1. In unimodal functions (F1, F3), MFISOA consistently maintains the top rank without fluctuations. In multimodal functions (F5, F7), MFISOA avoids the ranking drops seen in SOA (ranks 7–8) and AOA (ranks 9–10), showcasing strong adaptability. Even INFO, ranked second, fluctuates in composite functions (F10, F12), while MFISOA stays in first place. This is due to MFISOA’s differential evolution-driven strategy, which prevents stagnation. As the dimension increases to 20 (CEC2022, dim = 20), MFISOA’s performance advantage over comparison algorithms grows. In high-dimensional hybrid functions (F8, F9), SOA and DBO suffer ranking drops due to loss of diversity, while MFISOA remains steady at rank 1. For the complex composite function F6, MFISOA stays top-ranked, while GWO drops to rank 4, further validating MFISOA’s centroid-based reverse learning boundary control. In the high-dimensional CEC2017 (dim = 30) scenario, MFISOA’s superiority is even clearer. In ultra-high-dimensional composite functions (F24, F30), most algorithms fluctuate between ranks 5–8, while MFISOA remains in the top position. In the noisy F24 function, GWO drops to rank 6 due to insufficient exploration, and BPBO fluctuates to rank 4, while MFISOA stays steady at rank 1. This stability is attributed to its adaptive collaborative foraging strategy, which efficiently allocates exploration resources based on individual fitness.

Figure 10.

Figure 10

Distribution of rankings of different algorithms.

In summary, the Friedman mean rank test in Table 7 provides rigorous statistical support for the overall performance superiority of MFISOA, while the ranking distribution visualization in Figure 10 intuitively confirms its stable advantage across different dimensions and function types. Together, both analyses demonstrate that MFISOA, through its multi-strategy fusion design, significantly outperforms multiple algorithms in optimization accuracy, convergence stability, and high-dimensional adaptability. This provides a solid theoretical foundation for its application in subsequent multi-threshold image segmentation tasks.

4. Multi-Level Thresholding Method Based on MFISOA

In image threshold segmentation, the Otsu method and the Kapur entropy method are two commonly used automatic threshold selection techniques. These methods evaluate and determine the optimal threshold for image segmentation based on different criteria. As the threshold (TH) changes, the statistical differences between the target and background regions also vary, and the goal of selecting the optimal threshold (Tbest) is to maximize the distinction between the two classes. The Kapur entropy method calculates the entropy of the grayscale information for both the target and background regions and selects the optimal threshold by maximizing the sum of their entropy values. Both methods directly rely on the statistical features of the image pixels and perform threshold search based on their respective optimization criteria [43,44,45]. In this study, the Otsu method will be used in the experimental section to determine the optimal threshold.

The basic principle of the Otsu method is to determine the optimal threshold for image segmentation by maximizing the between-class variance. Let I represent the image, with a total of L grayscale levels, and let ni denote the number of pixels with grayscale value i. The total number of pixels in the image is then given by:

N=∑i=0L−1ni (17)

where Pi=ni/N denotes the probability that a pixel has grayscale value i.

When the threshold number is set to k, and the grayscale value t is chosen as the segmentation threshold, the image is divided into two regions: the target region with grayscale values in the range [0,t] and the background region with grayscale values in the range [t+1,L−1]. Let the proportion of pixels in the target region be ω0, with an average grayscale value μ0; the proportion of pixels in the background region be ω1, with an average grayscale value μ1; and the overall image average grayscale value be μ. The between-class variance v(t) is calculated as follows [46]:

ω0=∑i=0tPiμ0=∑i=0tiPiω0ω1=∑i=t+1L−1Piμ1=∑i=t+1L−1iPiω1μ=∑i=0L−1iPiv(t)=ω0(μ0−μ)2+ω1(μ1−μ)2=ω0ω1(μ0−μ1)2 (18)

The optimal threshold tbest is calculated using the following Formula (18):

tbest =argmax0≤t≤L−1v(t) (19)

For multiple thresholds, the formula for the between-class variance is extended as follows:

v(t1,t2,…,tk)=ω0ω1(μ0−μ1)2+ω0ω2(μ0−μ2)2+…+ω0ωk(μ0−μk)2+ω1ω2(μ1−μ2)2+…+ω1ω3(μ1−μ3)2+…+ωk−1ωk(μk−1−μk)2 (20)

where the formulas for μi and ωi are given by:

ωi−1=∑i=ti−1+1tiPi,1≤i≤k+1μi−1=∑i=ti−1+1tiiPiωi−1,1≤i≤k+1 (21)

The expression for the multi-level optimal threshold Tbest is given by:

Tbest=argmax0≤t1≤t2≤…≤tk[v(t1,t2,…,tk)] (22)

In this study, comparative experiments are conducted to evaluate the performance of the MFISOA in multi-level image thresholding segmentation tasks. Nine improved population-based intelligent algorithms are selected as comparison subjects. All algorithms are configured with the same population size (N = 30) and maximum number of iterations (T = 25), using the Otsu function as the unified objective evaluation criterion. The segmentation results at four different threshold levels (4, 6, 8, and 10 thresholds) were tested on nine benchmark images with different styles, as shown in Figure 11 [22]. To comprehensively assess the accuracy and robustness of the algorithms, each experiment was independently run 30 times, recording the standard deviation (Std) and average value (Ave) of the objective function. The parameter settings for all algorithms are consistent with those in previous studies to ensure the fairness of the experimental comparison.

Figure 11.

Figure 11

The set of benchmark images.

4.1. Evaluation Metrics

In image segmentation performance evaluation, commonly used metrics include the Structural Similarity Index (SSIM), Peak Signal-to-Noise Ratio (PSNR), and Feature Similarity Index (FSIM). Higher SSIM and PSNR values indicate less distortion and better quality of the segmented image, while a higher FSIM value indicates lower segmentation error. The specific calculation methods for each of these metrics are as follows [43,47]:

The formula for PSNR is as follows:

PSNR=10log10(2552MSE) (23)

where MSE represents the Mean Squared Error between the original image I and the segmented image I′, and is defined as:

MSE=1MN∑j=1M ∑k=1N[I(j,k)−I′(j,k)]2 (24)

In the equation, M×N denotes the image dimensions, and Ij,k and I′(j,k) represent the grayscale values of the original image and the segmented image at the pixel location (j,k), respectively.

SSIM is used to evaluate the similarity between two images in terms of brightness, contrast, and structural information. Its expression is given by:

SSIM(I,I′)=(2μIμI′+C1)(2σII′+C2)(μI2+μI′2+C1)(σI2+σI′2+C2) (25)

where μI and μI′ represent the mean grayscale values of the original image I and the segmented image I′, respectively, σII′ is the covariance of the grayscale values between the original image I and the segmented image I′, and σI2 and σI′2 are the variances of the original and segmented images, respectively. The constants are generally set as C1=K1L, C2=K2L2, where K1=0.01, K2=0.03, and L is the maximum grayscale level.

The value range of SSIM is [−1, 1], where a value of 1 indicates that the two images are identical. This metric simulates the human visual system by evaluating image distortion from three dimensions: brightness, contrast, and structure. Brightness is estimated by the mean, contrast is measured by the standard deviation, and structural information is reflected by the covariance. In segmentation tasks, the closer the SSIM value is to 1, the better the structural preservation and the higher the segmentation quality [48,49].

The formula for the FSIM is as follows:

FSIM(I,I′)=∑x∈ΩSL(x)⋅PCm(x)∑x∈ΩPCm(x) (26)

The phase congruency PC(x) is defined as:

PC(x)=E(x)ε+∑nAn(x)An(x)=en(x)2+on(x)2E(x)=∑nen(x)2+∑non(x)2 (27)

where ε is a small constant, x denotes the pixel location, and Ω represents the entire image domain. Here, en(x) and on(x) denote the even- and odd-symmetric filter response components at scale n, respectively, while E(x) denotes the local energy at pixel x. The phase congruency at pixel x is defined as PCm(x)=max(PC1(x),PC2(x)), where PC1(x) and PC2(x) are the phase congruency values of the original image and the segmented image, respectively.

4.2. Analysis of Otsu Results Based on MFISOA

In this study, the MFISOA is employed with the Otsu criterion as the objective function to conduct multi-level thresholding experiments on nine selected benchmark images. The evaluation phase utilizes the maximum value of the Otsu objective function, together with PSNR, FSIM, and SSIM, as key performance indicators. Higher values for these metrics indicate better segmentation accuracy and robustness of the algorithm. The experimental results demonstrate that, at four threshold levels (4, 6, 8, and 10), MFISOA significantly outperforms the other compared algorithms (PSO, MFO, GWO, AVOA, AOA, INFO, DBO, BPBO, SOA) across all metrics.

Table 8 presents the distribution of the optimal threshold values selected by MFISOA across the histograms of nine images, clearly highlighting the differences in threshold selection for the same image at different threshold levels. The thresholds selected by MFISOA are more aligned with the peak intervals of the image grayscale distribution, thereby providing a solid basis for high-quality segmentation. The detailed quantitative comparison results in terms of Otsu fitness, SSIM, FSIM, and PSNR are provided in the Supplementary Materials (Tables S1–S4). Overall, these results show that MFISOA consistently achieves competitive segmentation performance in both accuracy and stability across different images and threshold levels. For example, in the four-threshold segmentation of the “camera” image, MFISOA attains a PSNR value of 19.8198, representing a 2.53% improvement over the standard SOA with a PSNR of 19.3303, which effectively alleviates the segmentation blur in overlapping grayscale regions. All experiments were independently conducted over 30 runs to ensure statistical reliability, and the parameters of all algorithms, such as population size and maximum iteration count, were kept consistent to ensure a fair comparison.

Table 8.

MFISOA results of multi-level threshold segmentation with Otsu as the objective function.

Images TH = 4 TH = 6 TH = 8 TH = 10
baboon graphic file with name biomimetics-11-00247-i001.jpg graphic file with name biomimetics-11-00247-i002.jpg graphic file with name biomimetics-11-00247-i003.jpg graphic file with name biomimetics-11-00247-i004.jpg
graphic file with name biomimetics-11-00247-i005.jpg graphic file with name biomimetics-11-00247-i006.jpg graphic file with name biomimetics-11-00247-i007.jpg graphic file with name biomimetics-11-00247-i008.jpg
brain graphic file with name biomimetics-11-00247-i009.jpg graphic file with name biomimetics-11-00247-i010.jpg graphic file with name biomimetics-11-00247-i011.jpg graphic file with name biomimetics-11-00247-i012.jpg
graphic file with name biomimetics-11-00247-i013.jpg graphic file with name biomimetics-11-00247-i014.jpg graphic file with name biomimetics-11-00247-i015.jpg graphic file with name biomimetics-11-00247-i016.jpg
camera graphic file with name biomimetics-11-00247-i017.jpg graphic file with name biomimetics-11-00247-i018.jpg graphic file with name biomimetics-11-00247-i019.jpg graphic file with name biomimetics-11-00247-i020.jpg
graphic file with name biomimetics-11-00247-i021.jpg graphic file with name biomimetics-11-00247-i022.jpg graphic file with name biomimetics-11-00247-i023.jpg graphic file with name biomimetics-11-00247-i024.jpg
face graphic file with name biomimetics-11-00247-i025.jpg graphic file with name biomimetics-11-00247-i026.jpg graphic file with name biomimetics-11-00247-i027.jpg graphic file with name biomimetics-11-00247-i028.jpg
graphic file with name biomimetics-11-00247-i029.jpg graphic file with name biomimetics-11-00247-i030.jpg graphic file with name biomimetics-11-00247-i031.jpg graphic file with name biomimetics-11-00247-i032.jpg
girl graphic file with name biomimetics-11-00247-i033.jpg graphic file with name biomimetics-11-00247-i034.jpg graphic file with name biomimetics-11-00247-i035.jpg graphic file with name biomimetics-11-00247-i036.jpg
graphic file with name biomimetics-11-00247-i037.jpg graphic file with name biomimetics-11-00247-i038.jpg graphic file with name biomimetics-11-00247-i039.jpg graphic file with name biomimetics-11-00247-i040.jpg
hunter graphic file with name biomimetics-11-00247-i041.jpg graphic file with name biomimetics-11-00247-i042.jpg graphic file with name biomimetics-11-00247-i043.jpg graphic file with name biomimetics-11-00247-i044.jpg
graphic file with name biomimetics-11-00247-i045.jpg graphic file with name biomimetics-11-00247-i046.jpg graphic file with name biomimetics-11-00247-i047.jpg graphic file with name biomimetics-11-00247-i048.jpg
peppers graphic file with name biomimetics-11-00247-i049.jpg graphic file with name biomimetics-11-00247-i050.jpg graphic file with name biomimetics-11-00247-i051.jpg graphic file with name biomimetics-11-00247-i052.jpg
graphic file with name biomimetics-11-00247-i053.jpg graphic file with name biomimetics-11-00247-i054.jpg graphic file with name biomimetics-11-00247-i055.jpg graphic file with name biomimetics-11-00247-i056.jpg
saturn graphic file with name biomimetics-11-00247-i057.jpg graphic file with name biomimetics-11-00247-i058.jpg graphic file with name biomimetics-11-00247-i059.jpg graphic file with name biomimetics-11-00247-i060.jpg
graphic file with name biomimetics-11-00247-i061.jpg graphic file with name biomimetics-11-00247-i062.jpg graphic file with name biomimetics-11-00247-i063.jpg graphic file with name biomimetics-11-00247-i064.jpg
terrace graphic file with name biomimetics-11-00247-i065.jpg graphic file with name biomimetics-11-00247-i066.jpg graphic file with name biomimetics-11-00247-i067.jpg graphic file with name biomimetics-11-00247-i068.jpg
graphic file with name biomimetics-11-00247-i069.jpg graphic file with name biomimetics-11-00247-i070.jpg graphic file with name biomimetics-11-00247-i071.jpg graphic file with name biomimetics-11-00247-i072.jpg

The detailed optimal threshold-selection results of MFISOA for the nine images under different threshold levels are provided in Table S1 of the Supplementary Materials, further demonstrating the algorithm’s ability to capture the grayscale distribution characteristics of the images. For the brain medical image with distinct grayscale layers, the thresholds for 4-level segmentation are concentrated in the 50–120 intensity range, accurately matching the grayscale differences between brain tissue and cerebrospinal fluid, thereby laying a foundation for subsequent lesion localization. For the Saturn image with ring-like texture features, the 8-level segmentation thresholds can completely separate the grayscale layers of the planetary core, rings, and cosmic background, avoiding the ring discontinuity caused by threshold shifts in the conventional SOA. For the baboon image with severe grayscale overlap and complex textures, the 10-level segmentation thresholds span the full 0–255 intensity range with adjacent gaps of 8–15 levels, effectively distinguishing hair, skin, and background regions. This benefit is attributed to MFISOA’s differential evolution-driven exploitation strategy, which generates directional perturbations based on inter-individual differences in the population and can precisely locate the optimal combination in the high-dimensional threshold space, thereby preventing over-segmentation or under-segmentation due to threshold clustering.

The detailed quantitative results of Otsu fitness, SSIM, FSIM, and PSNR are provided in the Supplementary Materials (Tables S2–S4). Overall, these results quantitatively validate the segmentation performance of MFISOA across different images and threshold levels. In terms of the Otsu objective, MFISOA achieves the highest average values across all images and threshold levels. For example, in 4-level segmentation of the camera image, its Ave reaches 4.60 × 103, consistent with the theoretically optimal inter-class variance and higher than those of standard SOA (4.58 × 103) and PSO (4.59 × 103), indicating that MFISOA can identify threshold combinations that maximize inter-class separability. Moreover, MFISOA yields markedly smaller Std values than the competing algorithms. For instance, in 6-level segmentation of the face image, MFISOA attains an Std of only 1.40 × 100, substantially lower than SOA (4.18 × 100) and AOA (1.45 × 101). This robustness is attributed to the centroid-based opposition learning boundary-control strategy, which preserves population diversity and mitigates search fluctuations caused by local optima. MFISOA also performs strongly on visual-quality metrics. In 8-level segmentation of the brain image, MFISOA achieves SSIM = 0.6812, FSIM = 0.9421, and PSNR = 28.8279 dB, representing improvements of 3.2%, 4.5%, and 5.1% over SOA, thus better preserving anatomical integrity. For the camera image under 4-level segmentation, MFISOA attains a PSNR of 19.6292 dB, a 5.08% gain over SOA (18.6798 dB), effectively reducing edge distortions. As the threshold level increases to 10 in high-dimensional settings, MFISOA’s advantage becomes more pronounced: for the terrace image, it achieves the best SSIM (0.8859), FSIM (0.9500), and PSNR (27.2994 dB), whereas algorithms such as DBO and BPBO degrade due to the enlarged search space, confirming the efficiency of MFISOA’s adaptive cooperative foraging strategy in high-dimensional threshold optimization.

Figure 12 visualizes the comprehensive ranking of the compared algorithms, showing that MFISOA consistently ranks first across fitness, SSIM, FSIM, and PSNR (Final-Rank = 1), significantly outperforming SOA (2nd) and DBO (3rd). Most baseline methods exhibit metric trade-offs; for instance, BPBO ranks third in PSNR but drops to fifth in FSIM, while INFO maintains relatively balanced rankings yet remains inferior to MFISOA on all metrics. MFISOA’s overall superiority stems from the synergy of three strategies: the adaptive cooperative foraging strategy enhances global exploration, the differential evolution-driven exploitation strategy improves local threshold refinement, and the centroid-based opposition learning boundary-control strategy stabilizes the search process. Together, these mechanisms achieve a balance between “statistical optimality” (maximizing the Otsu criterion) and “visual optimality” (high SSIM/FSIM/PSNR), which is difficult to attain with single-strategy variants.

Figure 12.

Figure 12

Final ranking of different algorithms across various metrics.

Overall, the reasonable threshold distributions provided in Table 8 lay the foundation for high-quality segmentation, while the detailed quantitative results in the Supplementary Materials (Tables S1–S4) further verify the accuracy and robustness of MFISOA. In addition, the comprehensive ranking shown in Figure 12 confirms the overall advantage of MFISOA. Together, these results form a coherent evidence chain, demonstrating that the proposed multi-strategy fusion design can be effectively transferred from numerical optimization to multi-threshold image segmentation.

5. Summary and Prospect

This paper addresses the core deficiencies of the standard SOA in global exploration, local exploitation, and population diversity maintenance by proposing MFISOA. The algorithm constructs a comprehensive optimization system through three core strategies: an adaptive collaborative foraging strategy based on individual quality, which dynamically allocates search resources according to fitness differences among individuals, thus resolving the issue of rigid exploration strategies in the standard SOA; a exploitation strategy driven by differential evolution, which generates directional perturbations using individual differences within the population to refine the local search process; and a centroid-based reverse learning boundary control strategy, where the population centroid serves as a reference for reverse mapping of out-of-bounds individuals, effectively preserving population diversity.

In numerical optimization experiments, using the CEC2017 and CEC2022 benchmark test sets, MFISOA is compared with nine advanced algorithms, including PSO, GWO, and SOA. Through ablation studies, convergence curve analysis, box plot analysis, as well as statistical validation such as Wilcoxon rank-sum tests and Friedman mean rank tests, it is confirmed that MFISOA demonstrates superior optimization accuracy, convergence speed, and stability in unimodal, multimodal, hybrid, and high-dimensional composite functions, with significant advantages in high-dimensional and complex scenarios. In multi-threshold image segmentation applications, using the Otsu criterion as the objective function, MFISOA outperforms comparison algorithms in key metrics such as between-class variance, SSIM, FSIM, and PSNR across the 4, 6, 8, and 10 threshold levels of 9 benchmark images. MFISOA is able to accurately capture image grayscale distribution features, achieving high-quality region segmentation and providing a reliable optimization tool for practical image segmentation tasks.

Although MFISOA has achieved good results in numerical optimization and multi-threshold image segmentation, there is still room for further improvement, and the following research directions are proposed for future work. First, the algorithm’s parameter settings still rely on empirical values. Currently, parameters such as the Levy flight parameter β and differential evolution-related parameters are fixed, and no systematic sensitivity analysis has been conducted to evaluate their influence on algorithm performance under different problem settings. Future work could combine parameter sensitivity analysis with reinforcement learning or adaptive parameter adjustment strategies to dynamically adjust parameters according to the optimization stage and problem characteristics, further enhancing the algorithm’s adaptability to different problem types. Second, the algorithm still has room for optimization in terms of computational complexity when handling large-scale high-dimensional optimization problems. As the number of thresholds or the problem’s dimensionality increases, the computational cost of population iteration rises. Future work could explore clustering strategies or parallel computing mechanisms to reduce time overhead while ensuring optimization effectiveness. Furthermore, the image segmentation evaluation system could be further enriched. This study mainly uses objective quantitative metrics for evaluation, but future work could incorporate human visual perception characteristics, introducing subjective evaluation dimensions. The application of MFISOA could also be expanded to more complex real-world scenarios, such as medical image segmentation, multi-target remote sensing image segmentation, and others, to validate its segmentation performance in challenging conditions such as special textures, strong noise, and multimodal images. Finally, the algorithm’s fusion strategies could be further expanded. The collaborative mechanisms of the three core strategies still have room for improvement. Future work could attempt to integrate more efficient local search operators or global exploration strategies, as well as explore the integration of MFISOA with deep learning models, providing stronger technical support for more complex image segmentation tasks.

Acknowledgments

The authors used generative artificial intelligence (GenAI) tools (Chat GPT 5 pro) only for language polishing and expression refinement during manuscript preparation. All scientific content, experimental design, data analysis, results interpretation, and conclusions were independently completed and verified by the authors.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/biomimetics11040247/s1.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All data in this paper are included in the manuscript.

Conflicts of Interest

The author declares no conflicts of interest.

Funding Statement

This research received no external funding.

Footnotes

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

References

  • 1.Brar K.K., Goyal B., Dogra A., Mustafa M.A., Majumdar R., Alkhayyat A., Kukreja V. Image segmentation review: Theoretical background and recent advances. Inf. Fusion. 2025;114:102608. doi: 10.1016/j.inffus.2024.102608. [DOI] [Google Scholar]
  • 2.Liu D., Shen Q., Liu J. The Health-Wealth Gradient in Labor Markets: Integrating Health, Insurance, and Social Metrics to Predict Employment Density. Computation. 2026;14:22. doi: 10.3390/computation14010022. [DOI] [Google Scholar]
  • 3.Nie J., Wang C., Yu S., Shi J., Lv X., Wei Z. MIGN: Multiscale image generation network for remote sensing image semantic segmentation. IEEE Trans. Multimed. 2022;25:5601–5613. doi: 10.1109/TMM.2022.3197369. [DOI] [Google Scholar]
  • 4.Moeskops P., Viergever M.A., Mendrik A.M., De Vries L.S., Benders M.J., Išgum I. Automatic segmentation of MR brain images with a convolutional neural network. IEEE Trans. Med. Imaging. 2016;35:1252–1261. doi: 10.1109/TMI.2016.2548501. [DOI] [PubMed] [Google Scholar]
  • 5.Al Garea S., Das S. Proceedings of the 2024 Seventh International Women in Data Science Conference at Prince Sultan University (WiDS PSU) IEEE; New York, NY, USA: 2024. Image segmentation methods: Overview, challenges, and future directions; pp. 56–61. [Google Scholar]
  • 6.Zhang J., Qi H., Wu J.J., Mao X., Zhang H., Amin N., Xu F., Dong C., Wang C., Wang P., et al. Disposable Peptidoglycan-Specific Biosensor for Noninvasive Real-Time Detection of Broad-Spectrum Gram-Positive Bacteria in Exhaled Breath Condensates. Anal. Chem. 2024;96:9817–9825. doi: 10.1021/acs.analchem.4c00059. [DOI] [PubMed] [Google Scholar]
  • 7.Wu X., Dong J., Bao W., Zou B., Wang L., Wang H. Augmented Intelligence of Things for Emergency Vehicle Secure Trajectory Prediction and Task Offloading. IEEE Internet Things J. 2024;11:36030–36043. doi: 10.1109/JIOT.2024.3417285. [DOI] [Google Scholar]
  • 8.Lei T., Nandi A.K. Image Segmentation: Principles, Techniques, and Applications. John Wiley & Sons; Hoboken, NJ, USA: 2022. [Google Scholar]
  • 9.Prabu S., Gnanasekar J. Recent Trends in Intensive Computing. IOS Press; Amsterdam, The Netherlands: 2021. A Study on image segmentation method for image processing; pp. 419–424. [Google Scholar]
  • 10.Upadhyay P., Chhabra J.K. Multilevel thresholding based image segmentation using new multistage hybrid optimization algorithm. J. Ambient Intell. Humaniz. Comput. 2021;12:1081–1098. doi: 10.1007/s12652-020-02143-3. [DOI] [Google Scholar]
  • 11.Volkov V.Y., Markelov O.A., Bogachev M.I. Image segmentation and object selection based on multi-threshold processing. J. Russ. Universities. Radioelectronics. 2019;22:24–35. doi: 10.32603/1993-8985-2019-22-3-24-35. [DOI] [Google Scholar]
  • 12.Guo S., Song Y., Wu Y., Hu J., Lu J., Wang C., Jia Z., Hua L. Microscopic mechanism of enhanced strength-plasticity synergy in pre-damaged TC11 titanium alloys via novel electroshock treatment. J. Alloys Compd. 2026;1052:186139. doi: 10.1016/j.jallcom.2026.186139. [DOI] [Google Scholar]
  • 13.Wu X., Wang H., Zhang Y., Zou B., Hong H. A Tutorial-Generating Method for Autonomous Online Learning. IEEE Trans. Learn. Technol. 2024;17:1532–1541. doi: 10.1109/TLT.2024.3390593. [DOI] [Google Scholar]
  • 14.Hu G., Zhao F., Hussien A.G., Zhong J., Houssein E.H. Ameliorated Fick’s law algorithm based multi-threshold medical image segmentation. Artif. Intell. Rev. 2024;57:302. doi: 10.1007/s10462-024-10919-8. [DOI] [Google Scholar]
  • 15.Abualigah L., Almotairi K.H., Elaziz M.A. Multilevel thresholding image segmentation using meta-heuristic optimization algorithms: Comparative analysis, open challenges and new trends. Appl. Intell. 2023;53:11654–11704. doi: 10.1007/s10489-022-04064-4. [DOI] [Google Scholar]
  • 16.Cheng Y., Li B. Proceedings of the 2021 IEEE Asia-Pacific Conference on Image Processing, Electronics and Computers (IPEC) IEEE; New York, NY, USA: 2021. Image segmentation technology and its application in digital image processing; pp. 1174–1177. [Google Scholar]
  • 17.Fan D., Zhu X., Xiang Z., Lu Y., Quan L. Dimension-Reduction Many-Objective Optimization Design of Multi-Mode Double-Stator Permanent Magnet Motor. IEEE Trans. Transp. Electrif. 2024;11:1984–1994. doi: 10.1109/TTE.2024.3415737. [DOI] [Google Scholar]
  • 18.Yang X., Wang R., Zhao D., Yu F., Heidari A.A., Xu Z., Chen H., Algarni A.D., Elmannai H., Xu S. Multi-level threshold segmentation framework for breast cancer images using enhanced differential evolution. Biomed. Signal Process. Control. 2023;80:104373. doi: 10.1016/j.bspc.2022.104373. [DOI] [Google Scholar]
  • 19.Guo H., Li M., Liu H., Chen X., Cheng Z., Li X., Yu H., He Q. Multi-threshold Image Segmentation based on an improved Salp Swarm Algorithm: Case study of breast cancer pathology images. Comput. Biol. Med. 2024;168:107769. doi: 10.1016/j.compbiomed.2023.107769. [DOI] [PubMed] [Google Scholar]
  • 20.Huang T., Yin H., Huang X. Improved genetic algorithm for multi-threshold optimization in digital pathology image segmentation. Sci. Rep. 2024;14:22454. doi: 10.1038/s41598-024-73335-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Fan D., Miao D., Shan W., Xiang Z., Zhu X. Short-Circuit Fault Demagnetization Assessment and Optimization of Double-Electrical-Port Vernier Permanent Magnet Motor. IEEE; New York, NY, USA: 2025. [DOI] [Google Scholar]
  • 22.Zhang Y., Wang J., Zhang X., Wang B. ACPOA: An Adaptive Cooperative Pelican Optimization Algorithm for Global Optimization and Multilevel Thresholding Image Segmentation. Biomimetics. 2025;10:596. doi: 10.3390/biomimetics10090596. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Gong Q., Zhao X., Bi C., Chen L., Nie X., Wang P., Zhan J., Li Q., Gao W. Maximum entropy multi-threshold image segmentation based on improved particle swarm optimization. J. Phys. Conf. Ser. 2020;1678:012098. doi: 10.1088/1742-6596/1678/1/012098. [DOI] [Google Scholar]
  • 24.Yao X., Li Z., Liu L., Cheng X. Proceedings of the IOP conference series: Earth and environmental science. IOS Press; Amsterdam, The Netherlands: 2019. Multi-threshold image segmentation based on improved grey wolf optimization algorithm; p. 042105. [Google Scholar]
  • 25.Seyyedabbasi A. A Hybrid Multi-Strategy Optimization Metaheuristic Algorithm for Multi-Level Thresholding Color Image Segmentation. Appl. Sci. 2025;15:7255. doi: 10.3390/app15137255. [DOI] [Google Scholar]
  • 26.Mousavirad S.J., Zabihzadeh D., Oliva D., Perez-Cisneros M., Schaefer G. A grouping differential evolution algorithm boosted by attraction and repulsion strategies for masi entropy-based multi-level image segmentation. Entropy. 2021;24:8. doi: 10.3390/e24010008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Wang X., Kang H., Shen Y., Sun X., Chen Q. An improved dung beetle optimization algorithm for high-dimension optimization and its engineering applications. Symmetry. 2024;16:586. doi: 10.3390/sym16050586. [DOI] [Google Scholar]
  • 28.Li Z., Liu W., Zhao H., Pu W. Dung beetle optimization with composite population initialization and multi-strategy learning for multi-level threshold image segmentation. Signal Image Video Process. 2025;19:255. doi: 10.1007/s11760-025-03815-3. [DOI] [Google Scholar]
  • 29.Amiriebrahimabadi M., Rouhi Z., Mansouri N. A comprehensive survey of multi-level thresholding segmentation methods for image processing. Arch. Comput. Methods Eng. 2024;31:3647–3697. doi: 10.1007/s11831-024-10093-8. [DOI] [Google Scholar]
  • 30.Dhiman G., Kumar V. Seagull optimization algorithm: Theory and its applications for large-scale industrial engineering problems. Knowl. -Based Syst. 2019;165:169–196. doi: 10.1016/j.knosys.2018.11.024. [DOI] [Google Scholar]
  • 31.Xia Q., Ding Y., Zhang R., Zhang H., Li S., Li X. Optimal performance and application for seagull optimization algorithm using a hybrid strategy. Entropy. 2022;24:973. doi: 10.3390/e24070973. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Hou P., Liu J., Ni F., Zhang L. Hybrid strategies based seagull optimization algorithm for solving engineering design problems. Int. J. Comput. Intell. Syst. 2024;17:62. doi: 10.1007/s44196-024-00439-2. [DOI] [Google Scholar]
  • 33.Kennedy J., Eberhart R. Proceedings of the Proceedings of ICNN’95-International Conference on Neural Networks. IEEE; New York, NY, USA: 1995. Particle swarm optimization; pp. 1942–1948. [Google Scholar]
  • 34.Mirjalili S. Moth-flame optimization algorithm: A novel nature-inspired heuristic paradigm. Knowl.-Based Syst. 2015;89:228–249. [Google Scholar]
  • 35.Mirjalili S., Mirjalili S.M., Lewis A. Grey wolf optimizer. Adv. Eng. Softw. 2014;69:46–61. doi: 10.1016/j.advengsoft.2013.12.007. [DOI] [Google Scholar]
  • 36.Abdollahzadeh B., Gharehchopogh F.S., Mirjalili S. African vultures optimization algorithm: A new nature-inspired metaheuristic algorithm for global optimization problems. Comput. Ind. Eng. 2021;158:107408. doi: 10.1016/j.cie.2021.107408. [DOI] [Google Scholar]
  • 37.Abualigah L., Diabat A., Mirjalili S., Abd Elaziz M., Gandomi A.H. The Arithmetic Optimization Algorithm. Comput. Methods Appl. Mech. Eng. 2021;376:113609. doi: 10.1016/j.cma.2020.113609. [DOI] [Google Scholar]
  • 38.Ahmadianfar I., Heidari A.A., Noshadian S., Chen H., Gandomi A.H. INFO: An efficient optimization algorithm based on weighted mean of vectors. Expert Syst. Appl. 2022;195:116516. doi: 10.1016/j.eswa.2022.116516. [DOI] [Google Scholar]
  • 39.Xue J., Shen B. Dung beetle optimizer: A new meta-heuristic algorithm for global optimization. J. Supercomput. 2023;79:7305–7336. doi: 10.1007/s11227-022-04959-6. [DOI] [Google Scholar]
  • 40.Ghasemi M., Akbari M.A., Zare M., Mirjalili S., Deriche M., Abualigah L., Khodadadi N. Birds of prey-based optimization (BPBO): A metaheuristic algorithm for optimization. Evol. Intell. 2025;18:88. doi: 10.1007/s12065-025-01052-8. [DOI] [Google Scholar]
  • 41.Dao P.B. On Wilcoxon rank sum test for condition monitoring and fault detection of wind turbines. Appl. Energy. 2022;318:119209. doi: 10.1016/j.apenergy.2022.119209. [DOI] [Google Scholar]
  • 42.Cao L., Wei Q. SZOA: An Improved Synergistic Zebra Optimization Algorithm for Microgrid Scheduling and Management. Biomimetics. 2025;10:664. doi: 10.3390/biomimetics10100664. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Wang J., Bei J., Song H., Zhang H., Zhang P. A whale optimization algorithm with combined mutation and removing similarity for global optimization and multilevel thresholding image segmentation. Appl. Soft Comput. 2023;137:110130. doi: 10.1016/j.asoc.2023.110130. [DOI] [Google Scholar]
  • 44.Ryalat M.H., Dorgham O., Tedmori S., Al-Rahamneh Z., Al-Najdawi N., Mirjalili S. Harris hawks optimization for COVID-19 diagnosis based on multi-threshold image segmentation. Neural Comput. Appl. 2022;35:6855–6873. doi: 10.1007/s00521-022-08078-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Suresh S., Lal S. Multilevel thresholding based on Chaotic Darwinian Particle Swarm Optimization for segmentation of satellite images. Appl. Soft Comput. 2017;55:503–522. doi: 10.1016/j.asoc.2017.02.005. [DOI] [Google Scholar]
  • 46.Shi J., Chen Y., Wang C., Heidari A.A., Liu L., Chen H., Chen X., Sun L. Multi-threshold image segmentation using new strategies enhanced whale optimization for lupus nephritis pathological images. Displays. 2024;84:102799. doi: 10.1016/j.displa.2024.102799. [DOI] [Google Scholar]
  • 47.Jiang Y., Yeh W.-C., Hao Z., Yang Z. A cooperative honey bee mating algorithm and its application in multi-threshold image segmentation. Inf. Sci. 2016;369:171–183. doi: 10.1016/j.ins.2016.06.020. [DOI] [Google Scholar]
  • 48.Dong Y., Li M., Zhou M. Multi-threshold image segmentation based on the improved Dragonfly algorithm. Mathematics. 2024;12:854. doi: 10.3390/math12060854. [DOI] [Google Scholar]
  • 49.Zheng J., Gao Y., Zhang H., Lei Y., Zhang J. OTSU multi-threshold image segmentation based on improved particle swarm algorithm. Appl. Sci. 2022;12:11514. doi: 10.3390/app122211514. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Data Availability Statement

All data in this paper are included in the manuscript.


Articles from Biomimetics are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES