Abstract
Fish are a vital aquatic resource worldwide, and the sustainable development of aquaculture is essential for global food security and economic growth. However, the high incidence of fish diseases in complex aquaculture environments significantly hampers sustainability, and traditional manual diagnosis methods are inefficient and often inaccurate. To address the challenges of small-lesion detection, lesion area size and morphological variation, and background complexity, we propose YOLO-TPS, a high-precision fish-disease detection model based on an improved YOLOv11n architecture. The model integrates a multi-module synergy strategy and a triple-attention mechanism to enhance detection performance. Specifically, the SPPF_TSFA module is introduced into the backbone to fuse spatial, channel, and neuron-level attention for better multi-scale feature extraction of early-stage lesions. A PC_Shuffleblock module incorporating asymmetric pinwheel-shaped convolutions is embedded in the detection head to improve spatial awareness and texture modeling under complex visual conditions. Additionally, a scale-aware dynamic intersection over union (SDIoU) loss function was designed to accommodate changes in the scale and morphology of lesions at different stages of the disease. Experimental results on a dataset comprising 4596 images across six fish-disease categories demonstrate superior performance (mAP(0.5): 97.2%, Precision: 97.9%, Recall: 95.1%) compared to the baseline. This study offers a robust, scalable solution for intelligent fish-disease diagnosis and has promising implications for sustainable aquaculture and animal health monitoring.