1. Introduction
Oil and gas production typically peaks during the early stages of field development. With time, the need for development plans grounded in rigorous theoretical foundations and robust empirical evidence increases. As exploration targets shift toward deeper and more complex reservoirs, characterization and evaluation of these reservoirs become increasingly challenging.
Physical properties are essential for evaluating oil and gas reservoirs. Typically, pre-stack or post-stack seismic inversion methods are used to estimate elastic parameters; subsequently, reservoir physical properties, such as porosity and permeability, are predicted based on established statistical relationships [
1,
2]. Porosity indicates a reservoir’s capacity to store fluids by measuring the proportion of rock volume occupied by pore space available for fluids such as oil, gas, or water. It is a key indicator for assessing whether a reservoir can store sufficient hydrocarbons. Permeability reflects how easily fluids flow through a rock’s pore network by quantifying the ease of flow through interconnected pores within reservoir rocks. It is one of the most important parameters for evaluating a reservoir’s commercial viability, production prospects, and recoverability. Therefore, porosity and permeability are considered among the most significant physical properties of reservoir rocks [
3]. These parameters are fundamental to the assessment of reservoir quality and the development of effective extraction strategies [
4]. Currently, the primary methods for obtaining porosity and permeability data include laboratory core testing and indirect inversion techniques [
5]. Laboratory testing provides the most accurate data; however, due to cost constraints, cores are typically extracted only from a limited number of key wells during exploration. Indirect inversion estimates these properties by exploiting relationships between porosity and permeability and seismic data or elastic parameters [
6]. However, the relationship between physical properties and seismic data is highly nonlinear. The accuracy of property predictions is affected by uncertainties in seismic inversion and ambiguities in rock-physical relationships. These uncertainties can propagate throughout the workflow, thereby increasing prediction errors [
7].
Deep learning is a class of neural network models used to approximate aspects of human brain function for analysis and learning tasks. The key advantage of deep learning lies in its ability to solve specific problems by constructing task-appropriate network architectures. By introducing unprecedented efficiency and innovation, it has a profound impact on traditional upstream geothermal energy industries, such as geothermal energy, oil, and natural gas industries [
8]. It has applications in seismic data processing, such as seismic data denoising and data reconstruction [
9,
10]. Deep learning is also used in seismic reservoir prediction, including lithology and fluid content prediction [
11,
12], fracture property prediction [
13,
14,
15], fault interpretation [
16], and reservoir parameters prediction (e.g., porosity, permeability) [
17,
18,
19].
Existing methods for constructing sample pairs based on logging data can broadly be categorized into three types: PTP (point to point), STP (sequence to point), and STS (sequence to sequence) [
20]. PTP does not account for the spatial linkage between the logging sampling points and the surrounding strata. STP can make it difficult for the network to capture features when reservoir parameter changes [
21], whereas establishing the STS prediction paradigm places high demands on logging data and requires numerous continuous logging labels. Due to the environmental conditions and cost limitations, logging data often contains several missing values. Moreover, during deep learning sample construction, it is necessary to transform data from the depth domain to the time domain, which involves downsampling. Although mask-based loss functions can alleviate the problem of sparse labeling, missing values may still affect model performance [
20].
The small-sample problem has also attracted considerable research attention within the field of deep learning research. To address well-log scarcity, semi-supervised learning (SSL) in geophysics has evolved from traditional machine learning (e.g., using TSVM for anomaly detection [
22]) to modern deep consistency regularization. While frameworks like Mean Teacher succeed in discrete classification tasks such as salt segmentation [
23], applying these homogeneous methods to continuous petrophysical regression under ultra-sparse labels often leads to optimization bottlenecks and numerical confusion [
24]. In computer vision sample expansion, early approaches employed data augmentation methods based on fundamental image transformations to address the scarcity of image samples. These methods are simple and efficient and remain among the most used techniques. They achieve augmentation through geometric transformations (e.g., rotation, translation, cropping, scaling, etc.) or color transformations in pixel space [
25]. However, seismic data differ substantially from traditional natural images. Adjacent channels in seismic data contain crucial geological information, and inappropriate alterations may compromise their physical significance. Therefore, simple rotation or stitching techniques cannot be directly applied to augment seismic datasets. With advances in generative networks, deep learning–based sample generation has seen increasing applications, exemplified by generative adversarial networks (GANs) and diffusion models. These methods learn data distributions to generate more complex and realistic images. Generative model–based sample augmentation has also been applied in seismic denoising [
26,
27] and reservoir facies generation [
28]. However, these models are difficult to train and generate samples that exhibit artifacts and blurring. While these issues can be manually controlled for relatively large image datasets, generated errors become difficult to control in smaller-scale reservoir parameter prediction because the quality of generated samples cannot be empirically measured.
This paper combines a semi-supervised learning framework that utilizes deep co-training and shape context and employs different models for two distinct tasks. Specifically, shape context explicitly encodes seismic waveform information and the relative spatial positions of prediction points, thereby addressing the issue where the model cannot accurately capture features at label transitions. The deep co-training framework introduces a large amount of unlabeled data and adversarial sample generation methods, thereby alleviating the problem of sample sparsity.
Figure 1 depicts the workflow of this paper, which includes sample construction, the model training process, and network architecture. First, we apply shape context to seismic data and the dataset construction process, including the sample expansion strategy. Subsequently, we describe the details of applying deep co-training to reservoir prediction. Finally, we demonstrate the effectiveness of the proposed method by applying it to real seismic data.
Compared with existing reservoir prediction methods, the primary contributions and novelties of this work are highlighted in the following two aspects:
- (1)
In complex geological environments such as the tight sandstone reservoirs in the South China Sea, the porosity data derived from well logs typically exhibits a relatively continuous distribution. In contrast, the corresponding permeability data is heavily influenced by microscopic pore-throat structures, demonstrating extreme heterogeneity. Compounded by the overall scarcity of well-log data, accurate quantitative prediction of permeability is highly challenging. Therefore, this study adopts a combined approach utilizing porosity regression and permeability classification. Furthermore, the effectiveness of deep co-training relies on the assumption of divergent input perspectives between the two models. Our proposed asymmetric training framework, which integrates different task types (quantitative and qualitative), further amplifies this perspective variance, compelling the models to perform deeper cross-validation of physical information.
- (2)
Traditional Sequence-to-Point (STP) deep learning prediction paradigms typically treat individual seismic traces as isolated sequences. Due to their reliance on fixed sliding windows, these models struggle to capture features when reservoir parameters change abruptly. Conventional STP models depend heavily on absolute seismic amplitudes or standard attributes and lack sensitivity to the topological shape of the waveform (i.e., the relative geometric morphology of peaks and troughs). Consequently, they are prone to producing laterally discontinuous “vertical stripes” in profile predictions. By introducing the Shape Context descriptor to explicitly encode the relative spatial position and two-dimensional geometric distribution of target points within the seismic waveform, we achieve a feature-based representation of waveform morphology. This approach not only compensates for the deficiencies in conventional sequential feature extraction but also significantly enhances the lateral continuity and geological interpretability of the spatial prediction results.
3. Results
The proposed method was evaluated using real data. The study area is located in the South China Sea region. This area has a limited number of logging wells with irregular distribution, and there is a significant lack of parameter data, particularly permeability data. Several issues remain, including a limited understanding of distribution patterns, an unclear reservoir formation process, complex petrophysical relationships, insufficient understanding of gas–water reservoir states, and difficulties in evaluating productivity and dynamic reserves. We designed three sets of experiments: (1) using samples located at the center of the window for STP prediction, (2) incorporating SC into STP prediction, and (3) combining SC and DCT for STP prediction; hereinafter, these approaches are referred to as STP, SC-STP, and DCT–SC–STP, respectively. STP uses a convolutional neural network with residual blocks, with inputs consisting of original seismic data and seismic attribute data extracted using commercial software. The other two experiments additionally incorporate a network structure of the same depth, with shape context as input, which is ultimately output through a fusion layer.
We allocated 80% of the logging sample points to the training set
and the remaining 20% to the testing set
. In the two experiments that included the shape context descriptor, we performed random resampling within the training set
using a sliding window. In contrast, for the experiment without the shape context descriptor, the extracted data consisted of a three-dimensional window centered on the sample points of
.
Table 2 summarizes the data distribution used in our experiments. To simulate a realistic semi-supervised scenario,
(916 samples) serves as the primary labeled dataset, which is further partitioned into
(684 samples) and
(232 samples) to provide distinct data perspectives for the dual-task co-training branches. Additionally, a large unlabeled seismic dataset
(5000 samples) is incorporated to exploit the vast potential of unlabeled information. The final training set
(3940 samples) will be divided into training sets at the intersection of
and
, and then randomly expanded with a larger number of samples. Additionally, three wells were retained as validation wells. In this paper, the network model is a convolutional neural network (CNN) incorporating skip connections. The input seismic data have a dimension of 3 × 3 × 13, and the learning rate is set to 0.01. The model is trained for 600 epochs using a 3 × 3 × 3 3D convolution kernel for seismic data and a 3 × 3 convolution kernel for shape context.
The hyperparameters selected in this article are
= 0.5 and
= 1. As mentioned earlier,
is the weight of the
, and
is the temperature coefficient of the probability map. Since the labeled samples for permeability (reservoir type) are strictly a subset of the porosity samples, the classification branch, in the absence of direct supervision signals, relies heavily on the cross-task consistency loss (
) to incorporate complementary information. Consequently, the classification performance exhibits a higher sensitivity to variations in the hyperparameters of this loss function. To address this, we focused our cross-sensitivity analysis on the impact of the loss weight
and the temperature coefficient
on the accuracy of the classification model, with the results illustrated in
Figure 7.
The results indicate that the model achieves its peak classification accuracy at = 1.0. Deviating from this optimal value (e.g., 0.5 or 2.0) leads to a slight decrease in performance, demonstrating that an appropriate temperature coefficient is necessary to prevent the probability distribution from becoming overly sharp or too flat. More importantly, the accuracy curves for = 0.5, 1.0, and 2.0 are tightly clustered with overlapping standard deviations. This clearly demonstrates that our proposed framework is highly robust and relatively insensitive to the consistency loss weight within the broad range of [0.5, 2.0]. However, an excessively large weight ( = 5.0) significantly degrades performance, as the consistency constraint begins to overwhelm the primary supervised learning tasks. Based on these empirical findings, we set = 1 and = 1 for all subsequent experiments.
Figure 8 shows the predictive performance of three methods on the test dataset from multiple perspectives, including curve comparison, classification prediction accuracy, and quantitative regression consistency.
Figure 8a shows the porosity prediction curve and corresponding reservoir type classification results. In the porosity curve graph, the black solid line represents the true porosity value obtained from well logging records, while the red dashed line represents the predicted porosity generated by the model. By comparing the predicted curve with the true value, it can be observed that the basic STP model shows significant deviations in several depth intervals, especially near areas where porosity values change rapidly. After introducing Shape Context Descriptors (SC-STP), the predicted curve became more closely aligned with the overall trend of true porosity, indicating that shape context descriptors effectively enhance the model’s ability to capture waveform morphology and local structural features in seismic records. When the dual task deep collaborative training framework (DCT–SC–STP) is further introduced, the consistency between the predicted porosity curve and reservoir type reaches the highest level. This improvement indicates that collaborative learning between regression and classification tasks helps the model better utilize the complementary information contained in the data.
Figure 8b shows the scatter plots of predicted porosity and true porosity values using three methods. Ideally, the predicted value should be closely aligned with the diagonal, representing a perfect prediction. As shown in the figure, the distribution of STP predicted values is relatively scattered, significantly deviating from the diagonal, reflecting a large prediction error. After introducing shape context descriptors, the SC-STP results are more concentrated near the diagonal, indicating an improvement in regression accuracy. The DCT–SC–STP method further tightened the distribution of points near the diagonal and showed the smallest prediction error among the three methods. This result confirms that the proposed framework effectively improves regression performance by integrating structural information of seismic waveforms and utilizing complementary learning between porosity prediction and reservoir classification.
Figure 8c shows the confusion matrix of three methods for predicting reservoir types. The confusion matrix quantitatively evaluates classification performance by comparing predicted categories with real labels. Compared with the STP model, SC-STP and DCT–SC–STP have higher values on diagonal elements, indicating an improvement in classification accuracy. Especially, the DCT–SC–STP method has a more concentrated distribution on the diagonal and fewer misclassifications between adjacent reservoir types. This result indicates that the combination of shape context descriptors and dual task collaborative training effectively enhances the model’s ability to distinguish different reservoir categories.
Table 3 presents the quantitative evaluation results of the STP, SC-STP, and our proposed DCT–SC–STP framework on the test set. It is evident that the step-by-step integration of our designed modules progressively and significantly enhances the predictive performance for both porosity regression and reservoir type classification.
Table 4 shows the comparison of training time between STP, SC-STP, and our proposed DCT–SC–STP framework. We record the time every 100 epochs and calculate the average. This training time is the result of parallel training of the two models. It can be seen that adding SC and DCT requires more time overhead. We believe that the trade-off between accuracy and computational cost is acceptable.
After validation on the test set, we further conducted predictions on seismic profiles, as shown in
Figure 9. We performed predictions on the combined profile of three blind wells, where W1, W2, and W3 denote the three blind wells.
Figure 9a shows the STP prediction results,
Figure 9b shows the SC-STP prediction results, and
Figure 9c shows the DCT–SC–STP prediction results. The left side displays the porosity profile prediction results, whereas the right side shows the reservoir type profile prediction results. Compared to STP, SC-STP predictions exhibit superior lateral continuity. At Well W2 (highlighted by the red oval), STP exhibits poorer lateral continuity and displays vertical strip-like patterns. This situation occurs because the STP prediction paradigm struggles to capture variations in seismic data within fixed windows, whereas the SC-STP method incorporates seismic waveform information to enhance lateral continuity in predictions. Regarding reservoir type predictions, STP tends to overestimate reservoir types and fails to clearly delineate boundaries, with profile predictions exhibiting chaotic downhole phenomena. This indicates that the STP prediction paradigm struggles to accurately delineate favorable target zones. SC-STP more precisely delineates reservoir boundaries in its predictions. However, combining the SC-STP’s porosity and reservoir-type profiles reveals discrepancies at well W3 (highlighted by the red circle). While reservoir-type predictions align well with labels in the upper half of W3, the porosity results show opposite trends. The lack of consistency between tasks makes it difficult to determine whether the area constitutes a favorable reservoir. By leveraging the complementary perspectives of both models through a co-training framework, the DCT–SC–STP predictions demonstrate strong inner-task consistency. The porosity prediction profile at W3 aligns well with the conclusions drawn from the well data, thereby validating the effectiveness of the co-training approach.
Figure 10 presents the prediction results for blind well W3.
Figure 10a shows the STP prediction results,
Figure 10b shows the SC-STP prediction results,
Figure 10c shows the DCT–SC–STP prediction results, and
Figure 10d shows the actual reservoir type labels. The overall trend of the STP porosity prediction results is more gradual, whereas SC-STP exhibits steeper variations. This behavior is attributed to the shape context incorporating the relative position of the target point within the window, enabling the network to more readily extract features at the target location. Overall, DCT–SC–STP demonstrates superior consistency and complementarity, exhibiting greater restraint in predicting high-porosity and high reservoir types. This aids in narrowing the scope of the target area.
Additionally, we recorded the accuracies of SC-STP and DCT–SC–STP on the test set, as shown in
Figure 11. The orange curve represents the accuracy curve for SC-STP, and the blue curve represents the accuracy curve for DCT–SC–STP. We employed 600 epochs, with all other parameters held constant. It is evident that DCT–SC–STP not only achieves higher accuracy but also demonstrates significantly improved training stability, thereby reducing instances of substantial accuracy fluctuations. This enhancement in model stability, attributed to the incorporation of adversarial examples, validates the effectiveness of the adversarial techniques.
To further illustrate the dynamic impact of the conditional mask during the optimization process,
Figure 12 plots the validation accuracy curves over 600 training epochs for both the “Mask” (proposed) and “No Mask” configurations. In contrast, the integration of our proposed conditional mask (blue line) acts as an effective gradient filter. It successfully shields the network from these disruptive signals, leading to a significantly more stable optimization trajectory and ultimately converging at a higher accuracy plateau. This demonstrates that the conditional mask ensures the stability of the dual-task co-training framework.
To rigorously evaluate the proposed DCT–SC–STP framework, we compared it against two representative semi-supervised paradigms: Mean Teacher (MT) and single-task deep co-training (DCT single task). Crucially, to ensure a fair comparison within our dual-task scenario, we implemented task-specific variants for both baselines. That is, we trained independent models for porosity regression (MT-Reg, DCT-Reg) and reservoir type classification (MT-Cls, DCT-Cls).
As presented in
Table 5, we quantitatively compared our proposed DCT–SC–STP framework with two representative semi-supervised learning baselines: single-task deep co-training (DCT) and Mean Teacher. Both the single-task DCT and the Mean Teacher struggle to optimize the regression task further. This limitation arises because these traditional paradigms enforce consistency strictly within an isolated continuous space, making them highly susceptible to confirmation bias and lacking explicit constraints on unlabeled data. In contrast, our DCT–SC–STP framework achieves the best overall performance, reducing the porosity RMSE to 1.62 and improving the permeability classification accuracy to 84.9%. This substantial performance margin is primarily attributed to our proposed heterogeneous cross-task consistency mechanism. By projecting continuous regression outputs into a probability space via the mid-point mapping, it safely overcomes the bottlenecks of isolated single-task learning and fully exploits the potential of unlabeled seismic data.
4. Discussion
The proposed DCT–SC–STP framework improves reservoir prediction under limited labeled data through three key mechanisms: shape context encoding, data expansion, and asymmetric dual-task co-training.
The shape context descriptor explicitly encodes relative spatial distributions within seismic sequences, capturing waveform morphology beyond raw amplitudes. This structural information enhances the network’s sensitivity to subtle seismic variations associated with different reservoir properties. The sliding-window expansion strategy mitigates the small-sample problem by generating diverse training samples around each logging point while preserving geological continuity—a critical requirement for seismic data. The asymmetric dual-task framework formulates porosity regression and permeability classification collaboratively, using a conditional mask–based consistency loss. This design captures underlying correlations between the two properties without enforcing rigid empirical relationships, which often vary across geological settings. Furthermore, the integration of unlabeled seismic data via deep co-training, combined with FGSM-based adversarial sample generation, improves model robustness and generalization.
Despite these advantages, several limitations remain. First, the predefined permeability classification intervals simplify learning but may cause information loss compared with direct quantitative prediction. Future work could explore probabilistic regression or multi-task learning for continuous properties. Second, the shape context descriptor focuses on local waveform geometry within a fixed window and may not fully capture larger-scale structures (e.g., faults, stratigraphic boundaries). Incorporating multi-scale representations or structural geological constraints could further improve accuracy and interpretability. Finally, although the method performs well in the study area (Yinggehai Basin), its generalization to other basins with different reservoir characteristics requires validation on diverse datasets.
Overall, integrating shape-based seismic descriptors with semi-supervised dual-task learning offers a promising direction for reservoir prediction in data-limited scenarios, enhancing prediction accuracy, spatial consistency, and model robustness.