Abstract
Soil mechanical parameters, such as cohesion, internal friction angle, Young’s modulus, and density, are essential for assessing geological stability and mechanical changes. This study proposes a temporal segmentation–ensemble (Ts-E) framework for the robust interpretation of soil mechanical parameters from impact penetration responses. Firstly, laboratory and field impact penetration tests are conducted to obtain various soil condition datasets. Next, a baseline long short-term memory (LSTM) model is developed, and a replacement-based analysis is performed to characterize the temporal feature importance. Finally, the Ts-E model is constructed, and its robustness under incomplete-response and unseen-soil conditions is evaluated. Temporal feature importance characterized by the segment-wise interpretations is compared and incorporated into the ensemble decision to improve the Ts-E model. Although the baseline LSTM performs better on the complete laboratory test set, Ts-E shows advantages in the evaluated field and held-out-soil tests and maintains comparatively stable accuracy under 50% initial or final truncation of field responses. Both replacement-based and segment-wise analyses indicate that the initial and final response portions have higher temporal importance than the middle. Incorporating temporal feature importance further improves field performance, with mean absolute percentage errors below those of the original Ts-E model. These findings suggest Ts-E’s potential for application in interpreting incomplete responses and for generalization within the investigated datasets and conditions.
1. Introduction
The construction and transformation of geological and environmental engineering by humans cannot be separated from the precise assessment and characterization of the soil mechanical properties of the location. Soil mechanical parameters, such as cohesion, internal friction angle, Young’s modulus, and density, are fundamental to evaluating geological stability and environmental mechanical changes, as they characterize the physical state, shear strength, and deformation behavior of soils [1,2,3,4]. These parameters are not used to assess stability directly but serve as inputs to theoretical and numerical simulation models for stability assessment under the relevant site conditions. Accordingly, developing methods for the rapid and accurate estimation of these parameters is important for mechanical evaluation and engineering construction.
In situ penetration techniques, including static cone penetration testing [5,6,7] and dynamic penetration testing [8,9], are widely used to characterize soil mechanical properties. These techniques enable the estimation of key soil mechanical parameters from measured penetration responses, such as cone tip resistance, sleeve friction, and acceleration. However, conventional penetration tests often require heavy or specialized equipment, direct ground access, and personnel near the test site, limiting the efficiency and application in rugged, hazardous, or inaccessible terrain. To overcome these operational constraints, Li et al. [10] developed a novel impact penetration technique in which a gravity-driven penetrometer is deployed by an unmanned aerial vehicle (UAV) to record cone tip resistance and acceleration, enabling the real-time in situ interpretation of soil mechanical parameters based on the acquired measurements. By reducing dependence on ground-based equipment and on-site personnel, this technique provides a flexible approach to geotechnical investigation in areas with limited accessibility.
However, impact penetration testing records penetration responses rather than directly measuring the soil mechanical parameters. Consequently, reliable methods are required to interpret these parameters from the recorded responses. Existing interpretation methods can be broadly classified into empirical and theoretical approaches. Empirical approaches fit polynomial or other predefined functional relationships that link measured penetration responses with soil state and strength parameters [11,12,13]. Theoretical approaches establish relationships between penetration responses and soil mechanical parameters through penetration dynamics, bearing-capacity theory, or cavity-expansion theory [14,15,16]. Although empirical approaches are straightforward to implement, they often require calibration for individual sites or soil types, whereas theoretical approaches offer greater physical interpretability but rely on assumptions regarding soil behavior, boundary conditions, and penetration mechanisms.
In recent years, machine learning methods have increasingly been applied to the interpretation and inversion of soil mechanical parameters, as they provide a data-driven framework for learning the relationships directly from data, thereby reducing reliance on predefined empirical correlations and constitutive assumptions [17,18,19,20]. Among these methods, neural networks provide flexible representation learning and have been widely used for nonlinear soil-strength interpretation and parameter inversion. For example, group methods of data handling neural networks have been used to establish data-driven relationships between soil properties and engineering responses [21], while back-propagation neural networks have been employed to model nonlinear mappings between geotechnical input variables and soil strength parameters [22,23]. Transfer learning has also been introduced to improve cross-domain interpretation when labeled data from the target domain is limited [24]. Long short-term memory (LSTM) networks have been widely applied to time-series interpretation in geotechnical engineering because their gated memory mechanisms enable them to capture temporal dependencies and evolving patterns [25,26,27]. However, most existing studies lack the robustness required for widespread application because they often focus on a single set of soil conditions and fail to take incomplete data or changes in soil conditions into account, which commonly occur in engineering practice [28,29,30].
Incomplete penetration response data refer to records with missing measurements due to penetrometer malfunctions or signal transmission problems. Such data are commonly handled using data-completion approaches that fill or estimate missing observations to construct complete input sequences. For example, a gated recurrent unit with decay internally replaces missing inputs using trainable temporal decay, whereas bidirectional recurrent imputation and self-attention-based imputation for time series learn to reconstruct missing observations [31,32,33]. Although these approaches can improve interpretation performance under specific data loss conditions, the generated values may deviate from the actual responses and introduce errors into the input sequence. More recently, Wu et al. [34] proposed the end-to-end framework, which divides incomplete time series into non-overlapping patches, explicitly encodes their missing states, and preferentially drops patches with high missing rates, thereby enabling downstream analysis without a separate preliminary imputation stage. This study demonstrates the usefulness of local temporal segments in incomplete time-series analysis. Different temporal positions within a penetration response may vary in importance, reflecting their unequal contributions to soil parameter interpretation. Discarding an entire partially missing patch may therefore discard important features and reduce the accuracy of parameter interpretation, which is rarely seen in existing soil mechanics parameter interpretation research. Beyond incomplete response records, variations in soil type and field conditions may render the model ineffective. Although these models can perform well when training and test data come from similar soils or sites, their accuracy may decline when applied to unseen soils or field conditions because of domain shifts [35,36,37]. To reduce the discrepancies between different soil and field conditions, several studies have introduced transfer learning or field-data-guided calibration into geotechnical interpretation. Zhou et al. [38] combined a knowledge-based U-shaped convolutional neural network with transfer learning by pre-training the model on cone penetration test (CPT) data from multiple regions and adapting it to a specific field setting using local data. Tian et al. [39] developed a sparse-dictionary-learning method that used field monitoring data to select suitable CPT-based transformation models and reduce uncertainty in settlement interpretation. Liu et al. [40] coupled a temperature-aware finite element model with decision tree, random forest, and Gaussian process regression algorithms to account for environmental effects during soil parameter inversion. However, these studies generally require target-domain data for model fine-tuning or field-specific calibration, which may be difficult to obtain before deployment under uncertain field conditions. The related studies developed an RBF–NSGA-II interpretation framework [10] and an explainable transfer learning method [24] but did not explicitly address incomplete response data. The present study extends these works by focusing on interpretation under contiguous initial or final response truncation.
To address the above challenges, this study proposes a robust temporal segmentation–ensemble (Ts-E) framework for interpreting soil mechanical parameters from incomplete impact penetration responses and various soil conditions. It divides the available portion of an incomplete penetration response into non-overlapping temporal segments, uses a shared LSTM model to interpret the soil mechanical parameters from each segment, and then employs a clustering-based ensemble to integrate the segment-wise interpretation results and obtain the final soil parameter interpretation results. By generating multiple segment-wise training samples from each penetration record, temporal segmentation expands the effective training set, thereby alleviating model overfitting caused by limited data and improving generalization to previously unseen soil conditions (i.e., soils or in-situ conditions not represented in the training data). Under the experimental conditions investigated in this study, the proposed framework shows improved interpretation accuracy and robustness for incomplete responses and previously unseen soil conditions. The temporal importance profiles obtained using the replacement-based and segment-wise analyses show consistent overall trends and reveal the effectiveness of this framework in mining the characteristics of penetration response.
2. Materials and Methods
2.1. Ts-E Framework
The Ts-E framework comprises three sequential components: temporal segmentation of impact penetration responses, LSTM-based segment-wise interpretation model construction, and clustering-based ensemble interpretation, as illustrated in Figure 1. The specific introduction of each component is as follows.
Figure 1.
Schematic of the Ts-E framework.
2.1.1. Temporal Segmentation
The temporal segmentation strategy adopted in this study partitions each penetration response into equal-length segments. All segments extracted from a given response share the same interpretation targets because they are associated with the same set of soil mechanical parameters. Equal-length segmentation consequently produces standardized inputs of uniform size, enabling all segments to be processed by a shared LSTM model and providing a consistent basis for comparing and integrating their interpretation results. In this context, the adopted strategy represents a practical design that balances methodological simplicity with model compatibility.
The impact penetration response is represented as a sequence of paired measurements:
where X denotes the two-channel penetration response sequence, xt denotes the input vector at time step t, at and Rt denote the acceleration and cone tip resistance, respectively, and T denotes the total number of time steps.
Starting from the first valid sampling point, the response is divided chronologically into consecutive, non-overlapping segments of a prescribed length L. Accordingly, the number of complete segments extracted from the response is calculated as:
where ⌊·⌋ denotes the floor operator. The i-th segment is defined as:
S = ⌊T/L⌋,
xi = [x(i−1)L+1,x(i−1)L+2,…,xiL] i = 1,2,…,S.
Any residual samples at the end of the response that are insufficient to form a complete segment of length L are discarded. Thus, each segment consists of exactly L time steps of paired acceleration and cone tip resistance measurements.
All segments extracted from the response inherit the corresponding soil parameter labels:
where c, φ, E, and ρ denote cohesion, internal friction angle, Young’s modulus, and density, respectively.
yi = y = [c,φ,E,ρ],
2.1.2. LSTM-Based Model
Following temporal segmentation, each segment is paired with the soil mechanical parameter labels of its source penetration response to form the dataset for model development. A shared LSTM-based interpretation model is then trained on these segment-wise samples to independently interpret the soil mechanical parameters from each segment.
A standard LSTM unit comprises a memory cell and three gates: forget gate, input gate, and output gate [41], as illustrated in Figure 2.
Figure 2.
Schematic of the LSTM unit.
At time step t, the LSTM unit receives the input vector xt, the hidden state ht−1, and the cell state Ct−1 propagated from the previous time step. The forget gate determines the proportion of historical information retained in the cell state:
ft = σ(Wf ⋅ [ht−1,xt] + bf).
The input gate controls the incorporation of new information:
it = σ(Wi ⋅ [ht−1,xt] + bi).
The candidate cell state is calculated as:
The cell state is subsequently updated by combining the retained historical information with the newly extracted candidate information:
The output gate determines the information transmitted from the updated cell state to the current hidden state:
where ft, it, and ot denote the forget, input, and output gate vectors, respectively; denotes the candidate cell state; Ct and ht denote the updated cell and hidden states. W and b denote the weight matrices and bias vectors, respectively. The functions σ(·) and tanh(·) denote the sigmoid and hyperbolic tangent activation functions, respectively, and ⊙ denotes element-wise multiplication.
ot = σ(Wo ⋅ [ht−1,xt] + bo),
ht = ot⊙tanh(Ct),
The forget gate filters information inherited from the preceding time step, whereas the input gate controls the incorporation of information extracted from the current acceleration and penetration resistance measurements. The resulting cell state provides a continuous pathway for information transmission throughout the input sequence, and the output gate determines which components of the accumulated information are transferred to the hidden state. Through these recurrent updates, the LSTM can capture both short-term variations and long-range dependencies within the impact penetration signals.
After all T time steps have been processed, the resulting representation is mapped to the four soil mechanical parameters through a fully connected regression layer, yielding the corresponding interpretation vector.
2.1.3. Clustering-Based Ensemble
The segment-wise interpretation procedure generates one set of soil-parameter interpretation results from each valid segment, thereby producing multiple candidate interpretation results for a single penetration response. Because temporal segments differ in their information content, some segment-wise interpretation results may be inaccurate or inconsistent with the majority. Direct averaging assigns equal importance to all interpretation results and is therefore susceptible to the influence of isolated interpretation results [42]. To address this issue, DBSCAN is applied to identify densely grouped, mutually consistent interpretation results while treating isolated interpretation results as noise [43,44,45]. Based on this principle, the clustering-based ensemble algorithm adopted in this study derives the final interpretation result, as illustrated in Figure 3.
Figure 3.
Flowchart of the clustering-based ensemble algorithm.
For a penetration response record containing S segments, the corresponding interpretation vectors are collected as:
where ŷi denotes the interpretation results obtained from the i-th segment, and Y denotes the set of segment-wise interpretation results. Subsequently, DBSCAN is applied to cluster the segment-wise interpretation vectors. DBSCAN uses Euclidean distance to cluster the four-dimensional segment-wise interpretation vectors. Clustering is performed on the normalized scale defined by the target normalization parameters calculated from the training subset.
where ε denotes the neighborhood radius, MinPts denotes the minimum number of neighboring interpretation results required to form a dense region, and ℓ denotes the cluster label set of interpretation results. After excluding the interpretation results labeled as noise (ℓi = −1), the set of valid cluster labels and the members of each cluster are defined as:
where K denotes the set of valid cluster labels, ℓi denotes the cluster label assigned to the interpretation result from the i-th segment, and Ck denotes the set of segment indices belonging to the k-th cluster. When all segment-wise interpretation results are classified as noise by DBSCAN, their arithmetic mean is used as the final interpretation result:
𝓁 = DBSCAN(Y;ε,MinPts),
K = {k ∈ unique(𝓁)|k ≠ −1},
Ck = {i∣𝓁i = k},
When DBSCAN identifies at least one cluster, the cluster with the largest membership is selected as the dominant cluster:
where |Ck| denotes the number of segment-wise interpretation results assigned to the k-th cluster, k* denotes the label of the selected cluster, and C* denotes the dominant cluster. If two or more clusters tie for the largest membership, one is selected at random as the dominant cluster. After the dominant cluster is selected, the final interpretation result is obtained by averaging the segment-wise interpretation results contained within that cluster:
By using DBSCAN to exclude noise and then averaging the interpretation results within the dominant cluster, the proposed ensemble strategy reduces the influence of anomalous interpretation results from individual segments. These characteristics provide a basis for improving the stability and engineering robustness of soil parameter interpretation.
2.2. Impact Penetration Test and Data Preprocessing
This subsection describes the experiment and data processing procedures used to construct the dataset for soil mechanical parameter interpretation. Impact penetration tests are first conducted to acquire acceleration and cone tip resistance-time series under different soil conditions. Laboratory soil tests are subsequently performed to determine the corresponding soil mechanical parameters. Finally, the penetration responses are paired with the corresponding laboratory measurements and preprocessed to construct the machine learning dataset.
2.2.1. Impact Penetration Testing
Figure 4a illustrates the impact penetration testing procedure, which consists of four principal stages: (1) a UAV carries the penetrometer to a predetermined height above the target area; (2) the penetrometer is released and accelerates under gravity, converting its gravitational potential energy into kinetic energy; (3) it impacts and penetrates the soil while recording the acceleration and cone tip resistance responses; (4) the recorded data are transmitted through the communication module to a remote data terminal for subsequent analysis. During the field tests, the UAV release height is adjusted to achieve impact velocities ranging from 15 to 30 m/s. Using the above procedure, a total of 60 field penetration response records were obtained from in situ impact penetration tests conducted in sandy soil in Fujian, China. The Fujian field site was selected because its soil conditions were not known a priori, providing an opportunity to assess the generalization capability of the laboratory-trained model through external field evaluation.
Figure 4.
Impact penetration testing procedure and laboratory platform:. (a) Schematic of the impact penetration test. (b) Laboratory impact penetration platform. In the laboratory platform, high-pressure gas launches the penetrometer.
Considering the randomness of soil conditions in the field and the high cost of testing, a laboratory impact penetration platform has been built indoors, as shown in Figure 4b. By using the prepared remolded soil, the impact penetration response characteristics of soil under different soil types and combinations of dry density, moisture content, and other conditions can be studied. Soils used in the laboratory experiments were collected from field sites in Tibet and Fujian, China. The soil preparation procedure is followed by the removal of macroscopic inclusions, such as gravel and organic matter, and subsequent air-drying. To achieve the target moisture content, the soil sample and the required amount of water are mixed thoroughly. The soil sample is then compacted using a high-frequency vibrating table to facilitate particle rearrangement and reduce the void ratio under gravity until the target density is achieved. In this study, soil moisture content and dry density are jointly controlled to establish different soil conditions for the impact penetration tests. Each combination of moisture content and dry density represents a specific soil condition and is used to generate the corresponding penetration response records. Upon completion of each test, the penetrated soil sample is remolded and reconstructed following the same preparation procedure before the subsequent test. This procedure minimizes the influence of structural disturbance and residual stress induced by the preceding penetration event, thereby improving the consistency and reproducibility of the experimental results.
After the soil sample is prepared, the penetrometer is mounted on a pneumatic launching system driven by high-pressure gas. Before each test, the required chamber pressure is determined from a calibrated pressure–velocity relationship to achieve the target impact velocity, after which the air chamber is charged accordingly. The impact velocities investigated in this study range from 15 to 30 m/s. After each penetration event, the recorded data are transmitted from the penetrometer to a computer terminal and stored as a raw impact penetration response record. In total, 540 laboratory penetration response records were obtained under different combinations of density, moisture content, and impact velocity.
2.2.2. Measurement of Soil Mechanical Parameters
For the field tests, within each locally homogeneous test area, three penetration tests were conducted at different impact velocities, and three soil samples were collected. The density of each soil sample was determined using the ring-cutter method, and the moisture content was determined using the alcohol-burning method [46,47]. Triaxial tests were conducted to determine the cohesion, internal friction angle, and Young’s modulus of the soil samples [48,49,50]. The triaxial tests were conducted under consolidated-undrained conditions at confining pressures of 100, 200, and 300 kPa, with an axial displacement rate of 0.008 mm/min. Three independent replicates were performed for each test condition, and the repeated measurements were averaged to establish the reference values. The Young’s modulus was obtained from the initial tangent slope of the deviator stress–axial strain curve. To determine the shear-strength parameters, the peak strengths obtained under different confining pressures were used to construct the Mohr–Coulomb failure envelope. Cohesion is determined from the intercept of the failure envelope, whereas the internal friction angle is derived from its inclination. For each test area, the three measurements of each soil mechanical parameter were averaged to obtain the corresponding reference value, yielding 20 sets of field reference values. The field soil mechanical parameters are presented in Table 1.
Table 1.
Soil mechanical parameters in the field penetration tests.
To establish the relationship between the impact penetration responses and soil mechanical parameters of a wider range of soils, four soils were collected from Tibet and Fujian for laboratory impact penetration testing. These two regions were selected for their contrasting geographical settings and the differences in grain-size distribution and mineralogical composition among the sampled soils, providing varied conditions for model development and comparison. One sandy soil and one clayey soil were selected from each region, and the resulting samples were designated Sand I, Sand II, Clay I, and Clay II. The grain-size distributions and mineralogical composition of the four soils are presented in Figure 5. Sand I and Sand II exhibit relatively steep grain-size distribution curves concentrated within the coarser particle-size range, although a clear difference exists between their characteristic particle sizes. In contrast, Clay I and Clay II display substantially broader particle-size distributions and considerably higher proportions of fine particles. These differences indicate pronounced variations in soil texture and gradation among the selected samples. The mineralogical compositions further demonstrate the heterogeneity among the four soils. Sand I is predominantly composed of quartz, with only minor amounts of other minerals, whereas Sand II contains appreciable proportions of albite and microcline in addition to quartz. Clay I and Clay II exhibit more complex mineralogical compositions comprising quartz, albite, microcline, clay minerals, and other constituents, with Clay II containing a particularly high proportion of clay minerals. Together, the variations in grain-size distribution and mineralogical composition provide a diverse set of soil conditions for evaluating the applicability of the proposed method across different soil types and geological origins.
Figure 5.
Basic properties of the soil samples. (a) Grain-size distribution curves. (b) Mineralogical composition.
After the soil is prepared at the prescribed dry density and moisture content, soil mechanical parameters including cohesion, internal friction angle, and Young’s modulus are determined through triaxial testing, and density is measured using the ring-cutter method. The laboratory soil mechanical parameters obtained under the different experimental conditions are summarized in Table 2.
Table 2.
Soil mechanical parameters under different test conditions.
2.2.3. Data Preprocessing
To improve data quality and reduce the influence of differences in parameter scales and measurement noise, the soil mechanical parameters and impact penetration responses are preprocessed before model development. The four soil mechanical parameters are scaled to the range 0–1 using min–max normalization, with the minimum and maximum values determined exclusively from the training subset:
where x denotes the original value of a soil mechanical parameter, xmin and xmax denote its minimum and maximum values, respectively, and xnorm denotes the normalized value. The four soil mechanical parameters are thereby mapped onto a common numerical scale.
The acceleration and cone tip resistance records undergo a standardized sequence of preprocessing steps. Each impact penetration test is recorded at 25 kHz over an acquisition duration of approximately 200 ms, resulting in approximately 5000 sampling points per response channel. However, the actual penetration phase occupies only part of the complete acquisition window. Accordingly, the valid penetration interval is manually identified and extracted, with the data recorded before impact and after penetration excluded from subsequent analysis. The start of this interval corresponds to the onset of penetration resistance and the departure of acceleration from its pre-impact baseline. Its end corresponds to the cessation of penetration resistance and the transition of acceleration to its post-penetration level. The extracted acceleration and cone tip resistance signals are then processed using a low-pass Butterworth filter to suppress high-frequency measurement noise [51]. A third-order filter is applied using forward–backward zero-phase filtering (filtfilt). The implemented design cutoff frequency corresponds to f_c = 10f_s/n, where f_s = 25,000 Hz is the acquisition sampling frequency and n is the number of samples passed to the filter after excluding leading zero padding. Because the duration of the valid penetration phase varies among tests owing to differences in impact velocity and soil strength, the extracted curves have unequal numbers of time steps. To ensure dimensional consistency across the dataset, shorter sequences are zero-padded at the beginning to match the longest recorded penetration response (1800 time steps). Following padding, the acceleration and cone tip resistance signals are scaled using min–max normalization parameters calculated exclusively from the training subset. The input and target normalization parameters are applied unchanged to the validation, test, and external field data. Subsequent experiments all follow this principle.
Following preprocessing, a machine-learning dataset is constructed, comprising a laboratory subset of 540 impact penetration records and a field subset of 60 records. Each record contains acceleration and cone tip resistance sequences as model inputs, together with the corresponding cohesion, internal friction angle, Young’s modulus, and density values as target outputs. Furthermore, a segment-wise dataset is constructed using the temporal segmentation method, with the segment length set to 120 time steps based on hyperparameter optimization of the baseline model. Beginning at the first valid and non-padded sampling point of each response rather than at the start of the zero-padded sequence, the segmentation procedure divides the 540 laboratory penetration records into 5495 segments and the 60 field penetration records into 623 segments. The distributions of soil mechanical parameter labels in the segment-wise dataset are shown in Figure 6.
Figure 6.
Distributions of soil mechanical parameter labels in the segment-wise dataset. (a) Cohesion. (b) Internal friction angle. (c) Young’s modulus. (d) Density. The bars indicate segment counts, and the red curves represent the corresponding kernel density estimates (KDEs).
3. Results and Discussion
3.1. Baseline Model Construction and Hyperparameter Optimization
To establish a baseline for subsequent analyses, an LSTM model was developed using complete penetration response data rather than the temporal segmentation dataset. This subsection describes its construction and evaluates its interpretation performance. The model is then used in a replacement-based analysis method to preliminarily characterize the temporal importance of the penetration response.
3.1.1. Model Construction and Hyperparameter Optimization
The baseline LSTM model uses complete penetration responses, comprising acceleration and cone tip resistance as two input channels, to jointly interpret four soil mechanical parameters, including cohesion, internal friction angle, Young’s modulus, and density. Next, 70%, 15%, and 15% of the randomized laboratory data are labeled as training, validation, and testing sets. Firstly, different window lengths are evaluated to organize the original 1800-point, two-channel responses and assess their effects on model performance. This procedure preserves local waveform information while reducing the effective sequence length, thereby lowering computational cost and facilitating model training [52,53]. The temporal window length is selected by comparing the validation errors for window lengths W = 1, 60, 120, 180, and 1800 sampling points while holding the training hyperparameters fixed. Each 1800-point, two-channel response is divided into consecutive, non-overlapping windows of W sampling points. Each window corresponds to one LSTM time step and is represented by W acceleration values followed by W cone tip resistance values, retaining all measurements without averaging or pooling. Using the dimension order (batch size, time steps, features), the input tensor has dimensions (B, 1800/W, 2W), where B denotes the batch size. For W = 1, 60, 120, 180, and 1800, the corresponding dimensions are (B, 1800, 2), (B, 30, 120), (B, 15, 240), (B, 10, 360), and (B, 1, 3600), respectively. Then, the window length yielding the lowest validation error is fixed, and the model hyperparameters are further determined. The hyperparameter combination with the lowest mean validation error is adopted as the final model configuration. The mean squared error (MSE) is used as the training loss, whereas the mean absolute error (MAE) and mean absolute percentage error (MAPE) are adopted as the model evaluation metrics:
where N denotes the number of samples, and yi and ŷi denote the measured and interpreted values, respectively. The corresponding training and validation error curves for the five window lengths are shown in Figure 7a–e. For W = 1, the original point-wise sequence is preserved, but the validation errors are relatively high and fluctuate considerably. Conversely, W = 1800 compresses the complete response into a single input step, removing most of the sequential structure required by the LSTM. W = 120 produces the lowest mean validation error and is therefore adopted for the baseline model. Compared with W = 1, W = 120 reduces the training time from 218 to 54 s, representing a reduction of approximately 75%.
Figure 7.
Effect of hyperparameter optimization. (a–e) Training and validation MSE for W = 1, 60, 120, 180, and 1800, respectively. (f) Normalized MAE across five folds.
After selecting the window length, fivefold cross-validation is used to select the network architecture, batch size, and learning rate [54]. The search considers one to five LSTM layers, 32–512 hidden units per layer, batch sizes ranging from 16 to 128, and learning rates from 0.00001 to 0.001. The configuration with the lowest mean validation MSE across the five folds is selected. Before cross-validation, 15% of the laboratory data is randomly reserved as an independent test set, and the remaining 85% is divided into five mutually exclusive subsets. In each fold, four subsets are used for model training, and the remaining subset is used for validation, ensuring that each sample is used for validation once. Figure 7f presents box plots of the normalized MAE values across the five folds, whose relatively low and concentrated distributions indicate the appropriateness of the selected hyperparameters.
The baseline network architecture is then determined, as illustrated in Figure 8. The model comprises two stacked LSTM layers followed by a fully connected regression layer. The lower and upper LSTM layers contain 128 and 64 hidden units, respectively, while the fully connected layer contains four output nodes corresponding to the four interpreted soil mechanical parameters. The model is trained using the Adam optimizer with a learning rate of 0.0001 and a batch size of 32. The maximum number of training epochs is set to 1000.
Figure 8.
Network architecture of the baseline model.
3.1.2. Model Performance
After determining the training hyperparameters of the baseline model, 85% of the data is used to train the model, and its performance is evaluated on the reserved 15% test set and the field data. After hyperparameter selection, model training and evaluation are repeated five times. All reported MAE and MAPE values are the arithmetic means of the corresponding metrics obtained from these five runs. The same procedure is followed in all experiments reported below. To ensure an independent evaluation, the field data are not involved in model construction or parameter selection but are used exclusively to assess the applicability of the laboratory-trained baseline model under field conditions. Table 3 summarizes the interpretation errors of the baseline model and compares its performance with that of several other machine learning methods with tuned hyperparameters.
Table 3.
Comparison of interpretation errors for different machine learning models on the laboratory test set and the field dataset.
Notably, the baseline model’s MAPE for cohesion on the laboratory test set reached 1189.06%. This unusually high value is primarily caused by the sensitivity of percentage-based errors to near-zero measured cohesion values. For example, when the measured cohesion is 0.02 kPa and the interpreted value is 1 kPa, the absolute error is only 0.98 kPa, whereas the corresponding absolute percentage error (APE) reaches 4900%. Figure 9 compares the measured and interpreted cohesion values and their corresponding APEs for the laboratory test set and field data. Large APEs are concentrated among samples with extremely small measured values, while the APEs are generally much lower for samples with larger measured values. As shown in Figure 9a, beyond the first few samples with near-zero measured values, the APEs decrease sharply from several thousand percent to tens of percent. Therefore, the high MAPE for the laboratory test set is dominated by a small number of near-zero reference values. The high error of field data interpretation is also due to this characteristic, as shown in Figure 9b. In this paper, for the laboratory samples, some reference cohesion values were close to zero. MAE was used as the principal metric for cohesion, while MAPE was used for the other three parameters. For the field samples, MAPE was used as the principal metric for all four parameters.
Figure 9.
Measured and interpreted cohesion values and corresponding absolute percentage errors. (a) Laboratory test set. (b) Field data.
As shown in Table 3, the baseline LSTM, XGBoost, and SVR models achieved broadly comparable MAEs for cohesion and mean MAPEs excluding cohesion on the laboratory test set, whereas BPNN yielded substantially higher values for both metrics. On the field dataset, the baseline and XGBoost models remained comparable in accuracy, with mean MAPE values of 28.94% and 30.13%, respectively. However, SVR exhibited poorer generalization, yielding a mean MAPE of 58.62%, while BPNN produced the largest errors. Overall, the baseline model achieved the lowest mean MAPE on both datasets, with cohesion excluded from the laboratory mean. XGBoost also provides competitive accuracy. Therefore, XGBoost is also included as a benchmark in the subsequent experiments involving data loss.
Figure 10 compares the interpreted and measured values of the four soil mechanical parameters. On the laboratory test set, the interpreted values generally follow the measurements for all four soil mechanical parameters. The model also captures several sharp local peaks and troughs, although some discrepancies remain in their exact magnitudes. Cohesion exhibits relatively pronounced deviations for high-value samples, possibly because of the uneven distribution of cohesion values and the limited number of samples in the high-value range. The interpretation error for cohesion is lower on the field data, possibly because the field cohesion values fall within the main range of the laboratory data. The errors for internal friction angle increase only slightly, whereas the errors for Young’s modulus and density increase markedly. The latter increase may be associated with differences in soil fabric, stress state, and boundary conditions between the laboratory and field tests. Overall, these results indicate that the baseline model provides a relatively reliable method for interpreting soil mechanical parameters from complete impact penetration responses.
Figure 10.
Comparison of the interpreted and measured values of the soil mechanical parameters. (a) Cohesion. (b) Internal friction angle. (c) Young’s modulus. (d) Density. The vertical dashed line separates the test set samples (left) from the field data samples (right).
3.1.3. Temporal Feature Importance Characterization
To characterize temporal importance across the impact penetration response, a replacement-based procedure is applied to the laboratory test set. The trained baseline model is kept fixed, and no retraining is performed during the replacement. Because each preprocessed response contains a leading zero-padding interval, the valid response portion is defined as the sequence beginning immediately after this interval. The valid portion of each response is evenly divided into 10 segments, each containing 10% of the valid samples and representing a relative temporal position. During each replacement, a selected interval in both the acceleration and cone tip resistance signals is simultaneously replaced with values obtained by linear interpolation between its two endpoints. Examples of replacements applied to the initial, middle, and final portions of the valid response are illustrated in Figure 11a.
Figure 11.
Replacement-based temporal feature importance analysis. (a) Examples of linear-interpolation replacement at the initial, middle, and final portions of the penetration response. The dashed lines represent the original curves. (b) Replacement-based weights and the quadratic fitted curve.
Replacement lengths ranging from 10% to 50% of the complete sequence are considered. For the 10% replacement scenario, each of the 10 segments is replaced individually. For the 20% scenario, two consecutive segments are replaced successively, corresponding to segments 1–2, 2–3, …, and 9–10. The same sliding procedure is applied to replacement lengths of 30%, 40%, and 50%. After replacement, the modified curves are processed using the original data-processing procedure and passed to the baseline model without retraining.
To quantify the temporal feature importance of different segments, the root mean square error (RMSE) is calculated for each set of interpretation results. Specifically, the squared differences between the normalized interpreted and measured parameter values are summed and divided by the number of soil mechanical parameters, and the square root is then taken, as follows:
where N denotes the number of soil mechanical parameters (N = 4 in this study), and yi and ŷi denote the normalized measured and interpreted values, respectively. Subsequently, for each replacement length, the weight of the s-th replacement segment is calculated as:
where RMSEs,r denotes the RMSE obtained when a replacement interval of length r begins at the s-th segment.
When a replacement interval spans r adjacent segments, the weight obtained from that replacement is divided equally among the r segments. For example, if an interval covering segments 2–4 has a weight of w, each of these three segments is assigned a weight of w/3. Because each segment may be included in multiple replacement intervals of a given length, all weights assigned to that segment are summed and divided by the number of intervals containing it. This procedure yields the individual weights of segments 1–10 for each replacement length.
The weights corresponding to all replacement lengths are subsequently averaged to obtain the overall weight of each temporal segment, as shown in Figure 11b. A polynomial function is then fitted to characterize the variation in temporal feature importance along the penetration sequence. The fitted curve provides an overall description of the distribution of temporal feature importance across the sequence. The initial and final portions exhibit relatively large weights, whereas the intermediate portions have smaller weights. Since a larger weight indicates greater sensitivity to replacement, the initial and final portions of the penetration response have higher temporal importance than the middle portion.
Figure 12 presents the MAE values under the different replacement configurations. The interpretation error generally increases with replacement length, indicating greater model sensitivity to linear-interpolation perturbations applied over longer intervals. For a given replacement length, the magnitude of the error also varies with the replacement position. Replacement of the initial or final portions generally produces greater increases in MAE, whereas replacing the middle portions results in comparatively smaller performance degradation. Although the magnitude of this effect differs among cohesion, internal friction angle, Young’s modulus, and density, the overall results indicate that interpretation information is distributed nonuniformly along the penetration sequence.
Figure 12.
Effects of replacement position and replacement length on the MAEs. (a) Cohesion. (b) Internal friction angle. (c) Young’s modulus. (d) Density. The black reference line (0%) indicates the MAE obtained from the response without replacement.
3.2. The Ts-E Framework Development and Optimization
In this subsection, the Ts-E framework is completed and used to achieve high accuracy soil mechanical parameter interpretation from both laboratory and field tests. Its engineering robustness is subsequently evaluated under conditions involving data loss and previously unseen soils. In the end, the temporal importance of different positions along the response curves is quantified based on the segment-wise interpretation results and used to improve the model.
3.2.1. Construction of the Ts-E Model
The training and validation of the Ts-E model are conducted using the segment-wise dataset, with the segment length set to 120 sampling points. The laboratory records are partitioned at the original penetration record level before temporal segmentation. The segment-wise dataset inherits the same partitions, ensuring that all segments from each record remain within the same training, validation, or test subset. Please confirm whether an explanation of the colors needs to be added to the figure caption.Please confirm whether an explanation of the colors needs to be added to the figure caption. The model hyperparameters and clustering parameters are determined using the same procedure described in Section 3.1.1. For DBSCAN, the search considers ε values ranging from 0.05 to 0.30 and MinPts values ranging from 2 to 6. Following the same validation procedure, the parameter combination yielding the lowest mean validation MSE of the ensembled record-level interpretation results is selected. Accordingly, the DBSCAN neighborhood radius ε and MinPts are set to 0.2 and 3, respectively. All segments are processed by a shared two-layer LSTM network with 64 and 32 hidden units in the lower and upper layers, respectively, followed by a fully connected output layer. During inference, the complete penetration response is divided into multiple 120-point segments, and the shared LSTM generates one interpretation result for each segment. To verify the effectiveness of the ensemble algorithm, the segment-wise interpretation results are aggregated using direct averaging (Ts-Mean) and the Ts-E ensemble method, respectively. Both methods use the same segment-wise interpretation model and differ primarily in how the interpretation results are integrated. Ts-Mean directly averages all segment-wise interpretation results, allowing interpretation results affected by local noise or weak information to contribute equally to the final result. In contrast, Ts-E identifies groups of similar interpretation results through clustering and limits the influence of isolated or inconsistent interpretation results. As with the baseline model, the Ts-Mean and Ts-E models are developed exclusively using the laboratory data, while the field data are reserved for external evaluation.
The interpretation errors of the Ts-Mean and Ts-E models on the laboratory test set and field data are listed in Table 4 and compared with those of the baseline model reported in Table 3. On the laboratory test set, the baseline model achieved the lowest mean MAPE excluding cohesion and the lowest MAE for cohesion, whereas the segment-based models yielded higher values for both metrics. This advantage can be attributed to the use of complete penetration responses, which preserves the full response information and global temporal dependencies. Because the laboratory training and test data are obtained under similar controlled conditions, the complete response patterns learned by the baseline model remain effective on the laboratory test set. However, Ts-E achieves better overall performance on the field data. This is because models trained on a limited number of complete responses may become dependent on laboratory-specific response patterns and therefore be more sensitive to the distributional differences between laboratory and field data. In contrast, temporal segmentation increases the effective number of training instances and encourages the shared LSTM model to learn local response–parameter relationships across different portions of the penetration response. Although segments from the same penetration response are correlated, their non-overlapping temporal intervals may contain distinct local information alongside shared characteristics. These local features provide additional training inputs for learning mappings to soil mechanical parameters. During evaluation, segment-wise interpretation results from the same penetration record are regarded as correlated and integrated using the ensemble algorithm to obtain the final record-level interpretation result. Despite some information redundancy, the complementary local information may contribute to improved generalization. The comparison between Ts-Mean and Ts-E further demonstrates the effectiveness of the clustering-based ensemble strategy. The consistently lower errors of Ts-E on both datasets indicate that clustering-based integration provides more reliable results than direct averaging. Overall, temporal segmentation improves generalization across experimental conditions, while the clustering-based ensemble enhances the robustness of the final soil mechanical parameter interpretation.
Table 4.
Interpretation errors of the Ts-Mean and Ts-E methods on the laboratory test set and field data.
3.2.2. Evaluation of Model Robustness
The robustness of the model is first evaluated through the data loss scenario on the field data. For each field penetration response, the valid interval is first identified. Portions corresponding to 10–50% of the valid data are then removed from either the beginning or the end to simulate different ratios of initial and final data loss. For example, a 10% initial-portion loss indicates that the first 10% of the valid acceleration and cone tip resistance measurement sequences are removed simultaneously. For the baseline LSTM and XGBoost, the retained responses are zero-padded to the original input length of 1800 sampling points per channel. Following either initial or final truncation, zeros are prepended to the retained response. The padded responses are then organized into model inputs using the same procedures as for complete responses, including the same windowing procedure and two-channel arrangement for the LSTM. For Ts-E, segmentation is applied only to the retained valid measurements.
The interpretation errors under different initial and final data loss ratios are summarized in Table 5 and Table 6. Robustness to data loss is assessed through changes in MAE and MAPE relative to complete responses and comparisons with the baseline model under identical loss conditions. As more data are removed, the interpretation errors of the baseline model generally increase and fluctuate considerably across the different data loss ratios. XGBoost exhibits errors comparable to those of the baseline model. For the Ts-E model, interpretation errors remain relatively stable across different data loss conditions. The mean MAPE across the four parameters is 22.42% for complete field responses and 24.76% and 23.13% under 50% initial and final data loss, respectively. The latter two values are substantially lower than the corresponding baseline errors of 38.84% and 39.66%. In all cases, Ts-E produced lower errors than the baseline model for all four soil mechanical parameters. This difference can be attributed to their different input representations and interpretation strategies. The baseline model processes the complete response as a single sequence. As a result, removing a continuous portion changes its global input representation and disrupts the temporal patterns learned from complete curves. In contrast, Ts-E independently generates interpretation results from the remaining intact segments without reconstructing the missing portion. Although increasing the data loss ratio reduces the number of available segments, it does not alter the internal structure of the retained segments, whose interpretation results can still be integrated to obtain the final result. The ensemble mechanism further limits the influence of locally inconsistent interpretation results, allowing Ts-E to maintain robust performance under incomplete-data conditions. These results characterize the performance of fixed models under unexpected truncation, and the baseline errors may partly reflect a mismatch between the training and inference conditions.
Table 5.
Interpretation errors under different initial data loss ratios on the field data.
Table 6.
Interpretation errors under different final data loss ratios on the field data.
In addition, the clustering results were summarized across multiple runs. As data missingness increased, the proportion of cases that did not form a valid cluster also increased: for example, compared with complete data, 50% initial truncation increased this proportion from 6.00% to 14.00%. Although the frequency of cases that did not form a valid cluster increased, a single dominant cluster remained the predominant outcome, with its proportion decreasing from 87.33% under complete data to 80.67% under 50% initial truncation. The proportion of cases with multiple clusters tied for the largest membership also decreased slightly, from 6.67% to 5.33%. Overall, the persistence of a dominant cluster despite increasing data loss indicates consistency among segment-wise interpretation results and suggests that the ensemble mechanism supported robust parameter interpretation under incomplete-data conditions.
Subsequently, a leave-one-soil-out evaluation was conducted on the laboratory data to assess model generalization to previously unseen soil types. In each evaluation, all penetration records from one of the four soils—Sand I, Sand II, Clay I, or Clay II—were held out as the test set, while the records from the remaining three soils in the laboratory data were used for model training. This procedure was repeated four times, with each soil serving once as the held-out test soil. Because no records from the held-out soil are used at any stage of model development, this procedure provides a more stringent assessment of generalization than a conventional random split.
Figure 13 shows that the interpretation MAEs vary considerably among the four unseen soils. When Sand I or Sand II is held out, the errors in cohesion and internal friction angle remain relatively low. In contrast, these errors increase substantially when either Clay I or Clay II is treated as unseen soil. Nevertheless, Ts-E achieves lower errors than the baseline model for every soil–parameter combination, with particularly pronounced improvements in the Young’s modulus and density interpretation results for the clay soils. The MAEs of Ts-E for cohesion, internal friction angle, Young’s modulus, and density are 75.70%, 85.47%, 78.35%, and 70.41% of the corresponding values of the baseline model, respectively. This consistent advantage suggests that temporal segmentation facilitates the extraction of local response–parameter relationships that are transferable across soil types.
Figure 13.
MAEs in the leave-one-soil-out evaluation. (a) Cohesion. (b) Internal friction angle. (c) Young’s modulus. (d) Density. Bars represent mean MAEs across five repeated experimental runs, error bars indicate sample standard deviations, and individual points represent run-specific MAEs.
Taken together, these findings support the robustness and cross-soil generalization potential of Ts-E within the investigated conditions and provide a basis for broader evaluation across additional soil types and field settings.
3.2.3. Model Optimization
The temporal feature importance of different positions is further quantified using the segment-wise interpretation results from the laboratory calibration subset. To optimize the Ts-E model, this subset serves as a calibration subset. Unlike the replacement-based analysis method in Section 3.1.3, this method evaluates the local usefulness of each segment for soil parameter interpretation based on its interpretation error. A segment producing a smaller interpretation error is considered to have greater temporal feature importance for soil parameter interpretation and is therefore assigned a larger weight.
The temporal feature weight of the i-th segment for a complete calibration response is defined as the normalized reciprocal of the mean RMSE across the four soil mechanical parameters (RMSEi):
where S denotes the number of segments extracted from the complete curve. The positive constant δ = 10−5 prevents division by zero and limits reciprocal magnitudes for very small errors. According to this definition, segments with smaller mean RMSE values receive larger weights, and the sum of the weights of all segments belonging to the same complete response equals 1. Because the number of segments and their absolute positions vary among the complete curves, each segment position is normalized by the corresponding valid response duration and expressed as a percentage. The segment weights calculated from all laboratory calibration curves are then mapped to these normalized temporal positions and superimposed to obtain the raw segment-wise weight curve, as shown in Figure 14. Notably, at each normalized temporal position, the mean weight is calculated only from records with retained segments covering that position. Discarded residual portions are excluded from both the weight sum and the averaging denominator. Therefore, the reported mean weights in the final response region reflect only the retained segments, while the importance of the discarded tail intervals is not directly assessed. Because not all original penetration records contribute near the endpoint, changes in the number and composition of contributing records may affect the stability of the final region mean weights. A quadratic polynomial is subsequently fitted to characterize the overall variation trend of segment-wise temporal feature importance, which can be expressed as follows:
y = 7.48 × 10−7x2 − 1.02 × 10−4x + 0.0126
Figure 14.
Comparison between segment-wise and replacement-based weights.
The fitted segment-wise weight curve is compared with the replacement-based temporal feature importance curve obtained in Section 3.1.3. The two methods evaluate temporal feature importance from different perspectives. In the replacement-based method, a large interpretation error after replacing a temporal region indicates that the replacement region has high temporal feature importance. In the segment-wise analysis method, a small interpretation error indicates that the segment independently has high temporal feature importance. The fundamental difference between the two methods is that the replacement-based method relies on the completeness of the response and determines the weights through relative comparisons among different temporal regions. When multiple regions contain equally important or redundant information, the absence of any one region may not impair the overall interpretation result because the remaining regions can compensate for the missing information. In contrast, the segment-wise analysis method determines the weight directly from the information contained in each segment. The more accurately a segment independently interprets the soil mechanical parameters, the more important it is considered. Each segment is interpreted separately, whereas its normalized weight also depends on the errors of the other segments within the same response. Despite differences in methodology, both methods convert their results into weights for which a larger value represents greater temporal feature importance.
Because the two weight curves are obtained using different procedures and therefore have different numerical scales, the replacement-based curve was transformed through rescaling before being superimposed in Figure 14. This conversion is applied solely to facilitate a comparison of their positional variation and does not change the temporal trend represented by the curve. The two curves exhibit broadly similar variation: both assign relatively large weights to the initial portion of the penetration response, decrease toward the middle portion, and subsequently increase toward the final portion. This result suggests that the two independent methods generally identify similar variations in temporal feature importance, which reveals the rich regions of penetration response over time.
The original Ts-E algorithm selects the cluster containing the largest number of segment-wise interpretation results as the dominant cluster. Once the temporal feature importance across different segments is determined, the raw segment-wise weights can subsequently be incorporated into the clustering-based ensemble strategy to improve the Ts-E model. In the improved model, denoted as Ts-E*, the cluster with the highest mean temporal feature weight is instead selected as the dominant cluster. To implement this strategy, the weight of each field-response segment is obtained by integrating the temporal feature importance curve derived from the laboratory calibration set over the normalized temporal interval corresponding to that segment. For the r-th cluster, these segment weights are then averaged as follows:
where Cᵣ denotes the r-th cluster. The dominant cluster is then selected according to the maximum mean weight:
This modification changes the cluster-selection criterion from cluster-size dominance to temporal feature importance dominance, and the arithmetic mean of the interpretation vectors within the selected cluster is retained as the final output.
The temporal weighting function and cluster-selection rule were finalized using only laboratory data before any field evaluation results were examined. They were subsequently applied unchanged to the field dataset. Table 7 shows the interpretation errors of Ts-E* on the field data, which was not used to derive the temporal feature weight function. After incorporating the temporal feature importance-based cluster-selection criterion, Ts-E* achieved lower errors for cohesion, internal friction angle, Young’s modulus and density. These results indicate that the largest cluster does not necessarily contain the most informative segment-wise interpretation results. Selecting the cluster with the highest mean weight directly incorporates temporal feature importance into the ensemble decision and provides a more interpretable criterion for dominant-cluster selection. Across five repeated experimental runs, we quantified error variability and calculated the corresponding confidence interval. The paired field mean MAPEs from the five repeated experimental runs are reported in Table A2 (Appendix A). Ts-E and Ts-E* achieved mean field MAPEs of 22.42% ± 1.75% and 21.21% ± 1.16%, respectively (mean ± sample standard deviation). Ts-E* achieved a lower mean field MAPE in all five paired runs, corresponding to an average reduction of 1.21 percentage points. Assuming that the paired differences were approximately normally distributed, the paired t-based 95% confidence interval for this reduction ranged from 0.06 to 2.36 percentage points. The interval reflects variability across five repeated training runs conditional on the fixed field observations, while variability in interpretation performance and sampling uncertainty across the 20 field areas have not been separately quantified. Overall, the consistency between the segment-wise and replacement-based analyses, together with the improved field interpretation performance, supports the validity and practical utility of the identified temporal feature importance.
Table 7.
Interpretation errors of the Ts-E* model on the field data.
4. Conclusions
This study developed a Ts-E framework for interpreting soil mechanical parameters from impact penetration responses. By combining temporal segmentation, shared-network inference, and integration of interpretation results, the framework shows comparatively stable interpretation accuracy under the investigated contiguous initial or final response truncation conditions. The laboratory leave-one-soil-out results also suggest a certain potential for generalization. The main findings are summarized as follows:
- Although the baseline LSTM performed better on the complete laboratory test set, Ts-E achieved higher overall interpretation accuracy on the independent field dataset. Trained on laboratory data, the model achieved a mean MAPE of 22.42% across the four soil mechanical parameters on the independent field data compared with 28.94% for the baseline model, indicating improved interpretation accuracy.
- The Ts-E model demonstrated a degree of robustness to incomplete responses and previously unseen soils. The mean MAPE of soil mechanical parameters was less than 25% even when the response was missing 50%, while in the leave-one-soil-out evaluations, the MAEs of Ts-E for cohesion, internal friction angle, Young’s modulus, and density were 75.70%, 85.47%, 78.35%, and 70.41% of the corresponding values of the baseline model, respectively.
- Replacement-based and segment-wise interpretation analyses reveal differences in temporal feature importance along the penetration response, with the initial and final portions being more important than the middle portion. The Ts-E* model, incorporating temporal feature importance, achieved a lower mean MAPE across the four soil mechanical parameters in the field tests than the original Ts-E model.
Although the proposed method shows potential for application in in situ soil mechanical characterization, several limitations should be acknowledged. The dataset comprises 540 laboratory penetration records from four soils collected in Tibet and Fujian and 60 field records from sandy soil in Fujian. The limited sample size and geographical coverage may not adequately represent variations in soil gradation, mineralogical composition, structure, and stress history across different geological settings. Interpretation accuracy may therefore decrease for soils or conditions substantially different from those represented in the dataset. The field results were assessed using aggregate error metrics across the entire field dataset, without separately quantifying variability in interpretation performance or sampling uncertainty among the 20 field areas. Further validation requires independent field datasets covering additional regions, soil types, and geological settings. The truncation experiments compare Ts-E with fixed baselines trained on complete responses and do not establish its superiority over a baseline trained with truncation augmentation. The separate contributions of segmentation and clustering under truncation remain unclear. In addition, replacement-based and segment-wise interpretation analyses provide some insight into temporal feature importance from a data-driven perspective. However, the replacement-based analysis may be influenced by the perturbation method and information redundancy, whereas segment-wise interpretation accuracy reflects local usefulness and does not capture the unique contribution of a particular temporal segment within the complete response. Further analysis of temporal importance should be combined with physical interpretation. Future research will focus on addressing these limitations to further improve the reliability and applicability of the proposed framework.
Author Contributions
All authors participated in the conception and design of the study. Conceptualization, Z.Y.; methodology, S.Z., Z.Y. and Y.L.; software, Z.H.; validation, Z.Y. and Z.L.; formal analysis, S.Z. and N.L.; investigation, S.Z., Y.L. and Z.L.; resources, Y.L.; data curation, S.Z., Z.L., N.L. and X.L.; writing—original draft preparation, S.Z.; writing—review and editing, Z.Y., Y.L. and Z.H.; visualization, S.Z. and Z.Y.; supervision, Y.L.; project administration, Y.L.; funding acquisition, Y.L. All authors have read and agreed to the published version of the manuscript.
Funding
This research work was funded by the National Key R&D Program of China (Grant No. 2025YFF0513104) and the Strategic Priority Research Program of Chinese Academy of Sciences (Grant Nos. XDB1400300, XDB1400403, and XDB0620103).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Data will be made available on request.
Acknowledgments
Generative AI tools were used to assist with English language polishing. All authors have agreed to this acknowledgement statement.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A
Table A1.
Composition of the laboratory dataset partitions.
Table A2.
Paired field mean MAPEs of Ts-E and Ts-E* across five repeated experimental runs.
References
- Baek, S.H.; Bong, T. Probabilistic slope analysis considering the cross-correlation among soil properties of mountain slopes in South Korea. Eng. Geol. 2025, 350, 108014. [Google Scholar] [CrossRef] [Scilit]
- Pham, T.A.; Medero, G.M.; Sutman, M. Thermo-hydro-mechanical coupling model of elastic modulus characteristic curve for unsaturated soils. Comput. Geotech. 2023, 162, 105704. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Fang, X.; Wang, L.; Li, Z.; Zhang, W.; Zhang, K.; Ding, X. Reliability analysis of landslide stabilization with pile groups considering spatial variability of soil properties. Comput. Geotech. 2026, 192, 107870. [Google Scholar] [CrossRef] [Scilit]
- Zhao, L.; Peng, J.; Ma, P.; Leng, Y.; Ma, Z. Microstructure response to shear strength deterioration in loess after freeze-thaw cycles. Eng. Geol. 2023, 323, 107229. [Google Scholar] [CrossRef] [Scilit]
- Han, X.; Yi, J.; Li, X.; Li, S.; Tang, H.; Wang, Z.; Ran, J. Application of extreme gradient boosting for predicting standard penetration test N-values from cone penetration test data. Bull. Eng. Geol. Environ. 2025, 84, 196. [Google Scholar] [CrossRef] [Scilit]
- Moffat, R.; Faundez, F.; Villalobos, F.A. Experimental investigation and analysis of the influence of depth and moisture content on the relationship between subgrade California bearing ratio tests and cone penetration tests for pavement design. Buildings 2025, 15, 345. [Google Scholar] [CrossRef] [Scilit]
- Zhan, L.T.; Guo, Q.M.; Chen, Y.M.; Wang, S.Y.; Feng, T.; Bian, Y.; Wu, J.J.; Yin, Z.Y. An efficient classification system for excavated soils using soil image deep learning and TDR cone penetration test. Comput. Geotech. 2023, 155, 105207. [Google Scholar] [CrossRef] [Scilit]
- Bol, E.; Önalp, A.; Özocak, A.; Sert, S. Estimation of the undrained shear strength of Adapazari fine grained soils by cone penetration test. Eng. Geol. 2019, 261, 105277. [Google Scholar] [CrossRef] [Scilit]
- Chow, S.H.; O’Loughlin, C.D.; Goh, C.L.V.; McIlduff, R.; White, D.J.; Chow, F.C. A comparative field study of free-fall cone and sphere penetrometers in soft sediment. Ocean Eng. 2023, 280, 114094. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Ying, L.; Lv, Z.; Li, N.; Yuan, Z.; Han, Z. A rapid interpretation RBF-NSGA-II framework for multi-mechanical parameters from impact penetration technique. Comput. Geotech. 2025, 185, 107377. [Google Scholar] [CrossRef] [Scilit]
- Liu, M.; Zhai, T.; Yu, T.; Bian, Y.; Ling, X.; Yang, Z. Model study on refined interpretation of internal friction angle of marine soil based on CPTu. Mar. Georesour. Geotechnol. 2026, 44, 516–530. [Google Scholar] [CrossRef] [Scilit]
- Motaghedi, H.; Armaghani, D.J. New method for estimation of soil shear strength parameters using results of piezocone. Measurement 2016, 77, 132–142. [Google Scholar] [CrossRef] [Scilit]
- Zhang, W.; Wang, D.; Zheng, J.; Fu, D. Numerical study of cone penetration tests to predict effective internal friction angles of cohesive soils. Eng. Geol. 2025, 345, 107870. [Google Scholar] [CrossRef] [Scilit]
- Chow, S.H.; Airey, D.W. Soil strength characterisation using free-falling penetrometers. Géotechnique 2013, 63, 1131–1143. [Google Scholar] [CrossRef] [Scilit]
- Ying, L.; Li, Y.; Li, N.; Lv, Z.; Liu, Q.; Cui, G. Cone impact penetration in sand: From high-rate granular mechanics to rapid inversion of shear-strength parameters. Comput. Geotech. 2025, 188, 107546. [Google Scholar] [CrossRef] [Scilit]
- Zhang, M.; Kouretzis, G.; Li, C.; Luan, L. Interpretation of free-fall piezocone tests in clay using a simplified cylindrical cavity expansion solution. Comput. Geotech. 2025, 181, 107132. [Google Scholar] [CrossRef] [Scilit]
- Fang, C.; Li, Y.; Shi, Y. Enhancing undrained shear strength prediction: A robust hybrid machine learning approach with naïve Bayes modeling. J. Eng. Appl. Sci. 2025, 72, 16. [Google Scholar] [CrossRef] [Scilit]
- Jiang, H.; Li, Y.; Zou, Q.; Zhang, J.; Cui, J.; Cheng, J.; Zhou, B.; Chen, S.; Zhou, W.; Yao, H. A GSD-driven approach to deriving stochastic soil strength parameters under hybrid machine learning models. Eur. J. Soil Sci. 2024, 75, e70009. [Google Scholar] [CrossRef] [Scilit]
- Nazem, M.; Karr, O.; Kardani, N.; Moridpour, S. Application of machine learning methods in estimating soil parameters from dynamic penetration tests. In Geotechnical Lessons Learnt—Building and Transport Infrastructure Projects, Proceedings of the 2022 AGS Sydney Annual Symposium, Sydney, Australia, 11 November 2022; Khabbaz, H., Rujikiatkamjorn, C., Parsa-Pajouh, A., Eds.; Lecture Notes in Civil Engineering; Springer: Singapore, 2024; Volume 541, pp. 103–112. [Google Scholar] [CrossRef] [Scilit]
- Shahani, N.M.; Ullah, B.; Shah, K.S.; Hassan, F.U.; Ali, R.; Elkotb, M.A.; Ghoneim, M.E.; Tag-Eldin, E.M. Predicting angle of internal friction and cohesion of rocks based on machine learning algorithms. Mathematics 2022, 10, 3875. [Google Scholar] [CrossRef] [Scilit]
- Mola-Abasi, H.; Eslami, A. Prediction of drained soil shear strength parameters of marine deposit from CPTu data using GMDH-type neural network. Mar. Georesour. Geotechnol. 2019, 37, 180–189. [Google Scholar] [CrossRef] [Scilit]
- Niyogi, A.; Ansari, T.A.; Sathapathy, S.K.; Sarkar, K.; Singh, T.N. Machine learning algorithm for the shear strength prediction of basalt-driven lateritic soil. Earth Sci. Inform. 2023, 16, 899–917. [Google Scholar] [CrossRef] [Scilit]
- Zhu, L.; Liao, Q.; Wang, Z.; Chen, J.; Chen, Z.; Bian, Q.; Zhang, Q. Prediction of soil shear strength parameters using combined data and different machine learning models. Appl. Sci. 2022, 12, 5100. [Google Scholar] [CrossRef] [Scilit]
- Yuan, Z.; Li, Y.; Ying, L.; Lv, Z.; Zeng, S. Intelligent inversion of soil mechanical parameters driven by impact penetration data: An explainable transfer learning method. Comput. Geotech. 2026, 198, 108281. [Google Scholar] [CrossRef] [Scilit]
- Hong, S.; Ko, S.J.; Woo, S.I.; Kwak, T.Y.; Kim, S.R. Time-series forecasting of consolidation settlement using LSTM network. Appl. Intell. 2024, 54, 1386–1404. [Google Scholar] [CrossRef] [Scilit]
- Shen, S.L.; Atangana Njock, P.G.; Zhou, A.; Lyu, H.M. Dynamic prediction of jet grouted column diameter in soft soil using Bi-LSTM deep learning. Acta Geotech. 2021, 16, 303–315. [Google Scholar] [CrossRef] [Scilit]
- Yang, B.; Yin, K.; Lacasse, S.; Liu, Z. Time series analysis and long short-term memory neural network to predict landslide displacement. Landslides 2019, 16, 677–694. [Google Scholar] [CrossRef] [Scilit]
- Miao, S.; Sun, K.; Li, W.; Hu, X.; Lv, F.; Bian, Z.; Li, W.; Wei, J. Spatial quality enhancement for wide view angle images: A sensor-specific preprocessing algorithm case study on FY-3D MERSI-II. IEEE Trans. Geosci. Remote Sens. 2024, 62, 1–18. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Wang, Y. Integrating unsupervised learning and transformer for missing log prediction. Geophysics 2025, 90, D85–D100. [Google Scholar] [CrossRef] [Scilit]
- Yang, Z.; Wu, X.; Pang, X.; Sheng, H.; Si, X.; Wang, G.; Yang, L.; Wang, C. Completing any borehole images. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5930113. [Google Scholar] [CrossRef] [Scilit]
- Cao, W.; Wang, D.; Li, J.; Zhou, H.; Li, L.; Li, Y. BRITS: Bidirectional recurrent imputation for time series. In Proceedings of the 32nd Conference on Neural Information Processing Systems (NeurIPS 2018), Montreal, QC, Canada, 3–8 December 2018; Advances in Neural Information Processing Systems. Volume 31, pp. 6775–6785. Available online: https://proceedings.neurips.cc/paper_files/paper/2018/file/734e6bfcd358e25ac1db0a4241b95651-Paper.pdf (accessed on 23 November 2026).
- Che, Z.; Purushotham, S.; Cho, K.; Sontag, D.; Liu, Y. Recurrent neural networks for multivariate time series with missing values. Sci. Rep. 2018, 8, 6085. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Du, W.; Côté, D.; Liu, Y. SAITS: Self-attention-based imputation for time series. Expert Syst. Appl. 2023, 219, 119619. [Google Scholar] [CrossRef] [Scilit]
- Wu, Y.; Yuan, Y.; Zhu, M.; Miao, X.; Xi, M. General incomplete time series analysis via patch dropping without imputation. In Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence (IJCAI 2025), Montreal, QC, Canada, 16–22 August 2025; pp. 6597–6605. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Hu, Y.; Ibrahim, A.; Mousa, A. Correlations versus machine learning models for prediction of Vs from CPT in fine-grained soil: A practice-oriented approach. Can. Geotech. J. 2026, 63, 1–22. [Google Scholar] [CrossRef] [Scilit]
- Wang, J.; Lan, C.; Liu, C.; Ouyang, Y.; Qin, T.; Lu, W.; Chen, Y.; Zeng, W.; Yu, P.S. Generalizing to unseen domains: A survey on domain generalization. IEEE Trans. Knowl. Data Eng. 2023, 35, 8052–8072. [Google Scholar] [CrossRef] [Scilit]
- Yu, B.; Varkey, D.; van den Eijnden, A.P.; Rongier, G.; Hicks, M.A. Machine learning for prediction of undrained shear strength from cone penetration test data. In Proceedings of the 14th International Conference on Applications of Statistics and Probability in Civil Engineering (ICASP14), Dublin, Ireland, 9–13 July 2023; pp. 1–8. Available online: http://hdl.handle.net/2262/103348 (accessed on 23 November 2026).
- Zhou, X.; Shi, P.; Sheil, B.; Suryasentana, S. Knowledge-based U-Net and transfer learning for automatic boundary segmentation. Adv. Eng. Inform. 2024, 59, 102243. [Google Scholar] [CrossRef] [Scilit]
- Tian, H.M.; Wang, Y.; Shi, C. Machine learning-aided selection of CPT-based transformation models using field monitoring data from a specific project. Acta Geotech. 2025, 20, 439–459. [Google Scholar] [CrossRef] [Scilit]
- Liu, D.; Shen, X.; Pan, D. Soil parameter inversion considering the influence of temperature effects. Appl. Sci. 2025, 15, 12511. [Google Scholar] [CrossRef] [Scilit]
- Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ganaie, M.A.; Hu, M.; Malik, A.K.; Tanveer, M.; Suganthan, P.N. Ensemble deep learning: A review. Eng. Appl. Artif. Intell. 2022, 115, 105151. [Google Scholar] [CrossRef] [Scilit]
- Ram, A.; Jalal, S.; Jalal, A.S.; Kumar, M. A density based algorithm for discovering density varied clusters in large spatial databases. Int. J. Comput. Appl. 2010, 3, 1–4. [Google Scholar] [CrossRef] [Scilit]
- Schubert, E.; Sander, J.; Ester, M.; Kriegel, H.P.; Xu, X. DBSCAN revisited, revisited: Why and how you should (still) use DBSCAN. ACM Trans. Database Syst. 2017, 42, 19. [Google Scholar] [CrossRef] [Scilit]
- Vega-Pons, S.; Ruiz-Shulcloper, J. A survey of clustering ensemble algorithms. Int. J. Pattern Recognit. Artif. Intell. 2011, 25, 337–372. [Google Scholar] [CrossRef] [Scilit]
- Chen, C.; Zhang, H.; Hu, Y.; Wang, X. Practical framework for accurate subgrade compaction quality evaluation based on high-frequency wavelets and neural networks. Constr. Build. Mater. 2026, 537, 147114. [Google Scholar] [CrossRef] [Scilit]
- Xue, X.; Wang, J.; Sheng, M.; Sun, Q. Experimental, numerical, and analytical studies of the uplift behavior of mini-piles in moistened loess foundations with parameter sensitivity analysis. Adv. Civ. Eng. 2026, 2026, 8867043. [Google Scholar] [CrossRef] [Scilit]
- Huang, K.; Ma, Q.; Ma, D.; Yao, Z. Strength and deformation properties of frozen sand under a true triaxial stress condition. Soils Found. 2022, 62, 101089. [Google Scholar] [CrossRef] [Scilit]
- Tankiewicz, M.; Kowalska, M.; Mońka, J. Evaluation of shear strength and stiffness of a loess–sand mixture in triaxial and unconfined compression tests. Materials 2024, 17, 3831. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Xie, Y.; Gao, Y.; Zou, W.; Han, Z.; Pei, Q.; Wang, X. Strain rate effects on mechanical behavior of silty clay under low confining pressure and its fractional derivative constitutive modeling. Acta Geotech. 2026. [Google Scholar] [CrossRef] [Scilit]
- Liu, Q.; Kong, F.; Chen, X.; Wang, G.; Li, K. Improving the accuracy of dynamic inclination measurement by machine learning. Sci. Rep. 2024, 14, 25071. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Nie, Y.; Nguyen, N.H.; Sinthong, P.; Kalagnanam, J. A time series is worth 64 words: Long-term forecasting with transformers. In Proceedings of the 11th International Conference on Learning Representations (ICLR 2023), Kigali, Rwanda, 1–5 May 2023; Available online: https://openreview.net/forum?id=Jbdc0vTOcol (accessed on 23 November 2026).
- Sak, H.; Senior, A.; Rao, K.; Beaufays, F. Fast and accurate recurrent neural network acoustic models for speech recognition. In Proceedings of the Interspeech 2015, Dresden, Germany, 6–10 September 2015; pp. 1468–1472. [Google Scholar] [CrossRef] [Scilit]
- Xiong, H.; Dai, S.; Lan, P.; He, X.; Tong, C.; Zhang, S.; Sheng, D. Probabilistic indirect models for undrained shear strength: Addressing significant data missing and variability with advanced imputation and machine learning techniques. Comput. Geotech. 2025, 187, 107488. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.













