<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Earth Sci.</journal-id>
<journal-title>Frontiers in Earth Science</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Earth Sci.</abbrev-journal-title>
<issn pub-type="epub">2296-6463</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1510138</article-id>
<article-id pub-id-type="doi">10.3389/feart.2024.1510138</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Earth Science</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Porosity identification using residual PPTransformer network</article-title>
<alt-title alt-title-type="left-running-head">Huang et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/feart.2024.1510138">10.3389/feart.2024.1510138</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Huang</surname>
<given-names>Ke</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Cui</surname>
<given-names>Shitao</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Kan</surname>
<given-names>Hongge</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Yang</surname>
<given-names>Shihe</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Zhang</surname>
<given-names>Lina</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Chen</surname>
<given-names>Yajie</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Zhang</surname>
<given-names>Xiaolin</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Zhu</surname>
<given-names>Li</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Li</surname>
<given-names>Huaiyuan</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2865222/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>China National Logging Corporation</institution>, <addr-line>Xi&#x2019;an</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>School of Information and Communications Engineering</institution>, <institution>Xi&#x2019;an Jiaotong University</institution>, <addr-line>Xi&#x2019;an</addr-line>, <addr-line>Shaanxi</addr-line>, <country>China</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2704482/overview">Xingye Liu</ext-link>, Chengdu University of Technology, China</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1898672/overview">Qingzhi Hou</ext-link>, Tianjin University, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1108793/overview">Luanxiao Zhao</ext-link>, Tongji University, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2873105/overview">Ziqi Jin</ext-link>, Northeast Petroleum University, China</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Huaiyuan Li, <email>lihuaiy2001@stu.xjtu.edu.cn</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>18</day>
<month>12</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>12</volume>
<elocation-id>1510138</elocation-id>
<history>
<date date-type="received">
<day>12</day>
<month>10</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>04</day>
<month>12</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2024 Huang, Cui, Kan, Yang, Zhang, Chen, Zhang, Zhu and Li.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Huang, Cui, Kan, Yang, Zhang, Chen, Zhang, Zhu and Li</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>Precisely estimating the carbonate&#x2019;s porosity is essential for subsurface reservoir characterization. However, conventional methods for obtaining porosity using either core measurements or logging interpretation are expensive and inefficient. Considering the sequence data feature of logging curves and the booming development of intelligent networks in geoscience, this study proposes a reliable and low-cost intelligent Porosity Prediction Transformer (PPTransformer) framework for reservoir porosity prediction using logging curves as inputs. PPTransformer network not only extracts global features through convolutional layers but also captures local features using Encoders and self-attention mechanisms. This proposed network is a data-driven supervised learning framework with a superior accuracy and robustness. The testing results demonstrate that compared to the Transformer network, Long Short-Term time series network, and support vector machine method, the PPTransformer framework exhibits the highest average correlation coefficient and determination coefficient indicators and the lowest root mean square error and absolute error indicators. Moreover, adding stratigraphic lithology as geological constraints to the PPTransformer framework further improves the prediction performance. This indicates that geological constraints will enhance network performance.</p>
</abstract>
<kwd-group>
<kwd>deep carbonate rocks</kwd>
<kwd>porosity prediction</kwd>
<kwd>PPTransformer</kwd>
<kwd>logging curves</kwd>
<kwd>deep learning</kwd>
</kwd-group>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Georeservoirs</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>Carbonate rocks are critical oil reservoirs that play a significant role in China&#x2019;s oil and gas production enhancement stage. They are widely distributed in China, such as the Tarim Basin, Sichuan Basin, Ordos Basin, and North China. Therefore, carbonate reservoirs have become a prominent fossil resource in recent decades. Moreover, with the development of exploration technologies, low porosity low permeability carbonate formation buried in a deeper depth (e.g., &#x3e;4,500 m) consequently draws our attention (<xref ref-type="bibr" rid="B23">Luo et al., 2021</xref>).</p>
<p>Porosity is the most significant parameter for reservoir characterization, reflecting the reservoir&#x2019;s fluid storage capacity. Over the past few decades, geophysicists have extensively estimated porosity through many methods (<xref ref-type="bibr" rid="B10">Fu et al., 2017</xref>; <xref ref-type="bibr" rid="B8">Fan et al., 2012</xref>; <xref ref-type="bibr" rid="B31">Tian et al., 2010</xref>; <xref ref-type="bibr" rid="B1">An and Cao, 2018</xref>; <xref ref-type="bibr" rid="B38">Xi and Zhang, 1995</xref>; <xref ref-type="bibr" rid="B24">Ma et al., 2022</xref>; <xref ref-type="bibr" rid="B30">Richardson, 2018</xref>; <xref ref-type="bibr" rid="B19">Li K. W. et al., 2021</xref>; <xref ref-type="bibr" rid="B17">Kumar et al., 2022</xref>; <xref ref-type="bibr" rid="B36">Wu et al., 2016</xref>; <xref ref-type="bibr" rid="B37">Wu et al., 2021</xref>). Three main approaches have been employed: core sample measurements, complex empirical mathematical models, and machine learning (ML) techniques.</p>
<p>The most straightforward method of obtaining porosity is from core measurements (<xref ref-type="bibr" rid="B20">Li et al., 2012</xref>; <xref ref-type="bibr" rid="B34">Wang et al., 2015</xref>; <xref ref-type="bibr" rid="B21">Lian et al., 2013</xref>). In addition, well log and seismic data have been extensively used for porosity prediction. Although Well log data exhibit non-linear characteristics, the correlation between different well logs is only sometimes apparent due to the substantial heterogeneity of the formations and the complexity of geological conditions (<xref ref-type="bibr" rid="B13">Ju et al., 2012</xref>). On the other hand, seismic data are affected by noise, which weakens seismic features, necessitating effective noise reduction techniques to enhance correlations between different datasets (<xref ref-type="bibr" rid="B5">Chen et al., 2021</xref>; <xref ref-type="bibr" rid="B18">Li C. et al., 2021</xref>; <xref ref-type="bibr" rid="B22">Luo et al., 2018</xref>; <xref ref-type="bibr" rid="B26">Mou et al., 2015</xref>). Understanding the internal relationships between seismic/rock physics parameters and reservoir properties helps improve the accuracy of porosity predictions (<xref ref-type="bibr" rid="B1">An and Cao, 2018</xref>). Bachrach et al. proposed a data-driven Bayesian joint inversion method to estimate porosity in tight sandstone using seismic data, bypassing the complexities of rock physics modeling (<xref ref-type="bibr" rid="B38">Xi and Zhang, 1995</xref>). Zhao et al. developed an empirical model for predicting porosity, leveraging the Kozeny equation and partial least squares regression to analyze the relationship between porosity and rock composition (<xref ref-type="bibr" rid="B44">Zheng et al., 2017</xref>).</p>
<p>Researchers have developed mathematical and physical models to establish relationships between elastic parameters and reservoir properties (<xref ref-type="bibr" rid="B24">Ma et al., 2022</xref>; <xref ref-type="bibr" rid="B30">Richardson, 2018</xref>; <xref ref-type="bibr" rid="B19">Li K. W. et al., 2021</xref>) to obtain porosity more efficiently. Porosity estimating from physical models mainly relies on core measurements and rock physics theories. Most physical models are qualitatively built by analyzing reservoir parameters and elastic parameter sensitivity, thus limiting the feasibility (<xref ref-type="bibr" rid="B33">Wang et al., 2020</xref>; <xref ref-type="bibr" rid="B3">Bengio et al., 1994</xref>). However, the actual rock is extremely complicated. Therefore, mathematical methods are employed to characterize rock properties mathematically (<xref ref-type="bibr" rid="B37">Wu et al., 2021</xref>; <xref ref-type="bibr" rid="B39">Xiong et al., 2021</xref>; <xref ref-type="bibr" rid="B41">Zhang D. X. et al., 2018</xref>). However, mathematical models significantly rely on initial inputs. Consequently, physical modeling and mathematical methods cannot be widely adopted.</p>
<p>Due to their powerful data-fitting capabilities, machine learning methods have been used for porosity prediction in recent decades. ML techniques can automatically establish a non-linear relationship between well log/seismic data and reservoir parameters (e.g., porosity) with prior knowledge (<xref ref-type="bibr" rid="B17">Kumar et al., 2022</xref>; <xref ref-type="bibr" rid="B36">Wu et al., 2016</xref>; <xref ref-type="bibr" rid="B37">Wu et al., 2021</xref>). Numerous successful studies have demonstrated the powerful ability of ML techniques to explore correlations between multiple complex variables in geophysics. The most commonly used reservoir parameter prediction methods include Support Vector Regression (SVR), Random Forest (RF), and Artificial Neural Networks (ANN) (<xref ref-type="bibr" rid="B42">Zhang G. Y. et al., 2018</xref>; <xref ref-type="bibr" rid="B29">Ren et al., 2019</xref>; <xref ref-type="bibr" rid="B15">Karimpouli et al., 2010</xref>). Zhang et al. explored the non-linear relationship between porosity and rock physics parameters using SVR, demonstrating its better generalization than classical linear and multi-linear regression methods (<xref ref-type="bibr" rid="B6">Chen et al., 2022</xref>). Ao et al. proposed a linear random forest algorithm to predict porosity, showing its effectiveness in regression modeling through extensive experiments (<xref ref-type="bibr" rid="B2">Ao et al., 2019</xref>). Nkurlu et al. presented a neural network method for porosity prediction, which performed exceptionally well (<xref ref-type="bibr" rid="B25">Mathew Nkurlu et al., 2020</xref>). However, although these ML algorithms are functional for reservoir parameter prediction, the detailed processes are difficult to interpret physically, limiting their application. Enhancing data mining and interpretability in ML networks would help understand the non-linear relationships between input and output (<xref ref-type="bibr" rid="B43">Zhang et al., 2021</xref>).</p>
<p>Over the past decade, deep learning (DL) techniques have become even more potent than ML methods by stacking hidden layers and mapping them to higher-level representations to extract additional features from input data (<xref ref-type="bibr" rid="B35">Wu et al., 2018</xref>). Depending on whether labeled data are used to assist network training, DL methods can be categorized into supervised and unsupervised learning methods. With the increasing amount of data and improvements in computational hardware, DL techniques have been widely applied in geophysics, including for random and coherent noise attenuation (<xref ref-type="bibr" rid="B40">Yang et al., 2021</xref>), channel detection (<xref ref-type="bibr" rid="B28">Pham and Fomel, 2021</xref>), seismic data inversion (<xref ref-type="bibr" rid="B16">Kazei et al., 2021</xref>), and seismic event picking (<xref ref-type="bibr" rid="B7">Chen et al., 2019</xref>). Currently, the most popular DL techniques among geophysicists are based on Convolutional Neural Networks (CNNs) (<xref ref-type="bibr" rid="B45">Zhong et al., 2019</xref>) and Long Short-Term Memory (LSTM) networks (<xref ref-type="bibr" rid="B12">Hochreiter and Schmidhuber, 1997</xref>).</p>
<p>The advantage of CNNs lies in sharing parameters and local perception during network training, which allows us to extract local and global data features (<xref ref-type="bibr" rid="B11">Hinton and Salakhutdinov, 2006</xref>). Zhong et al. proposed a CNN model to predict reservoir parameters through logging curves (e.g., gamma-ray (GR), density (DEN), and shale content (SH)) as input (<xref ref-type="bibr" rid="B35">Wu et al., 2018</xref>). Feng et al. developed an unsupervised CNN method to invert acoustic impedance from seismic data and ultimately estimate porosity. This method improves lateral continuity using pre-trained weights from previous network layers to initialize subsequent hidden layers (<xref ref-type="bibr" rid="B9">Feng et al., 2020</xref>). Furthermore, LSTM, with its excellent ability to remember and extract long-term sequence features, has been widely used in deep sequence processing (<xref ref-type="bibr" rid="B14">Kalchbrenner et al., 2015</xref>; <xref ref-type="bibr" rid="B1">An and Cao, 2018</xref>; <xref ref-type="bibr" rid="B24">Ma et al., 2022</xref>; <xref ref-type="bibr" rid="B33">Wang et al., 2020</xref>). Chen et al. proposed a multi-layer LSTM (MLSTM) for porosity prediction and analyzed the impact of different well log inputs on prediction performance (<xref ref-type="bibr" rid="B4">Chen et al., 2020</xref>).</p>
<p>Recently, the Vision Transformer (ViT) framework has gained widespread attention across various fields due to its superior global feature extraction and parallel computing capabilities in natural language and image processing (<xref ref-type="bibr" rid="B27">Munchmeyer et al., 2021</xref>). ViT primarily consists of Transformer encoders (TEs) and decoders, with each encoder composed of self-attention (SA) mechanisms, layer normalization (LN), and feed-forward (FFW) layers. By reducing the distance between two positions in a sequence, ViT captures relationships between variables more effectively, thereby learning long-range dependencies. Compared to LSTM and CNN methods, ViT overcomes the limitations of parallel computing, allowing for the correlation of data features spanning longer ranges (<xref ref-type="bibr" rid="B32">Vaswani, 2017</xref>). Additionally, using attention mechanisms enhances the prediction performance and interpretability of the network.</p>
<p>In this paper, we design a PPTransformer framework for intelligent porosity prediction using well log data as input. Moreover, physical constraints are incorporated into the PPTransformer framework by using lithology as a geological constraint to assist in model training, further improving the prediction accuracy of the PPTransformer framework. The structure of the paper is as follows: first, the architecture and principles of the Transformer network are described. Second, the proposed PPTransformer framework is validated using actual data. Third, lithology is added as a constraint to enhance performance further. Finally, the results are discussed, and conclusions are drawn.</p>
</sec>
<sec sec-type="methods" id="s2">
<title>2 Methodology</title>
<sec id="s2-1">
<title>2.1 Research workflow</title>
<p>
<xref ref-type="fig" rid="F1">Figure 1</xref> illustrates the workflow for intelligent porosity prediction in carbonate reservoirs using the PPTransformer network. We can see that the entire workflow consists of data process, data separation, model configuration, model training, and test data validation.<list list-type="simple">
<list-item>
<p>(1) Feature selection: five well log curves (acoustic, gamma-ray, neutron, density, and resistivity logs) are selected as inputs to estimate porosity.</p>
</list-item>
<list-item>
<p>(2) Data preprocessing: the resistivity log is scaled logarithmically due to their significant magnitude difference from other logs.</p>
</list-item>
<list-item>
<p>(3) Dataset partitioning: the total dataset is from five wells. The two wells containing the most enormous data volumes are used for network training, while the remaining three are used for testing.</p>
</list-item>
<list-item>
<p>(4) PPTransformer configuration: the network comprises convolutional and Transformer encoder layers. The convolutional layers extract global features, while the encoder captures local features using multi-head self-attention mechanisms.</p>
</list-item>
<list-item>
<p>(5) Model training and porosity prediction: the model uses the Adam optimizer with RMSE as the loss function. It is then applied to the test dataset to evaluate its performance.</p>
</list-item>
</list>
</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>The identification process of carbonate porosity based on PPTransformer, including data filtering, feature selection, dataset division, model training, and testing.</p>
</caption>
<graphic xlink:href="feart-12-1510138-g001.tif"/>
</fig>
</sec>
<sec id="s2-2">
<title>2.2 PPTransformer structure</title>
<p>Traditional methods for porosity prediction mainly rely on well log data or seismic data. Similar to time series in natural language processing, well log data is a sequence recorded at fixed sampling intervals (e.g., 0.125 m) according to geological depth. Therefore, we propose a supervised deep learning framework that extracts important depth series features from input log data and establishes a non-linear mapping relationship between well log data and porosity. However, it is due to that the logging curves do not respond strongly to the porosity in the deeper depth. Therefore, we focus on extracting both global and local features when constructing this non-linear mapping. The proposed Porosity Prediction Transformer framework (PPTransformer) is mainly composed of two structures: a one-dimensional convolutional part (1D conv) and a Transformer Encoder part (TE). The former one-dimensional convolutional layer extracts global features from the input well log data, reassembling the depth sequence and enhancing prediction performance. The latter TE component with the MHA mechanism helps establish a robust local non-linear mapping between the input well log data and porosity. The specific network structure is illustrated in <xref ref-type="fig" rid="F2">Figure 2</xref>.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Framework of the proposed PPTransformer. It mainly includes a one-dimensional convolutional part and a Transformer Encoder part.</p>
</caption>
<graphic xlink:href="feart-12-1510138-g002.tif"/>
</fig>
<p>PPTransformer network can extract both global and local features during the porosity prediction. The one-dimensional convolutional layer with a Rectified Linear Unit (ReLU) is placed in the first layer to extract global features from the input well log curves. The output of this layer, <inline-formula id="inf1">
<mml:math id="m1">
<mml:mrow>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, is expressed as <xref ref-type="disp-formula" rid="e1">Equation 1</xref>:<disp-formula id="e1">
<mml:math id="m2">
<mml:mrow>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mtext>ReLu</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
<mml:mo>&#x2a;</mml:mo>
<mml:mi>X</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>where <inline-formula id="inf2">
<mml:math id="m3">
<mml:mrow>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf3">
<mml:math id="m4">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represent the weight matrix and bias, respectively; &#x2a; denotes the convolution operation; and <inline-formula id="inf4">
<mml:math id="m5">
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the input depth sequence matrix. The ReLU function is defined as ReLu(x) &#x3d; max (0, x), serving as the non-linear activation function. Zero padding is used in the one-dimensional convolution layer to ensure that the feature map has the same dimensionality as the input curve. The extracted global features are then input into the TE part for further local feature extraction.</p>
<p>The most critical structure for the Transformer Encoder (TE) component is the Self-Attention (SA) mechanism. The SA mechanism reallocates weights to different parts of the input sequence to focus on essential features, thereby enhancing the relevance of positional embeddings. Each TE component comprises a standard SA block, two Layer Normalization (LN) blocks, one dropout layer, and a Feed-Forward Network (FFN). This paper constructs the PPTransformer using a Multi-Head Attention (MHA) mechanism based on the SA mechanism (<xref ref-type="fig" rid="F2">Figure 2</xref>). A residual connection is added before the two LN layers (between the layer inputs and sublayer outputs) in the TE component. The global features extracted from the input are passed into the TE to extract local features. The crucial features from the previous layer are input into the attention mechanism, which generates three feature spaces and redistributes the weights. The three feature space matrices are the query (<inline-formula id="inf5">
<mml:math id="m6">
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>), key (<inline-formula id="inf6">
<mml:math id="m7">
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>), and value (<inline-formula id="inf7">
<mml:math id="m8">
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>) matrices <xref ref-type="disp-formula" rid="e2">Equation 2</xref> below:<disp-formula id="e2">
<mml:math id="m9">
<mml:mrow>
<mml:mi>Q</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>L</mml:mi>
<mml:msup>
<mml:mi>W</mml:mi>
<mml:mi>Q</mml:mi>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mi>K</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>L</mml:mi>
<mml:msup>
<mml:mi>W</mml:mi>
<mml:mi>K</mml:mi>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mi>V</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>L</mml:mi>
<mml:msup>
<mml:mi>W</mml:mi>
<mml:mi>V</mml:mi>
</mml:msup>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>
</p>
<p>The weight matrices <inline-formula id="inf8">
<mml:math id="m10">
<mml:mrow>
<mml:msup>
<mml:mi>W</mml:mi>
<mml:mi>Q</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf9">
<mml:math id="m11">
<mml:mrow>
<mml:msup>
<mml:mi>W</mml:mi>
<mml:mi>K</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf10">
<mml:math id="m12">
<mml:mrow>
<mml:msup>
<mml:mi>W</mml:mi>
<mml:mi>V</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> are designated for the three attention mechanism parameters, with <inline-formula id="inf11">
<mml:math id="m13">
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> being the input to the attention mechanism. The attention mechanism allocates weights through scaled dot-product attention, as given <xref ref-type="disp-formula" rid="e3">Equation 3</xref> below.<disp-formula id="e3">
<mml:math id="m14">
<mml:mrow>
<mml:mtext>SA</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mtext>Softmax</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>Q</mml:mi>
<mml:msup>
<mml:mi>K</mml:mi>
<mml:mi>T</mml:mi>
</mml:msup>
</mml:mrow>
<mml:msqrt>
<mml:mi>c</mml:mi>
</mml:msqrt>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>V</mml:mi>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>where <inline-formula id="inf12">
<mml:math id="m15">
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> represents the dimension of the input vector. <inline-formula id="inf13">
<mml:math id="m16">
<mml:mrow>
<mml:mtext>Softmax</mml:mtext>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msup>
<mml:mi>e</mml:mi>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:msup>
<mml:mo>/</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>M</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msup>
<mml:mi>e</mml:mi>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is a probability activation function used to compute similarity scores, normalizing the output to the range (0, 1). A Multi-Head Attention mechanism is configured in the TE block&#x2019;s first layer. The output of the Multi-Head Attention mechanism is combined with a residual connection to the input <inline-formula id="inf14">
<mml:math id="m17">
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> before being input into the Layer Normalization (LN1) layer, as indicated in <xref ref-type="disp-formula" rid="e4">Equation 4</xref>:<disp-formula id="e4">
<mml:math id="m18">
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:msub>
<mml:mi mathvariant="normal">N</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mtext>MHA</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>
</p>
<p>This process enhances the model&#x2019;s capacity to learn complex representations while preserving the integrity of the original input data.<disp-formula id="e5">
<mml:math id="m19">
<mml:mrow>
<mml:mtext>LN</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3b3;</mml:mi>
<mml:mfrac>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>m</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>m</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>m</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b5;</mml:mi>
</mml:mrow>
</mml:mrow>
</mml:msqrt>
</mml:mfrac>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>
</p>
<p>In the LN layer (<xref ref-type="disp-formula" rid="e5">Equation 5</xref>), the scaling and shifting parameters are denoted as &#x3b3; and &#x3b2;, respectively. <inline-formula id="inf15">
<mml:math id="m20">
<mml:mrow>
<mml:mi>&#x3b5;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> represents a small value to prevent division by zero.</p>
<p>Following LN1, a Feed-Forward Network (FFN) with two hidden layers is added. The first layer uses the ReLU activation function, while the second layer does not employ an activation function. The output of the FFN can be represented as <xref ref-type="disp-formula" rid="e6">Equation 6</xref>:<disp-formula id="e6">
<mml:math id="m21">
<mml:mrow>
<mml:mtext>FFW</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:msub>
<mml:mi mathvariant="normal">N</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mtext>ReLu</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:msub>
<mml:mi mathvariant="normal">N</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>where <inline-formula id="inf16">
<mml:math id="m22">
<mml:mrow>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf17">
<mml:math id="m23">
<mml:mrow>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf18">
<mml:math id="m24">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf19">
<mml:math id="m25">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are the weights and biases learned during training. After the FFN, a standard dropout layer is added to avoid overfitting before passing the output to the second LN layer (LN2). The second residual connection is placed between LN1 and the final output of the TE component. The overall output of the TE component <inline-formula id="inf20">
<mml:math id="m26">
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is expressed as <xref ref-type="disp-formula" rid="e7">Equation 7</xref>:<disp-formula id="e7">
<mml:math id="m27">
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:msub>
<mml:mi mathvariant="normal">N</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:msub>
<mml:mi mathvariant="normal">N</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mtext>FFW</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:msub>
<mml:mi mathvariant="normal">N</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>
</p>
<p>The PPTransformer framework first applies a one-dimensional convolutional layer to extract global features from the input well log curves. The extracted features are then passed into the TE component, where the MHA mechanism extracts robust features from the input sequence. Then residual structures enhance the learning capability from low-level to high-level feature representations. Finally, a fully connected layer with a Sigmoid activation function is set as the network&#x2019;s last layer, outputting the predicted porosity.</p>
<p>The advantages of the PPTransformer framework can be summarized. First, the one-dimensional convolutional layer extracts global features from the input well log data, reassembling the depth sequence and enhancing prediction performance; second, the TE component with the MHA mechanism helps establish a robust non-linear mapping between the input well log data and porosity. The MHA mechanism allows the model to extract better features, reallocate weights to the underlying information, and improve the feature extraction capability.</p>
</sec>
</sec>
<sec sec-type="results|discussion" id="s3">
<title>3 Results and discussion</title>
<sec id="s3-1">
<title>3.1 Data introduction</title>
<p>For data collection, the study area is divided into the Sangtamu Formation, Lianglitage Formation, and Yingshan Formation, with the Lianglitage and Yingshan Formations serving as the primary producing layers. The strata of the Lianglitage and Yingshan Formations are marginal and platform interior deposits, with the Lianglitage Formation exhibiting mud development and the Yingshan Formation consisting of pure limestone. The reservoir mainly underwent weathering and dissolution, forming large, highly porous cavernous reservoirs and highly heterogeneous, dense cave-type, fracture-cave-type, pore-type, and fracture-pore-type reservoirs.</p>
<p>The basic information on logging curves used in this study is shown in <xref ref-type="table" rid="T1">Table 1</xref>. A total of 15,294 sample points were collected from the five wells. According to the standard division for deep learning datasets, the training and test sets typically account for 80% and 20%, respectively. To improve the model&#x2019;s robustness and generalization while maintaining the integrity of the well log curves, the two wells with the most enormous data volumes, Well A and Well C, were used as the training dataset, containing a total of 8,362 sample points, accounting for 54.67% of the overall data. The remaining three wells, Well B, Well D, and Well E, were used as the test dataset, containing 6,932 sample points, accounting for 45.32% of the overall data. Each well consists of five curves: acoustic time difference (AC), uranium-free gamma ray (CGR), neutron curve (CNL), density curve (DEN), and resistivity curve (RT). The label data is the porosity curve (POR) (<xref ref-type="fig" rid="F3">Figure 3</xref>). According to the logging curve availability and sensitivity among input curves and porosity, the input well log data, including AC, CGR, CNL, DEN, and RT, are selected ultimately. From the rock physics perspective, the CGR curve reflects the clay volume, dominantly determining the formation type (e.g., shale, sandstone, carbonate). In addition, AC, CNL, and DEN curves are the most commonly used to interpret rock&#x2019;s porosity during the petrophysical logging interpretation. Moreover, the RT curve is applied to interpret the fluid type in the pore volume. Therefore, geologically speaking, these five logging curves are most sensitive to rock porosity prediction.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>The basic information of logging curves used in this study.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Well</th>
<th align="center">Data type</th>
<th align="center">Depth range (m)</th>
<th align="center">Sampling interval (m)</th>
<th align="center">Data point</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Well A</td>
<td align="center">Train set</td>
<td align="center">6,130&#x223c;6,882</td>
<td align="center">0.152</td>
<td align="center">4,934</td>
</tr>
<tr>
<td align="center">Well B</td>
<td align="center">Test set I</td>
<td align="center">5,921&#x223c;6,301</td>
<td align="center">0.152</td>
<td align="center">2,498</td>
</tr>
<tr>
<td align="center">Well C</td>
<td align="center">Train set</td>
<td align="center">6,070&#x223c;6,592</td>
<td align="center">0.152</td>
<td align="center">3,428</td>
</tr>
<tr>
<td align="center">Well D</td>
<td align="center">Test set II</td>
<td align="center">5,923&#x223c;6,295</td>
<td align="center">0.152</td>
<td align="center">2,442</td>
</tr>
<tr>
<td align="center">Well E</td>
<td align="center">Test set III</td>
<td align="center">5,946&#x223c;6,250</td>
<td align="center">0.152</td>
<td align="center">1992</td>
</tr>
</tbody>
</table>
</table-wrap>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>The training Well A&#x2019;s logging curves include AC, CNL, DEN, CGR, and RT. Porosity is labeled.</p>
</caption>
<graphic xlink:href="feart-12-1510138-g003.tif"/>
</fig>
</sec>
<sec id="s3-2">
<title>3.2 Experimental process</title>
<p>The proposed PPTransformer network is a supervised learning framework that relies on well log data and actual labels to establish an implicit non-linear mapping relationship. The root mean square error (RMSE) loss function calculates the error between the actual labels and the predicted values during the training iterations. Various optimization methods were employed during the training phase to achieve optimal performance in porosity prediction. First, dropout and LN layers were used in the TE components to prevent overfitting during network training, with the dropout rate for all TE components set at 0.2. Second, the Adam optimizer was used to update parameters, with an initial learning rate of 1. Finally, an adaptive learning rate adjustment algorithm was employed to accelerate convergence and prevent overfitting. The learning rate decreases as the training epochs increase. The total number of training epochs was set to 300 (<xref ref-type="fig" rid="F4">Figure 4</xref>). Specifically, after every 50 epochs, the learning rate was reduced to 0.1 times its previous value. When the validation loss did not decrease for 30 consecutive epochs, early stopping was applied to terminate training and save the best parameters. Due to the tight nature of carbonate reservoirs, the porosity values tend to be very low, and the original porosity values could not be used as labels for model training. Therefore, a scale transformation was applied to the porosity values, multiplying the overall porosity parameter by 100 and using the percentage values for model training. Correspondingly, when comparing results, the predicted values were divided by 100.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Loss curves of PPTransformer. It includes the training process (purple solid line) and validation process (grey solid line). The PPTransformer network starts to converge when reaching 250 epochs.</p>
</caption>
<graphic xlink:href="feart-12-1510138-g004.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F4">Figure 4</xref> shows the loss curve of the model training. We can see that the model tends to converge after 250 epochs, with the final loss value of 0.02. During deep learning training models, the weak gradient signals of samples, noise, or small gradient changes may significantly cause short-term fluctuations (e.g., spikes in the loss curve) in the loss process. This situation is closely related to the characteristics and parameter settings of the neural network. Such spikes will disappear when the model converges ultimately.</p>
</sec>
<sec id="s3-3">
<title>3.3 Evaluation metrics</title>
<p>To quantify prediction error and evaluate the performance of the proposed method, Pearson&#x2019;s correlation coefficient R, the coefficient of determination <italic>R</italic>
<sup>2</sup>, RMSE, and mean absolute error (MAE) were used as evaluation metrics. Pearson&#x2019;s correlation coefficient measures the correlation between two variables ranging from [&#x2212;1,1]. Higher positive values indicate a stronger correlation, while negative values represent a negative correlation. The <italic>R</italic>
<sup>2</sup> value reflects the reliability of the variation in the dependent variable explained by the regression model, with values ranging from [0,1]. The larger values indicate better performance. RMSE measures the deviation between the predicted and actual values, with smaller values indicating lower error and better prediction performance. MAE is the average of the absolute deviations between each observed value and the arithmetic mean, with smaller values indicating better performance. The formulas for these four evaluation metrics are listed as <xref ref-type="disp-formula" rid="e8">Equations 8</xref>-<xref ref-type="disp-formula" rid="e11">11</xref> as follows:<disp-formula id="e8">
<mml:math id="m28">
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mover accent="true">
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mover accent="true">
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mover accent="true">
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mover accent="true">
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:msqrt>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>
<disp-formula id="e9">
<mml:math id="m29">
<mml:mrow>
<mml:msup>
<mml:mi>R</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mover accent="true">
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(9)</label>
</disp-formula>
<disp-formula id="e10">
<mml:math id="m30">
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>s</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:msqrt>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(10)</label>
</disp-formula>
<disp-formula id="e11">
<mml:math id="m31">
<mml:mrow>
<mml:mtext>MAE</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(11)</label>
</disp-formula>where <inline-formula id="inf21">
<mml:math id="m32">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf22">
<mml:math id="m33">
<mml:mrow>
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represent the predicted porosity and true porosity, respectively, and <inline-formula id="inf23">
<mml:math id="m34">
<mml:mrow>
<mml:mover accent="true">
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf24">
<mml:math id="m35">
<mml:mrow>
<mml:mover accent="true">
<mml:msub>
<mml:mi>Y</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> represent their respective mean values. Normalization is performed before inputting the well log data into the network, scaling the values to the range [0,1] to unify the dimensions.</p>
</sec>
<sec id="s3-4">
<title>3.4 Results analysis</title>
<sec id="s3-4-1">
<title>3.4.1 Results analysis for test dataset I</title>
<p>Test dataset I consists of the whole data points of Well B, with detailed information in <xref ref-type="table" rid="T2">Table 2</xref>. Three methods were used for benchmarking: a general Transformer network, a Long Short-Term Time Series Network (LSTNet), and a Support Vector Machine (SVM). <xref ref-type="fig" rid="F5">Figure 5</xref> shows the porosity prediction results and the five input well log curves. Intuitively, based on the magnitude of porosity values, the porosity curve can be divided into the upper (&#x3c;6,050 m) and lower (&#x3e;6,050 m) sections. The upper section has high porosity, while the lower section has low porosity. More importantly, the PPTransformer framework provides the best match between the actual and predicted porosity compared to other methods. In addition, we can see that all four methods capture the shape and trend of the porosity curve (blue label) and perform well in the low-porosity sections. However, the PPTransformer has the slightest error between predicted and actual values, while the SVM and Transformer methods exhibit underfitting in the high-porosity sections.</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Comparison of porosity prediction results using different methods on dataset I.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Method</th>
<th align="center">R</th>
<th align="center">
<italic>R</italic>
<sup>2</sup>
</th>
<th align="center">RMS</th>
<th align="center">MAE</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">PPTransformer</td>
<td align="center">
<bold>0.9725</bold>
</td>
<td align="center">
<bold>0.9447</bold>
</td>
<td align="center">
<bold>0.0447</bold>
</td>
<td align="center">
<bold>0.1565</bold>
</td>
</tr>
<tr>
<td align="center">Transformer</td>
<td align="center">0.9601</td>
<td align="center">0.8358</td>
<td align="center">0.1326</td>
<td align="center">0.2668</td>
</tr>
<tr>
<td align="center">LSTNet</td>
<td align="center">0.8541</td>
<td align="center">0.6914</td>
<td align="center">0.2493</td>
<td align="center">0.3643</td>
</tr>
<tr>
<td align="center">SVM</td>
<td align="center">0.7182</td>
<td align="center">0.3822</td>
<td align="center">0.4991</td>
<td align="center">0.4675</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>Bold values represent the best accuracy (R, R<sup>2</sup>) and loss (RMS, MAE).</p>
</fn>
</table-wrap-foot>
</table-wrap>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>Comparison of porosity prediction results using different methods (e.g., PPTransformer, Transformer, LSTNet, SVM) on dataset I. The input logging curves include AC, CNL, DEN, CGR, and RT.</p>
</caption>
<graphic xlink:href="feart-12-1510138-g005.tif"/>
</fig>
<p>In addition, several evaluation metrics were used to quantify the prediction results (<xref ref-type="table" rid="T2">Table 2</xref>). Regarding evaluation metrics, PPTransformer achieves the highest R and <italic>R</italic>
<sup>2</sup> and the lowest RMSE and MAE compared to the benchmark methods, indicating that it has the highest accuracy and the lowest error. <xref ref-type="fig" rid="F6">Figure 6</xref> shows the cross-plots of porosity predictions using the four methods. The results of the PPTransformer and Transformer are consistent with the slope. In contrast, the results of LSTNet have more significant oscillations around the reference line, indicating a more substantial deviation. The SVM method results show only marginal consistency with the slope. Based on the cross-plots, residual and error histograms were plotted further to analyze the error of different porosity prediction methods.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Cross plot porosity results from different methods on dataset I. <bold>(A-D)</bold> represent PPTransformer, Transformer, LSTNet, SVM, respectively.</p>
</caption>
<graphic xlink:href="feart-12-1510138-g006.tif"/>
</fig>
</sec>
<sec id="s3-4-2">
<title>3.4.2 Results analysis for test dataset II</title>
<p>The proposed method and three comparison methods were further applied to test dataset II. Test dataset II consists of the whole data points from Well D. <xref ref-type="fig" rid="F7">Figure 7</xref> shows porosity prediction results and the five input well log curves. Intuitively, the PPTransformer framework and the general Transformer model provide the best fit between the actual and predicted porosity among the various methods. Both the LSTNet and SVM methods exhibit a underfitting in the middle and lower sections of the well. <xref ref-type="table" rid="T3">Table 3</xref> shows that PPTransformer and Transformer achieved the highest R and <italic>R</italic>
<sup>2</sup> values and the lowest RMSE and MAE values. It implies that PPTransformer and Transformer&#x2019;s performance on Dataset II is nearly identical. <xref ref-type="fig" rid="F8">Figure 8</xref> shows the cross-plots of porosity predictions using the four methods on Dataset II. The predicted results from both PPTransformer and Transformer align well with the reference slope. The predicted porosity from LSTNet presents more significant oscillations than the reference line, and the SVM method exhibits the most extensive oscillation range.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Comparison of porosity prediction results of 4 methods on dataset I. Including 5 input logging curves (AC, CNL, DEN, CGR, RT); methods include Transformer, LSTNet, and SVM.</p>
</caption>
<graphic xlink:href="feart-12-1510138-g007.tif"/>
</fig>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>Comparison of porosity prediction results from different methods on dataset II.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Method</th>
<th align="center">R</th>
<th align="center">
<italic>R</italic>
<sup>2</sup>
</th>
<th align="center">RMS</th>
<th align="center">MAE</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">PPTransformer</td>
<td align="center">0.9338</td>
<td align="center">
<bold>0.8664</bold>
</td>
<td align="center">0.0983</td>
<td align="center">0.2342</td>
</tr>
<tr>
<td align="center">Transformer</td>
<td align="center">
<bold>0.9372</bold>
</td>
<td align="center">0.8662</td>
<td align="center">
<bold>0.0984</bold>
</td>
<td align="center">
<bold>0.2212</bold>
</td>
</tr>
<tr>
<td align="center">LSTNet</td>
<td align="center">0.8649</td>
<td align="center">0.7293</td>
<td align="center">0.1992</td>
<td align="center">0.3264</td>
</tr>
<tr>
<td align="center">SVM</td>
<td align="center">0.8241</td>
<td align="center">0.6634</td>
<td align="center">0.2477</td>
<td align="center">0.2929</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>Bold values represent the best accuracy (R, R<sup>2</sup>) and loss (RMS, MAE).</p>
</fn>
</table-wrap-foot>
</table-wrap>
<table-wrap id="T4" position="float">
<label>TABLE 4</label>
<caption>
<p>Comparison of porosity prediction results from different methods on dataset III.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Method</th>
<th align="center">R</th>
<th align="center">
<italic>R</italic>
<sup>2</sup>
</th>
<th align="center">Rms</th>
<th align="center">MAE</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">PPTransformer</td>
<td align="center">
<bold>0.9219</bold>
</td>
<td align="center">
<bold>0.9168</bold>
</td>
<td align="center">
<bold>0.2827</bold>
</td>
<td align="center">
<bold>0.3248</bold>
</td>
</tr>
<tr>
<td align="center">Transformer</td>
<td align="center">0.8115</td>
<td align="center">0.8026</td>
<td align="center">0.4938</td>
<td align="center">0.3552</td>
</tr>
<tr>
<td align="center">LSTNet</td>
<td align="center">0.7911</td>
<td align="center">0.3893</td>
<td align="center">0.8748</td>
<td align="center">0.3643</td>
</tr>
<tr>
<td align="center">SVM</td>
<td align="center">0.6623</td>
<td align="center">0.1736</td>
<td align="center">1.1837</td>
<td align="center">0.8324</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>Bold values represent the best accuracy (R, R<sup>2</sup>) and loss (RMS, MAE).</p>
</fn>
</table-wrap-foot>
</table-wrap>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Cross plot porosity results from different methods on dataset II. <bold>(A-D)</bold> represent PPTransformer, Transformer, LSTNet, SVM, respectively.</p>
</caption>
<graphic xlink:href="feart-12-1510138-g008.tif"/>
</fig>
</sec>
<sec id="s3-4-3">
<title>3.4.3 Results analysis for test dataset III</title>
<p>Finally, the four methods were applied to test dataset III, which consists of all the data points from Well E. <xref ref-type="fig" rid="F9">Figure 9</xref> shows the four methods&#x2019; porosity prediction results and the five input well log curves. <xref ref-type="table" rid="T4">Table 4</xref> shows that PPTransformer achieved the highest R and R<sup>2</sup> values and the lowest RMSE and MAE values. Intuitively, the general Transformer model provides the best fit between actual and predicted porosity. In most sections of Well E, the PPTransformer and LSTNet methods exhibit a smaller oscillation range, and the PPTransformer predictions appear less stable than those from the Transformer and LSTNet methods. The SVM method performed the worst on Well E, not only compared to the other three methods but also compared to its performance on Wells B and D. In most sections of the well, the SVM method showed severe underfitting, failing to predict the shape and trend of the porosity curve, and its expected values were far from the baseline. Similar to Wells B and D, Well E&#x2019;s data was divided into four segments based on its length, with each segment containing approximately 500 sample points due to the smaller data volume in Well E compared to Wells B and D.</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>Comparison of porosity prediction results of 4 methods on dataset III. The input curves include AC, CNL, DEN, CGR, and RT; methods include Transformer, LSTNet, and SVM.</p>
</caption>
<graphic xlink:href="feart-12-1510138-g009.tif"/>
</fig>
<p>The cross plots of predicted and actual porosity using the four methods are shown in <xref ref-type="fig" rid="F10">Figure 10</xref>. Interestingly, the results from Transformer and LSTNet are more concentrated, with the scatter points closer to the slope line. However, a few points deviate significantly, indicating more significant prediction errors for these points. Considering the low actual porosity values, these points will own a relatively high misfit, contributing to the fact that the evaluation metrics for Transformer and LSTNet are worse than those for PPTransformer. The predicted porosity from PPTransformer overall are outstanding, with very few points having significant errors. It explains its superior performance in the four evaluation metrics. The SVM method&#x2019;s prediction results were poor, not only worse than the other three methods but also significantly worse than its performance on Wells B and D.</p>
<fig id="F10" position="float">
<label>FIGURE 10</label>
<caption>
<p>Cross plot porosity results from different methods on dataset III. <bold>(A-D)</bold> represent PPTransformer, Transformer, LSTNet, SVM, respectively.</p>
</caption>
<graphic xlink:href="feart-12-1510138-g010.tif"/>
</fig>
</sec>
</sec>
<sec id="s3-5">
<title>3.5 PPTransformer for adding geologic constraints</title>
<p>From a geological perspective, the lithology of reservoir rocks exhibits stratal characteristics, mainly depending on their depositional environment and diagenetic processes. The depositional environment is closely related to lithological properties and can provide geological constraints. Porosity is closely associated with reservoir lithology, and lithology can provide geological constraints for porosity prediction. Therefore, we add lithological information (lithology curve) to the input curves to assist model training.</p>
<p>
<xref ref-type="fig" rid="F11">Figures 11</xref>, <xref ref-type="fig" rid="F12">12</xref> show the predicted porosity of test datasets I and II, respectively. They show that the PPTransformer model predicts the trend of porosity curves. Visually, it is impossible to distinguish the improvement brought by adding lithology constraints. <xref ref-type="table" rid="T5">Table 5</xref> presents different performance metrics of the test datasets. In datasets I and II, all four evaluation metrics show varying improvement degree after incorporating lithology constraints. It demonstrates that adding lithology constraints will enhance the accuracy of porosity prediction. Specifically, lithology-constrained porosity prediction exhibits a small disturbance for the type I and II reservoirs. However, dense limestone (red) and compact rock (yellow) do not significantly improve the porosity prediction accuracy. Therefore, further investigation on the lithology effect needs to be done.</p>
<fig id="F11" position="float">
<label>FIGURE 11</label>
<caption>
<p>Porosity prediction results of well D, the blue curve is the label porosity, the red curve is the predicted porosity.</p>
</caption>
<graphic xlink:href="feart-12-1510138-g011.tif"/>
</fig>
<fig id="F12" position="float">
<label>FIGURE 12</label>
<caption>
<p>Porosity prediction results of well E, the blue curve is the label porosity, the red curve is the predicted porosity.</p>
</caption>
<graphic xlink:href="feart-12-1510138-g012.tif"/>
</fig>
<table-wrap id="T5" position="float">
<label>TABLE 5</label>
<caption>
<p>Comparison of porosity prediction results from different methods.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Methods (dataset)</th>
<th align="center">R</th>
<th align="center">
<italic>R</italic>
<sup>2</sup>
</th>
<th align="center">Rms</th>
<th align="center">MAE</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Lithology constrained (I)</td>
<td align="center">
<bold>0.9020</bold>
</td>
<td align="center">
<bold>0.8683</bold>
</td>
<td align="center">
<bold>0.4137</bold>
</td>
<td align="center">
<bold>0.5066</bold>
</td>
</tr>
<tr>
<td align="center">No lithology constrained (I)</td>
<td align="center">0.8553</td>
<td align="center">0.7339</td>
<td align="center">0.7062</td>
<td align="center">0.7237</td>
</tr>
<tr>
<td align="center">Lithology constrained (II)</td>
<td align="center">
<bold>0.8785</bold>
</td>
<td align="center">
<bold>0.7709</bold>
</td>
<td align="center">
<bold>0.8838</bold>
</td>
<td align="center">
<bold>0.6951</bold>
</td>
</tr>
<tr>
<td align="center">No lithology constrained (II)</td>
<td align="center">0.8242</td>
<td align="center">0.6436</td>
<td align="center">1.0617</td>
<td align="center">0.8104</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec sec-type="conclusion" id="s4">
<title>4 Conclusion</title>
<p>The PPTransformer network is developed to intelligently predict porosity in deep carbonate formations using AC, CGR, CNL, DEN, and RT as inputs. The PPTransformer network can simultaneously extract global and local features through a unique framework design. Results from the test dataset demonstrate that the proposed PPTransformer model is the most robust network. It can efficiently and accurately establish the nonlinear mapping relationship between input well logging data and porosity, outperforming the evaluation metrics of Transformer, LSTNet, and SVM models. Additionally, by incorporating lithology information into the model training process, the PPTransformer network will predict porosity more accurately.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s5">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/<xref ref-type="sec" rid="s11">supplementary material</xref>, further inquiries can be directed to the corresponding author.</p>
</sec>
<sec sec-type="author-contributions" id="s6">
<title>Author contributions</title>
<p>KH: Writing&#x2013;original draft, Writing&#x2013;review and editing. SC: Writing&#x2013;original draft, Writing&#x2013;review and editing. HK: Writing&#x2013;original draft, Writing&#x2013;review and editing. SY: Writing&#x2013;original draft, Writing&#x2013;review and editing. LZ: Writing&#x2013;original draft, Writing&#x2013;review and editing. YC: Writing&#x2013;original draft, Writing&#x2013;review and editing. XZ: Writing&#x2013;original draft, Writing&#x2013;review and editing. LZ: Writing&#x2013;original draft, Writing&#x2013;review and editing. HL: Writing&#x2013;original draft, Writing&#x2013;review and editing.</p>
</sec>
<sec sec-type="funding-information" id="s7">
<title>Funding</title>
<p>The author(s) declare that no financial support was received for the research, authorship, and/or publication of this article.</p>
</sec>
<sec sec-type="COI-statement" id="s8">
<title>Conflict of interest</title>
<p>Authors KH, SC, HK, SY, LZ, YC were employed by China National Logging Corporation.</p>
<p>The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="ai-statement" id="s9">
<title>Generative AI statement</title>
<p>The author(s) declare that no Generative AI was used in the creation of this manuscript.</p>
</sec>
<sec sec-type="disclaimer" id="s10">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec id="s11">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/feart.2024.1510138/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/feart.2024.1510138/full&#x23;supplementary-material</ext-link>
</p>
<supplementary-material xlink:href="DataSheet2.docx" id="SM1" mimetype="application/docx" xmlns:xlink="http://www.w3.org/1999/xlink"/>
<supplementary-material xlink:href="DataSheet1.docx" id="SM2" mimetype="application/docx" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>An</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>D. P.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Research and application of deep learning-based lithology recognition method for logging</article-title>. <source>Adv. Geophys.</source> <volume>33</volume> (<issue>3</issue>), <fpage>1029</fpage>&#x2013;<lpage>1034</lpage>. <pub-id pub-id-type="doi">10.6038/pg2018BB0319</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ao</surname>
<given-names>Y. L.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>H. Q.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>L. P.</given-names>
</name>
<name>
<surname>Ali</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>Z. G.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>The linear random forest algorithm and its advantages in machine learning assisted logging regression modeling</article-title>. <source>J. Petroleum Sci. Eng.</source> <volume>174</volume>, <fpage>776</fpage>&#x2013;<lpage>789</lpage>. <pub-id pub-id-type="doi">10.1016/j.petrol.2018.11.067</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bengio</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Simard</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Frasconi</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>1994</year>). <article-title>Learning long-term dependencies with gradient descent is difficult</article-title>. <source>IEEE Trans. neural Netw.</source> <volume>5</volume>, <fpage>157</fpage>&#x2013;<lpage>166</lpage>. <pub-id pub-id-type="doi">10.1109/72.279181</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>L. Q.</given-names>
</name>
<name>
<surname>Zha</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Y. K.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Deep learning reservoir porosity prediction based on multilayer long short-term memory network</article-title>. <source>Geophysics</source> <volume>85</volume> (<issue>4</issue>), <fpage>WA213</fpage>&#x2013;<lpage>WA225</lpage>. <pub-id pub-id-type="doi">10.1190/geo2019-0261.1</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhao</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Pan</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>K.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>Deep carbonate reservoir characterisation using multi-seismic attributes via machine learning with physical constraints</article-title>. <source>J. Geophys. Eng.</source> <volume>18</volume> (<issue>5</issue>), <fpage>761</fpage>&#x2013;<lpage>775</lpage>. <pub-id pub-id-type="doi">10.1093/jge/gxab049</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>Y. K.</given-names>
</name>
<name>
<surname>Saad</surname>
<given-names>O. M.</given-names>
</name>
<name>
<surname>Savvaidis</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Y. F.</given-names>
</name>
<name>
<surname>Fomel</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>3D microseismic monitoring using machine learning</article-title>. <source>J. Geophys. Res. Solid Earth</source> <volume>127</volume> (<issue>3</issue>), <fpage>e2021JB023842</fpage>. <pub-id pub-id-type="doi">10.1029/2021JB023842</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>Y. K.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>G. Y.</given-names>
</name>
<name>
<surname>Bai</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Zu</surname>
<given-names>S. H.</given-names>
</name>
<name>
<surname>Guan</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Automatic waveform classification and arrival picking based on convolutional neural network</article-title>. <source>Earth Space Sci.</source> <volume>6</volume> (<issue>7</issue>), <fpage>1244</fpage>&#x2013;<lpage>1261</lpage>. <pub-id pub-id-type="doi">10.1029/2018EA000466</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fan</surname>
<given-names>Y. R.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>X. J.</given-names>
</name>
<name>
<surname>Deng</surname>
<given-names>S. G.</given-names>
</name>
<name>
<surname>Si</surname>
<given-names>Z. W.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Study on lithology identification technique of volcanic rocks in Nanbao No.5 tectonic structure</article-title>. <source>Adv. Geophys.</source> <volume>27</volume> (<issue>4</issue>), <fpage>1</fpage>. <pub-id pub-id-type="doi">10.6038/j.issn.1004-2903.2012.04.042</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Feng</surname>
<given-names>R. H.</given-names>
</name>
<name>
<surname>Mejer Hansen</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Grana</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Balling</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>An unsupervised deep-learning method for porosity estimation based on poststack seismic data</article-title>. <source>Geophysics</source> <volume>85</volume> (<issue>6</issue>), <fpage>M97</fpage>&#x2013;<lpage>M105</lpage>. <pub-id pub-id-type="doi">10.1190/geo2020-0121.1</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fu</surname>
<given-names>G. M.</given-names>
</name>
<name>
<surname>Yan</surname>
<given-names>J. Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Hu</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Luo</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Current status and progress of lithology identification technology</article-title>. <source>Prog. Geophys.</source> <volume>32</volume> (<issue>1</issue>), <fpage>26</fpage>&#x2013;<lpage>40</lpage>. <pub-id pub-id-type="doi">10.6038/pg20170104</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hinton</surname>
<given-names>G. E.</given-names>
</name>
<name>
<surname>Salakhutdinov</surname>
<given-names>R. R.</given-names>
</name>
</person-group> (<year>2006</year>). <article-title>Reducing the dimensionality of data with neural networks</article-title>. <source>science</source> <volume>313</volume> (<issue>5786</issue>), <fpage>504</fpage>&#x2013;<lpage>507</lpage>. <pub-id pub-id-type="doi">10.1126/science.1127647</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hochreiter</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Schmidhuber</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>1997</year>). <article-title>Long short-term memory</article-title>. <source>Neural Comput.</source> <volume>9</volume>, <fpage>1735</fpage>&#x2013;<lpage>1780</lpage>. <pub-id pub-id-type="doi">10.1162/neco.1997.9.8.1735</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ju</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Han</surname>
<given-names>X. H.</given-names>
</name>
<name>
<surname>Zhi</surname>
<given-names>L. F.</given-names>
</name>
<name>
<surname>Fei</surname>
<given-names>H. T.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>F. B.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Application of Bayes stepwise discriminant analysis to identify the lithology of Es4 reservoir in Xin176 block</article-title>. <source>Comput. Technol. Phys. Chem. Explor.</source> <volume>34</volume> (<issue>5</issue>), <fpage>576</fpage>&#x2013;<lpage>581</lpage>. <pub-id pub-id-type="doi">10.3969/j.issn.1001-1749.2012.05.14</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Kalchbrenner</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Danihelka</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Graves</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2015</year>). <source>Grid long short-term memory</source>. <comment>arXiv preprint arXiv:1507.01526</comment>.</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Karimpouli</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Fathianpour</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Roohi</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>A new approach to improve neural networks algorithm in permeability prediction of petroleum reservoirs using supervised committee machine neural network (SCMNN)</article-title>. <source>J. Petroleum Sci. Eng.</source> <volume>73</volume> (<issue>3-4</issue>), <fpage>227</fpage>&#x2013;<lpage>232</lpage>. <pub-id pub-id-type="doi">10.1016/j.petrol.2010.07.003</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kazei</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Ovcharenko</surname>
<given-names>O.</given-names>
</name>
<name>
<surname>Plotnitskii</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Peter</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>X. L.</given-names>
</name>
<name>
<surname>Alkhalifah</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Mapping full seismic waveforms to vertical velocity profiles by deep learning</article-title>. <source>Geophysics</source> <volume>86</volume> (<issue>5</issue>), <fpage>R711</fpage>&#x2013;<lpage>R721</lpage>. <pub-id pub-id-type="doi">10.1190/geo2019-0473.1</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kumar</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Seelam</surname>
<given-names>N. K.</given-names>
</name>
<name>
<surname>Rao</surname>
<given-names>G. S.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Lithology prediction from well log data using machine learning techniques: a case study from Talcher coalfield, Eastern India</article-title>. <source>J. Appl. Geophys.</source> <volume>199</volume>, <fpage>104605</fpage>. <pub-id pub-id-type="doi">10.1016/j.jappgeo.2022.104605</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Shen</surname>
<given-names>A. J.</given-names>
</name>
<name>
<surname>Chang</surname>
<given-names>S. Y.</given-names>
</name>
<name>
<surname>Liang</surname>
<given-names>Z. Z.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Z. L.</given-names>
</name>
<name>
<surname>Meng</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Application and comparison of machine learning method in carbonate rock facies logging identification example of Longwangmiao Formation stratigraphy in MX area, Sichuan Basin</article-title>. <source>Reserv. Eval. Dev.</source> <volume>11</volume> (<issue>4</issue>), <fpage>586</fpage>&#x2013;<lpage>596</lpage>. <pub-id pub-id-type="doi">10.13809/j.cnki.cn32-1825/te.2021.04.015</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>K. W.</given-names>
</name>
<name>
<surname>Xi</surname>
<given-names>Y. J.</given-names>
</name>
<name>
<surname>Su</surname>
<given-names>Z. X.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>J. B.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>B. S.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Research on reservoir lithology prediction method based on convolutional recurrent neural network</article-title>. <source>Comput. Electr. Eng.</source> <volume>95</volume>, <fpage>107404</fpage>. <pub-id pub-id-type="doi">10.1016/j.compeleceng.2021.107404</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>W. C.</given-names>
</name>
<name>
<surname>Yao</surname>
<given-names>G. Q.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>Y. T.</given-names>
</name>
<name>
<surname>Ju</surname>
<given-names>Z. L.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Research on lithology identification method for logging low resistance oil formation in Wenchang 13-1 oilfield</article-title>. <source>J. Oil Gas</source> <volume>34</volume> (<issue>12</issue>), <fpage>5</fpage>. <pub-id pub-id-type="doi">10.3969/j.issn.1000-9752.2012.12.018</pub-id>
</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lian</surname>
<given-names>Z. Z.</given-names>
</name>
<name>
<surname>Tan</surname>
<given-names>C. C.</given-names>
</name>
<name>
<surname>Deng</surname>
<given-names>K. C.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Fuzzy pattern recognition based closeness method to discriminate the lithology of coalfield logging</article-title>. <source>Logging Technol.</source> <volume>37</volume> (<issue>3</issue>), <fpage>4</fpage>. <pub-id pub-id-type="doi">10.3969/j.issn.1004-1338.2013.03.013</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Luo</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Lai</surname>
<given-names>F. Q.</given-names>
</name>
<name>
<surname>Dong</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Xia</surname>
<given-names>W. X.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>A lithology identification method for continental shale oil reservoir based on BP neural network</article-title>. <source>J. Geophys. Eng.</source> <volume>15</volume> (<issue>3</issue>), <fpage>895</fpage>&#x2013;<lpage>908</lpage>. <pub-id pub-id-type="doi">10.1088/1742-2140/aaa4db</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Luo</surname>
<given-names>Z. R.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Y. X.</given-names>
</name>
<name>
<surname>Guo</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Tuo</surname>
<given-names>J. J.</given-names>
</name>
<name>
<surname>Xia</surname>
<given-names>X. L.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Intelligent identification method of sedimentary microfacies based on DMC-BiLSTM</article-title>. <source>Pet. Phys. Explor.</source> <volume>61</volume> (<issue>2</issue>), <fpage>253</fpage>&#x2013;<lpage>261</lpage>. <pub-id pub-id-type="doi">10.20944/preprints202103.0459.v1</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ma</surname>
<given-names>L. F.</given-names>
</name>
<name>
<surname>Xiao</surname>
<given-names>H. M.</given-names>
</name>
<name>
<surname>Tao</surname>
<given-names>J. W.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Luo</surname>
<given-names>Y. C.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>H. Q.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Research and application of deep learning-based lithology classification</article-title>. <source>Sci. Technol. Eng.</source> <volume>22</volume> (<issue>7</issue>), <fpage>2609</fpage>&#x2013;<lpage>2617</lpage>.</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mathew Nkurlu</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Shen</surname>
<given-names>C. B.</given-names>
</name>
<name>
<surname>Asante-Okyere</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Mulashani</surname>
<given-names>A. K.</given-names>
</name>
<name>
<surname>Chungu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Prediction of permeability using group method of data handling (GMDH) neural network from well log data</article-title>. <source>Energies</source> <volume>13</volume> (<issue>3</issue>), <fpage>551</fpage>. <pub-id pub-id-type="doi">10.3390/en13030551</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mou</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Z. W.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>Y. L.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>D. P.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Identification of volcanic lithology based on SVM logging data-an example from the eastern depression of the Liaohe Basin</article-title>. <source>Geophys. J.</source> <volume>58</volume> (<issue>5</issue>), <fpage>1785</fpage>&#x2013;<lpage>1793</lpage>. <pub-id pub-id-type="doi">10.6038/cjg20150528</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Munchmeyer</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Bindi</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Leser</surname>
<given-names>U.</given-names>
</name>
<name>
<surname>Tilmann</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>The transformer earthquake alerting model: a new versatile approach to earthquake early warning</article-title>. <source>Geophys. J. Int.</source> <volume>225</volume> (<issue>1</issue>), <fpage>646</fpage>&#x2013;<lpage>656</lpage>. <pub-id pub-id-type="doi">10.1093/gji/ggaa609</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pham</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Fomel</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Uncertainty and interpretability analysis of encoder-decoder architecture for channel detection</article-title>. <source>Geophysics</source> <volume>86</volume> (<issue>4</issue>), <fpage>O49</fpage>&#x2013;<lpage>O58</lpage>. <pub-id pub-id-type="doi">10.1190/geo2020-0409.1</pub-id>
</citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ren</surname>
<given-names>X. X.</given-names>
</name>
<name>
<surname>Hou</surname>
<given-names>J. G.</given-names>
</name>
<name>
<surname>Song</surname>
<given-names>S. H.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>Y. M.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>D. P.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>X. X.</given-names>
</name>
<etal/>
</person-group> (<year>2019</year>). <article-title>Lithology identification using well logs: a method by integrating artificial neural networks and sedimentary patterns</article-title>. <source>J. Petroleum Sci. Eng.</source> <volume>182</volume>, <fpage>106336</fpage>. <pub-id pub-id-type="doi">10.1016/j.petrol.2019.106336</pub-id>
</citation>
</ref>
<ref id="B30">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Richardson</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2018</year>). <source>Seismic full-waveform inversion using deep learning tools and techniques</source>. <comment>arXiv preprint arXiv:1801.07232</comment>.</citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tian</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>J. M.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Tian</surname>
<given-names>G. D.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>Identification of reservoir lithology using stepwise method and Fisher&#x27;s discriminant</article-title>. <source>Adv. Explor. Geophys.</source> <volume>33</volume> (<issue>2</issue>), <fpage>126</fpage>&#x2013;<lpage>129</lpage>.</citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Vaswani</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Attention is all you need</article-title>. <source>Adv. Neural Inf. Process. Syst</source>. <pub-id pub-id-type="doi">10.5555/3295222.3295349</pub-id>
</citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>J. X.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>Z. Q.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Lei</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>A prediction method of pre-drilling logging curve based on long and short-term memory network</article-title>. <source>J. Chengdu Univ. Technol. Nat. Sci. Ed.</source> <volume>47</volume> (<issue>2</issue>), <fpage>227</fpage>&#x2013;<lpage>236</lpage>. <comment>CNKI:SUN:CDLG.0.2020-02-011</comment>.</citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>Z. H.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>X. M.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>Z. C.</given-names>
</name>
<name>
<surname>Luo</surname>
<given-names>X. P.</given-names>
</name>
<name>
<surname>Dai</surname>
<given-names>X. J.</given-names>
</name>
<name>
<surname>Dai</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Logging data for igneous rock lithology identification and petrographic delineation in basins: a case study of Junggar Basin</article-title>. <source>Geol. Front.</source> <volume>22</volume> (<issue>3</issue>), <fpage>15</fpage>. <pub-id pub-id-type="doi">10.13745/j.esf.2015.03.022</pub-id>
</citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wu</surname>
<given-names>J. L.</given-names>
</name>
<name>
<surname>Yin</surname>
<given-names>X. L.</given-names>
</name>
<name>
<surname>Xiao</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Seeing permeability from images: fast prediction with convolutional neural networks</article-title>. <source>Sci. Bull.</source> <volume>63</volume> (<issue>18</issue>), <fpage>1215</fpage>&#x2013;<lpage>1222</lpage>. <pub-id pub-id-type="doi">10.1016/j.scib.2018.08.006</pub-id>
</citation>
</ref>
<ref id="B36">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Schuster</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Le</surname>
<given-names>Q. V.</given-names>
</name>
<name>
<surname>Norouzi</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Macherey</surname>
<given-names>W.</given-names>
</name>
<etal/>
</person-group> (<year>2016</year>). <article-title>Google&#x27;s neural machine translation system: bridging the gap between human and machine translation</article-title>. <source>arXiv Prepr. arXiv:1609.08144</source>.</citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wu</surname>
<given-names>Z. Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>C. L.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>H. Y.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>A lithology identification method based on LSTM recurrent neural network</article-title>. <source>Lithol. Reserv.</source> <volume>33</volume> (<issue>3</issue>), <fpage>120</fpage>&#x2013;<lpage>128</lpage>. <pub-id pub-id-type="doi">10.12108/yxyqc.20210312</pub-id>
</citation>
</ref>
<ref id="B38">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xi</surname>
<given-names>D. Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>1995</year>). <article-title>Application of BP artificial neural network model in automatic identification of petrographic phase of logging data</article-title>. <source>Comput. Technol. Phys. Chem. Explor.</source> <volume>17</volume> (<issue>1</issue>), <fpage>42</fpage>&#x2013;<lpage>48</lpage>.</citation>
</ref>
<ref id="B39">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xiong</surname>
<given-names>X. C.</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>J. X.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>A petrographic prediction method based on bidirectional long and short-term memory neural networks</article-title>. <source>J. Chengdu Univ. Technol. Nat. Sci. Ed.</source> <volume>48</volume> (<issue>2</issue>), <fpage>226</fpage>&#x2013;<lpage>234</lpage>. <pub-id pub-id-type="doi">10.3969/j.issn.1671-9727.2021.02.10</pub-id>
</citation>
</ref>
<ref id="B40">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yang</surname>
<given-names>L. Q.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>S. D.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>X. H.</given-names>
</name>
<name>
<surname>Saad</surname>
<given-names>O. M.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Oboue</surname>
<given-names>Y. A. S. I.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>Unsupervised 3-D random noise attenuation using deep skip autoencoder</article-title>. <source>IEEE Trans. Geoscience Remote Sens.</source> <volume>60</volume>, <fpage>1</fpage>&#x2013;<lpage>16</lpage>. <pub-id pub-id-type="doi">10.1109/TGRS.2021.3100455</pub-id>
</citation>
</ref>
<ref id="B41">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>D. X.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Y. T.</given-names>
</name>
<name>
<surname>Meng</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>A method for logging curve generation based on recurrent neural network</article-title>. <source>Petroleum Explor. Dev.</source> <volume>45</volume> (<issue>4</issue>), <fpage>598</fpage>&#x2013;<lpage>607</lpage>. <comment>CNKI:SUN:SKYK.0.2018-04-007</comment>.</citation>
</ref>
<ref id="B42">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>G. Y.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Z. Z.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Y. K.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Deep learning for seismic lithology prediction</article-title>. <source>Geophys. J. Int.</source> <volume>215</volume> (<issue>2</issue>), <fpage>1368</fpage>&#x2013;<lpage>1387</lpage>. <pub-id pub-id-type="doi">10.1093/gji/ggy344</pub-id>
</citation>
</ref>
<ref id="B43">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>G. Y.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Z. Z.</given-names>
</name>
<name>
<surname>Mohaghegh</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Lin</surname>
<given-names>C. Y.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>Y. A.</given-names>
</name>
<name>
<surname>Pei</surname>
<given-names>S. J.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Pattern visualization and understanding of machine learning models for permeability prediction in tight sandstone reservoirs</article-title>. <source>J. Petroleum Sci. Eng.</source> <volume>200</volume>, <fpage>108142</fpage>. <pub-id pub-id-type="doi">10.1016/j.petrol.2020.108142</pub-id>
</citation>
</ref>
<ref id="B44">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zheng</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Lu</surname>
<given-names>J. R.</given-names>
</name>
<name>
<surname>Peng</surname>
<given-names>S. P.</given-names>
</name>
<name>
<surname>Jiang</surname>
<given-names>T. Q.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>An automatic microseismic or acoustic emission arrival identification scheme with deep recurrent neural networks</article-title>. <source>Geophys. J. Int.</source> <volume>212</volume>, <fpage>1389</fpage>&#x2013;<lpage>1397</lpage>. <pub-id pub-id-type="doi">10.1093/gji/ggx487</pub-id>
</citation>
</ref>
<ref id="B45">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhong</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Carr</surname>
<given-names>T. R.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>X. M.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>G. C.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Application of a convolutional neural network in permeability prediction: a case study in the Jacksonburg-Stringtown oil field, West Virginia, USA</article-title>. <source>Geophysics</source> <volume>84</volume> (<issue>6</issue>), <fpage>B363</fpage>&#x2013;<lpage>B373</lpage>. <pub-id pub-id-type="doi">10.1190/geo2018-0588.1</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>