Data-Augmented Deep Learning for Downhole Depth Sensing and Validation
Abstract
1. Introduction
- We develop a system integrated into downhole toolstring, called the Signal Collecting Vessel (SCV), illustrated in Figure 2. The SCV samples raw CCL signals downhole and converts them to digital format, and stores them as waveforms for dataset construction.
- We propose two neural networks models for collar signature recognition that serve as baselines for evaluating data preprocessing methods, as illustrated in Figure 3. The first model, Thin AlexNet (TAN), is modified from AlexNet—a classic and proven architecture in pattern recognition. The second model, Miniaturized AlexNet (MAN), is a simplified version of TAN with fewer layers.
- We propose several data augmentation methods for preprocessing original waveforms to enhance model training performance, including normalization, label distribution smoothing (LDS), label smoothing regularization (LSR), time scaling, cropping and translation, amplitude jittering, noise injection, and multiple sampling.
- We conduct extensive experiments across various configuration combinations with filed CCL logs to validate our methods. Results demonstrate that standardization, LDS, and random cropping are fundamental requirements for models training, while LSR, time scaling, and multiple sampling significantly enhance model generalization capability.
2. Methods
2.1. Problem Transformation
2.2. Acquisition of Raw CCL Waveforms
2.3. Dataset Construction and Augmentation
2.3.1. Normalization of Waveforms
2.3.2. Label Distribution Smoothing (LDS)
2.3.3. Label Smoothing Regularization (LSR)
2.3.4. Geometric Transformations
- Time Scaling: Waveform fragments are scaled along the time axis by random factors and subsequently resampled to restore the original sampling rate. The resampling process employs Hann-windowed sinc interpolation, the default resampling method in the TorchAudio library, to mitigate spectral artifacts, including ringing and aliasing, while ensuring effective high-frequency attenuation.
- Randomly Cropping and Translation: These transformations waveform fragments into sub-samples that match both the sliding window length and the neural network model’s input length.
- Amplitude Jittering: Waveform fragments are multiplied by random gain factors to enhance the model’s robustness and generalization capability.
- Noise Injection: Gaussian noise is added to original fragments to improve model robustness against noise.
- Flipping: Voltage or time axis flipping is excluded as such transformations would violate the physical principles governing CCL magnetic response.
2.3.5. Multiple Sampling
2.4. Neural Network
3. Experiments and Results
3.1. Evaluation Measures
3.2. Training and Validation
3.3. Results and Analysis
3.3.1. Fundamental Preprocessing Requirements
3.3.2. Generalization Enhancement Methods
3.3.3. Optimal Configuration Identification
3.3.4. Performance Validation and Key Findings
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Harris, M.H. The effect of perforating oil well productivity. J. Pet. Technol. 1966, 18, 518–528. [Google Scholar] [CrossRef]
- Xiao, S.Y.; Ren, G.H.; Mao, T.H.; Chen, Y.Q.; Liu, Y.A.; Wang, J.J.; Tang, K.; Zhao, X.D.; Yu, Z.J.; Liu, S.; et al. Realization of Precise Perforating Using Dynamic Threshold and Physical Plausibility Algorithm for Self-Locating Perforating in Oil and Gas Wells. arXiv 2025, arXiv:2509.00608. [Google Scholar] [CrossRef]
- Seren, H.R.; Deffenbaugh, M. Miniaturized casing collar locator for small downhole robots. IEEE Sens. Lett. 2022, 6, 6000804. [Google Scholar] [CrossRef]
- Alvarez, J.O.; Buzi, E.; Adams, R.W.; Deffenbaugh, M. Theory, design, realization, and field results of an inductive casing collar locator. IEEE Trans. Instrum. Meas. 2018, 67, 760–766. [Google Scholar] [CrossRef]
- Gidado, A.; Ekesiobi, C.; Kpone-Tonwe, H.; Adesun, J. Well diagnostic of new underperforming wells using downhole log tool [SNT & MDT]. In Proceedings of the SPE Nigeria Annual International Conference and Exhibition, Lagos, Nigeria, 31 July–2 August 2023; p. D021S012R001. [Google Scholar]
- Li, H.; Tang, T.; Wang, Y. Casing state detection methods based on the CCL signal of the tractor for horizontal wells. In Proceedings of the 2013 IEEE 11th International Conference on Electronic Measurement & Instruments, Harbin, China, 16–19 August 2013; Volume 2, pp. 568–573. [Google Scholar]
- Mijarez, R.; Pascacio, D.; Guevara, R.; Tello, C.; Pacheco, O.; Rodríguez, J. HPHT cased-hole CCL tool enhancement via DSP techniques for accurate depth control in wire-line well interventions. Addit. Pap. Present. 2014, 2014, 000305–000310. [Google Scholar] [CrossRef]
- Brown, J. The Effects Of Cable On Signal Quality. Sound and Video Contractor. 1990, pp. 22–33. Available online: http://audiosystemsgroup.com/CableCapacitance.pdf (accessed on 7 September 2025).
- Wang, H.; Tang, W. Application of Computer Automatic Discriminating Technology to the Depth Control of Perforation. Well Logging Technol. 2006, 30, 378. [Google Scholar]
- Wang, H.; Lv, H.; Pan, J.; Li, G.; Gao, X. Study on collar depth identification based on relative amplitude method. J. Harbin Univ. Commer. (Nat. Sci. Ed.) 2003, 28, 435–438. [Google Scholar]
- Li, J.; Liu, Y.; Zhang, J.; Wang, J.; Zhang, Y. Application of cross-correlation function method in locating perforation depth. J. Southwest Pet. Univ. (Nat. Sci. Ed.) 2020, 42, 42–48. [Google Scholar]
- Li, H.; Chen, J.; Xiao, Y.; Liu, X.; Wu, J. Study on extracting traction device magnetic positioning information features based on anti-aliasing wavelet time entropy in the frequency domain. Chin. High Technol. Lett. 2010, 20, 538–543. [Google Scholar]
- Yang, Y.P.; Luan, G.H.; Zhang, L.F.; Niu, M.Y.; Zou, G.G.; Zhang, X.L.; Wang, J.Y.; Yang, J.F.; Li, M.S. Leak Identification and Positioning Strategies for Downhole Tubing in Gas Wells. Processes 2025, 13, 1708. [Google Scholar] [CrossRef]
- Jing, J.; Qin, Y.; Zhu, X.; Shan, H.; Peng, P. Identification and Prediction of Casing Collar Signal Based on CNN-LSTM. Arab. J. Sci. Eng. 2024, 50, 4897–4911. [Google Scholar] [CrossRef]
- Ross, Z.E.; Meier, M.A.; Hauksson, E.; Heaton, T.H. Generalized seismic phase detection with deep learning. Bull. Seismol. Soc. Am. 2018, 108, 2894–2901. [Google Scholar] [CrossRef]
- Le Guennec, A.; Malinowski, S.; Tavenard, R. Data augmentation for time series classification using convolutional neural networks. In Proceedings of the ECML/PKDD Workshop on Advanced Analytics and Learning on Temporal Data, Riva Del Garda, Italy, 19–23 September 2016. [Google Scholar]
- Wen, Q.; Zhou, T.; Zhang, C.; Chen, W.; Ma, Z.; Yan, J.; Sun, L. Transformers in time series: A survey. arXiv 2022, arXiv:2202.07125. [Google Scholar]
- Raissi, M.; Perdikaris, P.; Karniadakis, G.E. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J. Comput. Phys. 2019, 378, 686–707. [Google Scholar] [CrossRef]
- Noh, K.; Pardo, D.; Torres-Verdín, C. Deep-learning inversion method for the interpretation of noisy logging-while-drilling resistivity measurements. arXiv 2021, arXiv:2111.07490. [Google Scholar] [CrossRef]
- Brazell, S.; Bayeh, A.; Ashby, M.; Burton, D. A Machine-Learning-Based Approach to Assistive Well-Log Correlation. Petrophys.-SPWLA J. 2019, 60, 469–479. [Google Scholar] [CrossRef]
- Elhadidy, A.; Helmy, A.; Heikal, M.; Hany, W. Optimizing Well Perforation with Machine Learning: A Breakthrough in Predictive Modeling. In Proceedings of the SPE Gas & Oil Technology Showcase and Conference, Dubai City, United Arab Emirates, 21–23 April 2025; p. D022S002R002. [Google Scholar]
- Viggen, E.M.; Grønsberg, S.; Brekke, S.; Hicks, B.; Wifstad, S.V. Improving pipe perforation estimates from ultrasonic imaging using subpixel machine learning trained on optical data. Geoenergy Sci. Eng. 2025, 246, 213541. [Google Scholar] [CrossRef]
- Murugan, P.; Durairaj, S. Regularization and optimization strategies in deep convolutional neural network. arXiv 2017, arXiv:1712.04711. [Google Scholar] [CrossRef]
- Ioffe, S.; Szegedy, C. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of the 32nd International Conference on Machine Learning (ICML 2015), Lille, France, 7–9 July 2015; pp. 448–456. [Google Scholar]
- Santurkar, S.; Tsipras, D.; Ilyas, A.; Madry, A. How does batch normalization help optimization? In Proceedings of the 32nd Conference on Neural Information Processing Systems (NeurIPS 2018), Montréal, QC, Canada, 3–8 December 2018; Volume 31, pp. 2488–2498. [Google Scholar]
- Bjorck, N.; Gomes, C.P.; Selman, B.; Weinberger, K.Q. Understanding batch normalization. In Proceedings of the 32nd Conference on Neural Information Processing Systems (NeurIPS 2018), Montréal, QC, Canada, 3–8 December 2018; Volume 31, pp. 7705–7716. [Google Scholar]
- Asif, M.R.; Bording, T.S.; Barfod, A.S.; Auken, E.; Larsen, J.J. Effect of Data Normalization on Neural Networks for the Forward Modelling of Transient Electromagnetic Data. In Proceedings of the NSG2020 26th European Meeting of Environmental and Engineering Geophysics. European Association of Geoscientists & Engineers, Online, 7–8 December 2020; Volume 2020, pp. 1–5. [Google Scholar]
- Yang, Y.; Zha, K.; Chen, Y.; Wang, H.; Katabi, D. Delving into deep imbalanced regression. In Proceedings of the 38th International Conference on Machine Learning (ICML 2021), Online, 18–24 July 2021; pp. 11842–11851. [Google Scholar]
- Szegedy, C.; Vanhoucke, V.; Ioffe, S.; Shlens, J.; Wojna, Z. Rethinking the inception architecture for computer vision. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR 2016), Las Vegas, NV, USA, 27 June–1 July 2016; pp. 2818–2826. [Google Scholar]
- Stoller, D.; Ewert, S.; Dixon, S. Wave-U-net: A multi-scale neural network for end-to-end audio source separation. arXiv 2018, arXiv:1806.03185. [Google Scholar]
- Krizhevsky, A.; Sutskever, I.; Hinton, G.E. ImageNet classification with deep convolutional neural networks. Commun. ACM 2017, 60, 84–90. [Google Scholar] [CrossRef]
- Krizhevsky, A. One weird trick for parallelizing convolutional neural networks. arXiv 2014, arXiv:1404.5997. [Google Scholar] [CrossRef]
- Geng, X. Label distribution learning. IEEE Trans. Knowl. Data Eng. 2016, 28, 1734–1748. [Google Scholar] [CrossRef]
- LeCun, Y.; Bottou, L.; Orr, G.B.; Müller, K.R. Efficient backprop. In Neural Networks: Tricks of the Trade; Springer: Berlin/Heidelberg, Germany, 2002; pp. 9–50. [Google Scholar]





| Cfg. No. | Model | Normalization | Lbl. Dis. | Crop | Evaluation by Validation Set During Training | Evaluation by Moderate Interference Waveform | Evaluation by Mild Interference Waveform | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CE | F1 | AUC-PR | P | R | F1 | P | R | F1 | |||||
| 1 | TAN | Standardization | OHE | Rand | 0.0736 | 0 | 0.0350 | 0 | 0 | 0 | 0 | 0 | 0 |
| 2 | TAN | Standardization | LDS | Fix | 0.2943 | 1 | 0.9987 | 0 | 0 | 0 | 0 | 0 | 0 |
| 3 | TAN | Standardization | LDS | Rand | 0.2391 | 0.9134 | 0.9889 | 0.9136 | 0.9610 | 0.9367 | 0.9811 | 1 | 0.9905 |
| 4 | TAN | MinMax [ 0, +1] | LDS | Rand | 0.5074 | 0 | 0.4051 | 0 | 0 | 0 | 0 | 0 | 0 |
| 5 | TAN | MinMax [−1, +1] | LDS | Rand | 0.3055 | 0.8205 | 0.9234 | 0.0396 | 0.1169 | 0.0592 | 0.0335 | 0.1346 | 0.0536 |
| 6 | MAN | Standardization | LDS | Rand | 0.2852 | 0.8821 | 0.9619 | 1 | 0.9091 | 0.9524 | 1 | 1 | 1 |
| Cfg. No. | Model | Soft Label | Noise Inj. | Amp. Jit. | Time Scale | Multi. Samp. | Evaluation by Validation Set During Training | Evaluation by Moderate Interference Waveform | Evaluation by Mild Interference Waveform | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CE | F1 | AUC-PR | P | R | F1 | P | R | F1 | |||||||
| 3 | TAN | − | − | − | − | 1 | 0.2391 | 0.9134 | 0.9889 | 0.9136 | 0.9610 | 0.9367 | 0.9811 | 1 | 0.9905 |
| 6 | MAN | − | − | − | − | 1 | 0.2852 | 0.8821 | 0.9619 | 1 | 0.9091 | 0.9524 | 1 | 1 | 1 |
| 7 | TAN | LSR | − | − | − | 1 | 0.3596 | 0.9217 | 0.9871 | 0.9610 | 0.9610 | 0.9610 | 0.9811 | 1 | 0.9905 |
| 8 | TAN | − | + | − | − | 1 | 0.2209 | 0.9098 | 0.9869 | 0.8152 | 0.9740 | 0.8876 | 0.9630 | 1 | 0.9811 |
| 9 | TAN | − | − | + | − | 1 | 0.1864 | 0.9085 | 0.9843 | 0.9367 | 0.9610 | 0.9487 | 0.9811 | 1 | 0.9905 |
| 10 | TAN | − | − | − | + | 1 | 0.2170 | 0.8726 | 0.9592 | 0.9740 | 0.9740 | 0.9740 | 1 | 1 | 1 |
| 11 | TAN | − | − | − | − | 20 | 0.1966 | 0.9577 | 0.9939 | 0.9390 | 1 | 0.9686 | 1 | 1 | 1 |
| 12 | TAN | − | − | − | − | 100 | 0.1949 | 0.9589 | 0.9937 | 0.9872 | 1 | 0.9935 | 1 | 1 | 1 |
| 13 | TAN | LSR | − | − | − | 20 | 0.3270 | 0.9439 | 0.9902 | 0.9506 | 1 | 0.9747 | 1 | 1 | 1 |
| 14 | MAN | LSR | − | − | − | 20 | 0.3288 | 0.9379 | 0.9888 | 1 | 1 | 1 | 0.9811 | 1 | 0.9905 |
| 15 | TAN | LSR | − | − | − | 100 | 0.3285 | 0.9377 | 0.9883 | 0.9625 | 1 | 0.9809 | 1 | 1 | 1 |
| 16 | MAN | LSR | − | − | − | 100 | 0.3294 | 0.9348 | 0.9890 | 0.9744 | 0.9870 | 0.9806 | 0.9808 | 0.9808 | 0.9808 |
| 17 | TAN | LSR | − | + | − | 100 | 0.3285 | 0.9381 | 0.9884 | 0.9620 | 0.9870 | 0.9744 | 0.9811 | 1 | 0.9905 |
| 18 | MAN | LSR | − | + | − | 100 | 0.3293 | 0.9355 | 0.9889 | 0.9744 | 0.9870 | 0.9806 | 0.9808 | 0.9808 | 0.9808 |
| Network | Performance | Method | ||||
|---|---|---|---|---|---|---|
| Tests | Acc | P | R | F1 | ||
| Cfg. 3 | 129 | 0.920 | 0.940 | 0.977 | 0.958 | CCL + TAN + LDS |
| Cfg. 6 | 129 | 0.946 | 1 | 0.946 | 0.972 | CCL + MAN + LDS |
| Cfg. 13 | 129 | 0.970 | 1 | 0.970 | 0.985 | CCL + TAN + LDS + Data Augmentation |
| Cfg. 14 | 129 | 0.992 | 1 | 0.992 | 0.996 | CCL + MAN + LDS + Data Augmentation |
| [14] | 269 | 0.974 | 1 | 0.942 | 0.970 | CCL + CNN |
| [14] | 269 | 0.948 | 1 | 0.884 | 0.939 | CCL + LSTM |
| [14] | 269 | 0.978 | 0.959 | 0.991 | 0.975 | CCL + CNN-LSTM |
| [2] | 579 | 0.973 | 0.988 | 0.985 | 0.986 | CCL + Dynamic amplitude threshold + Physical plausibility |
| [10] | 8 | 1 | – | – | – | CCL + Relative amplitude |
| [7] | – | – | – | – | – | CCL + Cross correlation + Predifined threshold |
| [6] | – | – | – | – | – | CCL + Wavelet transform |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Xiao, S.-Y.; Zhao, X.-D.; Mao, T.-H.; Wang, Y.-W.; Chen, Y.-Q.; Zhang, H.-Y.; Wang, J.; Wang, J.-J.; Liu, S.; Chen, T.-P.; et al. Data-Augmented Deep Learning for Downhole Depth Sensing and Validation. Sensors 2026, 26, 775. https://doi.org/10.3390/s26030775
Xiao S-Y, Zhao X-D, Mao T-H, Wang Y-W, Chen Y-Q, Zhang H-Y, Wang J, Wang J-J, Liu S, Chen T-P, et al. Data-Augmented Deep Learning for Downhole Depth Sensing and Validation. Sensors. 2026; 26(3):775. https://doi.org/10.3390/s26030775
Chicago/Turabian StyleXiao, Si-Yu, Xin-Di Zhao, Tian-Hao Mao, Yi-Wei Wang, Yu-Qiao Chen, Hong-Yun Zhang, Jian Wang, Jun-Jie Wang, Shuang Liu, Tu-Pei Chen, and et al. 2026. "Data-Augmented Deep Learning for Downhole Depth Sensing and Validation" Sensors 26, no. 3: 775. https://doi.org/10.3390/s26030775
APA StyleXiao, S.-Y., Zhao, X.-D., Mao, T.-H., Wang, Y.-W., Chen, Y.-Q., Zhang, H.-Y., Wang, J., Wang, J.-J., Liu, S., Chen, T.-P., & Liu, Y. (2026). Data-Augmented Deep Learning for Downhole Depth Sensing and Validation. Sensors, 26(3), 775. https://doi.org/10.3390/s26030775

