Abstract
To overcome the prohibitive annotation cost of monitoring diseases in intensive aquaculture, we propose SSFDD, a semi-supervised one-stage detector for fish disease. Using only 10% labeled data, it achieves 81% AP50 and 32% AP50:95 at 3.2 ms inference speed. This is enabled by three key components: (1) A dense anchor sampling strategy, combining RetinaNet’s architecture with YOLOv5’s anchor design, which improves detection of small lesions; (2) A confidence-guided pseudo-label filter that reduces teacher-student bias through dual thresholds; (3) An epoch adaptation mechanism that automatically adjusts training length based on label scarcity, stabilizing convergence without manual tuning. Experiments show SSFDD achieves competitive performance versus YOLOv5/v8/v11 baselines, which require fully labeled data. This approach enhances robustness while reducing annotation costs, offering a practical solution for real-world fish disease detection.
Key words
Fish disease detection; YOLO; Computer vision; Pseudo-label optimization; Deep learning
INTRODUCTION
In 2022, global fisheries and aquaculture production reached a record of approximately 223.2 million tons (Bhattacharya et al. 2024). According to the United Nations Food and Agriculture Organization report, The State of World Fisheries and Aquaculture 2022, fish account for the vast majority of global aquatic animal production, representing approximately 80% to 90% of the total, and have become a major source of food supply worldwide. The report also highlights that due to resource depletion in many traditional fishing grounds, the growth of catch volume has slowed or even declined. Aquaculture now accounts for over 50% of global fishery production, and this proportion continues to rise. Today, the aquaculture industry is gradually transitioning to a new model characterized by factory-based, smart, and intensive farming practices (Xu et al. 2023a). Although this transformation significantly improves fish production efficiency, it introduces new complexities. In high-density farming environments, fish diseases can spread rapidly, leading to collective infections and irreparable losses (Okon et al. 2023). Therefore, real-time detection and classification of diseased fish are crucial to prevent mass mortality (Yu et al. 2021).
Deep learning is known for its high efficiency, high accuracy, and powerful feature learning ability, with widespread applications across object detection and image classification, including biological image classification and segmentation (Affonso et al. 2017), vehicle and pedestrian tracking (Berwo et al. 2023) and disease diagnosis (Genaev et al. 2021). In precision aquaculture, advanced algorithms enable accurate, non-destructive, and real-time quantification of critical husbandry variables—water quality (Nagothu et al. 2025), dissolved oxygen (Jiang et al. 2025), and net-pen integrity (Akram et al. 2025)—substantially reducing manual sampling efforts and establishing an end-to-end digital framework for data-informed management decisions. In fish surveillance, Zhao et al. (2022) introduces a lightweight target detection model for abnormal fish behavior, combining MobileNetV3 with deformable convolution to reduce computational load and improve detection accuracy in underwater images. To better detect the different species of fish in the underwater environment, Liu et al. (2024) presents DP-FishNetwork, a two-path PVT model for enhanced fish target detection in underwater environments. It combines global and local feature extraction, uses Carafe for better feature utilization, and applies seesaw loss to address sample imbalance. To more accurately assess the disease status of fish, Li et al. (2024) propose YOLO-FD, which is capable of simultaneously performing diseased fish object detection and infected area segmentation, while also assessing the severity of fish diseases from multiple computer vision perspectives. However, the existing studies encounter significant challenges in their implementation to practical application. Typically, object detection requires a significant volume of manually annotated data, and acquiring such labels can be quite costly due to the need for extensive human effort, and time-consuming annotation processes (Li et al. 2018). What’s more, the specialized expertise of label annotators cannot be ignored in order to obtain reliable labels. Additionally, in previous studies, researchers frequently utilized high-resolution images for training to improve accuracy. This reduces the model’s robustness and generalization, causing poor performance when encountering low-resolution images in real-world scenarios. Another issue that needs to be addressed is that in previous fish disease studies, monitoring typically focused on single binary diseases rather than tracking multiple different diseases (Li et al. 2024, Wang et al. 2023). This limitation not only hinders the comprehensive understanding of fish health but also delays the timely implementation of appropriate treatment measures.
Semi-supervised object detection (SSOD) is a technique that leverages a small set of labeled data combined with a large volume of unlabeled data to train object detection models (Liu et al. 2021). It combines the advantages of supervised learning (e.g., high accuracy with labeled data) and unsupervised learning (e.g., the ability to discover patterns without labels) to enhance model performance, especially in scenarios where labeled data is scarce. The primary objective is to mitigate the cost and difficulty of obtaining accurate labels that demand domain-specific expertise, while simultaneously handling datasets that are intrinsically imbalanced (Manivannan 2024, Du et al. 2024). A spectrum of advanced semi-supervised algorithms has been developed (Yang et al. 2024, Yu et al. 2024, Guan et al. 2025). Semi-supervision was first successfully applied in the medical field (Hooper et al. 2023, Wang et al. 2020, Tseng et al. 2021)., where its high efficiency in leveraging limited labeled data significantly reduced annotation costs. This success has led to its rapid extension to other label-scarce or expert-annotation-demanding scenarios, such as remaining-useful-life prediction (e.g., battery health and longevity forecasting) (Liu et al. 2025, Guo et al. 2024) and industrial defect detection (e.g., oil-well operating status monitoring and alloy-component inspection) (Mattera et al. 2024, Huang et al. 2024). Although semi-supervised object detection has shown promise in general scenes, its application to fish disease detection remains limited. Existing methods are mostly designed for natural images and struggle when faced with the subtle visual features and limited annotations typical in aquaculture datasets. Anchor-free or two-stage detectors, while popular, often fail to maintain both precision and recall in dense or small-target detection tasks, such as identifying early-stage lesions. Additionally, conventional pseudo-labeling approaches are prone to noise and inconsistency, especially when applied to one-stage anchor-based models.
To address these challenges, we propose a semi-supervised framework tailored for fish disease detection, named SSFDD. It builds on a dense anchor-based detector to improve small-target sensitivity, introduces a selective pseudo-label assignment mechanism to reduce label noise, and adopts an adaptive training strategy to stabilize learning under low-label conditions. During this process, the teacher and student models learn from each other through knowledge distillation, enhancing robustness and preventing overfitting, which is particularly important in scenarios with limited labeled data. With only 10 % labeled data, SSFDD achieves competitive detection performance, offering a practical solution for real-world aquaculture monitoring.
MATERIALS AND METHODS
Dataset
The data was collected in https://www.kaggle.com. Fish disease identification in the images was performed and labeled by fish disease experts from Jimei University. The data on fish diseases included cases of Aeromoniasis, bacterial gill disease, hemorrhagic septicemia (red spot disease), parasitic diseases, as well as healthy fish. Each category of data accounts for one fifth. We used images that were data-augmented through pair-horizontal flipping, random cropping, and scaling, resulting in pictures with a resolution of 224×224. Higher resolutions (typically 512×512 or above) are often used in fish disease detection studies, but this may reduce model accuracy in real-world applications. A total of 1,250 images were used for training, with 10% of the labeled training set data reserved for teacher model training, and 90% of the data are unlabeled. The test dataset comprised another 250 images. The test set was kept strictly isolated and never used during training or hyper-parameter tuning.
Semi-Supervised Fish Disease Detection Network
The backbone of the SSFDD network is based on Yolo v5 (Jocher et al. 2021). Currently, the Yolo versions have advanced to v11, but we chose v5 because it utilizes the anchor-based technique, which is more suitable for our needs. The one-stage anchor-based approach effectively integrates pseudo-labels, enhancing performance even with limited labeled data. By predicting object locations in a single step, it reduces model complexity and computational load, minimizes processing stages, accelerates convergence, and adapts more quickly to semi-supervised learning. The anchor-based method leverages the advantages of anchor-based detection by generating multiple candidate boxes of varying sizes and aspect ratios at the same pixel location, effectively covering a wide range of positions and scales. Each reference box is assigned to detect targets with an Intersection over Union (IoU) exceeding a specified threshold. In this framework, target detection is achieved by determining whether recognized targets exist within the anchors and calculating the deviation of the target boxes from the reference boxes. This approach eliminates the need for multi-scale sliding window traversal, significantly improving detection speed. Such characteristics are advantageous for meeting the requirements of real-time monitoring. During the training phase, the model learns to predict the offsets for each anchor box to better align with the true position of the targets. Additionally, the model predicts the class of each target corresponding to the anchor boxes, enabling accurate classification alongside detection.
Inspired by (Xu et al. 2023b), we proposed one-stage anchor-based semi-supervised learning to fish disease detection, the one-stage anchor based skips the separate region proposal network. Instead, it uses a grid-based approach where each grid cell predicts potential object regions using predefined anchor boxes for location and category. This one-stage process requires fewer computations, leading to faster inference. Anchor-based methods use predefined reference boxes to predict and refine the location and size of objects in object detection tasks. Leveraging both labeled and unlabeled data to improve model performance in scenarios with limited annotations. As shown in Fig. 1, In the lower half of the picture the SSFDD network operates within a student-teacher model, wherein the student network processes two types of data: labeled data augmented via Mosaic data augmentation (Bochkovskiy et al. 2020) and unlabeled data enhanced with both Mosaic and Strong data augmentation. The training conducted on the labeled data employs supervised learning, incorporating classification loss, regression loss, object detection loss, and domain adaptation loss. Simultaneously, the unlabeled data is used for pseudo-label training, which also involves classification loss, regression loss, and object detection loss.
The teacher network, on the other hand, receives unlabeled data augmented using Mosaic techniques (Jiang et al. 2022), and its predictions serve to guide the training of the student model. Within this framework, the Pseudo Label Assigner method (Xu et al. 2023b) classifies pseudo labels based on their classification scores into two categories: reliable and uncertain. Reliable labels are those deemed trustworthy and are utilized in supervised learning to contribute to the computation of classification loss, regression loss, and object detection loss. Conversely, uncertain labels are processed using soft loss to train the student model. The Epoch Adaptor (EA) method (Chen et al. 2022a) enhances training efficiency by conducting domain adaptation and distribution adaptation on both labeled and unlabeled data. This approach autonomously calculates a threshold for the pseudo label classification during each epoch, facilitating accelerated convergence of the network. Furthermore, the teacher model is derived from the student model through Exponential Moving Average (EMA) updates (Haynes et al. 2012), ensuring a more refined and effective guidance mechanism for the student network.
We illustrate the methodology with a running example:
-
(i) Dual-stream split: Input images are divided into labeled and unlabeled streams.
-
(ii) Parallel forward pass: Labeled data are fed to the student model for loss computation, while unlabeled data go through the teacher model for pseudo-label generation.
-
(iii) Quality screening: After thresholding, pseudo-labels are passed back to the student model for learning.
-
(iv) Synchronized updates: The student model combines both losses for gradient updates, while the teacher model syncs its parameters via exponential moving averaging.
-
(v) Inference: Ultimately, the trained teacher model produces the final predictions.
Dense Detector Head
The dense detector head is a pivotal component of RetinaNet (Lin et al. 2017), specifically designed to execute object detection tasks on the feature pyramid. As illustrated in Fig. 2, the Dense Detector comprises three output branches: a classification score, a bounding-box offset, and an objectness score. In SSOD, pseudo-labels are generated from the predicted bounding boxes of unlabeled data, with the objectness score serving as an indicator of the localization quality of these pseudo-labels. Dense detectors, enhanced with additional object branches, are adept at evaluating the localization quality of pseudo-labels during the SSOD training process. These detectors leverage a range of architectural elements, including convolutional layers, pooling layers, and fully connected layers, to achieve their objectives. Their primary function is to conduct multi-scale object detection on the feature maps produced by the backbone network. The detection head module utilizes an advanced multi-level feature fusion strategy: initially, the feature map output by the backbone network is processed through a convolutional module to reduce the number of channels and adjust the feature map size. Following this, feature maps from various levels are integrated to capture more extensive and diverse feature information, thereby significantly enhancing the performance of object detection.
Pseudo Label Assigner
Pseudo label assignment is a big challenge in semi-supervised fish disease detection, and the pseudo-label filter is the key solution, which is used to remove pseudo-labels below the preset threshold and classify them as background, while scores above the threshold are regarded as reliable pseudo-labels. However, this practice may trigger inconsistency of pseudo labels, which in turn negatively affects the performance of mutual learning mechanisms. To meet this challenge, the pseudo label dispenser (PLA) emerged to provide a more refined method for pseudo label generation. As shown in Fig. 3. In PLA, the pseudo labels after non-maximum inhibition (NMS) treatment are subdivided into two categories: reliable pseudo labels and uncertain pseudo labels. It is achieved based on two threshold high threshold τ 1 and low threshold τ 2. Pseudo tags with scores located between τ 1 and τ 2. were treated as uncertain, and the PLA would choose to ignore the loss of these tags. The loss of detector in SSOD is defined as a pair of single labeled image and single unlabeled image:
where Ls denotes the loss function calculated on labeled images, whereas Lu represents the loss function computed on unlabeled images. The parameter γ set to 3.0 in this study, is employed to balance the contributions of the supervised loss and the semi-supervised loss.
where CE denotes the cross-entropy loss function, X (h,w) represents the output of the student model, and Y (h,w) corresponds to the sampled results produced by the detector’s label assigner.
The Lu is defined as follows:
In the frame work, ˆ Y (h,w) cls , ˆ Y (h,w) reg , ˆ Y (h,w) obj is the classification score, regression output, and objectness score, respectively, derived from the PLA at the spatial location (h, w) on the feature map. Here, ˆ obj (h,w)denotes the objectness score of the pseudo label at (h, w) and p (h,w) is the score associated with the pseudo-label at the same location. The indicator function 1 {·} is utilized to output 1 if the specified condition {·} is met, and 0 otherwise.
PLA classifies uncertain pseudo-labels into two types: those with high classification scores and those with high objectness scores. For the first category, only the objectness loss term Luobj is calculated. In this scenario, the target for the cross-entropy loss ˆ Y (h,w) obj is substituted with a soft label ˆ obj (h,w), signifying that these pseudo-labels are neither classified as background nor as definitive positive samples. For the second category, when the objectness score exceeds 0.99, PLA computes the regression loss term Lureg. These pseudo-labels exhibit strong regression outcomes but lack sufficient classification scores to ascertain their specific label category. PLA’s strategy involves transforming a greater number of uncertain pseudo-labels into true positives through the application of Lureg. This approach is crucial as, during the training phase, numerous uncertain pseudo-labels are inaccurately dismissed as false positives due to imprecise predicted bounding boxes. Consequently, PLA addresses the inconsistency of pseudo-labels through a soft label learning mechanism, effectively maintaining the reliability of high-confidence pseudo-labels while ensuring their associated loss terms remain unaffected.
Epoch Adaptor (EA)
In the training phase of semi-supervised fish disease detection, we introduced the EA method to improve stability and efficiency as shown in Figure 1. This approach incorporates domain adaptation and distribution adaptation techniques, aiming to quickly and stably narrow the distribution gap between labeled and unlabeled data and dynamically adjust the pseudo-label threshold for each epoch. EA enables the neural network to learn both labeled and unlabeled data in the combustion stage, and uses the domain adaptive technology and the classifier interference detector to distinguish between the two types of data, effectively alleviating the overfitting problem caused by relying only on labeled data. The domain adaptation loss function as follow:
Where P (h,w) represents the output of the domain classifier to distinguish whether the input data is from the labeled data set (D=0) or an unlabeled data set (D=1). In order to realize domain adaptation, we introduce the gradient reverse layer (GRL). In the training process, the ordinary gradient descent algorithm is used to update the parameters of the domain classifier, and when the gradient passes through the GRL layer, its symbol will be reversed, so as to optimize the parameters of the basic network (i. e., the feature extractor). This mechanism prompts the underlying network to learn feature representations that can confuse domain classifiers, thus reducing the distribution difference between labeled and unlabeled data. During the Burn-In phase, the supervised loss for a single image can be expressed as follows:
Where, γ at 0.1, regulates the influence of domain adaptation. During the experiments, the detector was trained on unlabeled data, which improved the model’s representational capacity.
The combination of domain adaptation and distribution adaptation within the EA framework significantly mitigates the neural network’s tendency to overfit labeled data. Furthermore, EA dynamically calculates the optimal pseudo-label threshold for each epoch, facilitating rapid and efficient training in semi-supervised fish disease detection.
To facilitate readability and reproducibility, we provide Table I, which summarizes each symbol used in the paper and its definition.
Pseudo-code and Model Setting
Table II provides the pseudo-code for SSFDD training. During training, the batch size was set to 8, and the maximum number of iterations was limited to 300. The nms_conf_thres and nms_iou_thres were established at 0.4 and 0.7. Training was conducted using two NVIDIA GTX 4090 GPUs, with a software environment of CUDA 11.8. The implementation of our proposed method was executed using Python 3.8.
RESULTS AND DISCUSSION
Detection and Classification Results
To evaluate the performance of our proposed model, we selected several advanced object detection models and compared them with the proposed model, as shown in Table III and IV. Compared to fully supervised methods such as YOLOv5n, YOLOv8n, and YOLOv11n, it can be observed that our model achieved improvements in precision, recall, mAP50, and mAP50:95, even with only 10% of the labeled data. Additionally, it achieves a speed of 3.1 ms, meeting the requirements for real-time detection. Among these evaluation metrics, recall should be prioritized. The importance of recall in disease diagnosis lies in reducing missed diagnoses, which is critical for fatal or infectious diseases. To minimize the spread of infection among fish populations, ensuring a high recall rate is essential, as missed diagnoses can lead to rapid disease transmission within the population, resulting in significant economic losses and ecological impacts. The disease classification results of different models are presented in Table IV. Our proposed SSFDD model outperforms all others, achieving the highest average accuracy of 0.846. It demonstrates superior performance across all categories, particularly in BA (0.96), BG (0.90), and HF (0.89). The results indicate that SSFDD not only excels in overall accuracy but also provides more reliable disease-specific diagnoses compared to the baseline models. In practical aquaculture settings, this capability is crucial, as it enables precise identification of disease types. Accurate diagnosis is essential for implementing targeted treatment strategies, thereby improving fish health and reducing economic losses in the aquaculture industry.
The visualization results in Figure 4 clearly demonstrate that computer vision can effectively detect the disease that are difficult to distinguish with the naked eye. As shown in the figure, our method outperforms the other two fully supervised methods in terms of confidence, demonstrating that the self-supervised approach does not compromise model performance. As shown in the second column of the figure, SSFDD effectively reduces misclassification and duplicate detections, demonstrating robust performance in object localization and classification. In contrast, YOLOv8 sometimes misclassifies the same fish into different categories. The teacher model, based on YOLOv5n, uses a one-stage anchor-based method for simple and efficient detection. It relies on a single anchor to define object positions and anchor-based features for faster detection. As shown in the graph, the student model achieves performance comparable to YOLOv5n. However, as shown in Figure 4, our model has several limitations. To improve sensitivity for minor lesions, we use relatively small detection boxes, which leads to fragmented detections (multiple overlapping boxes) when dealing with large lesions. Moreover, when a fish is largely healthy with only small affected areas, both diseased and healthy regions may be marked simultaneously.
Visualization of the detection results on the test set. (a)Yolo v8n, (b)Yolo v5n, (c)SSFDD (ours, 10 % labeled data) and (d)wrong inspection and over-inspection(ours). HS is hemorrhagic septicemia, HF is health fish, P is Parasitic diseases, BA is Bacterial disease – Aeromoniasis.
We conducted the experiment on the impact of labeled-set size, the results are shown in Figure 5. As can be seen, model performance degrades with decreasing labeled data, particularly at the 1% level. The existing evidence also suggests that the core components of pseudo label assigner and epoch adaptor—are inherently sensitive to extremely small labeled corpora. When the labeled ratio drops below 2 %, the teacher’s average precision on COCO falls below 20 % (Xu et al. 2023b), causing the pseudo label assigner to receive noisy soft labels. Meanwhile, the epoch adaptor’s distribution-dependent thresholds become unstable for tail classes with <10 instances. These studies indicate that, despite abundant unlabeled images, the semi-supervised network still rely on a minimal yet representative labeled corpus to maintain consistent pseudo-label quality and stable training dynamics.
Semi-supervised learning results with varying labeled data ratios. All the results are the average of 5 folds.
The upper and lower bounds of the pseudo-label threshold significantly impact semi-supervised model performance, as they control the trade-off between pseudo-label quality and quantity, directly determining the signal strength and reliability learned from unlabeled data. A high threshold results in insufficient learning from hard samples, while a low threshold leads to overfitting and poor robustness. We therefore conducted a sensitivity analysis on these bounds to visually demonstrate their effect on model performance and identify the optimal configuration in Figure 6. As shown in the figure, the model achieves the highest accuracy with an upper bound of 0.7 and a lower bound of 0.4.
Sensitivity analysis results for pseudo-label confidence threshold. All the results are the average of 5 folds.
Although our dataset is class-balanced, long-tail or skewed distributions remain a common obstacle for practitioners who wish to apply semi-supervised methodologies. Imbalanced class distributions amplify a well-known weakness of pseudo-label frameworks: the “rich-get-richer” effect. When the labeled set contains very few positives, the initial teacher model is almost entirely trained on negatives; consequently, its predictions on unlabeled samples are biased toward the majority class. During the self-training loop these high-frequency pseudo-labels overwhelm the minority class, so the student quickly forgets the rare pattern and the average precision drops further. Following Siddiqui et al. (2019, 2020), we suggest that the minority-class bias in pseudo-label semi-supervised object detection could be alleviated by cost-sensitive re-weighting of the pseudo-label loss and anchoring student embeddings to a small, high-confidence prototype set of rare positives—both proven effective against class imbalance in medical semi-supervised tasks.
Comparing with State of The Art (SOTA) Methods
In Table V, by comparing with (Yu et al. 2023) and (Li et al. 2024), reveals that previous models primarily focus on detecting a single disease and continuously optimizing detection accuracy. In contrast, our approach emphasizes the detection of multiple disease types, even with limited labeled data. Additionally, from a lightweight design perspective, our model demonstrates a significant advantage, achieving the lowest computational cost of 4.5 GFLOPs. Although our method exhibits lower precision, recall, and mAP50 compared to MobileNet v3-GELU-YOLOv4 and Yolo-FD, the results remain acceptable due to the lower image resolution of our test set, the use of only 10% labeled data, and the faster detection speed.
To further evaluate our method, we compared it with other semi-supervised learning approaches. Xu et al. (2021) proposes a two-stage anchor-based method, Soft-Teacher, which employs an end-to-end framework for semi-supervised object detection. Liu et al. (2022) proposes a one-stage anchor-free method, Unbiased Teacher v2, which addresses the application of semi-supervised object detection to anchor-free detectors. The two-stage anchor-based method first generates region proposals and then refines them to detect objects, resulting in higher accuracy but slower performance due to the two-step process. The one-stage anchor-free method directly predicts object locations and sizes without relying on anchor boxes, making it simpler and faster, with a more efficient end-to-end training process. Compared to the one-stage anchor-based method, the two-stage anchor-based method offers higher accuracy and robustness, especially for complex detection tasks. On the other hand, the one-stage anchor-free method provides faster performance and is more computationally efficient, making it better suited for real-time applications. In Table VI, by comparing with two-stage anchor-based method and one-stage anchor-free method, we find that one-stage anchor-based method has lower computational requirements, making them more suitable for deployment on devices with limited computational resources. This aligns well with our pursuit of cost-effectiveness and efficiency. Since our work is the first to apply semi-supervised learning to a fish detection dataset, which is different from the datasets used in the other two studies, although we lead in precision, it does not necessarily mean that our method has a significant advantage in this performance.
To evaluate our method more fairly, we benchmarked it on COCO-standard, with results shown in Figure 7. Soft Teacher (Xu et al. 2021), Label Match (Chen et al. 2022a), and PseCo (Li et al. 2022) are two-stage anchor-based detectors, while DSL (Chen et al. 2022b) and Dense Teacher (Zhou et al. 2022) are one-stage anchor-free methods. Compared to both categories, our proposed one-stage anchor-based SSFDD achieved competitive results, demonstrating superior data efficiency under limited labeled conditions.
Benchmark results on COCO-standard at 1%, 5%, 10% labeled data. All the results are the average of 5 folds.
CONCLUSIONS
We introduce a one-stage, anchor-based semi-supervised framework for detecting fish diseases. By leveraging pseudo-label assignment and epoch-adaptive training from the efficient teacher within the dense detector architecture, our method achieves compelling accuracy and robustness with only 10% annotated data. It maintains real-time speed, providing a practical solution for aquaculture applications where labeled pathological samples are scarce. Despite promising results, our study has several limitations that should be acknowledged. First, the dataset is relatively small and lacks densely annotated scenes. Second, we only detect diseases that present external symptoms, potentially overlooking pathogens with internal lesions. This study has several potential areas for improvement:
-
1. The dataset used in this study is limited to visually observable appearances. For diseases lacking obvious pathological signs, behavioral feature analysis could be explored as an alternative detection method.
-
2. Bacterial diseases share similar pathological features, making it challenging to distinguish them accurately during detection. Their performance in other aspects may be more suitable for differentiation. Multi-task deep learning has the potential to address the issues mentioned above. As a collaborative learning paradigm, it leverages the inherent correlations among multiple related tasks to achieve mutual benefits, including improved performance, enhanced generalization, and reduced overall computational cost (Zhao et al. 2023).
-
3. The model will be deployed at a real-world fish farm and tested for reliability in densely populated fish schools.
Declaration of generative AI in preparation of manuscript
During the preparation of this work, the authors used “Deepseek” to improve the readability and language of the manuscript. After using this tool, the authors reviewed and edited the content as necessary and take full responsibility for the publication’s content.
Acknowledgements
The Natural Science Foundation of Fujian Province of China No.2026J0011186, 2022J01821 and 2022J05163. The National Key R&D Program of China No.2020YFD0900904 and 2023YFD2100603. The National Natural Science Foundation of China No.11705068 and 32172339. The authors declare no competing interests.
Data availability
References
- AFFONSO C, ROSSI ALD, VIEIRA FHA & DE LEON FERREIRA ACP. 2017. Deep learning for biological image classification. Expert Syst Appl 85: 114-122.
- AKRAM W, DIN MU, SAAD A & HUSSAIN I. 2025. AquaChat: An LLM-guided ROV framework for adaptive inspection of aquaculture net pens. Aquacult Eng: 102607.
- BERWO MA, KHAN A, FANG Y, FAHIM H, JAVAID S, MAHMOOD J, ABIDEEN ZU & MS S. 2023. Deep learning techniques for vehicle detection and classification from images/videos: A survey. Sensors 23: 4832.
- BHATTACHARYA A, CHOWDHURY S, NATH S, DORA KC, SAHU S & MALI P. 2024. From waste to nutrient: Proximate composition, morphological and elemental analysis of Tigertooth croaker (Otolithes ruber) fish bone. Int J Adv Biochem Res 8: 838-843.
-
BOCHKOVSKIY A, WANG C-Y & LIAO H-YM. 2020. Yolov4: Optimal speed and accuracy of object detection. Arxiv. Available at: https://arxiv.org/abs/2004.10934 Accessed: 23 April, 2020.
» https://arxiv.org/abs/2004.10934 - CHEN B, CHEN W, YANG S, XUAN Y, SONG J, XIE D, PU S, SONG M & ZHUANG Y. 2022a. Label matching semi-supervised object detection. In: IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, 40, New Orleans. Proceedings ... , Piscataway: IEEE, p. 14381-14390.
- CHEN B, LI P, CHEN X, WANG B, ZHANG L & HUA XS. 2022b. Dense learning based semi-supervised object detection. In: IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, 2022, New Orleans. Proceedings..., Piscataway: IEEE, p. 4815-4824.
- DU G, ZHANG J, ZHANG N, WU H, WU P & LI S. 2024. Semi-supervised imbalanced multi-label classification with label propagation. Pattern Recognit 150: 110358.
- GENAEV MA, SKOLOTNEVA ES, GULTYAEVA EI, ORLOVA EA, BECHTOLD NP & AFONNIKOV DA. 2021. Image-based wheat fungi diseases identification by deep learning. Plants 10: 1500.
- GUAN D, XING Y, HUANG J, XIAO A, EL SADDIK A & LU S. 2025. S2Match: Self-paced sampling for data-limited semi-supervised learning. Pattern Recogn 159: 111121.
- GUO N, CHEN S, TAO J, LIU Y, WAN J & LI X. 2024. Semi-supervised learning for explainable few-shot battery lifetime prediction. Joule 8: 1820-1836.
- HAYNES D, CORNS S & VENAYAGAMOORTHY GK. 2012. An exponential moving average algorithm. In: IEEE CONGRESS ON EVOLUTIONARY COMPUTATION, 2012, Brisbane. Proceedings..., Piscataway: IEEE, p. 1-8.
- HOOPER SM, WU S, DAVIES RH, BHUVA A, SCHELBERT EB, MOON JC, KELLMAN P, XUE H, LANGLOTZ C & RÉ C. 2023. Evaluating semi-supervision methods for medical image segmentation: applications in cardiac magnetic resonance imaging. J Med Imaging 10: 024007-024007.
- HUANG Z, LI K, XU Z, YIN R, YANG Z, MEI W & BING S. 2024. STP-Model: A semi-supervised framework with self-supervised learning capabilities for downhole fault diagnosis in sucker rod pumping systems. Eng Appl Artif Intell 135: 108802.
- JIANG C, REN H, YE X, ZHU J, ZENG H, NAN Y, SUN M, REN X & HUO H. 2022. Object detection from UAV thermal infrared images and videos using YOLO models. Int J Appl Earth Obs Geoinf 112: 102912.
- JIANG Y, ZHANG L, WANG C, CHEN L, ZHANG W, WENG H, XIE L & QU F. 2025. Multi-step prediction of dissolved oxygen in fish pond aquaculture using feature reconstruction-based deep neural network. Comput Electron Agric 232: 109997.
- JOCHER G, STOKEN A, BOROVEC J, CHAURASIA A, CHANGYU L, HOGAN A, HAJEK J, DIACONU L, KWON Y & DEFRETIN Y. 2021. ultralytics/yolov5: v5. 0-YOLOv5-P6 1280 models, AWS, Supervise. ly and YouTube integrations. Zenodo.
- LI G, LI X, WANG Y, WU Y, LIANG D & ZHANG S. 2022. Pseco: pseudo labeling and consistency training for semi-supervised object detection. In: EUROPEAN CONFERENCE ON COMPUTER VISION, 2022, Tel Aviv. Proceedings..., Cham: Springer, p. 457-472.
-
LI X, YU L, CHEN H, FU C-W & HENG P-A. 2018. Semi-supervised skin lesion segmentation via transformation consistent self-ensembling model. Arxiv. Available at: https://arxiv.org/abs/1808.03887 Accessed: 12 Aug. 2018.
» https://arxiv.org/abs/1808.03887 - LI X, ZHAO S, CHEN C, CUI H, LI D & ZHAO R. 2024. YOLO-FD: An accurate fish disease detection method based on multi-task learning. Expert Syst Appl 258: 125085.
- LIN TY, GOYAL P, GIRSHICK RB, HE K & DOLLÁR P. 2017. Focal Loss for dense object detection. In: IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION, 2017, Venice. Proceedings..., Piscataway: IEEE, p. 2999-3007.
- LIU Y, AN D, REN Y, ZHAO J, ZHANG C, CHENG J, LIU J & WEI Y. 2024. DP-FishNet: Dual-path Pyramid Vision Transformer-based underwater fish detection network. Expert Syst Appl 238: 122018.
- LIU Y, DING J, CAI Y, LUO B, YAO L & WANG Z. 2025. A battery SOH estimation method based on entropy domain features and semi-supervised learning under limited sample conditions. J Energy Storage 106: 114822.
-
LIU Y-C, MA C-Y, HE Z, KUO C-W, CHEN K, ZHANG P, WU B, KIRA Z & VAJDA P. 2021. Unbiased teacher for semi-supervised object detection. Arxiv. Available at: https://arxiv.org/abs/2102.09480 Accessed: 18 Feb. 2021.
» https://arxiv.org/abs/2102.09480 - LIU YC, MA CY & KIRA Z. 2022. Unbiased Teacher v2: Semi-supervised object detection for anchor-free and anchor-based detectors. In: IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, 2022, New Orleans. Proceedings..., Piscataway: IEEE, p. 9819-9828.
- MANIVANNAN S. 2024. Semi-supervised imbalanced classification of wafer bin map defects using a Dual-Head CNN. Expert Syst Appl 238: 122301.
- MATTERA G, POLDEN J, CAGGIANO A, NELE L, PAN Z & NORRISH J. 2024. Semi-supervised learning for real-time anomaly detection in pulsed transfer wire arc additive manufacturing. J Manuf Processes 128: 84-97.
- NAGOTHU SK, BINDU SRI P, ANITHA G, VINCENT S & KUMAR OP. 2025. Advancing aquaculture: fuzzy logic-based water quality monitoring and maintenance system for precision aquaculture. Aquacult Int 33: 32.
- OKON EM, OKOCHA RC, TAIWO AB, MICHAEL FB & BOLANLE AM. 2023. Dynamics of co-infection in fish: A review of pathogen-host interaction and clinical outcome. Fish Shellfish Immunol Rep 4: 100096.
- SIDDIQUI MK, HUANG X, MORALES-MENENDEZ R, HUSSAIN N & KHATOON K. 2020. Machine learning based novel cost-sensitive seizure detection classifier for imbalanced EEG data sets. IJIDeM 14: 1491-1509.
- SIDDIQUI MK, ISLAM MZ & KABIR MA. 2019. A novel quick seizure detection and localization through brain data mining on ECoG dataset. Neural Comput Appl 31: 5595-5608.
- TSENG K-K, ZHANG R, CHEN C-M & HASSAN MM. 2021. DNetUnet: a semi-supervised CNN of medical image segmentation for super-computing AI service. J Supercomput 77: 3594-3615.
- WANG D, ZHANG Y, ZHANG K & WANG L. 2020. FocalMix: Semi-Supervised Learning for 3D Medical Image Detection. In: IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, 33, Seattle, WA, USA. Proceedings... , Seattle, WA, USA: IEEE, p. 3950-3959.
- WANG Z, LIU H, ZHANG G, YANG X, WEN L & ZHAO W. 2023. Diseased fish detection in the underwater environment using an improved YOLOV5 network for intensive aquaculture. Fishes 8: 169.
-
XU B, CHEN M, GUAN W & HU L. 2023b. Arxiv. Available at: https://arxiv.org/abs/2302.07577 Accessed: 14 Mar. 2023.
» https://arxiv.org/abs/2302.07577 - XU L, YU H, QIN H, CHAI Y, YAN N, LI D & CHEN Y. 2023a. Digital twin for aquaponics factory: Analysis, opportunities, and research challenges. IEEE Trans Ind Inf 20: 5060-5073.
- XU M, ZHANG Z, HU H, WANG J, WANG L, WEI F, BAI X & LIU Z. 2021. End-to-end semi-supervised object detection with soft teacher. In: IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION, 2021, Montreal. Proceedings..., Piscataway: IEEE, p. 3060-3069.
- YANG Y, JIANG N, XU Y & ZHAN D-C. 2024. Robust semi-supervised learning by wisely leveraging open-set data. IEEE Trans Pattern Anal Mach Intell 46: 8334-8347.
- YU G, ZHANG J, CHEN A & WAN R. 2023. Detection and identification of fish skin health status referring to four common diseases based on improved YOLOv4 Model. Fishes 8: 186.
- YU H, WEN J, SUN Y, WEI X & LU J. 2024. CA-GNN: A competence-aware graph neural network for semi-supervised learning on streaming data. IEEE Trans Cybern 55: 684-697.
- YU X, WANG Y, AN D & WEI Y. 2021. Identification methodology of special behaviors for fish school based on spatial behavior characteristics. Comput Electron Agric 185: 106169.
- ZHAO S, ZHANG S, LU J, WANG H, FENG Y, SHI C, LI D & ZHAO R. 2022. A lightweight dead fish detection method based on deformable convolution and YOLOV4. Comput Electron Agric 198: 107098.
- ZHAO Y, WANG X, CHE T, BAO G & LI S. 2023. Multi-task deep learning for medical image computing and analysis: A review. Comput Biol Med 153: 106496.
- ZHOU H, GE Z, LIU S, MAO W, LI Z, YU H & SUN J. 2022. Dense Teacher: Dense Pseudo-Labels for semi-supervised object detection. In: EUROPEAN CONFERENCE ON COMPUTER VISION, 2022, Tel Aviv. Proceedings..., Cham: Springer, p. 35-50.














