TL;DR
Researchers have developed Res-UNet, a deep learning model designed to automatically detect and map fine cracks (craquelure) and paint loss on ancient Chinese polychrome paintings. By combining the feature-extraction power of ResNet-50 with the precise localization of U-Net, the system achieves a 98.19% accuracy rate, offering a high-tech upgrade to the manual restoration processes used at the Palace Museum.
What Problem Does This Paper Address?
The polychrome paintings of the Palace Museum (the Forbidden City) are masterpieces of ancient Chinese technology and art, but they are under constant siege from the elements. Temperature fluctuations, humidity, and sunlight cause the paint to develop craquelure—a network of fine cracks—which eventually leads to flaking and total paint loss.
Traditionally, conservators have relied on manual visual identification and plotting to track these defects. This is not only incredibly labor-intensive but also imprecise. While standard computer vision techniques (like edge detection or thresholding) work for large patches of missing paint, they struggle with craquelure. The cracks are often low-contrast, thin, and easily confused with the intricate, colorful patterns of the original artwork. The authors sought a way to achieve pixel-level, automatic recognition that could handle these complex backgrounds.
Methods
The authors propose a hybrid architecture called Res-UNet.
- The Architecture: They replaced the standard encoder of a U-Net (a popular model for medical imaging) with ResNet-50. The "residual" blocks in ResNet allow the model to go deeper without suffering from gradient degradation, enabling it to extract much richer features from the images.
- Feature Fusion: Like a standard U-Net, the model uses "skip connections" to pass high-resolution details from the encoder directly to the decoder. This ensures that when the model identifies a crack, it knows exactly where it is located down to the pixel.
- The "Mixed" Loss Function: To train the model effectively, the authors combined three different loss functions:
- Cross-Entropy (CE): For general stability.
- Focal Loss: To force the model to focus on "hard" pixels (the tiny cracks that are easily missed).
- Dice Loss: To handle class imbalance (since the background area is much larger than the area covered by thin cracks).
- Transfer Learning: Interestingly, the authors initialized their model using weights from a medical cell segmentation dataset. They noted that the geometric patterns of intercellular spaces under a microscope are remarkably similar to the patterns of craquelure on ancient wood.
Datasets
Because no public dataset for ancient architectural cracks existed, the authors built their own:
- Source: High-definition photography from the Wenyuan Pavilion, Wubei Pavilion, and Dapaojing Well Pavilion within the Palace Museum, supplemented by images from other historic temples.
- Processing: 600 original images were manually labeled using LabelMe.
- Augmentation: To prevent overfitting, they expanded the dataset to 21,000 images using techniques like flipping, HSV transformation, sharpening, and adding digital noise.
Key Insights and Ideas
- The Geometry of Decay: One of the most clever insights is the bridge between medical imaging and art conservation. By recognizing that cracks in paint "behave" like cell boundaries in biological tissue, the researchers could leverage existing breakthroughs in medical AI to solve a cultural heritage problem.
- Overcoming the "Broken Line" Problem: Previous lightweight models often produced "fragmented" crack detections. The authors found that the deeper residual structure of ResNet-50 was essential for maintaining the continuity of the cracks, which is vital for conservators trying to understand the structural integrity of the paint layer.
- Loss Function Synergy: The paper demonstrates that using a single loss function isn't enough for this specific task. The "Mixed Loss" approach was the "aha moment" that allowed the model to ignore the distracting colorful patterns of the painting and focus solely on the structural defects.
Key Results
The Res-UNet model significantly outperformed standard U-Net and other lightweight architectures (like MC-DM):
- Accuracy: 98.19%
- Mean Pixel Accuracy (MPA): 93.67% (a ~3.5% improvement over standard U-Net).
- Intersection over Union (IoU) for Craquelure: Reached 0.71, a 12% jump over models using only standard Cross-Entropy loss.
- Qualitative Success: In head-to-head tests, Res-UNet was the only model that consistently identified cracks on complex, high-contrast backgrounds without losing the "edges" of the paint loss areas.
Limitations and Future Work
While the model is highly accurate, it is computationally heavier than some "lightweight" alternatives, processing about 12 images per second compared to the 13.4 images per second of simpler models.
The authors suggest that the next step is quantification. It’s not enough to just see the cracks; future versions of this AI could potentially measure the width, depth, and density of the craquelure. This would allow for real-time monitoring systems that alert conservators the moment a crack begins to widen, preventing paint loss before it even happens.
Summary updated