A case study on fracture identification of grotto temple roof with data augmentation method based on fine-tuning Stable Diffusion model

Han Bao , Changbo Li , Changqing Liu , Li Li , Hengxing Lan , Weichang Chen , Hongtao Lv

Underground Space ›› 2026, Vol. 30 ›› Issue (5) : 85 -101.

PDF (4516KB)
Underground Space ›› 2026, Vol. 30 ›› Issue (5) :85 -101. DOI: 10.1016/j.undsp.2026.06.002
Research Paper
research-article
A case study on fracture identification of grotto temple roof with data augmentation method based on fine-tuning Stable Diffusion model
Author information +
History +
PDF (4516KB)

Abstract

The fractures developed within the layered rock mass of the grotto roof intersect with each other, directly undermining overall structural stability. Accurate and efficient identification of roof fractures is essential for guiding conservation efforts. However, the limited diversity in training data often restricts the performance of fracture identification models. To address this issue, we employ a simplified ControlNet-inspired fine-tuning diffusion framework for data augmentation, aiming to improve the accuracy and robustness of fracture identification. The method utilizes a dataset of visible and infrared fusion images of grotto roof rock surfaces. A fine-tuning neural network was trained to guide a Stable Diffusion model in generating diverse synthetic fracture images. Composite datasets with varying ratios of real to generated images were constructed for training. Comparative experiments using multiple models evaluated the identification performance on composite datasets. The results show that infrared–visible fusion significantly enhances fracture detection by integrating complementary modal information. During fine-tuning, the maximum mean discrepancy between real and generated images first decreased and then fluctuated, with feature-space alignment improving by 48.4%. Compared with conventional geometric augmentation, the proposed method achieved superior accuracy. Optimal performance was achieved at a 4∶1 real-to-generated ratio, where the model reached an F1-score of 74.41%, representing a balance between dataset diversity and fidelity. Higher proportions of synthetic data reduced performance. Among the evaluated architectures, the U-Net best preserved fracture boundaries and structural details. By integrating infrared–visible fusion with diffusion-based data augmentation, this study provides a technically feasible framework for the precise prevention of roof failure in grotto temples.

Keywords

Grotto temple / Rock mass fracture identification / Data augmentation / Denoising diffusion models / Fine-tuning / U-Net network

Cite this article

Download citation ▾
Han Bao, Changbo Li, Changqing Liu, Li Li, Hengxing Lan, Weichang Chen, Hongtao Lv. A case study on fracture identification of grotto temple roof with data augmentation method based on fine-tuning Stable Diffusion model. Underground Space, 2026, 30 (5) : 85-101 DOI:10.1016/j.undsp.2026.06.002

登录浏览全文

4963

注册一个新账户 忘记密码

References

[1]

Abdollahi, A., Pradhan, B., & Alamri, A. M. (2022). An ensemble architecture of deep convolutional Segnet and Unet networks for building semantic segmentation from high-resolution aerial images. Geocarto International, 37(12), 3355-3370.

[2]

Bagde, M. N. (2016). Characterization of failure modes and planned stabilization measures for the Ajanta caves in India. International Journal of Rock Mechanics and Mining Sciences, 81, 12-18.

[3]

Balageas, D., Maldague, X., Burleigh, D., Vavilov, V. P., Oswald-Tranta, B., Roche, J. M., Pradere, C., & Carlomagn o, G. M. (2016). Thermal (IR) and Other NDT techniques for improved material inspection. Journal of Nondestructive Evaluation, 35(1), 18.

[4]

Bao, H., Li, X., Lan, H., Pei, R., & Yan, C. (2024). Effect of interface morphology on the heterogeneous development of bedding-perpendicular joints in soft-hard interbedded strata. Journal of Structural Geology, 180, 105069.

[5]

Berger, L., Haberbusch, M., & Moscato, F. (2023). Generative adversarial networks in electrocardiogram synthesis: Recent developments and challenges. In Artificial Intelligence in Medicine, 143, 102632.

[6]

Cai, H., Yu, H., Liu, Y., An, X., Xiao, C., & Hu, J. (2025). Domain generalization based on dynamic style enhancement and dual consistency constraint network for hyperspectral image cross-scene classification. International Journal of Remote Sensing, 46(9), 3642-3665.

[7]

Chaiyasarn, K., Buatik, A., Mohamad, H., Zhou, M., Kongsilp, S., & Poovarodom, N. (2022). Integrated pixel-level CNN-FCN crack detection via photogrammetric 3D texture mapping of concrete structures. Automation in Construction, 140, 104388.

[8]

Fan, L., Chen, T., He, L., Wang, Z., & Zhang, R. (2025). GADM: Data augmentation using generative adversarial diffusion model for pulse-based disease identification. Biomedical Signal Processing and Control, 100, 107005.

[9]

Golparvar-Fard, M., Bohn, J., Teizer, J., Savarese, S., & Pen˜a-Mora, F. (2011). Evaluation of image-based modeling and laser scanning accuracy for emerging automated performance monitoring techniques. Automation in Construction, 20(8), 1143-1155.

[10]

Goodfellow, I., Pouget-Abadie, J., Mirza, M., Bing, Xu., Warde-Farley, D., Ozair, S., Courville, A., & Bengio, Y. (2020). Generative adversarial networks. Communications of the ACM, 63(11), 139-144.

[11]

Hao, X., Liu, L., Yang, R., Yin, L., Zhang, L., & Li, X. (2023). A review of data augmentation methods of remote sensing image target recognition. Remote Sensing, 15(3), 827.

[12]

Harrison, J. P., & Cosgrove, J. W. (2021). Integrating rock mechanics and structural geology in rock engineering. IOP Conference Series: Earth and Environmental Science, 833(1), 012001.

[13]

He, P., Li, S. C., Li, L. P., Zhang, Q. Q., Xu, F., & Chen, Y. J. (2017). Discontinuous deformation analysis of super section tunnel surrounding rock stability based on joint distribution simulation. Computers and Geotechnics, 91, 218-229.

[14]

Ho, J., Jain, A., & Abbeel, P. (2020). Denoising diffusion probabilistic models. Advances in Neural Information Processing Systems, 33, 6840-6851.

[15]

Jing, J., Liu, S., Wang, G., Zhang, W., & Sun, C. (2022). Recent advances on image edge detection: A comprehensive review. Neurocomputing, 503, 259-271.

[16]

Kheradmandi, N., & Mehranfar, V. (2022). A critical review and comparative study on image segmentation-based techniques for pavement crack detection. Construction and Building Materials, 321, 126162.

[17]

Lan, H., Zhang, Y., Macciotta, R., Li, L., Wu, Y., Bao, H., & Peng, J. (2022). The role of discontinuities in the susceptibility, development, and runout of rock avalanches: A review. Landslides, 19(6), 1391-1404.

[18]

Li, S., Song, S. ji, & Wu, C. (2018). Layer-wise domain correction for unsupervised domain adaptation. Frontiers of Information Technology and Electronic Engineering, 19(1), 91-103.

[19]

Li, Z., & Sun, Y. (2024). Parameter efficient finetuning of text-to-image models with trainable self-attention layer. Image and Vision Computing, 151, 105296.

[20]

Liu, C., Bao, H., Lan, H., Li, L., Chen, W., Lv, H., Liu, J., & Liu, S. (2024a). Bedding effect on progressive crack propagation in layered sandstone grotto roof. Tunnelling and Underground Space Technology, 152, 105914.

[21]

Liu, F., Liu, J., Wang, L., & Al-Qadi, I. L. (2024b). Multiple-type distress detection in asphalt concrete pavement using infrared thermography and deep learning. Automation in Construction, 161, 105355.

[22]

Liu, S., Lan, H., Bao, H., & Peng, J. (2022). Classification system of typical engineering geological deformation and failure modes in grottoes. Earth Science, 47(12), 4710-4723 (in Chinese).

[23]

Liu, W., Liu, W., & Sun, Y. (2023). Visible-infrared dual-sensor fusion for single-object tracking. IEEE Sensors Journal, 23(4), 4118-4128.

[24]

Liu, X., Song, L., Liu, S., & Zhang, Y. (2021). A review of deep-learning-based medical image segmentation methods. Sustainability, 13(3), 1224.

[25]

Ma, J., Yu, W., Liang, P., Li, C., & Jiang, J. (2019). FusionGAN: A generative adversarial network for infrared and visible image fusion. Information Fusion, 48, 11-26.

[26]

Maghami, A., Salehi, M., & Khoshdarregi, M. (2021). Automated vision-based inspection of drilled CFRP composites using multi-light imaging and deep learning. CIRP Journal of Manufacturing Science and Technology, 35, 441-453.

[27]

Mallya, A., Davis, D., & Lazebnik, S. (2018). Piggyback: Adapting a single network to multiple tasks by learning to mask weights. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 11208, 72-88.

[28]

Muhammad, A., Salman, Z., Lee, K., & Han, D. (2023). Harnessing the power of diffusion models for plant disease image augmentation. Frontiers in Plant Science, 14, 1280496.

[29]

Mumuni, A., Mumuni, F., & Gerrar, N. (2024). A survey of synthetic data augmentation methods in machine vision. Machine Intelligence Research., 21(5), 831-869.

[30]

Pan, Y., Cui, J., & Xu, Z. (2024). Multiscale method for identifying and marking the multiform fractures from visible-light rock-mass images. Underground Space, 16, 279-300.

[31]

Pei, Q., Bai, Y., Guo, Q., Liu, H., & Chen, W. (2024). Study on the mechanical mechanism of layered spalling damage of the flat roof in Beishiku temple grottoes. Journal of Engineering Geology, 32(6), 2041-2054 (in Chinese).

[32]

Sai, S., Mittal, U., & Chamola, V. (2024). DMDAT: Diffusion model-based data augmentation technique for vision-based accident detection in vehicular networks[J]. IEEE Transactions on Vehicular Technology, 74(2), 2241-2250.

[33]

Sun, B., Li, X., Cui, K., Peng, N., Hong, J., Chen, R., & Jia, C. (2023). Study on the characteristics of damaged sandstone in the longshan grottoes using water chemistry and freeze-thaw cycling. Minerals, 13(3), 430.

[34]

Wang, T., & Yan, C. (2024). Fracture characteristics and failure analysis of underground caverns in Longyou Grottoes induced by humidity change. Engineering Failure Analysis, 160, 108214.

[35]

Xu, Z., Cheng, Y., Qiao, Y., Wan, Y., Shao, M., & Kang, C. (2024). Adapting visible-light-image diffusion model for infrared image restoration in rainy weather. Computers & Electrical Engineering, 120, 109814.

[36]

Yang, X., Ye, T., Yuan, X., Zhu, W., Mei, X., & Zhou, F. (2024). A novel data augmentation method based on denoising diffusion probabilistic model for fault diagnosis under imbalanced data. IEEE Transactions on Industrial Informatics, 20(5), 7820-7831.

[37]

Yu, Y., Wang, C., Fu, Q., Kou, R., Huang, F., Yang, B., Yang, T., & Gao, M. (2023). Techniques and challenges of image segmentation: A review. Electronics, 12(5), 1199.

[38]

Yuan, W., Liu, S., Zhao, Q., Deng, L., Lu, Q., Pan, L., & Li, Z. (2023). Application of ground-penetrating radar with the logging data constraint in the detection of fractured rock mass in Dazu Rock Carvings, Chongqing, China. Remote Sensing, 15(18), 4452.

[39]

Zang, Y., Yang, B., Li, J., & Guan, H. (2019). An accurate tls and uav image point clouds registration method for deformation detection of chaotic hillside areas. Remote Sensing, 11(6), 647.

[40]

Zhang, H., Shi, M., Shen, W., Li, Z., Zhang, B., Liu, R., & Zhang, R. (2013). Damage or protection? The role of smoked crust on sandstones from Yungang Grottoes. Journal of Archaeological Science, 40(2), 935-942.

[41]

Zhang, H., Li, T., Tang, S., Li, P., Wang, Y., & Tang, C. (2023a). The influence of environmental humidity change on the stability of rock caves in Longyou Grottoes. Tunnelling and Underground Space Technology, 140, 105291.

[42]

Zhang, H., & Shao, H. (2024). Exploring the latest applications of OpenAI and ChatGPT: An in-depth survey. CMES-Computer Modeling in Engineering and Sciences, 138(3), 2061-2102.

[43]

Zhang, L., Rao, A., & Agrawala, M. (2023b). Adding conditional control to text-to-image diffusion models. In Proceedings of the IEEE/CVF International Conference on Computer Vision (pp. 3836-3847).

[44]

Zhang, T., Lin, J., Jiao, J., Zhang, H., & Li, H. (2024). An interpretable latent denoising diffusion probabilistic model for fault diagnosis under limited data. IEEE Transactions on Industrial Informatics, 20(8), 10354-10365.

[45]

Zhang, X., Yin, Y., Wang, Z., Wu, H., Cheng, L., Yang, A., & Zhao, G. (2025). Robust infrared-visible fusion imaging with decoupled semantic segmentation network. Sensors, 25(9), 2646.

[46]

Zhao, J., Zhong, H., Zhu, Z., Zhang, D., Pei, Q., & Liu, H. (2024). An active infrared system for identifying the flaking disease in Qingyang North Grotto Temple. Journal of Cultural Heritage, 66, 392-397.

[47]

Zhao, P., Zhang, W., Cao, X., & Li, X. (2025). Denoising diffusion probabilistic model-enabled data augmentation method for intelligent machine fault diagnosis. Engineering Applications of Artificial Intelligence, 139 (A), 109520.

[48]

Zhou, Z., Zhang, J., Gong, C., & Wu, W. (2023). Automatic tunnel lining crack detection via deep learning with generative adversarial network-based data augmentation. Underground Space, 9, 140-154.

[49]

Zhou, Z., Zhong, Y., Liu, X., Li, Q., & Han, S. (2020). DC-MMD-GAN: A new maximum mean discrepancy generative adversarial network using divide and conquer. Applied Sciences, 10(18), 6405.

[50]

Zhu, S., & Tian, Y. (2023). Shape robustness in style enhanced cross domain semantic segmentation. Pattern Recognition, 135, 109143.

PDF (4516KB)

0

Accesses

0

Citation

Detail

Sections
Recommended

/

〈 〉