3.2.1. Selection of Dominant Factors
According to the principles of Grey Relational Analysis (GRA), a comparative sequence is constructed from the 10 evaluation parameters, and the Absolute Open Flow (AOF) is selected as the reference sequence to conduct sensitivity analysis between the AOF and each evaluation parameter. First, the normalized feature matrix is compared with the column vector of the target variable (AOF) to obtain the absolute difference matrix between each feature and the target variable. From this difference matrix, the global minimum and maximum values are identified. Using Equation (3), the grey relational coefficient for each feature is calculated. Then, the average of these coefficients across all samples for each feature is computed using Equation (4) to obtain the grey relational grade, which quantifies the degree of association between each feature and the AOF.
In this formula, denotes the grey relational coefficient of each evaluation factor; represents the absolute difference between the feature and the target; indicates the global minimum difference; indicates the global maximum difference; is the distinguishing coefficient, (commonly set to 0.5); denotes the relational grade of each feature; and represents the number of wells in the sample dataset.
In GRA, the distinguishing coefficient
is an important parameter that controls the resolution of the grey relational coefficient. A smaller ρ value enhances the contrast among different factors, whereas a larger ρ value weakens such differences. Therefore, to systematically evaluate the sensitivity of the GRA results to
, five commonly used values, namely 0.3, 0.4, 0.5, 0.6, and 0.7, were tested in this study. The grey relational grades between each influencing factor and AOF were recalculated under each
setting, and the corresponding variations are shown in
Figure 6. The results indicate that the absolute values of the grey relational grades vary with
. Specifically, smaller
values lead to lower relational grades and greater differentiation among factors, whereas larger ρ values produce higher relational grades and reduced contrast. Nevertheless, the ranking of the dominant factors remains highly consistent under different
settings. The six factors with the highest grey relational grades are consistently identified as permeability, average total hydrocarbon content, porosity, brittleness index, fracture toughness, and clay content. This indicates that the GRA-based identification of dominant productivity-controlling factors is not sensitive to the selection of
and has good robustness. Considering that
= 0.5 is widely used in GRA and provides a balanced discrimination between relational differences and numerical stability, this study ultimately adopted
= 0.5 for the calculation of grey relational grades. The above sensitivity analysis further confirms the reliability and stability of the selected dominant factors.
As shown in
Figure 7, the grey relational grades between the input features and AOF are ranked in descending order as follows: PER (0.7780), THA (0.7023), POR (0.6975), BI (0.6659), FT (0.6217), VSH (0.6024), UCS (0.5751), Ed (0.5676), Ud (0.5506), and IGS (0.5278). A higher grey relational grade indicates a stronger consistency between the variation trend of a given feature and that of the target variable AOF, suggesting a more significant potential influence on AOF. To balance model computational efficiency, prediction accuracy, and the representativeness of input features, features with grey relational grades greater than 0.6 were selected as the main controlling factors and used as inputs for the LightGBM model, namely PER, THA, POR, BI, FT, and VSH.
It should be noted that the correlation analysis presented in
Figure 5 mainly reflects the linear relationships between each parameter and AOF, whereas grey relational analysis focuses on measuring the similarity of variation trends among different sequences. Therefore, even if some parameters show weak linear correlations with AOF, they may still maintain high consistency with AOF in terms of variation trends, thereby resulting in relatively high grey relational grades. In other words, linear correlation analysis is more suitable for identifying monotonic linear relationships, while GRA can, to some extent, reflect the comprehensive influence of parameter variations on the target variable under nonlinear and multi-factor coupling conditions. Therefore, although VSH, BI, FT, and THA show weak linear correlations with AOF in
Figure 5, they are identified as the main controlling factors by GRA.
From a geological perspective, AOF is jointly controlled by multiple factors, including reservoir physical properties, gas-bearing characteristics, and engineering fracability, rather than being determined by a single parameter in a purely linear manner. Among these factors, THA reflects gas indications and hydrocarbon enrichment in the reservoir; BI and FT are closely related to reservoir brittleness and hydraulic fracturing effectiveness; and VSH affects pore structure, seepage capacity, and gas-bearing properties. Therefore, although these parameters may not exhibit significant simple linear relationships with AOF, they may still influence gas well productivity through their coupling effects with porosity, permeability, and mechanical parameters. The relatively high grey relational grades of THA, BI, FT, and VSH identified by GRA indicate that these parameters can effectively characterize the variation characteristics of AOF from a comprehensive trend perspective.
The threshold of 0.6 was selected based on the following considerations: On the one hand, features with grey relational grades greater than 0.6 exhibit relatively strong trend correlations with AOF and can effectively reflect the main controlling factors of AOF. On the other hand, features with grey relational grades lower than 0.6 make relatively weak contributions to the target variable. Further introducing these features may increase model complexity and introduce redundant information, thereby reducing model training efficiency. Therefore, this threshold provides a reasonable balance between retaining the main effective information and reducing redundant inputs. Meanwhile, to verify whether the selected main controlling factors can cover most of the key information influencing AOF, the regression method in LightGBM was used to predict the sweet spots of the target reservoir. The six main controlling factors selected by GRA were used as the inputs of the LightGBM model. In the LightGBM model, the contribution of each feature to the prediction results was evaluated based on the total gain produced when the feature was used as a splitting point across all trees. As shown by the cumulative contribution curve based on the LightGBM feature importance results, the cumulative contribution value continuously increases as the selected features are sequentially introduced according to their importance values in the LightGBM model. After PER, THA, POR, BI, FT, and VSH are included, the cumulative contribution rate reaches a relatively high level. In contrast, the subsequent inclusion of UCS, Ed, Ud, and IGS produces only limited improvement in the cumulative contribution rate. This indicates that the first six features can already represent the main information affecting AOF, while the additional contribution of lower-correlation features to the model results is relatively small. This result further verifies the rationality and effectiveness of using GRA to screen the main controlling factors, as shown in
Figure 8.
To further justify the selection of the grey relational grade threshold of 0.6, comparative experiments were conducted using different numbers of input features according to the GRA ranking. Specifically, the top 3, 4, 5, 6, 8, and all 10 features were separately used as inputs for the LightGBM model.
As shown in
Table 4, the model performance improves as the number of input features increases from three to six. The best performance is achieved when the top six features are used, with an MSE of 0.1765, an RMSE of 0.4201, and an R
2 of 0.9233. However, when the top eight or all ten features are included, the prediction performance does not further improve and even slightly decreases. This indicates that the lower-ranked features provide limited additional information and may introduce redundant information or noise. Therefore, the six features selected using the threshold of 0.6 provide an appropriate balance between prediction accuracy and model complexity.
To further assess the statistical stability of the GRA-based feature ranking, a bootstrap resampling analysis was performed. The original dataset was repeatedly resampled with replacement, and the grey relational grade of each factor was recalculated for each bootstrap sample.
The bootstrap mean GRA values are very close to the original GRA values for all selected factors, indicating that the calculated grey relational grades are not highly sensitive to sampling variation. In addition, the 95% confidence intervals are relatively narrow, suggesting that the GRA values remain stable under repeated resampling conditions. Among the selected factors, PER exhibits the highest bootstrap mean GRA and remains clearly separated from the other variables, confirming its dominant influence on AOF. THA and POR show comparable GRA values and consistently rank among the leading factors, while BI, FT, and VSH exhibit slightly lower but still stable grey relational grades. Overall, the bootstrap confidence intervals demonstrate that the GRA-derived feature ranking is robust under sampling variability, providing additional statistical support for the identification of PER, THA, POR, BI, FT, and VSH as the dominant input factors for the subsequent GRA-LightGBM model (see
Figure 9).