Yunpeng Yue , Hai Liu , Xiaoyu Liu , Francesca da Porto , Elisa Saler , Jie Cui , Marco Donà
{"title":"利用剪枝和知识精馏对文物进行有效的装置上损伤分割","authors":"Yunpeng Yue , Hai Liu , Xiaoyu Liu , Francesca da Porto , Elisa Saler , Jie Cui , Marco Donà","doi":"10.1016/j.culher.2025.11.016","DOIUrl":null,"url":null,"abstract":"<div><div>Cultural heritage (CH) buildings may suffer damage due to aging, and computer vision can help detect and aid protection measures. However, damage segmentation models for CH buildings still face challenges such as large parameter sizes, low computational efficiency, and limited model portability. This paper proposes a real-time embedded system to segment damage in CH building images based on a lightweight neural network and knowledge distillation. Firstly, an improved YOLOv8n-Ghost model is established, which incorporates the Ghost module and a pruning method to construct a lightweight network and reduce model redundancy while maintaining detection accuracy and segmentation performance. Secondly, a channel-wise knowledge distillation method is applied to enable the student model to learn from the teacher model and improve accuracy without increasing the number of network parameters. Finally, a CH building dataset including seven types of damage in CH buildings is constructed, and the established dataset is used to train and validate the deep learning model. Experimental results demonstrate that the proposed damage segmentation model, trained on CH building images, achieves an average precision of 0.824 and can process a 512 × 512 image in 0.27 s (204 FPS). Fine-tuning effectively restores accuracy and reduces the model size to 2.94 MB after pruning. Moreover, knowledge distillation further enhances feature extraction ability, enabling accurate and real-time segmentation of various damage types, making the model suitable for UAV-based CH building inspections. Two case studies were conducted on a communal building and a Renaissance building in Padova, Italy, confirming the effectiveness of the trained algorithm. The proposed model was successfully deployed on an Android device, demonstrating accurate damage segmentation with high adaptability and efficient on-device processing capabilities.</div></div>","PeriodicalId":15480,"journal":{"name":"Journal of Cultural Heritage","volume":"77 ","pages":"Pages 284-293"},"PeriodicalIF":3.7000,"publicationDate":"2026-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Efficient on-device damage segmentation for cultural heritage using pruning and knowledge distillation\",\"authors\":\"Yunpeng Yue , Hai Liu , Xiaoyu Liu , Francesca da Porto , Elisa Saler , Jie Cui , Marco Donà\",\"doi\":\"10.1016/j.culher.2025.11.016\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Cultural heritage (CH) buildings may suffer damage due to aging, and computer vision can help detect and aid protection measures. However, damage segmentation models for CH buildings still face challenges such as large parameter sizes, low computational efficiency, and limited model portability. This paper proposes a real-time embedded system to segment damage in CH building images based on a lightweight neural network and knowledge distillation. Firstly, an improved YOLOv8n-Ghost model is established, which incorporates the Ghost module and a pruning method to construct a lightweight network and reduce model redundancy while maintaining detection accuracy and segmentation performance. Secondly, a channel-wise knowledge distillation method is applied to enable the student model to learn from the teacher model and improve accuracy without increasing the number of network parameters. Finally, a CH building dataset including seven types of damage in CH buildings is constructed, and the established dataset is used to train and validate the deep learning model. Experimental results demonstrate that the proposed damage segmentation model, trained on CH building images, achieves an average precision of 0.824 and can process a 512 × 512 image in 0.27 s (204 FPS). Fine-tuning effectively restores accuracy and reduces the model size to 2.94 MB after pruning. Moreover, knowledge distillation further enhances feature extraction ability, enabling accurate and real-time segmentation of various damage types, making the model suitable for UAV-based CH building inspections. Two case studies were conducted on a communal building and a Renaissance building in Padova, Italy, confirming the effectiveness of the trained algorithm. The proposed model was successfully deployed on an Android device, demonstrating accurate damage segmentation with high adaptability and efficient on-device processing capabilities.</div></div>\",\"PeriodicalId\":15480,\"journal\":{\"name\":\"Journal of Cultural Heritage\",\"volume\":\"77 \",\"pages\":\"Pages 284-293\"},\"PeriodicalIF\":3.7000,\"publicationDate\":\"2026-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Cultural Heritage\",\"FirstCategoryId\":\"103\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S1296207425002614\",\"RegionNum\":2,\"RegionCategory\":\"综合性期刊\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"2025/12/22 0:00:00\",\"PubModel\":\"Epub\",\"JCR\":\"0\",\"JCRName\":\"ARCHAEOLOGY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Cultural Heritage","FirstCategoryId":"103","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1296207425002614","RegionNum":2,"RegionCategory":"综合性期刊","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/12/22 0:00:00","PubModel":"Epub","JCR":"0","JCRName":"ARCHAEOLOGY","Score":null,"Total":0}
引用次数: 0
摘要
文物建筑可能因老化而受损,计算机视觉可以帮助发现和协助保护措施。然而,用于CH建筑的损伤分割模型仍然面临着参数尺寸大、计算效率低、模型可移植性有限等挑战。本文提出了一种基于轻量级神经网络和知识精馏的实时嵌入式CH建筑图像损伤分割系统。首先,建立改进的YOLOv8n-Ghost模型,该模型结合Ghost模块和剪枝方法构建轻量级网络,在保持检测精度和分割性能的同时减少模型冗余;其次,采用基于渠道的知识蒸馏方法,使学生模型能够从教师模型中学习,在不增加网络参数数量的情况下提高准确率。最后,构建了包含7种CH建筑损伤类型的CH建筑数据集,并使用所建立的数据集对深度学习模型进行训练和验证。实验结果表明,基于CH建筑图像训练的损伤分割模型平均精度为0.824,处理512 × 512图像的时间为0.27 s (204 FPS)。微调有效地恢复了准确性,并将修剪后的模型大小减小到2.94 MB。此外,知识蒸馏进一步增强了特征提取能力,实现了对各种损伤类型的准确实时分割,使模型适用于基于无人机的CH建筑检测。在意大利帕多瓦的一座公共建筑和一座文艺复兴时期的建筑上进行了两个案例研究,证实了训练算法的有效性。该模型在Android设备上成功部署,显示出准确的损伤分割、高适应性和高效的设备上处理能力。
Efficient on-device damage segmentation for cultural heritage using pruning and knowledge distillation
Cultural heritage (CH) buildings may suffer damage due to aging, and computer vision can help detect and aid protection measures. However, damage segmentation models for CH buildings still face challenges such as large parameter sizes, low computational efficiency, and limited model portability. This paper proposes a real-time embedded system to segment damage in CH building images based on a lightweight neural network and knowledge distillation. Firstly, an improved YOLOv8n-Ghost model is established, which incorporates the Ghost module and a pruning method to construct a lightweight network and reduce model redundancy while maintaining detection accuracy and segmentation performance. Secondly, a channel-wise knowledge distillation method is applied to enable the student model to learn from the teacher model and improve accuracy without increasing the number of network parameters. Finally, a CH building dataset including seven types of damage in CH buildings is constructed, and the established dataset is used to train and validate the deep learning model. Experimental results demonstrate that the proposed damage segmentation model, trained on CH building images, achieves an average precision of 0.824 and can process a 512 × 512 image in 0.27 s (204 FPS). Fine-tuning effectively restores accuracy and reduces the model size to 2.94 MB after pruning. Moreover, knowledge distillation further enhances feature extraction ability, enabling accurate and real-time segmentation of various damage types, making the model suitable for UAV-based CH building inspections. Two case studies were conducted on a communal building and a Renaissance building in Padova, Italy, confirming the effectiveness of the trained algorithm. The proposed model was successfully deployed on an Android device, demonstrating accurate damage segmentation with high adaptability and efficient on-device processing capabilities.
期刊介绍:
The Journal of Cultural Heritage publishes original papers which comprise previously unpublished data and present innovative methods concerning all aspects of science and technology of cultural heritage as well as interpretation and theoretical issues related to preservation.