journal article·2026-07-22Open access

Real Missing-Region-Constrained Self-Supervised Inpainting for Borehole Electrical Imaging Logs

Chuanhao Li, Chengwu Xu, Tingting Li, Qi Yao, Mengying Wang

Applied Sciences· Volume 16· Issue 14

Abstract

Borehole electrical imaging logs provide important sensor-derived information for identifying fractures, bedding structures, and reservoir heterogeneity. However, strip-like missing regions commonly arise from uneven tool pad distribution, incomplete borehole coverage, and acquisition limitations, which can distort geological structures and reduce interpretation reliability. Because the true values inside real missing regions are unobservable, complete ground-truth labels are generally unavailable. This study therefore proposes a real missing-region-constrained self-supervised inpainting framework for borehole electrical imaging logs. The key idea is to use real missing masks to define safe intact regions and to generate artificial strip-like training masks only within those reliable regions, thereby avoiding supervision contamination from originally missing or adjacent unstable areas. A UNet-based inpainting model is developed, and two attention-enhanced variants, UNet-SE and UNet-CBAM, are evaluated together with Telea and Navier–Stokes baselines. In addition to the main comparison, mask-level ablation, model-level ablation, repeated-seed robustness analysis, and lightweight expert-assisted geological assessment are used to examine the reliability of the proposed strategy. The results show that learning-based methods consistently outperform conventional approaches for structurally complex strip-like gaps. UNet-CBAM achieves the best overall performance, with mask-MAE, mask-PSNR, and mask-SSIM values of 14.8, 21.2 dB, and 0.8, respectively. The safe-region-constrained strategy further reduces supervision contamination and improves reconstruction quality compared with random or less restrictive mask-generation strategies. These findings indicate that the proposed framework offers a practical self-supervised solution for improving the quality and interpretability of sensor-captured borehole imaging logs when complete labels are unavailable.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Geophysical and Geoelectrical Methods · Groundwater flow and contamination studies · Geological Modeling and Analysis

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Geosciences, Northeast Petroleum University, Daqing 163318, China

State Key Laboratory of Continental Shale Oil, Northeast Petroleum University, Daqing 163318, China

Funding

National Natural Science Foundation of China

References (44)

Show source-provided references
1. Utilizing borehole electrical images to interpret lithofacies of fan-delta: A case study of Lower Triassic Baikouquan Formation in Mahu Depression, Junggar Basin, China10.1515/geo-2017-0041 ↗
2. Multi-threshold de-noising of electrical imaging logging data based on the wavelet packet transform10.1088/1742-2140/aa6ad3 ↗
3. Zhu, B., Pan, R., Zhang, C., Zhang, Z., and Shi, W. (2022). Application of hydrothermal altered reservoir identification method in metamorphic rock buried hill of Bozhong Sag, Bohai Bay Basin, China. Front. Earth Sci., 10.10.3389/feart.2022.807659 ↗
4. A review on the applications of image logs in structural analysis and sedimentary characterization10.1016/j.marpetgeo.2018.04.020 ↗
5. An intelligent identification method of interlayers in deep clastic rock—An example of Donghe Sandstone in Hade Oilfield, Tarim Basin10.1016/j.marpetgeo.2023.106419 ↗
6. Fracture detection in deep tight gas reservoirs using borehole electrical images
7. Sun, Q., Su, N., Gong, F., and Du, Q. (2023). Blank strip filling for logging electrical imaging based on multiscale generative adversarial network. Processes, 11.10.3390/pr11061709 ↗
8. The use of discrete fracture networks for modelling coupled geomechanical and hydrological behaviour of fractured rocks10.1016/j.compgeo.2016.12.024 ↗
9. Spatial distribution and reserve estimation of sand and gravel deposits using geostatistical methods in west Basrah, southern Iraq10.1016/j.kjs.2023.02.017 ↗
10. Medical image imputation from image collections10.1109/TMI.2018.2866692 ↗
11. Anti-forensics of diffusion-based image inpainting10.1117/1.JEI.29.4.043026 ↗
12. Lin, X., Zhang, P., Meng, F., and Liu, C. (2022). A coal seam thickness prediction model based on CPSAC and WOA–LS-SVM: A case study on the ZJ Mine in the Huainan Coalfield. Energies, 15.10.3390/en15197324 ↗
13. Region filling and object removal by exemplar-based image inpainting10.1109/TIP.2004.833105 ↗
14. Mathematical models for local nontexture inpaintings10.1137/S0036139900368844 ↗
15. Multiple-point geostatistics simulation of the natural gas hydrate distribution at the pore scale10.1021/acs.energyfuels.3c00830 ↗
16. A methodology to construct training images for vein-type deposits10.1016/j.cageo.2007.04.007 ↗
17. Modeling and simulating depositional sequences using latent Gaussian random fields10.1007/s11004-020-09875-0 ↗
18. Image inpainting: Overview and recent advances10.1109/MSP.2013.2273004 ↗
19. Variable-hyperparameter visual transformer for efficient image inpainting10.1016/j.cag.2023.05.006 ↗
20. Lightweight generative network for image inpainting using feature contrast enhancement10.1109/ACCESS.2022.3198974 ↗
21. 2.5-D deep learning inversion of LWD and deep-sensing EM measurements across formations with dipping faults
22. Suvorov, R., Logacheva, E., Mashikhin, A., Remizova, A., Ashukha, A., Silvestrov, A., Kong, N., Goka, H., Park, K., and Lempitsky, V. (2022). Resolution-robust large mask inpainting with Fourier convolutions. Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, IEEE.10.1109/WACV51458.2022.00323 ↗
23. Li, W., Lin, Z., Zhou, K., Qi, L., Wang, Y., and Jia, J. (2022). MAT: Mask-aware transformer for large hole image inpainting. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, IEEE.10.1109/CVPR52688.2022.01049 ↗
24. Pathak, D., Krähenbühl, P., Donahue, J., Darrell, T., and Efros, A.A. (2016). Context encoders: Feature learning by inpainting. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, IEEE.10.1109/CVPR.2016.278 ↗
25. Efficient texture-aware multi-GAN for image inpainting10.1016/j.knosys.2021.106789 ↗
26. Yu, J., Lin, Z., Yang, J., Shen, X., Lu, X., and Huang, T.S. (2018). Generative image inpainting with contextual attention. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, IEEE.10.1109/CVPR.2018.00577 ↗
27. Lugmayr, A., Danelljan, M., Romero, A., Yu, F., Timofte, R., and Van Gool, L. (2022). RePaint: Inpainting using denoising diffusion probabilistic models. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, IEEE.10.1109/CVPR52688.2022.01117 ↗
28. Liang, J., Cao, J., Sun, G., Zhang, K., Van Gool, L., and Timofte, R. (2021). SwinIR: Image restoration using Swin Transformer. Proceedings of the IEEE/CVF International Conference on Computer Vision, IEEE.10.1109/ICCVW54120.2021.00210 ↗
29. He, K., Chen, X., Xie, S., Li, Y., Dollar, P., and Girshick, R. (2022). Masked autoencoders are scalable vision learners. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, IEEE.10.1109/CVPR52688.2022.01553 ↗
30. Self-supervised learning for seismic data interpolation
31. U-Net: Convolutional networks for biomedical image segmentation
32. Hu, J., Shen, L., and Sun, G. (2018). Squeeze-and-excitation networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, IEEE.10.1109/CVPR.2018.00745 ↗
33. Woo, S., Park, J., Lee, J.Y., and Kweon, I.S. (2018). CBAM: Convolutional block attention module. Proceedings of the European Conference on Computer Vision, IEEE.10.1007/978-3-030-01234-2_1 ↗
34. An image inpainting technique based on the fast marching method10.1080/10867651.2004.10487596 ↗
35. Navier–Stokes, fluid dynamics, and image and video inpainting
36. ELU-Net: An efficient and lightweight U-Net for medical image segmentation10.1109/ACCESS.2022.3163711 ↗
37. Liu, G., Reda, F.A., Shih, K.J., Wang, T.C., Boucher, A., and Feldman, J. (2018). Image inpainting for irregular holes using partial convolutions. Proceedings of the European Conference on Computer Vision, IEEE.10.1007/978-3-030-01252-6_6 ↗
38. Loss functions for image restoration with neural networks10.1109/TCI.2016.2644865 ↗
39. Xie, Z., Zhang, Z., Cao, Y., Lin, Y., Bao, J., Yao, Z., Dai, Q., and Hu, H. (2022). SimMIM: A simple framework for masked image modeling. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, IEEE.10.1109/CVPR52688.2022.00943 ↗
40. PyTorch: An imperative style, high-performance deep learning library
41. Loshchilov, I., and Hutter, F. (2017). Decoupled weight decay regularization. arXiv.
42. Image quality assessment: From error visibility to structural similarity10.1109/TIP.2003.819861 ↗
43. Image inpainting based on deep learning: A review10.1016/j.inffus.2022.08.033 ↗
44. Attention mechanisms in computer vision: A survey10.1007/s41095-022-0271-y ↗