Next Article in Journal
Impact of New Combined Treatment Method on the Mechanical Properties and Microstructure of MICP-Improved Sand
Previous Article in Journal
Influence of Temperature Effects on CPT in Granular Soils by Discrete Element Modeling in 3D
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Accurately Predicting Quartz Sand Thermal Conductivity Using Machine Learning and Grey-Box AI Models

by
Abolfazl Baghbani
1,*,
Hossam Abuel-Naga
2,* and
Danial Shirkavand
3
1
School of Engineering, Deakin University, Melbourne, VIC 3125, Australia
2
Department of Civil Engineering, La Trobe University, Melbourne, VIC 3086, Australia
3
Department of Civil Engineering, Amirkabir University of Technology, Tehran 15875-4413, Iran
*
Authors to whom correspondence should be addressed.
Geotechnics 2023, 3(3), 638-660; https://doi.org/10.3390/geotechnics3030035
Submission received: 23 May 2023 / Revised: 30 June 2023 / Accepted: 3 July 2023 / Published: 7 July 2023

Abstract

:
The thermal conductivity of materials is a crucial property with diverse applications, particularly in engineering. Understanding soil thermal conductivity is crucial for designing efficient geothermal systems, predicting soil temperatures, and assessing soil contamination. This paper aimed to predict quartz sand thermal conductivity by using four mathematical models: multiple linear regression (MLR), artificial neural network (ANN), classification and regression random forest (CRRF), and genetic programming (GP). A grey-box AI method, GP, was used for the first time in this topic. Seven inputs affecting thermal conductivity were evaluated in the study, including sand porosity, degree of saturation, coefficient of uniformity, coefficient of curvature, mean particle size, and minimum and maximum void ratios. In predicting thermal conductivity, the MLR model performed poorly, with a coefficient of determination R2 = 0.737 and a mean absolute error MAE = 0.300. Both ANN models using the Levenberg–Marquardt algorithm and the Bayesian Regularization (BR) algorithm outperformed the MLR model with an accuracy of R2 = 0.916 and an error of MAE = 0.151. In addition, the CRRF model had the best accuracy of R2 = 0.993 and MAE = 0.045. In addition, GP showed acceptable performance in predicting sand thermal conductivity. The R2 and MAE values of GP were 0.986 and 0.063, respectively. This paper presents the best GP equation for evaluating other databases. Additionally, the porosity and saturation of the sand were found to have the greatest impact on the model results, while coefficients of curvature and uniformity had the least influence. Overall, the results of this study demonstrate that grey-box artificial intelligence models can be used to accurately predict quartz sand thermal conductivity.

1. Introduction

The thermal conductivity of soil is a significant physical characteristic that illustrates its capacity to conduct heat [1]. It affects the rate of heat transfer between the soil and the atmosphere, which in turn influences a wide range of soil processes, such as plant growth, water movement, and microbial activity [2]. The thermal conductivity of soil is influenced by factors such as composition, density, moisture content, and temperature [3]. Therefore, accurate measurement and prediction of soil thermal conductivity are crucial for many fields of science, such as agronomy, geology, environmental science, and engineering.
Soil thermal conductivity plays a significant role in geothermal heat production, particularly in geothermal reservoirs and fractured reservoirs. The thermal conductivity of the soil determines its ability to transfer heat and affects the efficiency of heat extraction from the subsurface. In geothermal reservoirs, where a high-temperature fluid is present, a higher soil thermal conductivity allows for better heat transfer and enhances the productivity of the reservoir. Similarly, in fractured reservoirs, where heat exchange occurs through permeable fractures, soil thermal conductivity influences the rate at which heat is conducted between the fractures and the surrounding soil. Understanding and optimizing soil thermal conductivity is crucial for effective geothermal heat extraction, as it directly impacts the overall performance and feasibility of geothermal energy systems [4,5,6,7,8].
Various methods have been developed for measuring soil thermal conductivity, including laboratory-based and in situ approaches. Laboratory-based methods involve heating or cooling a soil sample and measuring its temperature change over time to determine its thermal conductivity [9]. In situ methods, on the other hand, involve inserting thermal sensors into the soil and measuring the temperature gradient over a period of time [10]. While both methods can provide accurate measurements, they are time-consuming, labor-intensive, and costly. Therefore, there is a strong demand for the development of accurate and efficient predictive models for soil thermal conductivity.
Furthermore, several theoretical models were proposed by researchers. According to research by Wiener [11], porous media exhibit both upper and lower limits of thermal conductivity. The lower limit is achieved when the components are arranged in series, while the upper limit is attained when the components are arranged in parallel. Equations (1) and (2) can be used to express the effective thermal conductivities of these arrangements, respectively. These limits, known as the Wiener bounds, remain constant and do not depend on the pore structure of the medium. Equations (1) and (2) correspond to the lower and upper Wiener bounds and are expressed by λWL and λWU, respectively.
λ = λWL = [Σϕαα]−1 (Series),
λ = λWU = Σϕαα (Parallel),
where ϕα and λα are the volume fraction and thermal conductivity of the α phase, respectively.
In another model, using the thermal probe method, Chen [12] conducted laboratory experiments to determine the thermal conductivities of four different types of quartz sands. Chen [12] observed that there was a linear correlation between the logarithm of the measured thermal conductivity and the porosity of the sands. Furthermore, the slope of this linear trend was affected by the degree of saturation. To model the experimental data, Chen employed an exponential function, which yielded the thermal conductivity model expressed in Equation (3). Chen [12] also proposed empirical coefficients for this model, with suggested values of 0.0022 and 0.78 for quartz sands, respectively.
λ = λwatern · λsolid1−n [(1 − b) Sr + b]cn,
There have been several models [13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35] proposed for predicting the thermal conductivity of soils. However, empirical and theoretical models can have limitations in the number of input parameters, which can decrease their accuracy and applicability.
Machine learning is a subset of artificial intelligence that involves the development of algorithms that can learn from data and make predictions or decisions based on that learning. Machine learning has been widely applied in many fields of science and engineering, including geotechnical engineering. Several studies have demonstrated the effectiveness of machine learning in predicting various properties in geotechnics, such as soil dynamics [36,37,38,39,40,41,42,43,44], slope stability, and soil cracking [45,46,47,48,49,50,51,52]. A comprehensive study has not yet been presented on the use of artificial intelligence models to predict the thermal conductivity of sand.
AI methods are used in the literature to predict the thermal conductivity of soils. Li et al. [53] compiled a large database of soil thermal conductivity data from various sources and employed six machine learning algorithms for prediction. Among these algorithms, AdaBoost performed the best, providing accurate predictions with minimal error (RMSE = 0.099). The findings highlight the potential of machine learning to accurately estimate soil thermal conductivity when sufficient data is available [53]. In another study, Kardani et al. [54] proposed hybrid computational models combining optimization algorithms and machine learning techniques to accurately predict the thermal conductivity of unsaturated soils. The best-performing model, ELM-IFF, achieved high accuracy and can be used in the initial stages of engineering projects for fast thermal conductivity determination. The proposed models show potential as alternatives to empirical models and offer improved predictive performance [54]. Furthermore, Li et al. [55] addressed the challenge of accurately predicting soil thermal conductivity by establishing a comprehensive database and utilizing an artificial neural network model. The results demonstrate strong correlations between thermal conductivity and factors such as saturation, porosity, and density. The proposed machine learning model outperforms existing models and provides a unified approach for estimating soil thermal conductivity [55].
AI algorithms have been viewed skeptically for material characterization and design due to doubts about the reliability of their complex models [56]. The lack of transparency and knowledge extraction processes in AI-based models presents a significant challenge. According to Figure 1, mathematical modeling techniques can be classified as white-box, black-box, or grey-box, depending on their level of transparency [57]. White-box models rely on first principles and offer an explanation of a system’s underlying physical relationships. Black-box models, on the other hand, do not provide any feasible structure for the model. Grey-box models identify patterns in the data and provide a mathematical structure for the model. Although artificial neural networks (ANN) are a popular black-box modeling technique used in engineering, their weight and bias representations do not provide details about the derived relationships. Genetic programming (GP), a newer grey-box modeling technique, uses an evolutionary process to develop explicit prediction functions, which makes it more transparent than other machine learning methods, especially black-box methods such as ANN and classification and regression random forest (CRRF). GP’s mathematical structures can be leveraged to gain crucial insights into the system’s performance. GP models have shown promising results in terms of accuracy and efficiency.
This study utilized four different mathematical models, including a multiple linear regression (MLR) model as a statistical model, two black-box artificial intelligence models—the classic artificial neural network (ANN), which is the most commonly used AI model in geotechnical engineering, and the classification and regression random forest (CRRF), a more recent model. Additionally, a grey-box AI method, the genetic programming (GP) method, was employed for the first time for predicting thermal conductivity. Subsequently, the importance of input parameters was assessed, and a sensitivity analysis was conducted. While the cost of measuring thermal conductivity in a laboratory setting is typically not high compared to other parameters in the equation, the focus of this study was to demonstrate an alternative approach. The objective was to explore the possibility of calculating thermal conductivity using common geotechnical parameters, without the need for a separate thermal conductivity test. By leveraging readily available data and utilizing established geotechnical parameters, this research aimed to provide a cost-effective method for estimating thermal conductivity.

2. Database Collection and Processing

This study uses an 80-laboratory database originally studied by Chen [12] that examined the impact of porosity and degree of saturation on the thermal conductivity of sands. Chen [12] conducted a series of tests utilizing a laboratory thermal probe to gather the data. The collected database is represented as three-dimensional diagrams in Figure 2.
The present database comprises seven inputs, featuring measurements of degree of saturation, porosity, maximum and minimum porosity, mean or average particle size (D50), coefficient of curvature (Cc), and uniformity coefficient (Cu), with soil thermal conductivity as the output variable. Notably, this database represents one of the largest databases of laboratory-derived soil thermal conductivity measurements in the literature, characterized by a substantial number of entries.
As depicted in Figure 3, the influence of soil saturation and porosity on the coefficient of soil thermal conductivity is demonstrated. The findings indicate that an increase in the degree of soil saturation is associated with an elevation in the coefficient of thermal conductivity. It may be due to the fact that water has a higher thermal conductivity than air, and therefore, the presence of water in the soil can enhance thermal conductivity of the soil. As the degree of soil saturation increases, the proportion of water in the soil also increases, resulting in an increase in soil thermal conductivity. On the other hand, the decrease in soil thermal conductivity with increasing soil porosity could be attributed to the fact that air has a lower thermal conductivity than solid materials such as soil particles. Therefore, the presence of air in the soil can decrease its thermal conductivity. As soil porosity increases, the proportion of voids in the soil also increases, leading to a decrease in soil thermal conductivity.
To effectively demonstrate the impact of porosity on thermal conductivity, Figure 4 presents the variation of porosity across different degrees of saturation for a sand sample in a study by Chen [12]. According to Figure 4, under similar conditions, an increase in the porosity results in a decrease in the sand’s thermal conductivity.
Table 1 presents the statistical characteristics of the database used in this study, including minimum, maximum, and mean values for both inputs and outputs. These descriptive statistics provide useful insights into the distribution and characteristics of the data, which can inform model selection and optimization efforts in subsequent analyses.
It is worth mentioning that for the computation of Cc and Cu values, the particle size distribution graphs presented in Chen’s [12] study were utilized to extract the corresponding D10, D30, D50, and D60 values. Subsequently, Equations (4) and (5) were employed to calculate the Cc and Cu values.
Cu = D60/D10
C c = D 30 2 / ( D 60   ×   D 10 )

2.1. Outliers

In a random sample, an outlier is defined as an observation that significantly deviates from the other values, leaving the determination of abnormality to the analyst’s discretion. Detecting abnormal observations is a crucial step in statistical analysis and is accomplished by first characterizing normal observations. The overall shape of the graphed data is examined, and unusual observations that are considerably far from the bulk of the data, referred to as outliers, are identified. Two graphical techniques used to identify outliers are scatter plots and box plots, with the latter using the median, lower quartile, and upper quartile to display the behavior of data in the middle and at the ends of distributions. Additionally, box plots employ fences to identify extreme values in the distribution tails, where points beyond an inner fence are mild outliers and those beyond an outer fence are extreme outliers.
In this study, a dataset consisting of 80 observations was considered, and a box plot was employed to identify outliers. The process involves computing the median, lower quartile, upper quartile, and interquartile range, and then calculating the lower and upper fences. Based on the computed fences and the data in Figure 5, no point that exceeds the extreme values is identified.

2.2. Testing and Training Databases

The database used in the study was partitioned into two distinct categories, namely training and testing databases. To accomplish this, a random selection process was employed to allocate 80% of the data to the training database and the remaining 20% to the testing database. Table 2 and Table 3 present a comprehensive overview of the statistical characteristics of various parameters, such as minimum, maximum, and average values for the training and test databases, respectively.
The results of the statistical analysis indicate that the characteristics of the two databases are similar, which suggests that the data used for training the artificial intelligence model is representative of the data used for testing the model. This similarity in statistical properties between the training and test databases is likely to enhance the accuracy and robustness of the model developed. The findings from this study imply that the use of representative and well-characterized data is crucial for developing effective and reliable artificial intelligence models.

2.3. Linear Normalizations

In the context of a database, individual input or output variables are associated with specific units of measurement. One commonly employed approach to mitigate the influence of units and enhance the efficiency of artificial intelligence training involves normalizing the data by rescaling it to fall within a common range (e.g., between zero and one). This normalization process is accomplished by applying a linear transformation function, which is described below.
X n o r m = X X m i n X m a x X m i n
The four terms in this equation are Xmax, Xmin, X, and Xnorm, which correspond to maximum, minimum, actual, and normalized values, respectively.

3. Data-Driven Modeling

Initially, MLR models were employed to find the best model that balanced accuracy and user friendliness. Later, more advanced artificial intelligence models like ANN, CRRF, and GP were utilized. MLR also offers Pearson correlations (r) to assess the level of linearity between variables. All AI methods followed a progression from simpler models to more complex ones to improve accuracy.

3.1. Multiple Linear Regression (MLR)

MLR, or multiple linear regression, is a statistical approach used to predict an output variable based on multiple independent input variables [60]. MLR is an enhanced version of linear regression, which involves a single input variable and one output variable.
In MLR, the relationships between input and output parameters (Equation (7)) are assumed to be linear [61]. Additionally, data normalization is implemented in this method.
y = β 0 + β 1 X 1 + + β n X n + ε ,
In this equation, y is the predicted value, β0 is the y-intercept when all other parameters are 0, X1 and Xn are the first and last independent variables, β1, βn are the regression coefficients of the first and last independent variables, and  ε is the model error.
In MLR, the optimal line is determined by selecting regression coefficients that minimize the model’s error. MLR was used before ANN, CRRF, and GP models to assess the accuracy of linear regression, which is considered one of the simplest regression methods.

3.2. Artificial Neural Network (ANN)

Artificial Neural Network (ANN) is a powerful method used to model complex relationships that lack established mathematical equations. It consists of artificial neurons and is commonly employed to fit nonlinear statistical data. In ANN, the relationships between input and output parameters are determined based on the connection strength between neurons, referred to as “weight”. The network aims to optimize the weight matrix through iterative practice and adjustment, using techniques such as the back-propagation paradigm. In this study, two back-propagation algorithms, namely the Levenberg–Marquardt (LM) algorithm [62] and the Bayesian Regularization (BR) algorithm [63], were employed.
The ANN architecture comprises three main components: the input layer, hidden layer(s), and output layer. For each algorithm (LM and BR), different configurations were considered, ranging from one to five hidden layers. The transfer functions used within each neuron were log-sig and tan-sig. In this study, five different ANN architectures were modeled for each algorithm, varying the number of hidden layers. Additionally, through trial and error, each hidden layer consisted of 60 neurons, and each network was trained five times.

3.3. Classification and Regression Random Forests (CRRF)

In 2001, Breiman introduced random forest (RF) as a method based on decision trees. RF combines decision trees with bootstrap aggregation (e.g., Shapire et al. [64]) or bagging [65] to reduce errors in classification and regression tasks. Boosting, on the other hand, assigns extra weight to earlier predictions that were incorrectly predicted by applying successive trees. This results in a weighted vote for the final prediction.
Bagging involves constructing trees independently using bootstrap samples of the dataset, without relying on earlier trees for construction. The outcome is predicted through a simple majority vote. Breiman extended this concept in 2001 by introducing random forests, which introduce an additional level of randomness to bagging. Random forests construct classification or regression trees using different bootstrap samples from the data and change how the trees are constructed.
In standard trees, each node is split based on the best split among all variables. In random forests, each node is split based on a randomly selected subset of predictors at that node. Surprisingly, this approach proves to be highly effective compared to other classifiers like discriminant analysis, support vector machines, and neural networks. It is also resilient to overfitting [66]. The method is user-friendly with only two parameters: the number of random variables in a node and the number of trees in the forest. It is typically not sensitive to their values.
Considering a single tree within the forest, let us examine Ti ∈ ℝMi × Ni, where i represents the ith partition of the samples (Mi) and features (Ni). Ti is randomly selected by sampling with replacement from the original data (X ∈ ℝM × N) using a bootstrap method [67].
To split the available samples (Mi) at each node, a feature from the subset Ni is considered. The Gini Index [68] is employed to identify the optimal feature and cutoff value for splitting. Samples with values greater than the cutoff are directed to the right node (vR), while samples below the cutoff move to the left node (vL). This splitting process is repeated multiple times, leading the samples from the root node (vn) to terminal nodes, also known as terminal leaves. The terminal leaves provide predictions based on the samples contained within them.
The ensemble predictions of the random forest (Z ∈ ℝMi × Ni) are obtained by combining the results of the individual trees. For classification, the majority vote rule is typically used, while for regression problems, the results are averaged [69].
Classification :   Z i   =   mode n = 1 N t r e e s   Z n ,
Regression :   Z i = 1 N t r e e s n = 1 N t r e e s Z n ,
where  N t r e e s is the total number of trees used in the RF.

3.4. Genetic Programming (GP)

Genetic programming (GP) is a subfield of artificial intelligence and machine learning that uses evolutionary algorithms to generate computer programs. It was first proposed by John Koza in the early 1990s [70] and has since become a popular research area with many applications in various fields. GP has since been applied to a wide range of problems, including image recognition, classification, and prediction. Advantages of genetic programming include the following:
-
Flexibility: GP can be used to solve a wide range of problems in various fields, including engineering, finance, and biology.
-
Automatic programming: GP can generate computer programs automatically without human intervention, which can save time and effort.
-
Optimization: GP can optimize complex functions that are difficult to solve using traditional methods.
-
Creativity: GP can generate solutions that are unexpected and creative, which can lead to new discoveries.
Disadvantages of genetic programming include:
-
Time-consuming: GP can be computationally expensive, especially for large search spaces.
-
Lack of transparency: The generated programs can be difficult to understand and interpret, which can make it hard to validate the results.
-
Limited performance: GP can be sensitive to the choice of parameters, and it may not always find the optimal solution.
-
Overfitting: GP can generate programs that are overfitted to the training data, which may not generalize well to new data.

4. Results

Evaluating different models is crucial in the development of Artificial Intelligence (AI) systems. Statistical parameters play a key role in facilitating this assessment process. Equations (10)–(15) define these parameters, which are essential for evaluating the performance of AI models. They include Mean Absolute Error (MAE), Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Squared Logarithmic Error (MSLE), Root Mean Squared Logarithmic Error (RMSLE), and Coefficient of Determination (R2). By utilizing these parameters, researchers and developers can effectively measure and compare the performance of different AI models.
MAE = N X m X p N ,
MSE = N X m X p 2 N ,
RMSE = N X m X p 2 N
MSLE = N log 10 X m + 1 log 10 X p + 1 2 N
RMSLE = N log 10 X m + 1 log 10 X p + 1 2 N
R 2 = N X m X m ¯ X p X p ¯ N X m X m ¯ 2 N X p X p ¯ 2 2
where N = number of datasets; Xm and Xp = actual and predicted values, respectively; and  X m ¯ and  X p ¯ = average of the actual and predicted values, respectively. Ideally, the model should have R2 = 1 and MAE, MSE, RMSE, MSLE, and RMSLE values of 0.

4.1. Multiple Linear Regression (MLR)

Prior to investigating the linear model, it is essential to assess the linear correlation between the variables. Table 4 presents the Pearson correlation matrix between the input and output parameters. The findings indicate that the soil saturation degree parameter exhibits the highest Pearson coefficient value of 0.781 among the input parameters and the output parameter. Additionally, the Cu and Cc parameters show the strongest linear correlation among the input parameters, with a Pearson correlation of 0.797. These observations suggest a lack of substantial linear association between the input parameters and the output parameters.
The present investigation employed a multiple linear regression (MLR) model to examine the relationship between a dependent variable and several independent variables. The selection of the independent variables was based on their theoretical relevance and statistical significance. Prior to analysis, the model was tested for multicollinearity, and assumptions of normality, linearity, and homoscedasticity were evaluated. The performance of the best MLR in predicting thermal conductivity is illustrated in Figure 6, which displays the predicted values against the actual values. The results of the analysis reveal that the MLR model is not particularly effective in accurately predicting thermal conductivity values, as evidenced by the deviation between the predicted and actual values. These findings underscore the need for more sophisticated modeling approaches that can better capture the complex relationships between the input and output variables.
Table 5 presents the accuracy metrics of the best MLR model, which were computed to evaluate the model’s performance and validate its accuracy. These metrics provide important insights into the MLR model’s ability to capture the underlying patterns and relationships between the input and output variables. The results in Table 5 suggest that the MLR model did not perform well in predicting soil thermal conductivity, with higher values for MAE, MSE, and RMSE indicating low accuracy for both the training and testing datasets. The MSLE and RMSLE values were also relatively high, indicating that the model was not accurate in predicting the logarithm of the output variable. The R2 value was relatively high for the training dataset (0.866), indicating an almost perfect fit between the input and output variables. However, the R2 value for the testing database was lower (0.737), indicating that the MLR model’s performance was less accurate for new, unseen data.
The optimal linear equation derived from the MLR model is presented below.
λ = −0.3459 + 0.0162 × Sr − 4.4898 n + 4.7330 × nmax + 1.6763 × nmin − 9.9246 × 10−2 × D50,
The equation incorporates five input variables, namely degree of saturation (Sr), porosity (n), maximum and minimum porosity, and average size of particles. This observation implies that the remaining input variables are relatively less significant in predicting the soil thermal conductivity within the MLR model.

4.2. Artificial Neural Network (ANN)

Following the unsuccessful performance of the MLR model, the artificial neural network (ANN) method, which is a classic and widely used approach in artificial intelligence, was employed. In this regard, two distinct algorithms, namely BR and LM, with varying numbers of neurons ranging from 0 to 60, were examined. The performance of the optimal ANN model is illustrated in Figure 7, which displays the predicted values versus the actual values obtained from the experiment. The findings suggest that the ANN method outperformed the MLR method and exhibited satisfactory predictive capabilities in determining soil thermal conductivity test values. Specifically, the optimal ANN model, which comprises 14 neurons, was developed using the BR algorithm.
Table 6 presents the overall performance of the best Artificial Neural Network (ANN) model in predicting the soil thermal conductivity for both training and testing datasets. Various performance metrics were employed to evaluate the accuracy of the model. Mean Absolute Error (MAE) represents the average absolute difference between the predicted and actual values, expressed as a percentage. The values for the training dataset and testing dataset are 0.158 and 0.151, respectively. Furthermore, Mean Squared Error (MSE) represents the average squared difference between the predicted and actual values, expressed as a percentage. The values for the training dataset and testing dataset are 0.036 and 0.038, respectively. Root Mean Squared Error (RMSE) represents the square root of the average squared difference between the predicted and actual values, expressed as a percentage. The values for the training dataset and testing dataset are 0.189 and 0.195, respectively. Mean Squared Log Error (MSLE) represents the average of the squared logarithmic difference between the predicted and actual values, expressed as a percentage. The values for the training dataset and testing dataset are 0.007 and 0.007, respectively. Root Mean Squared Log Error (RMSLE) represents the square root of the average of the squared logarithmic difference between the predicted and actual values, expressed as a percentage. The values for the training dataset and testing dataset are 0.086 and 0.081, respectively. R-squared (R2) represents the coefficient of determination, which measures the proportion of variance in the dependent variable that can be explained by the independent variables. The values for the training dataset and testing dataset are 0.918 and 0.916, respectively. These results demonstrate the strong predictive capabilities of the best ANN model in determining soil thermal conductivity, as evidenced by the low values of MAE, MSE, RMSE, MSLE, and RMSLE and the high value of R2 for both the training and testing datasets.
One crucial point in ANN models pertains to determining the appropriate number of hidden layers and neurons in each layer. The analysis conducted in this study reveals that, within the range of 1 to 6 hidden layers, the optimal number of hidden layers is 3. Based on the model analysis, the ANN model’s accuracy (R2) attains its peak, and the error (MAE) rate reaches its lowest level after 19 neurons, signifying that this is the most optimal number of neurons for the given database.

4.3. Classification and Regression Random Forest (CRRF)

To obtain the most optimal CRRF model, several CRRF models were tested, and various influential parameters, such as Trees and Forest parameters, were modified. Table 7 shows the specifications of the best CRRF model. The CRRF model consists of a forest of decision trees, and the table provides information on the specific parameters used to create this forest. The table is divided into two parts: the Trees parameters and the Forest parameters. The Trees parameters describe the characteristics of the individual decision trees in the forest, while the Forest parameters describe how the forest was constructed. The Trees parameters specify the minimum node size, the minimum son size, and the maximum depth of each decision tree. The minimum node size refers to the minimum number of observations required in a node for it to be split further. The minimum son size is the minimum number of observations required in a terminal node, which is a node that does not split further. The maximum depth of a tree is the maximum number of levels that the tree can have.
The Forest parameters specify the number of variables considered for each split, the complexity parameter (CP), the sampling method, the sample size, and the number of trees in the forest. The Mtry parameter specifies the number of variables to be randomly sampled at each node for splitting. The CP parameter controls the complexity of the model, with smaller values leading to more complex models. The sampling method determines how the samples are drawn from the dataset. In this case, it is random with replacement, meaning that each observation has an equal chance of being selected for each sample. The sample size is the number of observations in each sample, and the number of trees is the total number of decision trees in the forest.
The predicted values obtained from the CRRF model versus the actual laboratory values are plotted in Figure 8. The evaluation of the results indicates that the CRRF model has achieved significantly better performance compared to both the MLR model and the ANN model.
Table 8 summarizes the performance of the best CRRF model in predicting soil thermal conductivity for both the training and testing datasets. The results indicate that the CRRF model performed well in both datasets, with low values for metrics such as MAE, MSE, RMSE, MSLE, and RMSLE, indicating good accuracy in predicting soil thermal conductivity. The high value of R2 for both datasets (0.976 for the training dataset and 0.993 for the testing dataset) suggests that a significant proportion of the variance in soil thermal conductivity can be explained by the predictors used in the model.

4.4. Genetic Programming (GP)

Another model investigated in this study is a grey-box model called genetic programming (GP). To achieve the best possible performance, various iterations of this model were tested, and the most optimal configuration was determined. Table 9 provides a summary of the critical parameters employed in the GP model. These properties include several parameters that were adjusted to achieve the best possible performance of the model in predicting the target variable.
Table 9 lists various parameters such as population size, probability of GP operations, selection method, tree structure level, random constants, and GP implementation parameters. The population size was set at 100, and the probability of GP operations was set at 0.99 for both crossover and mutation operations. The selection method used was Rank Selection, and the tour size was set at 1.6. The maximum initial tree depth and maximum tree depth for all GP operations were set at 6. Moreover, the GP model was initialized using the HalfHalf method, and the tree structure level was set to range from 0 to 1 with a count of 3. Finally, the GP implementation parameters included a brood size of 7 and a reproduction probability of 0.2. These parameters were tuned to optimize the GP model’s performance in predicting the target variable.
Based on the results obtained from the testing and training databases, Figure 9 illustrates the comparison of predicted thermal conductivity values by the GP model with the actual values. The performance of the GP model in predicting soil thermal conductivity is very satisfactory.
Table 10 illustrates the comprehensive evaluation of the top-performing genetic programming (GP) model for predicting soil thermal conductivity in both the training and testing datasets. Various metrics were utilized to assess the performance of the GP model.
For the training dataset, the GP model achieved an MAE of 0.075, an MSE of 0.008, and an RMSE of 0.088, indicating that the model had a relatively small average error in predicting soil thermal conductivity for the training dataset. The MSLE and RMSLE values were 0.002 and 0.039, respectively, indicating that the model had a good fit to the data. The R2 value of 0.982 indicates that the model explained a significant portion of the variance in the data.
Similarly, for the testing dataset, the GP model achieved an MAE of 0.063, an MSE of 0.006, and an RMSE of 0.080, indicating that the model had a relatively small average error in predicting soil thermal conductivity for the testing dataset. The MSLE and RMSLE values were 0.001 and 0.038, respectively, indicating that the model had a good fit to the data. The R2 value of 0.986 indicates that the model explained a significant portion of the variance in the data. These results suggest that the GP model performed very well in predicting soil thermal conductivity.
Fitness simulation in genetic programming involves evaluating the fitness of a set of potential solutions or individuals in the population for a specific task or problem. The fitness function is a mathematical function that gauges the effectiveness of a candidate solution in addressing the problem. It is utilized to determine the survival and reproduction of individuals in the population based on their performance. The primary aim of fitness simulation in genetic programming is to evolve a group of candidate solutions towards better fitness and ultimately achieve the optimal solution for the given problem. According to the results, after about 60 evolutions, the slope of changes is lower, and the accuracy of model is changing with the lowest changes. Therefore, the size of the population can be considered around 60. In this study, 100 was considered as an optimum size of the population.
Below is the recommended equation obtained from the GP model.
λ = (((((n + nmin + Cc + r2) × (r12 + r1 × Sr)) × (nmin − Sr + Sr2 − n)) + ((r1 × (Sr × r1 − n + Sr))) + r32)) + (((((r2 − Sr) × r3 × Sr) + Sr) − r3)3))
where Sr, n, nmin, Cc are degree of saturation, porosity, minimum of porosity, coefficient of curvature of soil. Also, the values of r1, r2 and r3 are constants and equals to 0.15355, 0.60152 and 0.81157, respectively.

5. Discussion

5.1. Result Comparison

Table 11 presents a comparative analysis of four introduced models using various metrics. The results clearly indicate that three artificial intelligence methods, ANN, CRRF and GP, outperform the statistical method, MLR. This highlights the limitations of statistical approaches in certain cases and emphasizes the necessity of employing alternative methods like artificial intelligence. Additionally, the results demonstrate that the classical artificial neural network (ANN) method performs relatively well, yet there is potential for further improvement through novel techniques. Moreover, the more advanced AI methods, namely GP and CRRF, exhibit exceptional accuracy in predicting soil thermal conductivity compared to the ANN method. While the GP method is a grey-box approach, introduces an equation that captures the underlying relationships between input variables and the output, the CRRF method is a black box artificial intelligence method which provides a structural output without explicitly revealing the underlying equations or relationships.

5.2. The Variable Importance of Input Parameters

An important aspect of artificial intelligence methods is assessing the importance of input parameters within the models. To evaluate this, the input parameters were individually modified by ±100% to observe the resulting error in the model. This analysis helps determine the sensitivity of the model to each parameter. Higher error values indicate greater sensitivity, while lower error values indicate lesser sensitivity to the parameter under consideration. Figure 10 provides a visual representation of the parameter importance analysis results for the various models.
Table 12 presents the importance of input parameters in predicting soil thermal conductivity across proposed models. The rankings of these parameters, ranging from the most influential (1) to the least influential (7), are also provided. The results highlight several possible reasons for these outcomes. Firstly, across all AI models, the degree of saturation and porosity of the soil consistently emerged as the most important parameters. This finding suggests that the soil’s moisture content and the void space available within it significantly impact its thermal conductivity. Increasing porosity leads to lower thermal conductivity, while higher water saturation within the same porosity level results in higher thermal conductivity. This relationship can be attributed to the fact that water conducts heat more efficiently than solid particles, and an increased porosity allows for greater water content within the soil. However, the multiple linear regression (MLR) model differed from the other AI models in its assessment of parameter importance. It did not prioritize the degree of saturation as the most significant factor. The contrasting results could be attributed to the MLR model’s limitations in capturing nonlinear relationships and complex interactions between variables. Consequently, it might have failed to recognize the dominant influence of degree of saturation on soil thermal conductivity, unlike the more sophisticated AI models.
Furthermore, the AI models collectively identified the parameters Cc and Cu (coefficients of curvature and uniformity, respectively) as the least important in predicting soil thermal conductivity. These parameters characterize the grain-size distribution of the soil particles. The low significance assigned to Cc and Cu suggests that variations in particle size distribution have minimal impact on thermal conductivity compared to other parameters. Other factors, such as the degree of saturation and porosity, appear to exert a more pronounced influence on the soil’s thermal conductivity.
Additionally, the parameters of maximum and minimum soil porosity, along with the average grain size (D50), held intermediate rankings in importance among the models (3, 4, and 5). This indicates that these factors have a moderate influence on soil thermal conductivity. The maximum and minimum soil porosity values reflect the upper and lower limits of void space in the soil, while the average grain size represents the typical particle size. While these parameters contribute to predicting thermal conductivity, they are not as influential as the degree of saturation and porosity.
Also, partial correlation analysis, on the other hand, used to focus on determining the relationship between two variables while controlling for the effects of other variables. It measures the correlation between two variables after removing the influence of other variables that may be correlated with both. In other words, it calculates the unique relationship between two variables by eliminating the shared variance caused by other variables. Partial correlation analysis helps in understanding the direct association between variables, independent of other potential confounding factors. Table 13 represents the results of partial correlation analysis for thermal conductivity parameter. This table confirms the results of Table 12.

5.3. Evaluation of Proposed GP Model for Unused Database in Literature

To assess the performance of the optimal artificial intelligence model, GP (Genetic Programming), a literature-based database was utilized (referred to Alrtimi [71]). This database comprised 20 experimental datasets of thermal conductivity, which were selected and predicted using the developed GP model in this study. The predicted outcomes of the GP model are presented in Figure 11 and Table 14. Notably, the results indicate that the proposed GP model achieved a remarkable prediction performance, yielding an R2 of 0.882 and an MAE of 0.157. Consequently, these findings highlight the applicability of the developed model to other databases within the purview of this research.

5.4. Limitation and Progression

This study provided valuable insights into the complex relationships between input and output variables and underscored the importance of employing sophisticated modeling approaches to enhance the prediction of soil thermal conductivity. For the first time in the literature, the researchers explored the application of a genetic programming (GP) model, a grey-box model known for its flexibility and ability to capture the complex relationships of thermal conductivity of soil. The GP model underwent multiple iterations to determine the optimal configuration.
While machine learning and grey-box AI models have shown promising results in predicting soil thermal conductivity, there are still some challenges and limitations that need to be addressed. One of the challenges is the lack of standardized protocols for measuring soil thermal conductivity. The accuracy and reliability of the predictive models depend on the quality and quantity of the data used to train them. Therefore, it is important to establish standardized protocols for measuring soil thermal conductivity, so that the models can be trained and validated using consistent and comparable data. Another challenge is the variability of soil properties. Soil thermal conductivity varies depending on the soil type, texture, structure, and composition. Therefore, the predictive models need to account for these variations to ensure their accuracy and robustness. This can be achieved by incorporating additional soil properties as input variables in the models or by developing specialized models for different soil types.
Despite these challenges, machine learning and grey-box AI models have the potential to revolutionize the prediction of soil thermal conductivity and other soil properties. These models can provide a fast, cost-effective, and non-destructive alternative to traditional measurement methods. They can also help to better understand the relationships between soil properties and processes and improve soil management practices. Therefore, further research is needed to develop and validate these models and explore their potential applications in different fields of science and engineering.

6. Conclusions

Predicting the thermal conductivity of soil is crucial for various applications, such as designing efficient geothermal systems, optimizing energy consumption in buildings, and understanding the heat transfer processes in natural environments. Accurate predictions enable informed decision-making and allow for the development of effective strategies to mitigate heat-related issues and optimize energy utilization, ultimately contributing to sustainable and energy-efficient practices. This study employed multiple linear regression (MLR), artificial neural networks (ANNs), classification and regression random forest (CRRF), and genetic programming (GP) models to predict soil thermal conductivity. The evaluation of these models was based on various statistical parameters, including Mean Absolute Error (MAE), Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Squared Logarithmic Error (MSLE), Root Mean Squared Logarithmic Error (RMSLE), and Coefficient of Determination (R2). For the Multiple Linear Regression (MLR) model, the analysis revealed that the degree of soil saturation (Sr) parameter exhibited the highest Pearson coefficient value (0.781) among the input parameters and the output parameter, indicating a strong linear correlation. In the case of the Artificial Neural Network (ANN) model, the importance of input parameters can be inferred from the performance metrics. The R2 values for both the training dataset (0.918) and testing dataset (0.916) indicate a strong correlation between the input and output variables. This suggests that all the input parameters used in the ANN model contribute significantly to predicting soil thermal conductivity. However, further analysis, such as feature importance or sensitivity analysis, can provide more specific insights into the relative importance of each input parameter.
Similarly, for the Classification and Regression Random Forest (CRRF) model, all the input parameters used in the model have contributed to accurately predicting soil thermal conductivity. The low values of MAE, MSE, RMSE, MSLE, and RMSLE, along with the high value of R2 (0.976 for the training dataset and 0.993 for the testing dataset), indicate that the CRRF model captures the relationships between the input and output variables effectively. While the specific importance of each input parameter may not be explicitly provided in the given information, the overall model performance suggests that all the parameters are significant in predicting soil thermal conductivity within the CRRF model.
Finally, the Genetic Programming (GP) model demonstrated satisfactory performance in predicting soil thermal conductivity. While the specific importance of each input parameter is not explicitly mentioned in the provided information, the overall accuracy of the GP model suggests that all the parameters included in the model play a crucial role in capturing the complex relationships between the input and output variables.

Author Contributions

Conceptualization, A.B. and H.A.-N.; methodology, A.B.; software, A.B.; validation, A.B., D.S. and H.A.-N.; formal analysis, A.B.; investigation, A.B.; resources, A.B.; data curation, A.B.; writing—original draft preparation, A.B. and D.S.; writing—review and editing, A.B., D.S. and H.A.-N.; visualization, A.B.; supervision, H.A.-N.; project administration, A.B.; funding acquisition, A.B., D.S. and H.A.-N. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Farouki, O.T. Thermal Properties of Soils; Cold Regions Research and Engineering Laboratory: Hanover, NH, USA, 1981. [Google Scholar]
  2. Wierenga, P.J.; Nielsen, D.R.; Horton, R.; Kies, B. Tillage effects on soil temperature and thermal conductivity. Predict. Tillage Eff. Soil Phys. Prop. Process. 1982, 44, 69–90. [Google Scholar]
  3. Shiozawa, S.; Campbell, G.S. Soil thermal conductivity. Remote Sens. Rev. 1990, 5, 301–310. [Google Scholar] [CrossRef]
  4. Mahmoodpour, S.; Singh, M.; Bär, K.; Sass, I. Thermo-hydro-mechanical modeling of an enhanced geothermal system in a fractured reservoir using carbon dioxide as heat transmission fluid-A sensitivity investigation. Energy 2022, 254, 124266. [Google Scholar] [CrossRef]
  5. Mahmoodpour, S.; Singh, M.; Turan, A.; Bär, K.; Sass, I. Simulations and global sensitivity analysis of the thermo-hydraulic-mechanical processes in a fractured geothermal reservoir. Energy 2022, 247, 123511. [Google Scholar] [CrossRef]
  6. Mahmoodpour, S.; Singh, M.; Mahyapour, R.; Tangirala, S.K.; Bär, K.; Sass, I. Numerical Simulation of Thermo-Hydro-Mechanical Processes at Soultz-sous-Forêts. Energies 2022, 15, 9285. [Google Scholar] [CrossRef]
  7. Mahmoodpour, S.; Singh, M.; Bär, K.; Sass, I. Impact of Well Placement in the Fractured Geothermal Reservoirs Based on Available Discrete Fractured System. Geosciences 2022, 12, 19. [Google Scholar] [CrossRef]
  8. Singh, M.; Mahmoodpour, S.; Ershadnia, R.; Soltanian, M.R.; Sass, I. Comparative study on heat extraction from Soultz-sous-Forêts geothermal field using supercritical carbon dioxide and water as the working fluid. Energy 2023, 266, 126388. [Google Scholar] [CrossRef]
  9. Abu-Hamdeh, N.H.; Reeder, R.C. Soil thermal conductivity effects of density, moisture, salt concentration, and organic matter. Soil Sci. Soc. Am. J. 2000, 64, 1285–1290. [Google Scholar] [CrossRef]
  10. Coolbaugh, M.F.; Sladek, C.; Faulds, J.E.; Zehner, R.E.; Oppliger, G.L. Use of rapid temperature measurements at a 2-meter depth to augment deeper temperature gradient drilling. In Proceedings of the Thirty-Second Workshop on Geothermal Reservoir Engineering, Stanford, CA, USA, 22–24 January 2007. [Google Scholar]
  11. Winterkorn, H.F. Water and its conduction in soils. Soil Sci. 1960, 89, 113. [Google Scholar] [CrossRef]
  12. Chen, S.X. Thermal conductivity of sands. Heat Mass Transf. 2008, 44, 1241–1246. [Google Scholar] [CrossRef]
  13. Tong, F.; Jing, L.; Zimmerman, R.W. An effective thermal conductivity model of geological porous media for coupled thermo-hydro-mechanical systems with multiphase flow. Int. J. Rock Mech. Min. Sci. 2009, 46, 1358–1369. [Google Scholar] [CrossRef]
  14. Smits, K.M.; Sakaki, T.; Howington, S.E.; Peters, J.F.; Illangasekare, T.H. Temperature dependence of thermal properties of sands across a wide range of temperatures (30–70 °C). Vadose Zone J. 2013, 12. [Google Scholar] [CrossRef]
  15. Johansen, O. Thermal Conductivity of Soils; Cold Regions Research and Engineering Laboratory: Hanover, NH, USA, 1977. [Google Scholar]
  16. De Vries, D.A. Thermal properties of soils. In Physics of Plant Environment; John Wiley & Sons: New York, NY, USA, 1963; pp. 210–235. [Google Scholar]
  17. Lei, H.; Bo, Y.; Wang, L.; Zhang, W. Generalized model for predicting the thermal conductivity of fine-grained soils. Geothermics 2023, 113, 102752. [Google Scholar] [CrossRef]
  18. Zhang, N.; Yu, X.; Pradhan, A.; Puppala, A.J. Thermal conductivity of quartz sands by thermo-time domain reflectometry probe and model prediction. J. Mater. Civ. Eng. 2015, 27, 04015059. [Google Scholar] [CrossRef]
  19. Gori, F. A theoretical model for predicting the effective thermal conductivity of unsaturated frozen soils. In Proceedings of the Fourth International Conference on Permafrost, Fairbanks, AK, USA, 17–22 July 1983; Volume 363. [Google Scholar]
  20. Haigh, S.K. Thermal conductivity of sands. Geotechnique 2012, 62, 617–625. [Google Scholar] [CrossRef]
  21. Huang, X.W.; Guo, J.; Li, K.Q.; Wang, Z.Z.; Wang, W. Predicting the thermal conductivity of unsaturated soils considering wetting behavior: A meso-scale study. Int. J. Heat Mass Transf. 2023, 204, 123853. [Google Scholar] [CrossRef]
  22. Kersten, M.S. Laboratory Research for the Determination of Thermal Properties of Soils; University of Minnesota: Minneapolis, MN, USA, 1949. [Google Scholar]
  23. Côté, J.; Konrad, J.M. A generalized thermal conductivity model for soils and construction materials. Can. Geotech. J. 2005, 42, 443–458. [Google Scholar] [CrossRef]
  24. Balland, V.; Arp, P.A. Modeling soil thermal conductivities over a wide range of conditions. J. Environ. Eng. Sci. 2005, 4, 549–558. [Google Scholar] [CrossRef]
  25. Lu, S.; Ren, T.; Gong, Y.; Horton, R. An improved model for predicting soil thermal conductivity from water content at room temperature. Soil Sci. Soc. Am. J. 2007, 71, 8–14. [Google Scholar] [CrossRef]
  26. Donazzi, F.; Occhini, E.; Seppi, A. Soil thermal and hydrological characteristics in designing underground cables. Proc. Inst. Electr. Eng. 1979, 126, 506–516. [Google Scholar] [CrossRef]
  27. Gangadhara Rao, M.V.B.B.; Singh, D.N. A generalized relationship to estimate thermal resistivity of soils. Can. Geotech. J. 1999, 36, 767–773. [Google Scholar] [CrossRef]
  28. Midttomme, K.; Roaldset, E. The effect of grain size on thermal conductivity of quartz sands and silts. Pet. Geosci. 1998, 4, 165–172. [Google Scholar] [CrossRef]
  29. Baghbani, A.; Abuel-Naga, H.; Shirani Faradonbeh, R.; Costa, S.; Almasoudi, R. Ultrasonic Characterization of Compacted Salty Kaolin–Sand Mixtures Under Nearly Zero Vertical Stress Using Experimental Study and Machine Learning. Geotech. Geol. Eng. 2023, 41, 2987–3012. [Google Scholar] [CrossRef]
  30. Baghbani, A.; Choudhury, T.; Samui, P.; Costa, S. Prediction of secant shear modulus and damping ratio for an extremely dilative silica sand based on machine learning techniques. Soil Dyn. Earthq. Eng. 2023, 165, 107708. [Google Scholar] [CrossRef]
  31. Baghbani, A.; Costa, S.; Choundhury, T.; Faradonbeh, R.S. Prediction of Parallel Desiccation Cracks of Clays Using a Classification and Regression Tree (CART) Technique. In Proceedings of the 8th International Symposium on Geotechnical Safety and Risk (ISGSR), Newcastle, Australia, 14–16 December 2022. [Google Scholar]
  32. Baghbani, A.; Costa, S.; Faradonbeh, R.S.; Soltani, A.; Baghbani, H. Modeling the effects of particle shape on damping ratio of dry sand by simple shear testing and artificial intelligence. Appl. Sci. 2023, 13, 4363. [Google Scholar] [CrossRef]
  33. Baghbani, A.; Choudhury, T.; Costa, S.; Reiner, J. Application of artificial intelligence in geotechnical engineering: A state-of-the-art review. Earth-Sci. Rev. 2022, 228, 103991. [Google Scholar] [CrossRef]
  34. Shirkavand, D.; Fakharian, K. A comparison of shear modulus of unsaturated sand in triaxial and simple shear tests under different strains and suctions. Eng. Geol. 2023, 315, 106972. [Google Scholar] [CrossRef]
  35. Fakharian, K.; Shirkavand, D.; Hejazi, M. A Comparison between Simple Shear and Triaxial Tests for Evaluating the Variations of G and D with Matric Suction. E3S Web Conf. 2019, 92, 07010. [Google Scholar] [CrossRef] [Green Version]
  36. Sahebzadeh, S.; Heidari, A.; Kamelnia, H.; Baghbani, A. Sustainability features of Iran’s vernacular architecture: A comparative study between the architecture of hot–arid and hot–arid–windy regions. Sustainability 2017, 9, 749. [Google Scholar] [CrossRef] [Green Version]
  37. Baghbani, A.; Nguyen, M.D.; Alnedawi, A.; Milne, N.; Baumgartl, T.; Abuel-Naga, H. Improving soil stability with alum sludge: An AI-enabled approach for accurate prediction of California Bearing Ratio. Appl. Sci. 2023, 13, 4934. [Google Scholar] [CrossRef]
  38. Baghbani, A.; Costa, S.; Lu, Y.; Soltani, A.; Abuel-Naga, H.; Samui, P. Effects of particle shape on shear modulus of sand using dynamic simple shear testing. Arab. J. Geosci. 2023, 16, 422. [Google Scholar] [CrossRef]
  39. Baghbani, A.; Costa, S.; O’Kelly, B.C.; Soltani, A.; Barzegar, M. Experimental study on cyclic simple shear behaviour of predominantly dilative silica sand. Int. J. Geotech. Eng. 2023, 17, 91–105. [Google Scholar] [CrossRef]
  40. Nguyen, M.D.; Baghbani, A.; Alnedawi, A.; Ullah, S.; Kafle, B.; Thomas, M.; Moon, E.M.; Milne, N.A. Investigation on the suitability of aluminium-based water treatment sludge as a sustainable soil replacement for road construction. Transp. Eng. 2023, 12, 100175. [Google Scholar] [CrossRef]
  41. Baghbani, A.; Daghistani, F.; Naga, H.A.; Costa, S. Development of a Support Vector Machine (SVM) and a Classification and Regression Tree (CART) to Predict the Shear Strength of Sand Rubber Mixtures. In Proceedings of the 8th International Symposium on Geotechnical Safety and Risk (ISGSR), Newcastle, Australia, 14–16 December 2022. [Google Scholar]
  42. Baghbani, A.; Costa, S.; Faradonbeh, R.S.; Soltani, A.; Baghbani, H. Experimental-AI Investigation of the Effect of Particle Shape on the Damping Ratio of Dry Sand under Simple Shear Test Loading. Preprint 2023. Available online: https://www.preprints.org/manuscript/202303.0021/v1 (accessed on 1 March 2023).
  43. Daghistani, F.; Baghbani, A.; Abuel-Naga, H.; Shirani Faradonbeh, R. Internal Friction Angle of Cohesionless Binary Mixture Sand–Granular Rubber Using Experimental Study and Machine Learning. Geosciences 2023, 13, 197. [Google Scholar] [CrossRef]
  44. Baghbani, A.; Costa, S.; Choudhury, T. Developing Mathematical Models for Predicting Cracks and Shrinkage Intensity Factor during Clay Soil Desiccation. 2023. SSRN 4408164. Available online: https://scholar.google.com.au/citations?view_op=view_citation&hl=en&user=pqu91sgAAAAJ&citation_for_view=pqu91sgAAAAJ:0KyAp5RtaNEC (accessed on 21 February 2023).
  45. Baghbani, A.; Daghistani, F.; Baghbani, H.; Kiany, K. Predicting the Strength of Recycled Glass Powder-Based Geopolymers for Improving Mechanical Behavior of Clay Soils Using Artificial Intelligence; EasyChair: Manchester, UK, 2023. [Google Scholar]
  46. Baghbani, A.; Daghistani, F.; Kiany, K.; Shalchiyan, M.M. AI-Based Prediction of Strength and Tensile Properties of Expansive Soil Stabilized with Recycled Ash and Natural Fibers; EasyChair: Manchester, UK, 2023. [Google Scholar]
  47. Baghbani, A.; Daghistani, F.; Baghbani, H.; Kiany, K.; Bazaz, J.B. Artificial Intelligence-Based Prediction of Geotechnical Impacts of Polyethylene Bottles and Polypropylene on Clayey Soil; EasyChair: Manchester, UK, 2023. [Google Scholar]
  48. Baghbani, A.; Baumgartl, T.; Filipovic, V. Effects of Wetting and Drying Cycles on Strength of Latrobe Valley Brown Coal (No. EGU23-4804). In Proceedings of the EGU General Assembly 2023, Vienna, Austria, 24–28 April 2023. [Google Scholar]
  49. Nguyen, M.D.; Baghbani, A.; Alnedawi, A.; Ullah, S.; Kafle, B.; Thomas, M.; Moon, E.M.; Milne, N.A. Experimental Study on the Suitability of Aluminium-Based Water Treatment Sludge as a Next Generation Sustainable Soil Replacement for Road Construction. SSRN 4331275. Available online: https://scholar.google.com.au/citations?view_op=view_citation&hl=en&user=pqu91sgAAAAJ&citation_for_view=pqu91sgAAAAJ:evX43VCCuoAC (accessed on 23 May 2023).
  50. Baghbani, A.; Baghbani, H. Improving Travel Time Relative Formula Using Calories Burned in Activities. In Proceedings of the 2nd International Congress on Structure, Architecture and Urban Development, Tabriz, Iran, 16–18 December 2014. [Google Scholar]
  51. Baghbani, A.; Baghbani, H.; Shalchiyan, M.M.; Kiany, K. Utilizing artificial intelligence and finite element method to simulate the effects of new tunnels on existing tunnel deformation. J. Comput. Cogn. Eng. 2022. [Google Scholar] [CrossRef]
  52. Shahin, M.A. Artificial intelligence in geotechnical engineering: Applications, modeling aspects, and future directions. In Metaheuristics in Water, Geotechnical and Transport Engineering; Elsevier: Amsterdam, The Netherlands, 2013; pp. 169–204. [Google Scholar]
  53. Li, K.Q.; Liu, Y.; Kang, Q. Estimating the thermal conductivity of soils using six machine learning algorithms. Int. Commun. Heat Mass Transf. 2022, 136, 106139. [Google Scholar] [CrossRef]
  54. Kardani, N.; Bardhan, A.; Samui, P.; Nazem, M.; Zhou, A.; Armaghani, D.J. A novel technique based on the improved firefly algorithm coupled with extreme learning machine (ELM-IFF) for predicting the thermal conductivity of soil. Eng. Comput. 2022, 38, 3321–3340. [Google Scholar] [CrossRef]
  55. Li, K.Q.; Kang, Q.; Nie, J.Y.; Huang, X.W. Artificial neural network for predicting the thermal conductivity of soils based on a systematic database. Geothermics 2022, 103, 102416. [Google Scholar] [CrossRef]
  56. Ayyub, B.M.; Klir, G.J. Uncertainty Modeling and Analysis in Engineering and the Sciences; CRC Press: New York, NY, USA, 2006. [Google Scholar]
  57. Pintelas, E.; Livieris, I.E.; Pintelas, P. A grey-box ensemble model exploiting black-box accuracy and white-box intrinsic interpretability. Algorithms 2020, 13, 17. [Google Scholar] [CrossRef] [Green Version]
  58. Zhang, Q.; Barri, K.; Jiao, P.; Salehi, H.; Alavi, A.H. Genetic programming in civil engineering: Advent, applications and future trends. Artif. Intell. Rev. 2021, 54, 1863–1885. [Google Scholar] [CrossRef]
  59. Giustolisi, O.; Doglioni, A.; Savic, D.A.; Webb, B.W. A multi-model approach to analysis of environmental phenomena. Environ. Model. Softw. 2007, 22, 674–682. [Google Scholar] [CrossRef] [Green Version]
  60. Shams, S.R.; Jahani, A.; Kalantary, S.; Moeinaddini, M.; Khorasani, N. The evaluation on artificial neural networks (ANN) and multiple linear regressions (MLR) models for predicting SO2 concentration. Urban Clim. 2021, 37, 100837. [Google Scholar] [CrossRef]
  61. Guillén-Casla, V.; Rosales-Conrado, N.; León-González, M.E.; Pérez-Arribas, L.V.; Polo-Díez, L.M. Principal component analysis (PCA) and multiple linear regression (MLR) statistical tools to evaluate the effect of E-beam irradiation on ready-to-eat food. J. Food Compos. Anal. 2011, 24, 456–464. [Google Scholar] [CrossRef]
  62. Marquardt, D.W. An algorithm for least-squares estimation of nonlinear parameters. J. Soc. Ind. Appl. Math. 1963, 11, 431–441. [Google Scholar] [CrossRef]
  63. Burden, F.; Winkler, D. Bayesian regularization of neural networks. In Artificial Neural Networks; Humana Press: Totowa, NJ, USA, 2008; pp. 23–42. [Google Scholar]
  64. Pan, W. Shrinking classification trees for bootstrap aggregation. Pattern Recognit. Lett. 1999, 20, 961–965. [Google Scholar] [CrossRef]
  65. Breiman, L. Bagging predictors. Mach. Learn. 1996, 24, 123–140. [Google Scholar] [CrossRef] [Green Version]
  66. Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Green Version]
  67. Efron, B.; Tibshirani, R.J. An Introduction to the Bootstrap; CRC Press: New York, NY, USA, 1994. [Google Scholar]
  68. Nembrini, S.; König, I.R.; Wright, M.N. The revival of the Gini importance? Bioinformatics 2018, 34, 3711–3718. [Google Scholar] [CrossRef] [Green Version]
  69. Criminisi, A.; Shotton, J.; Konukoglu, E. Decision forests: A unified framework for classification, regression, density estimation, manifold learning and semi-supervised learning. Found. Trends Comput. Graph. Vis. 2012, 7, 81–227. [Google Scholar] [CrossRef]
  70. Koza, J.R. Genetic Programming: A Paradigm for Genetically Breeding Populations of Computer Programs to Solve Problems; Stanford University, Department of Computer Science: Stanford, CA, USA, 1990; Volume 34. [Google Scholar]
  71. Alrtimi, A.; Rouainia, M.; Haigh, S. Thermal conductivity of a sandy soil. Appl. Therm. Eng. 2016, 106, 551–560. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Classification of the AI modeling techniques (adapted from Giustolisi et al. [58] and Zhang et al. [59]).
Figure 1. Classification of the AI modeling techniques (adapted from Giustolisi et al. [58] and Zhang et al. [59]).
Geotechnics 03 00035 g001
Figure 2. Distribution of the collected database.
Figure 2. Distribution of the collected database.
Geotechnics 03 00035 g002
Figure 3. Effect of (a) degree of saturation and (b) porosity on sand thermal conductivity.
Figure 3. Effect of (a) degree of saturation and (b) porosity on sand thermal conductivity.
Geotechnics 03 00035 g003
Figure 4. Effect of porosity on sand thermal conductivity for one type of sand at different degrees of saturation [12].
Figure 4. Effect of porosity on sand thermal conductivity for one type of sand at different degrees of saturation [12].
Geotechnics 03 00035 g004
Figure 5. Box plot of the output to find outliers.
Figure 5. Box plot of the output to find outliers.
Geotechnics 03 00035 g005
Figure 6. The results of MLR modeling.
Figure 6. The results of MLR modeling.
Geotechnics 03 00035 g006
Figure 7. The results of ANN modeling.
Figure 7. The results of ANN modeling.
Geotechnics 03 00035 g007
Figure 8. The results of CRRF modeling.
Figure 8. The results of CRRF modeling.
Geotechnics 03 00035 g008
Figure 9. The results of GP modeling.
Figure 9. The results of GP modeling.
Geotechnics 03 00035 g009
Figure 10. The importance analysis of input parameters for (a) MLR, (b) ANN, (c) CRRF and (d) GP model.
Figure 10. The importance analysis of input parameters for (a) MLR, (b) ANN, (c) CRRF and (d) GP model.
Geotechnics 03 00035 g010
Figure 11. The results of proposed GP for predicting the new database from Alrtimi et al. [71].
Figure 11. The results of proposed GP for predicting the new database from Alrtimi et al. [71].
Geotechnics 03 00035 g011
Table 1. Descriptive statistics for the collected database.
Table 1. Descriptive statistics for the collected database.
VariableObservationsMinimumMaximumMeanStd. Deviation
Outputλ (Wm−1K−1)800.1502.5801.2570.679
InputsSr (%)800.000100.00037.00035.947
n800.3540.5470.4590.053
Max-n800.4720.5470.5140.034
Min-n800.3540.4340.4050.033
D50 (mm)800.1300.5800.3400.161
Cc800.0401.7360.6990.706
Cu800.2673.6001.6321.361
Table 2. Descriptive statistics for the training database.
Table 2. Descriptive statistics for the training database.
VariableObservationsMinimumMaximumMeanStd. Deviation
Outputλ (Wm−1K−1)640.1502.5801.3190.667
InputsSr (%)640.000100.00039.76636.323
n640.3540.5470.4580.053
Max-n640.4720.5470.5130.033
Min-n640.3540.4340.4050.032
D50 (mm)640.1300.5800.3500.159
Cc640.0401.7360.7650.715
Cu640.2673.6001.7621.375
Table 3. Descriptive statistics for the testing database.
Table 3. Descriptive statistics for the testing database.
VariableObservationsMinimumMaximumMeanStd. Deviation
Outputλ (Wm−1K−1)160.1502.2001.0090.695
InputsSr (%)160.000100.00025.93833.177
n160.3540.5470.4650.054
Max-n160.4720.5470.5160.036
Min-n160.3540.4340.4040.037
D50 (mm)160.1300.5800.2990.166
Cc160.0401.7360.4340.619
Cu160.2673.6001.1101.209
Table 4. Pearson matrix for input and output parameters.
Table 4. Pearson matrix for input and output parameters.
SrnMax-nMin-nD50CcCuλ
Sr10.0720.0580.061−0.077−0.029−0.0370.781
n0.07210.6010.6000.1080.006−0.019−0.102
Max-n0.0580.60110.7580.164−0.120−0.1580.150
Min-n0.0610.6000.75810.1540.1400.0940.146
D50−0.0770.1080.1640.15410.3950.442−0.079
Cc−0.0290.006−0.1200.1400.39510.797−0.055
Cu−0.037−0.019−0.1580.0940.4420.7971−0.066
λ0.781−0.1020.1500.146−0.079−0.055−0.0661
Table 5. Overall performance of the best MLR model to predict the soil thermal conductivity for both training and testing datasets.
Table 5. Overall performance of the best MLR model to predict the soil thermal conductivity for both training and testing datasets.
MetricTraining DatasetTesting Dataset
MAE0.2050.300
MSE0.0590.119
RMSE0.2420.345
MSLE0.0180.044
RMSLE0.1340.210
R²0.8660.737
Table 6. Overall performance of the best ANN model to predict the soil thermal conductivity for both training and testing datasets.
Table 6. Overall performance of the best ANN model to predict the soil thermal conductivity for both training and testing datasets.
MetricTraining DatasetTesting Dataset
MAE0.1580.151
MSE0.0360.038
RMSE0.1890.195
MSLE0.0070.007
RMSLE0.0860.081
R²0.9180.916
Table 7. The specifications of the best CRRF.
Table 7. The specifications of the best CRRF.
Trees ParametersForest Parameters
Min. node sizeMin. son sizeMax depthMtryCPSamplingSample sizeNumber of trees
321320.00001Random with replacement55300
Table 8. Overall performance of the best CRRF model to predict the soil thermal conductivity for both training and testing datasets.
Table 8. Overall performance of the best CRRF model to predict the soil thermal conductivity for both training and testing datasets.
MetricTraining DatasetTesting Dataset
MAE0.0810.045
MSE0.0100.003
RMSE0.1010.056
MSLE0.0030.001
RMSLE0.0500.038
R²0.9760.993
Table 9. The properties of the optimum GP model.
Table 9. The properties of the optimum GP model.
PopulationProbability of GP OperationsSelectionTree Structure LevelRandom ConstantsGP imp. Parameters
SizeInitializationCrossoverMutationReproductionElitismMethodTour SizeMax. initialMax. operationFrom-toCountBrood size
100HalfHalf0.990.990.21Rank Selection1.6660–137
Table 10. Overall performance of the best GP model to predict the soil thermal conductivity for both training and testing datasets.
Table 10. Overall performance of the best GP model to predict the soil thermal conductivity for both training and testing datasets.
MetricTraining DatasetTesting Dataset
MAE0.0750.063
MSE0.0080.006
RMSE0.0880.080
MSLE0.0020.001
RMSLE0.0390.038
R²0.9820.986
Table 11. Results of all mathematical models to predict sand thermal conductivity for both training and testing databases.
Table 11. Results of all mathematical models to predict sand thermal conductivity for both training and testing databases.
Performance MetricsTrainingTesting
MLRANNCRRFGPMLRANNCRRFGP
MAE0.2050.1580.0810.0750.3000.1510.0450.063
MSE0.0590.0360.0100.0080.1190.0380.0030.006
RMSE0.2420.1890.1010.0880.3450.1950.0560.080
MSLE0.0180.0070.0030.0020.0440.0070.0010.001
RMSLE0.1340.0860.0500.0390.2100.0810.0380.038
R²0.8660.9180.9760.9820.7370.9160.9930.986
Table 12. Ranking results of variable importance for the proposed mathematical models.
Table 12. Ranking results of variable importance for the proposed mathematical models.
ModelInput Parameters
SrNnmaxnminD50CcCu
MLR3124576
ANN1234576
CRRF1243756
GP1243546
Total Score671314222324
Ranking1234567
Table 13. Results of partial correlation analysis for thermal conductivity.
Table 13. Results of partial correlation analysis for thermal conductivity.
Output ParameterInput Parameters
SrNnmaxnminD50CcCu
λ0.88−0.190.030.03−0.02−0.01−0.01
Table 14. Overall performance of the best GP model to predict the soil thermal conductivity for the new database from Alrtimi et al. [71].
Table 14. Overall performance of the best GP model to predict the soil thermal conductivity for the new database from Alrtimi et al. [71].
MAEMSERMSEMSLERMSLER²
0.1570.0560.2360.0090.0960.882
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

Baghbani, A.; Abuel-Naga, H.; Shirkavand, D. Accurately Predicting Quartz Sand Thermal Conductivity Using Machine Learning and Grey-Box AI Models. Geotechnics 2023, 3, 638-660. https://doi.org/10.3390/geotechnics3030035

AMA Style

Baghbani A, Abuel-Naga H, Shirkavand D. Accurately Predicting Quartz Sand Thermal Conductivity Using Machine Learning and Grey-Box AI Models. Geotechnics. 2023; 3(3):638-660. https://doi.org/10.3390/geotechnics3030035

Chicago/Turabian Style

Baghbani, Abolfazl, Hossam Abuel-Naga, and Danial Shirkavand. 2023. "Accurately Predicting Quartz Sand Thermal Conductivity Using Machine Learning and Grey-Box AI Models" Geotechnics 3, no. 3: 638-660. https://doi.org/10.3390/geotechnics3030035

Article Metrics

Back to TopTop