Next Article in Journal
Seismic Response Analysis of a Six-Story Building in Sofia Using Accelerograms from the 2012 Mw5.6 Pernik Earthquake
Previous Article in Journal
Long Short-Term Memory-Based Fall Detection by Frequency-Modulated Continuous Wave Millimeter-Wave Radar Sensor for Seniors Living Alone
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Constrained Adaptive Weighted Particle Swarm Optimization (C-AWPSO) Algorithm for Dipping Fault Parameter Inversion

1
Department of Geodesy and Geomatics Engineering, School of Civil and Transportation Engineering, Guangdong University of Technology, Guangzhou 510006, China
2
Key Laboratory of Marine Mineral Resources, Ministry of Natural Resources, Guangzhou 511458, China
3
National Precise Gravity Measurement Facility, Huazhong University of Science and Technology, Wuhan 430074, China
4
Guangzhou Marine Geological Survey, China Geological Survey, Guangzhou 511458, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(15), 8382; https://doi.org/10.3390/app15158382
Submission received: 3 July 2025 / Revised: 25 July 2025 / Accepted: 26 July 2025 / Published: 28 July 2025

Abstract

To overcome the limitations of gravity inversion methods in fault inversion, this paper proposed a constrained adaptive weighted particle swarm optimization algorithm. Simulation experiments demonstrate that the proposed method exhibits stronger noise resistance compared to traditional optimization methods. In practical cases, the inversion accuracy of this method is improved by at least 64.4%, and the predicted gravity anomaly curve is closer to the observed data. The research findings are as follows: (1) The linearly decreasing inertia weight strategy performs best in terms of convergence efficiency and global search capability; (2) among the fault parameters, the top-layer center depth z and bottom-layer center depth w show higher sensitivity, and the inversion results for these parameters are more stable, which is beneficial for determining the depth information of faults; (3) introducing L2 regularization and penalty terms as constraints significantly improves the inversion stability, and among these, z and w have a particularly notable impact on the error.

1. Introduction

Faults are key structures in the Earth’s crust. Most gravity anomalies are caused by faults, and faults play a crucial role in tectonic evolution. Determining fault parameters is of great significance for analyzing the causes of underground special structures and interpreting geological tectonics [1]. Previously, the seismic method was the mainstream approach for fault identification [2,3]. This method offers high accuracy but has notable drawbacks, such as relying on seismic stations and being costly. In contrast, the gravity inversion method has the advantages of low cost and large-scale applicability. However, gravity inversion results are ambiguous [4], which imposes significant limitations on gravity inversion methods. To overcome these limitations of gravity inversion methods, optimization algorithms are commonly used. Common optimization algorithms include least squares minimization [5,6], analysis of variance [7], the simulated annealing method [8], and the Particle Swarm Optimization (PSO) method [9,10,11]. Among numerous methods, the particle swarm optimization algorithm stands out, with a more competitive performance than many other optimization algorithms, as it is easy to implement, has a fast convergence speed, and achieves good convergence results.
The Particle Swarm Optimization (PSO) algorithm is an optimization method that simulates the foraging behavior of a swarm. It tracks individual and global optimal solutions by updating particle positions. Its performance heavily relies on three key parameters: the inertia weight ω and the learning factors c 1 and c 2 . The traditional PSO algorithm has two major limitations: First, although there are empirical ranges for parameter values, they lack universality; and second, with fixed parameter settings, the algorithm struggles to adapt to complex optimization processes. These limitations affect the algorithm’s flexibility and optimization effectiveness.
The aforementioned issues have received widespread attention and research. Y. Shi and R. C. Eberhart (1998) proposed a PSO algorithm based on Linearly Decreasing Inertia Weight (PSO-LDIW) [12], which allows for the inertia weight ω to decrease linearly with the number of iterations. Besides introducing a strategy of decreasing inertia weight, A. Ratnaweera et al. (2004) proposed the PSO algorithm with Time-Varying Acceleration Coefficients (PSO-TVAC) [13]. This algorithm causes the learning factors c 1 and c 2 to change dynamically with each iteration. Some PSO algorithms have introduced topological structures to avoid getting trapped in local optima [14,15]. Although the aforementioned PSO algorithms have improved their performance in searching for the global optimum by refining parameter selection methods, this often comes at the cost of reduced convergence rates. Therefore, we need a new PSO algorithm that can both search for the global optimal solution by adaptively updating parameters and maintain an excellent convergence rate. Most variants of PSO algorithms adjust the learning factors in a time-varying manner. However, according to the principles of the PSO algorithm, the speed of particle updates largely depends on the distance between the particle and its individual historical best solution as well as the historical global best solution. Building on this, Liu et al. (2021) proposed an Adaptive Weighted PSO (AWPSO) algorithm [16]. Unlike time-varying update strategies, in AWPSO, the learning factors change based on the distances of particles towards p b e s t and g b e s t . These improvements can enhance the convergence efficiency and accuracy of the PSO algorithm to varying degrees. However, since fault models inherently involve multiple parameters to be determined, applying optimization algorithms to fault parameter inversion typically involves calculating the residuals between observed and predicted gravity anomalies. The optimization direction is then decided based on these residuals for iterative refinement. This approach is evidently not rigorous enough. Additional constraint terms need to be considered for inclusion.
In summary, we proposed a Constrained Adaptive Weighted PSO (C-AWPSO) algorithm. It adds regularization constraints and penalty term constraints (based on prior conditions) to the AWPSO algorithm. We conducted simulation experiments and applications to verify the algorithm’s accuracy. Additionally, experiments were carried out from perspectives such as inertia weight decay methods, the contribution of constraint terms, and sensitivity analysis to demonstrate the feasibility of applying this algorithm to actual fault parameter inversion.

2. Methods

The relationship between a forward-dipping fault layer profile and gravity anomalies is as follows [5,7,17]:
g x i , z , w , θ = M π + tan 1 x i x 0 z + cot θ tan 1 x i x 0 w + cot θ   i = 1,2 , 3 , N
where x i represents the horizontal position, z is the depth of the upper center of the fault, w is the depth of the lower center of the fault, θ is the dip angle of the fault, x 0 is the origin, M = 2 G σ h is the amplitude factor related to the thickness h , G is the gravitational constant, and σ is the density contrast.

2.1. Traditional Particle Swarm Optimization Algorithm

The PSO algorithm [18] is an optimization method that mimics the foraging behavior of bird flocks. Each particle has a position vector representing a candidate solution, and a group of particles forms a swarm. During the iterative process, the position vectors of particles are changed by updating their velocity vectors. This allows for the particles to track their individual historical best solutions ( p b e s t ) and the swarm’s historical global best solution ( g b e s t ). The traditional PSO algorithm consists of a velocity update equation (Equation (2)) and a position update equation (Equation (3)), with the specific expressions as follows:
V j k + 1 = ω × V j k + c 1 × r 1 × p b e s t x j k + c 2 × r 2 × g b e s t x j k
x j k + 1 = x j k + V j k + 1
where V j k represents the velocity of the j-th particle during the k-th iteration and x j k denotes the position of the j-th particle for each object parameter ( M , z , θ , w , and x 0 ) during the k-th iteration. ω is the inertia weight, which controls the trend of velocity change. c 1 and c 2 are learning factors (also known as acceleration coefficients), governing the step size for particles to move towards the best positions. r 1 and r 2 are random numbers within the range [0, 1] and obey uniform distribution. p b e s t is the individual historical best solution, while g b e s t is the swarm’s historical best solution.

2.2. AWPSO Algorithm

It is widely known that selecting parameters for optimization algorithms is a significant challenge. The PSO algorithm involves three parameters: the inertia weight ω and the learning factors c 1 and c 2 . If these parameters are chosen unreasonably, the impact on the results will undoubtedly be substantial. For the traditional PSO algorithm, although previous researchers have provided some prior information, such as the recommended value ranges for c 1 and c 2 being [1.5, 2] and for ω being [0.4, 0.9] [19,20], these ranges still lack universality. For the adaptive strategy of the inertia weight ω , we select the linearly decreasing method proposed by Y. Shi and R. C. Eberhart (1998) [12]. The specific improvement is shown in Equation (4):
ω k = ω m a x ω m a x ω m i n K m a x × k
where ω k represents the inertia weight during the k-th iteration. ω m a x and ω m i n are the maximum and minimum inertia weights, respectively, typically set to 0.9 and 0.4. K m a x is the maximum number of iterations.
For the adaptive weighted update strategy of learning factors c 1 and c 2 , the key step is to calculate particle distances from p b e s t and g b e s t and then perform updates based on these distances. The updated rules are as follows:
c g p i k = F g p i k
c g g i k = F g g i k
where the function F · represents the adaptive weighted update function and g p i k and g g i k are, respectively, the distances of particle i to p b e s t and g b e s t at the k-th iteration. Their expressions are as follows:
g p i k = p i k x i ( k )
g g i k = g i k x i k
Since learning factors are weighted terms designed to guide particles towards p b e s t and g b e s t and the search space for constrained optimization problems is usually bounded, the adaptive weighted update function needs to have two characteristics: the update function is monotonically increasing and bounded. The activation functions in neural networks perfectly meet this requirement. We choose the sigmoid function as the adaptive weighted update function; in addition to satisfying the conditions of being monotonically increasing and bounded, it also has an S-shaped curve. This curve helps avoid abrupt changes in control parameters. Moreover, the sigmoid function is smooth and differentiable, reflecting the adaptive nature of updating weights iteratively. The specific expression is as follows:
F D = b 1 + e a D c + d
where e is the natural logarithmic base. a represents the steepness of the curve, which is a constant. b represents the peak value of the curve, c represents the abscissa value of the center of the curve, d is a positive constant, and D is calculated by the equation (5), representing the distance of the particle from p b e s t and g b e s t . Combining Equations (4)–(6), Equation (2) is updated to the following:
V j k + 1 = ω ( k ) × V j k + c g p i k × r 1 × g p i k + c g g i k × r 2 × g g i k
In the PSO algorithm, fitness needs to be calculated as an indicator for selecting the optimal solution. In gravity inversion problems, the Root Mean Square (RMS) of the difference between observed gravity and forward-modeled gravity is typically used as the fitness value. The expression is as follows:
φ o b j = 1 N i = 1 N g j o x j g j p x j 2
where N represents the measured data points, g j o x j is the observed gravity field, and g j p x j is the computed gravity field at the point x j .

2.3. Constraint Method

During the computation process of optimization algorithms, precision (i.e., the objective function) is given priority. However, if only Equation (8) is used as the objective function, the algorithm’s optimization direction would solely focus on obtaining a forward-modeled anomaly curve that is similar to the observed anomaly, resulting in inaccurate inversion results. Such precision values are not true. In such cases, the physical significance and reasonableness of parameters are easily overlooked, making it difficult to obtain more accurate fault layer parameters. This is clearly not an ideal situation because, in gravity inversion, the non-uniqueness of solutions is a very common and major challenge. Different combinations of fault parameters might result in forward-model gravity anomalies that are quite similar. Therefore, we considered adding constraint terms to the objective function.
First, we considered adding an L2 regularization term, applying different regularization weights λ j ( j = 1,2 , , 5 ) to each parameter. The expression for the regularization term is as follows:
R = λ 1 M 2 + λ 2 z 2 + λ 3 θ 2 + λ 4 w 2 + λ 5 x 0 2
Additionally, it can be observed that the fault layer model itself has a prior condition, which is z < w . Based on this prior condition, we added a penalty term to the objective function:
P = k × z w 2 , i f   w z 0 ,                                       i f   w > z
where k is the penalty coefficient, which takes the value of 5 × 10 8 here. Combined with Equations (9)–(11), the objective function of this method is obtained:
F i t n e s s = φ o b j + R + P
where F i t n e s s is the fitness value, which is the target value for optimization.

3. Synthetic Example

To demonstrate the strengths of our method in fault parameter inversion, we applied it to simulated experiments and real cases separately and compared the outcomes with those from prior research.

3.1. Simulation Experiment

For ease of comparison, the parameter settings of the comparison model are kept consistent with those in Mahmoud Elhussein’s (2021) research [9], as detailed below. First, the fault layer parameters x ( M , z , θ , w , x 0 ) are set as M = 150   m G a l , z = 6   m , θ = 45 ° , w = 12   m , and x 0 = 0   m . Then, a set of horizontal coordinates x i is randomly generated within the range [−60, 60], and the gravity anomaly is forward-modeled based on this parameter combination and the horizontal coordinates (Figure 1). Using the forward-modeled gravity anomaly as the observed value, we performed fault layer parameter inversion using the method in this paper. The estimated results, precision comparison, and value ranges for each parameter are shown in Table 1.
From Table 1, it can be concluded that, when using noise-free gravity anomaly profiles as the observed data for inversion, both the traditional PSO algorithm and the C-AWPSO algorithm perform well. The estimated results are basically consistent with the input model parameters. In a real case, gravity observation data is often contaminated by noise, which will affect the inversion results. To verify the noise-resistance capability of the algorithms, we added Gaussian white noise of 5%, 10%, and 15% to the gravity data while keeping other conditions unchanged. The noisy gravity anomalies and the predicted gravity anomalies obtained are shown in Figure 2. The corresponding numerical results are presented in Table 2, Table 3 and Table 4.
From Table 2, Table 3 and Table 4, it is evident that, after adding random noise at 5%, 10%, and 15% levels, RMS errors of predicted gravity anomalies from the traditional PSO algorithm are 6.26 mGal, 12.30 mGal, and 21.51 mGal, respectively, while those from C-AWPSO algorithm are 2.21 mGal, 4.25 mGal, and 6.98 mGal, respectively. Compared with the traditional PSO algorithm, the accuracy of RMS errors increased by 64.7%, 65.44%, and 67.55%, respectively. Clearly, the C-AWPSO algorithm significantly outperforms the traditional PSO algorithm, demonstrating stronger noise-resistance capabilities. Especially for amplitude factor M , inversion error rate e stays at a remarkably low level, specifically 0.01%, 0.09%, and 0.17%. Observing the tables, we notice that, as the noise proportion rises, the parameter error rates do not necessarily increase. For example, in Table 3 and Table 4, with a higher noise proportion, the error rate of fault dip angle θ actually decreases. This suggests coupling relationships exist among parameters. It is also possible that increased noise alters fitness trends, offering the algorithm an opportunity to “escape local optimal solutions.”

Testing Model

In the previous section, we found that the error rate of amplitude factor M consistently remained at a very low level. This might be because its magnitude is inherently large, having a greater impact on inversion accuracy. Therefore, during the optimization process, the algorithm prioritizes optimizing this parameter. To verify this hypothesis, we set the values of the fault parameters x( M , z , θ , w , x 0 ) in the test model as follows: M = 15   m G a l , z = 5 m , θ = 30 ° , w = 15   m , and x 0 = 5   m . Similarly, we inverted gravity anomaly profiles with no noise, 5% noise, 10% noise, and 15% noise. The observed and predicted gravity anomalies obtained are shown in Figure 3, and the corresponding numerical results are presented in Table 5.
From Figure 3 and Table 5, it can be seen that, when the parameters of the inclined faulted layer model change significantly (especially when there is a change in the magnitude of the amplitude factor), the C-AWPSO algorithm still performs excellently. After adding random noise at 5%, 10%, and 15% levels, the RMS of predicted gravity anomalies obtained using the C-AWPSO algorithm is 0.41 mGal, 0.94 mGal, and 1.52 mGal, respectively. Compared with the results in Section Testing Model, it can be found that the RMS errors of the test model are significantly lower than those of the comparison model. This is because the gravity anomaly range of the test model is 20–55 mGal, while that of the comparison model is 340–520 mGal. The magnitudes are inconsistent, so the absolute errors of the test model are inherently limited to a smaller range. Moreover, the error rate of the amplitude factor M still remains at a very low level, and the parameter with a relatively larger error rate is the origin x 0 .

3.2. Application Example

To verify the robustness and applicability of the algorithm in practical applications, we digitized the Gazelle Fault in the South Aswan region of Egypt to obtain its Bouguer gravity profile [9]. We then used the C-AWPSO algorithm for inversion. The estimated parameters are M = 19.18   m G a l , z = 153.6   m , θ = 88.5 ° , w = 560.53   m , and x 0 = 4.99   m (Table 6), with an RMS error of 0.68 mGal. From Table 6, we can conclude that the present method gives the minimum RMS error when compared with the previous methods in the literature. Compared with previous studies, the accuracy of the method proposed in this paper has been significantly improved, with the RMS errors increasing by 85.12%, 64.4%, and 87.38%, respectively. Figure 4 presents a comparison between the predicted gravity anomalies of the Gazelle Fault calculated by previous researchers [6,9,17] and those calculated using the C-AWPSO algorithm. The results obtained by the C-AWPSO method are closer to the observed gravity anomalies in distribution. In Figure 4, the predicted anomaly curve from the C-AWPSO algorithm aligns well with the curve obtained using Mahmoud Elhussein’s (2021) method on the left side [9]. Although the predicted anomaly curve from the C-AWPSO algorithm is very close to the observed anomaly curve, there are still noticeable differences in trends. These phenomena could be due to the presence of other nearby structures generating gravity effects apart from the fault, or there might be noise in the vicinity that is difficult for the algorithm to identify.

4. Discussion

Optimization algorithms are developed based on mathematical logic. When applying optimization algorithms to gravity inversion, besides considering issues like convergence efficiency and accuracy inherent to the algorithms themselves, we also need to take into account the physical significance of their application, such as the non-uniqueness of gravity inversion solutions and the coupling relationships among various parameters. Next, we will conduct experiments on the C-AWPSO algorithm to address these issues and then discuss its feasibility in practical applications.

4.1. Comparison of Different Inertia Weight Decreasing Methods

From the principle of the C-AWPSO algorithm, its parameter updates mainly consist of two parts. One is the decreasing inertia weight, and the other is the update of learning factors based on the distance between particles and their historical best positions. There are generally several approaches to handling inertia weight: linear decrease, Gaussian decrease, exponential decrease, and logarithmic decrease [12,21,22,23]. We used these four inertia weight decrease methods to invert simulated data with 5% noise, 10% noise, and 15% noise. The corresponding fitness convergence curves are shown in Figure 5 (all four methods exhibit excellent convergence speed with zero RMS error in noise-free cases, so they are not displayed here).
As shown in Figure 5, when using four different inertia weight decrease methods for inversion, there are noticeable differences in both RMS error and convergence efficiency. This phenomenon is likely related to the inherent characteristics of each decrease method. The Gaussian decrease method offers fast convergence but is sensitive to parameters and prone to getting stuck in local optima, resulting in a higher RMS error compared to the other three methods. The logarithmic decrease method is insensitive to parameters, has strong noise resistance, and can balance convergence efficiency with the ability to search for global optimal solutions [24]. The linear decrease method outperforms nonlinear decrease methods in terms of stability and is more universally applicable than other methods. When the characteristics of the inversion problem are not distinct, the linear decrease method is a safer choice [21]. Therefore, we can observe that, although the linear decrease method does not excel in convergence efficiency, its performance is relatively stable.
To sum up, although the Gaussian decay method has a fast convergence speed, it is prone to getting trapped in local optima. The exponential decay method has similar issues and performs unstably. The logarithmic decay method, while having the advantage of maintaining search capability over the long term, has a slower convergence speed compared to the linear decay method and is more suitable for complex optimization problems. In fault inversion problems, the shape and type of faults are what need to be solved, and their characteristics are not obvious. The linear decay method is precisely suitable for such situations. Therefore, we choose the stable linear decay method to control the change in inertia weight.

4.2. Sensitivity Analysis

To analyze parameter sensitivity, we added a 10% perturbation to each parameter of an ideal model ( M = 150   m G a l , z = 6   m , θ = 45 , w = 12   m , and x 0 = 2   m ). Then, we calculated the fitness value of this perturbed model and used the central difference method to compute its sensitivity. This is a method that assumes a locally smooth fitness surface and a symmetric response to perturbations. The expression is as follows:
F p i F p i + p i F p i p i 2 p i
where p i ( i M , z , θ , w , x 0 ) represents fault parameters, F ( ) is the objective function, and p i = 0.1 × p i denotes the perturbation step size. Since the dimensions and magnitudes of each parameter vary, normalization is also required (using Equation (14)). After calculations, the sensitivities of the five fault parameters are obtained, as shown in Figure 6.
S i = F p i m a x F p j , j M , z , θ , w , x 0
From Figure 6, we see that top-layer center depth z and bottom-layer center depth w of the fault have relatively high sensitivity, while fault dip angle θ has the lowest sensitivity. This means that z and w have a significant impact on the objective function, and adjusting them is the key to optimizing the algorithm. This also indirectly indicates that it is reasonable for us to choose z and w as penalty terms to constrain the algorithm. However, in gravity inversion, there is a high chance of ambiguous solutions [4]. Even though z and w have high sensitivity, they are inherently highly correlated. One may change abruptly while the other changes at the same time. This is the parameter coupling issue mentioned in Section 3.1.

4.3. Selection of Regularization Parameters

In the regularization term, we need to introduce different regularization factors for each of the five parameters to be solved. Different combinations of regularization factors have a significant impact on the inversion results. Trying each combination one by one would obviously be extremely inefficient. So, we introduced the Bayesian optimization method in the step of selecting regularization parameters. The Bayesian optimization method is a hyperparameter optimization approach based on sequential decision-making. Its core has two aspects: First, it uses a surrogate model to output the expected value of the objective function, guiding the search direction; and second, it evaluates and updates the surrogate model through an acquisition function, enabling iterative optimization.
Our surrogate model employs the commonly used Gaussian Process Regression (GPR). This model assumes that the objective function follows a Gaussian distribution. Then, the approximation of the objective function can be expressed as follows:
f x ~ G P μ x , σ 2 x
where f x is the objective function, G P ( ) denotes a Gaussian distribution, μ x represents the predicted mean (expected performance), and σ ( x ) stands for the predicted standard deviation (uncertainty). Based on the output of the surrogate model, we calculated the value of the acquisition function α ( x ) at all candidate points x . We then select the point that maximizes α ( x ) as the next sampling point:
f x ~ G P μ x , σ 2 x
We used the commonly adopted Expected Improvement (EI) method as the acquisition function:
α x = μ x f x + ξ Φ Z + σ x ϕ Z , i f   σ x > 0 0 ,                                                                                                                                       i f   σ x = 0    
where Z = μ x f x + ξ σ x , ξ is the exploration parameter, Φ is the Cumulative Distribution Function (CDF) of the standard normal distribution, and ϕ is the Probability Density Function (PDF) of the standard normal distribution.
The process of conducting Bayesian optimization using the above method is shown in Figure 7. A total of 200 iterations were carried out. According to the figure, convergence was basically achieved after the 100th iteration. The obtained optimal combination of regularization factors is λ 1 = 1.76 × 10 15 , λ 2 = 9.64 × 10 15 , λ 3 = 9.53 × 10 14 , λ 4 = 8.77 × 10 15 .

4.4. Selection of Penalty Coefficient

As part of the constraint term, selecting the penalty coefficient in the penalty term is also crucial. A larger penalty coefficient is not necessarily better. If the constraint is too strong, the algorithm is prone to getting stuck in local optimal solutions. Since the penalty term involves only one parameter, we choose a simple loop iteration to test the impact of different penalty coefficients on inversion accuracy. The penalty coefficient linear increases regularly with each loop iteration, ranging from [ 10 2 , 10 13 ]. The details are shown in Figure 8. From Figure 8, it can be seen that the most suitable penalty coefficient is 5 × 10 8 . The RMS error calculated with this penalty coefficient is 0.67 mGal. Meanwhile, we found that, when an unsuitable penalty coefficient is chosen, the RMS error can reach up to 1.6 mGal, with a deviation rate of 160% from the lowest accuracy. And in 100 loop iterations, unsuitable penalty coefficients are chosen quite often. This indicates that testing the selection of the penalty coefficient is very necessary.

4.5. The Effect of Constraint Terms on Inversion

To highlight the contribution of constraint terms during the inversion process, we used the Bouguer gravity anomaly data of the Gazelle Fault as observational data and conducted 100 inversions under both unconstrained and constrained conditions. A comparison of the inversion results with and without constraint terms is shown in Figure 9.
From Figure 9, it is evident that the inversion results with constraint terms are significantly more stable than those without. The inversion results in constraint terms oscillate within a small range. The amplitude factor M , fault dip angle θ , and fault origin x 0 each exhibit one “abrupt change” phenomenon, but the magnitude is small and does not affect the overall stability of the inversion. Observing the inversion results without constraint terms, we observed that the oscillations of the amplitude factor M , fault dip angle θ , and fault origin x 0 are more pronounced, indicating that these three parameters are less stable during the inversion process due to the non-uniqueness of gravity inversion. The top center depth z and bottom center depth w of the fault are relatively stable and show a certain correlation. When z undergoes an abrupt change, w also changes abruptly. An interesting observation is that, when z and w change abruptly, the RMS error increases, suggesting that z and w have a greater impact on accuracy, which aligns with the results of the parameter sensitivity test in Section 4.2.
In this section, we first compared the effects of different inertia weight reduction methods in the C-AWPSO algorithm and chose the linearly decreasing method, which strikes a good balance between convergence efficiency and accuracy. Next, we analyzed the sensitivity of five fault parameters. The results showed that parameters z and w had the highest sensitivity, and their inversion results would be relatively stable. Given the large number of parameters involved in the constraint terms, we also conducted tests to select appropriate regularization factors and penalty coefficients. Finally, we verified the impact of the constraint terms added to the objective function on inversion. The results indicated that inversion results with constraint terms were significantly more stable than those without. These experiments fully demonstrate that the C-AWPSO algorithm can yield accurate fault depth information when applied to practical fault inversion. After introducing constraint terms, the instability in the fault dip inversion results is notably improved. Therefore, the C-AWPSO algorithm is feasible and robust for fault parameter inversion.

5. Conclusions

To address issues like the non-uniqueness of solutions in fault parameter inversion using gravity data, this study proposed a Constrained Adaptive Weighted Particle Swarm Optimization (C-AWPSO) algorithm. A series of experiments were conducted to verify the feasibility of this algorithm in fault parameter inversion, and the main conclusions are summarized as follows:
  • Compared with traditional optimization algorithms, simulation experiments demonstrate that the C-AWPSO algorithm exhibits better noise resistance. In real-world cases, when compared with previous studies, the C-AWPSO algorithm yields higher accuracy in predicting gravity anomalies for fault profiles, with an improvement of at least 64.4%. Its forward gravity anomaly also more closely matches the observed gravity anomalies.
  • Among inertia weight reduction methods, the linearly decreasing method performs more stably, balancing convergence efficiency and the ability to search for global optimal solutions. Therefore, this study selects the linearly decreasing method as the adaptive strategy for inertia weight adjustment.
  • Among the five parameters to be solved, the top-layer center depth ( z ) and bottom-layer center depth ( w ) of the fault show higher sensitivity. This implies that inversion results for z and w will be more stable, facilitating the determination of fault depth information.
  • Inversion results with constraint terms are significantly more stable than those without. During inversion, z and w have a greater impact on the RMS error.

Author Contributions

Conceptualization, S.S.; methodology, S.S.; software, H.Y. and J.L.; validation, S.S.; formal analysis, S.S.; investigation, F.Z. and J.L.; resources, S.S.; data curation, H.Y. and J.L.; writing—original draft preparation, C.X. and S.S.; writing—review and editing, C.X.; visualization, S.S.; supervision, C.X.; project administration, C.X.; funding acquisition, C.X. and H.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Key Research and Development Program of China (Grant no. 2024YFC2813304), Open Research Fund Program of State Key Laboratory of Marine Mineral Resources, Ministry of Natural Resources (Grant no. KLMMR-2024-G04), National Natural Science Foundation of China (Grant no. 42274004), and Open Fund of National Precise Gravity measurement Facility, Huazhong University of Science and Technology (Grant no. PGMF-2024-P011).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article; further inquiries can be directed to the corresponding author.

Acknowledgments

Thank you to the editorial department and the reviewers for their revision suggestions, which have been of great help in improving the article.

Conflicts of Interest

The authors decare no conflicts of interest.

References

  1. Li, Y.; Chen, S.; Li, H.; Zhang, B. Bayesian Estimation of Parameters and Uncertainty of a 3-D Dipping Fault Using Gravity Anomalies. Geophys. J. Int. 2023, 235, 2482–2498. [Google Scholar] [CrossRef]
  2. Gibson, D.; Spann, M.; Turner, J.; Wright, T. Fault Surface Detection in 3-D Seismic Data. IEEE Trans. Geosci. Remote Sens. 2005, 43, 2094–2102. [Google Scholar] [CrossRef]
  3. Cohen, I.; Coult, N.; Vassiliou, A.A. Detection and Extraction of Fault Surfaces in 3D Seismic Data. Geophysics 2006, 71, P21–P27. [Google Scholar] [CrossRef]
  4. Mehanee, S.A.; Heinson, G. Gravity Data Inversion by a Faulted 2-D Horizontal Block of Arbitrary Thickness with Application to Crustal Imaging. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5900521. [Google Scholar] [CrossRef]
  5. Abdelrahman, E.M.; Essa, K.S.; Abo-Ezz, E.R. A Least-Squares Window Curves Method to Interpret Gravity Data Due to Dipping Faults. J. Geophys. Eng. 2013, 10, 025003. [Google Scholar] [CrossRef]
  6. Abdelrahman, E.M.; Essa, K.S. Three Least-Squares Minimization Approaches to Interpret Gravity Data Due to Dipping Faults. Pure Appl. Geophys. 2015, 172, 427–438. [Google Scholar] [CrossRef]
  7. Essa, K.S. Gravity Interpretation of Dipping Faults Using the Variance Analysis Method. J. Geophys. Eng. 2013, 10, 015003. [Google Scholar] [CrossRef]
  8. Uzun, S.; Jekeli, C. Comparison of Least-Squares and Simulated Annealing to Estimate Fault Parameters from Airborne Gravity Gradiometry. Stud. Geophys. Geod. 2015, 59, 21–50. [Google Scholar] [CrossRef]
  9. Elhussein, M. New Inversion Approach for Interpreting Gravity Data Caused by Dipping Faults. Earth Space Sci. 2021, 8, e2020EA001075. [Google Scholar] [CrossRef]
  10. Essa, K.S. Evaluation of the Parameters of the Fault-like Geologic Structure from the Gravity Anomalies Applying the Particle Swarm. Environ. Earth Sci. 2021, 80, 489. [Google Scholar] [CrossRef]
  11. Roy, A.; Kumar, T.S. Gravity Inversion of 2D Fault Having Variable Density Contrast Using Particle Swarm Optimization. Geophys. Prospect. 2021, 69, 1358–1374. [Google Scholar] [CrossRef]
  12. Shi, Y.; Eberhart, R.C. Parameter Selection in Particle Swarm Optimization. In Evolutionary Programming VII; Porto, V.W., Saravanan, N., Waagen, D., Eiben, A.E., Eds.; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 1998; Volume 1447, pp. 591–600. ISBN 978-3-540-64891-8. [Google Scholar]
  13. Ratnaweera, A.; Halgamuge, S.K.; Watson, H.C. Self-Organizing Hierarchical Particle Swarm Optimizer with Time-Varying Acceleration Coefficients. IEEE Trans. Evol. Comput. 2004, 8, 240–255. [Google Scholar] [CrossRef]
  14. Zhan, Z.-H.; Zhang, J.; Li, Y.; Chung, H.S.-H. Adaptive Particle Swarm Optimization. IEEE Trans. Syst. Man Cybern. Part B-Cybern. 2009, 39, 1362–1381. [Google Scholar] [CrossRef] [PubMed]
  15. Tang, Y.; Wang, Z.; Fang, J. Parameters Identification of Unknown Delayed Genetic Regulatory Networks by a Switching Particle Swarm Optimization Algorithm. Expert Syst. Appl. 2011, 38, 2523–2535. [Google Scholar] [CrossRef]
  16. Liu, W.; Wang, Z.; Yuan, Y.; Zeng, N.; Hone, K.; Liu, X. A Novel Sigmoid-Function-Based Adaptive Weighted Particle Swarm Optimizer. IEEE Trans. Cybern. 2021, 51, 1085–1093. [Google Scholar] [CrossRef] [PubMed]
  17. Abdelrahman, E.-S.; Gobashy, M.; Abo-Ezz, E.; El-Araby, T. A New Method for Complete Quantitative Interpretation of Gravity Data Due to Dipping Faults. Contrib. Geophys. Geod. 2019, 49, 133–151. [Google Scholar] [CrossRef]
  18. Eberhart, R.; Kennedy, J. A New Optimizer Using Particle Swarm Theory. In Proceedings of the Sixth International Symposium on Micro Machine and Human Science, Nagoya, Japan, 4–6 October 1995. [Google Scholar]
  19. Essa, K.S.; Elhussein, M.; Essa, K.S.; Elhussein, M. Gravity Data Interpretation Using Different New Algorithms: A Comparative Study. In Gravity—Geoscience Applications, Industrial Technology and Quantum Aspect; IntechOpen: London, UK, 2018; ISBN 978-953-51-3824-2. [Google Scholar]
  20. Parsopoulos, K.E.; Vrahatis, M.N. Recent Approaches to Global Optimization Problems through Particle Swarm Optimization. Nat. Comput. 2002, 1, 235–306. [Google Scholar] [CrossRef]
  21. Shi, Y.; Eberhart, R.C. Empirical Study of Particle Swarm Optimization. In Proceedings of the 1999 Congress on Evolutionary Computation-CEC99 (Cat. No. 99TH8406), Washington, DC, USA, 6–9 July 1999; pp. 1945–1950. [Google Scholar]
  22. Bansal, J.C.; Singh, P.K.; Saraswat, M.; Verma, A.; Jadon, S.S.; Abraham, A. Inertia Weight Strategies in Particle Swarm Optimization. In Proceedings of the 2011 Third World Congress on Nature and Biologically Inspired Computing, Salamanca, Spain, 19–21 October 2011; pp. 633–640. [Google Scholar]
  23. Zhang, X.; Wang, P.; Xing, J.; Yang, Q. Particle Swarm Optimization Algorithms with Decreasinginertia Weight Based on Gaussian Function. Appl. Res. Comput. 2012, 29, 3710–3712, 3724. [Google Scholar]
  24. Poli, R. Analysis of the Publications on the Applications of Particle Swarm Optimisation. J. Artif. Evol. Appl. 2008, 2008, 685175. [Google Scholar] [CrossRef]
Figure 1. A noise free gravity anomaly due to dipping fault model ( M = 150   m G a l , z = 6   m , θ = 45 ° , w = 12   m , x 0 = 0   m ). The predicted anomaly is also displayed.
Figure 1. A noise free gravity anomaly due to dipping fault model ( M = 150   m G a l , z = 6   m , θ = 45 ° , w = 12   m , x 0 = 0   m ). The predicted anomaly is also displayed.
Applsci 15 08382 g001
Figure 2. Comparison of the noisy synthetic anomalies and predicted anomalies of the inclined faulted layer model ( M = 150   m G a l , z = 6   m , θ = 45 ° , w = 12   m , x 0 = 0   m ) contaminated by random noise at levels of 5% (a), 10% (b), and 15% (c).
Figure 2. Comparison of the noisy synthetic anomalies and predicted anomalies of the inclined faulted layer model ( M = 150   m G a l , z = 6   m , θ = 45 ° , w = 12   m , x 0 = 0   m ) contaminated by random noise at levels of 5% (a), 10% (b), and 15% (c).
Applsci 15 08382 g002
Figure 3. Comparison of the gravity anomalies and predicted gravity anomalies of the inclined faulted layer model ( M = 15   m G a l , z = 5   m , θ = 30 ° , w = 15   m , x 0 = 5   m ) under noise-free conditions (a), 5% noise (b), 10% noise (c), and 15% noise (d).
Figure 3. Comparison of the gravity anomalies and predicted gravity anomalies of the inclined faulted layer model ( M = 15   m G a l , z = 5   m , θ = 30 ° , w = 15   m , x 0 = 5   m ) under noise-free conditions (a), 5% noise (b), 10% noise (c), and 15% noise (d).
Applsci 15 08382 g003
Figure 4. The Gazelle Fault anomalies predicted by the C-AWPSO algorithm are compared with the previous results [6,9,17].
Figure 4. The Gazelle Fault anomalies predicted by the C-AWPSO algorithm are compared with the previous results [6,9,17].
Applsci 15 08382 g004
Figure 5. The fitness convergence curves of different methods with decreasing inertia weights. (a) 5% noise, (b) 10% noise, (c) 15% noise.
Figure 5. The fitness convergence curves of different methods with decreasing inertia weights. (a) 5% noise, (b) 10% noise, (c) 15% noise.
Applsci 15 08382 g005
Figure 6. The normalized sensitivity of each parameter.
Figure 6. The normalized sensitivity of each parameter.
Applsci 15 08382 g006
Figure 7. Bayesian optimization process.
Figure 7. Bayesian optimization process.
Applsci 15 08382 g007
Figure 8. Process of penalty coefficient selection.
Figure 8. Process of penalty coefficient selection.
Applsci 15 08382 g008
Figure 9. Comparison of inversion results under conditions with and without constraints. (a) The comparison result of M ; (b) The comparison result of z ; (c) The comparison result of θ ; (d) The comparison result of w ; (e) The comparison result of x 0 ; (f) The comparison result of RMS.
Figure 9. Comparison of inversion results under conditions with and without constraints. (a) The comparison result of M ; (b) The comparison result of z ; (c) The comparison result of θ ; (d) The comparison result of w ; (e) The comparison result of x 0 ; (f) The comparison result of RMS.
Applsci 15 08382 g009
Table 1. Inversion numerical results of noise-free gravity anomaly sections.
Table 1. Inversion numerical results of noise-free gravity anomaly sections.
ParametersUsed RangesMahmoud Elhussein (2021) [9]e (%)RMS
(mGal)
C-AWPSO Methode (%)RMS
(mGal)
M (mGal)50–2001500015000
z (m)1–960 60
θ (°)10–60450 450
w (m)7–15120 120
x 0 (m)−5 to 50--- 0---
Table 2. Inversion numerical results of gravity anomaly sections contaminated with 5% random noise.
Table 2. Inversion numerical results of gravity anomaly sections contaminated with 5% random noise.
ParametersUsed RangesMahmoud Elhussein (2021) [9]e (%)RMS
(mGal)
C-AWPSO Methode (%)RMS
(mGal)
M (mGal)50–200161.27.476.26150.020.012.21
z (m)1–95.75 5.960.67
θ (°)10–6042.345.91 44.351.44
w (m)7–1511.35.83 11.841.33
x 0 (m)−5 to 5−0.04--- −0.05---
Table 3. Inversion numerical results of gravity anomaly sections contaminated with 10% random noise.
Table 3. Inversion numerical results of gravity anomaly sections contaminated with 10% random noise.
ParametersUsed RangesMahmoud Elhussein (2021) [9]e (%)RMS
(mGal)
C-AWPSO Methode (%)RMS
(mGal)
M (mGal)50–200140.46.412.30149.860.094.25
z (m)1–96.23.33 6.061
θ (°)10–6046.763.91 44.131.93
w (m)7–1512.21.67 12.060.5
x 0 (m)−5 to 5−0.48--- 0.03---
Table 4. Inversion numerical results of gravity anomaly sections contaminated with 15% random noise.
Table 4. Inversion numerical results of gravity anomaly sections contaminated with 15% random noise.
ParametersUsed RangesMahmoud Elhussein (2021) [9]e (%)RMS
(mGal)
C-AWPSO Methode (%)RMS
(mGal)
M (mGal)50–200142.25.1321.51149.740.176.98
z (m)1–95.213.33 6.132.17
θ (°)10–6054.1020.22 44.740.58
w (m)7–1512.32.5 12.070.58
x 0 (m)−5 to 5−0.91--- 0.2---
Table 5. Inversion numerical results of the testing model (in the absence of noise, both the RMS error and the error rate are 0, so they are not displayed).
Table 5. Inversion numerical results of the testing model (in the absence of noise, both the RMS error and the error rate are 0, so they are not displayed).
ParametersUsed Ranges5% Noisee (%)10% Noisee (%)15% Noisee (%)
M (mGal)0–10014.990.0714.960.2715.050.33
z (m)0–104.882.45.183.64.843.2
θ (°)0–9029.990.0330.581.9329.302.33
w (m)10–2014.811.2715.221.4714.562.93
x 0 (m)−10 to 104.666.85.295.84.539.4
RMS (mGal) 0.41 0.94 1.52
Table 6. Result comparison.
Table 6. Result comparison.
ParametersAbdelrahman and Essa’s Method (2015) [6]Abdelrahman et al. Method (2019) [17]Mahmoud Elhussein (2021) [9]C-AWPSO Method
M (mGal)2.419.4215.719.18
z (m)202.26162178.4153.6
θ (°)57.746561.888.5
w (m)---315331.5560.53
x 0 (m)------−0.544.99
RMS (mGal)4.575.391.910.68
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.

Share and Cite

MDPI and ACS Style

Su, S.; Liang, J.; Xu, C.; Zhang, F.; Yu, H. Constrained Adaptive Weighted Particle Swarm Optimization (C-AWPSO) Algorithm for Dipping Fault Parameter Inversion. Appl. Sci. 2025, 15, 8382. https://doi.org/10.3390/app15158382

AMA Style

Su S, Liang J, Xu C, Zhang F, Yu H. Constrained Adaptive Weighted Particle Swarm Optimization (C-AWPSO) Algorithm for Dipping Fault Parameter Inversion. Applied Sciences. 2025; 15(15):8382. https://doi.org/10.3390/app15158382

Chicago/Turabian Style

Su, Shiquan, Juntao Liang, Chuang Xu, Feiyu Zhang, and Hangtao Yu. 2025. "Constrained Adaptive Weighted Particle Swarm Optimization (C-AWPSO) Algorithm for Dipping Fault Parameter Inversion" Applied Sciences 15, no. 15: 8382. https://doi.org/10.3390/app15158382

APA Style

Su, S., Liang, J., Xu, C., Zhang, F., & Yu, H. (2025). Constrained Adaptive Weighted Particle Swarm Optimization (C-AWPSO) Algorithm for Dipping Fault Parameter Inversion. Applied Sciences, 15(15), 8382. https://doi.org/10.3390/app15158382

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop