Drainage pipeline construction projects are vulnerable to a range of defects, such as branch concealed joints, variable diameter, two pipe mouth significances, foreign object insertion, pipeline rupture, and pipeline end disconnection, generated during long-term service in a complex environment. This paper proposes two enhancements to multiple attention learning to detect and segment multiple defects. Firstly, we collected numerous samples of drainage pipeline sonar defect videos. Then, our multiple attention segmentation network was used for target segmentation. The test precision and accuracy of MAP@50 reach 96.0% and 90.9%, respectively, in the segmentation prediction. Compared to the coordinate attention and convolutional block attention module attention models, it had a significant precision advantage, and the weight file size is merely 7.0 MB, which is far smaller than the Yolov9 model segmentation weight size. The multiple attention method proposed in this paper was adopted for detection, instance segmentation, and pose detection in different public datasets, especially in the object detection of the coco128-seg dataset under the same condition. Map@50:95 has increased by 13.0% assisted by our multiple attention mechanism. The results indicated the memory efficiency and high precision of the integration of the multiple attention model on several public datasets.
30 October 2024 in International Journal of Pattern Recognition and Artificial Intelligence
To address the challenge of defect recognition in sewer pipelines under fully flooded and turbid conditions, this study proposes MSAA-MSFNet, a sonar image classification network that integrates multi-scale adaptive attention (MSAA) and a dual-path multi-scale feature fusion (MSFM) module. The design follows a three-stage strategy: noise-robust feature extraction, efficient fusion, and imbalanced learning. First, to suppress noise and highlight key structures, we introduce an MSAA mechanism that computes multi-order spatial adaptive weights on top of multi-scale feature extraction, thereby enhancing salient regions while attenuating redundant responses. Second, building on the lightweight backbone ShuffleNetV2, we design a dual-path MSFM module to enable complementary cross-layer feature fusion while maintaining inference efficiency. Third, to mitigate the long-tailed distribution in sonar image datasets, we propose a dual-weighted focal loss (DW\_FL) that adaptively increases the learning weights of minority and hard-to-classify samples. With only a marginal increase in parameter count and computational complexity, experiments show that MSAA-MSFNet improves Top-1 accuracy on sonar defect recognition by 1.38\% over the state-of-the-art baseline. These results verify the method’s ability to automatically identify sewer-pipeline defects under complex operating conditions and indicate promising engineering applicability. Code is available at: https://github.com/gerry-shd/MSAA-MSFNet.