A Lightweight Algal Bloom Detection Algorithm for Water Surfaces Based on Improved YOLOv26
Abstract
1. Introduction
2. Related Work
3. Model Improvement and Training
3.1. YOLOv26 Network
| # Handle different tensor dimensions original_shape = update.shape if update.ndim == 1: # For 1D tensors (e.g., bias), reshape to 2D update = update.view(1, −1) elif update.ndim >= 3: # For 3D+ tensors (e.g., conv filters), flatten to 2D update = update.view(update.size(0), −1) |
3.2. GhostConv Module
3.3. ECA Attention Module
3.4. Improved GECA-YOLOv26 Network Structure
4. Experiments and Results Analysis
4.1. Dataset Construction
4.2. Experimental Environment and Parameter Settings
4.3. Evaluation Metrics
4.4. Ablation Experiments
4.5. Comparison with Other Algorithms
4.6. Heatmap Analysis
5. Discussion
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Li, H.; Zhang, H.; Duan, L.; Liu, Q.; Li, D.; Huang, J.; Fu, J.; Zi, L.; Xu, T. Spatiotemporal Variations in Water Quality Parameters and Assessment of the Current Status and Challenges of Eutrophication in Lake Dian. Ecol. Indic. 2025, 177, 113821. [Google Scholar] [CrossRef] [Scilit]
- Brooks, B.W.; Lazorchak, J.M.; Howard, M.D.; Johnson, M.V.; Morton, S.L.; Perkins, D.A.; Reavie, E.D.; Scott, G.I.; Smith, S.A.; Steevens, J.A. Are Harmful Algal Blooms Becoming the Greatest Inland Water Quality Threat to Public Health and Aquatic Ecosystems? Environ. Toxicol. Chem. 2016, 35, 6–13. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Cao, M.; Qing, S.; Jin, E.; Yuan, R.; Shun, B. A Spectral Index for the Detection of Algal Blooms Using Sentinel-2 Multispectral Instrument (MSI) Imagery: A Case Study of Hulun Lake, China. Int. J. Remote Sens. 2021, 42, 4514–4535. [Google Scholar] [CrossRef] [Scilit]
- Redmon, J.; Divvala, S.; Girshick, R.; Farhadi, A. You Only Look Once: Unified, Real-Time Object Detection. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR); CVF: Washington, DC, USA, 2016; pp. 779–788. [Google Scholar]
- Sapkota, R.; Cheppally, R.H.; Sharda, A.; Karkee, M. YOLOv26: Key Architectural Enhancements and Performance Benchmarking for Real-Time Object Detection. arXiv 2025, arXiv:2509.25164. [Google Scholar]
- Ultralytics. YOLOv26-Ultralytics YOLO Docs. Available online: https://docs.ultralytics.com/zh/models/yolo26 (accessed on 8 June 2026).
- Çarklı Yavuz, B. Scale-Dependent Performance Analysis of YOLOv26 and YOLOv11 for PPE Detection. Electronics 2026, 15, 1146. [Google Scholar] [CrossRef] [Scilit]
- Lu, X. Underwater Litter Detection Network. Int. J. Hous. Sci. Its Appl. 2025, 47, 811–826. [Google Scholar] [CrossRef] [Scilit]
- Yuan, S.; Peng, N.; Shi, Z.; Zhao, S.; Li, R.; Gu, Y.; He, H. Detection of Algal Tiny Objects Based on Morphological Features. Concurr. Comput. Pract. Exp. 2024, 36, e8128. [Google Scholar] [CrossRef] [Scilit]
- Yang, X.; Shao, S.; Liu, W.; Xiang, Z.; Zhang, B. TAD-YOLO: A Lightweight Nearshore Ship Detection Method for Small USVs in Maritime Trade Surveillance. Ocean Eng. 2025, 341, 122618. [Google Scholar] [CrossRef] [Scilit]
- Liao, W.; Ma, Q.; Wang, H.; Li, H. Improving Small Object Detection in Open Water Maritime Monitoring under Low-Shot Learning. Ocean Eng. 2026, 343, 123307. [Google Scholar] [CrossRef] [Scilit]
- Girshick, R.; Donahue, J.; Darrell, T.; Malik, J. Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; CVF: Washington, DC, USA, 2014; pp. 580–587. [Google Scholar]
- Girshick, R. Fast R-CNN. In Proceedings of the IEEE International Conference on Computer Vision; CVF: Washington, DC, USA, 2015; pp. 1440–1448. [Google Scholar]
- Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. Adv. Neural Inf. Process. Syst. 2015, 28, 91–99. [Google Scholar] [CrossRef] [Scilit]
- Jia, D.; Zhou, J.; Zhang, C. Detection of Cervical Cells Based on Improved SSD Network. Multimed. Tools Appl. 2022, 81, 13371–13387. [Google Scholar] [CrossRef] [Scilit]
- Zhang, X.; Min, C.; Luo, J.; Li, Z. YOLOv5-FF: Detecting Floating Objects on the Surface of Fresh Water Environments. Appl. Sci. 2023, 13, 7367. [Google Scholar] [CrossRef] [Scilit]
- Yan, Y.; Wang, C.; Zhou, X.; Gao, X.; Qin, Z. LRFL-YOLO: A Large Receptive Field and Lightweight Model for Small Object Detection. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2025, 18, 20790–20804. [Google Scholar] [CrossRef] [Scilit]
- Wu, Z.; Eddie Law, K.L. Remote Sensing and Deep Learning for Algal Blooms: A Review. IEEE Access 2025, 13, 180891–180908. [Google Scholar] [CrossRef] [Scilit]
- Xu, S.; Tang, H.; Li, J.; Wang, L.; Zhang, X.; Gao, H. A YOLOW Algorithm of Water-Crossing Object Detection. Appl. Sci. 2023, 13, 8890. [Google Scholar] [CrossRef] [Scilit]
- Park, J.; Patel, K.; Lee, W.H. Recent Advances in Algal Bloom Detection and Prediction Technology Using Machine Learning. Sci. Total Environ. 2024, 938, 173546. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Han, K.; Wang, Y.; Tian, Q.; Guo, J.; Xu, C.; Xu, C. GhostNet: More Features from Cheap Operations. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; CVF: Washington, DC, USA, 2020; pp. 1577–1586. [Google Scholar]
- Wang, J.; Liu, Y.; Huang, T.; Qin, Y.; Lu, Z. YOLOv8n-3SE-PD: A Lightweight Model for Small Object Detection in Smart Vehicle Edge Sensing. Results Eng. 2026, 30, 109984. [Google Scholar] [CrossRef] [Scilit]
- Mei, Z.; Xu, H.; Yan, L.; Wang, K. IALF-YOLO: Insulator Defect Detection Method Combining Improved Attention Mechanism and Lightweight Feature Fusion Network. Measurement 2025, 253, 117701. [Google Scholar] [CrossRef] [Scilit]
- Wang, Q.; Wu, B.; Zhu, P.; Li, P.; Zuo, W.; Hu, Q. ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); CVF: Washington, DC, USA, 2020; pp. 11531–11539. [Google Scholar]
- Singh, A.; Bhambhu, Y.; Buckchash, H.; Gupta, D.K.; Prasad, D.K. Latent Graph Attention for Spatial Context in Light-Weight Networks: Multi-Domain Applications in Visual Perception Tasks. Appl. Sci. 2024, 14, 10677. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Dai, F.; Qian, H.; Huang, L.; Zhao, J. Lightweight Wheat Spike Detection Method Based on Activation and Loss Function Enhancements for YOLOv5s. Agronomy 2024, 14, 2036. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Yao, Q.; Kwok, J.T.; Ni, L.M. Generalizing from a Few Examples: A Survey on Few-Shot Learning. ACM Comput. Surv. 2020, 53, 1–34. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Busari, I.; Sahoo, D.; Sudheer, K.P.; Harmel, R.D.; Privette, C.; Schlautman, M.; Sawyer, C. Investigating the Influence of Measurement Uncertainty on Chlorophyll-a Predictions as an Indicator of Harmful Algal Blooms in Machine Learning Models. Ecol. Inform. 2024, 82, 102735. [Google Scholar] [CrossRef] [Scilit]
- Liu, D.; Yuan, G.; Tan, H.; Jiang, Y.; Bi, H.; Cheng, Y. AlgaeClass_Net: Optimizing Few-Shot Marine Microalgae Classification with Multi-Scale Feature Enhancement Network. IEEE Access 2025, 13, 16223–16237. [Google Scholar] [CrossRef] [Scilit]
- Hu, J.; Shen, L.; Sun, G. Squeeze-and-Excitation Networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; CVF: Washington, DC, USA, 2018; pp. 7132–7141. [Google Scholar]
- Woo, S.; Park, J.; Lee, J.Y.; Kweon, I.S. CBAM: Convolutional Block Attention Module. In Proceedings of the European Conference on Computer Vision (ECCV); CVF: Washington, DC, USA, 2018; pp. 3–19. [Google Scholar]








| Parameter Name | Description | Value |
|---|---|---|
| Hue | Hue adjustment | 0.015 |
| Saturation | Saturation adjustment | 0.7 |
| Value | Brightness adjustment | 0.4 |
| Translation | Image translation | 0.1 |
| Scaling | Image scaling | 0.5 |
| Flip Left Right | Horizontal flipping | 0.5 |
| Mosaic Augmentation | Mosaic augmentation | 0.8 |
| Mixup Augmentation | Mixup | 0.2 |
| CutMix Augmentation | CutMix | 0.2 |
| Auto Augmentation | Auto augmentation | randaugment |
| Random Erasing | Random region erasing | 0.4 |
| Parameter Name | Description | Value |
|---|---|---|
| Epochs | Number of epochs | 300 |
| Image size | Input image resolution | 640 |
| Batch Size | Mini-batch size | 32 |
| Learning rate0 | Initial learning rate | 0.01 |
| Learning rate factor | Final learning rate | 0.01 |
| Momentum | Momentum factor | 0.937 |
| Weight_decay | Weight decay | 0.0005 |
| patience | Early stopping patience | 50 |
| YOLOv26 | Ghost | ECA | ECA + Ghost | AdamW | MuSGD | mAP50 | mAP@0.5:0.95 | Precision | Recall | Params | FPS | GFLOPs |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| √ | × | × | × | √ | × | 0.7249 | 0.4991 | 0.8860 | 0.7233 | 2,572,280 | 143 | 5.2 |
| √ | × | × | × | × | √ | 0.7574 | 0.5526 | 0.8987 | 0.6605 | 2,572,280 | 143 | 5.2 |
| √ | √ | × | × | × | √ | 0.8072 | 0.5319 | 0.9033 | 0.7016 | 2,570,376 | 138 | 5.1 |
| √ | × | √ | × | × | √ | 0.817 | 0.533 | 0.899 | 0.721 | 2,572,320 | 127 | 5.2 |
| √ | × | × | √ | √ | × | 0.7394 | 0.4830 | 0.8832 | 0.7016 | 2,570,416 | 124 | 5.2 |
| √ | × | × | √ | × | √ | 0.8216 | 0.5447 | 0.9084 | 0.7530 | 2,570,416 | 123 | 5.1 |
| Model | mAP50 | mAP@0.5:0.95 | Precision | Recall | Params | FPS | GFLOPs |
|---|---|---|---|---|---|---|---|
| YOLOv8 | 0.8004 | 0.5447 | 0.8821 | 0.7305 | 3,157,220 | 206 | 8.1 |
| YOLOv8-ECA | 0.8174 | 0.4090 | 0.9525 | 0.7618 | 3,157,240 | 186 | 8.1 |
| YOLOv8-SE | 0.8104 | 0.5387 | 0.9554 | 0.7359 | 3,614,512 | 187 | 8.5 |
| YOLOv8-CBAM | 0.7768 | 0.3708 | 0.9357 | 0.7342 | 3,615,296 | 153 | 8.5 |
| YOLOv10 | 0.7617 | 0.4938 | 0.8623 | 0.6673 | 2,775,520 | 165 | 6.5 |
| YOLOv10-ECA | 0.8001 | 0.5368 | 0.9160 | 0.6962 | 2,775,560 | 142 | 6.5 |
| YOLOv11 | 0.7937 | 0.5081 | 0.8970 | 0.7307 | 2,624,080 | 152 | 6.3 |
| YOLOv11-ECA | 0.8154 | 0.5749 | 0.8848 | 0.7774 | 2,624,120 | 149 | 6.3 |
| YOLOv26 | 0.7574 | 0.5526 | 0.8987 | 0.6605 | 2,572,280 | 143 | 5.2 |
| GECA-YOLOv26 (Ours) | 0.8216 | 0.5447 | 0.9084 | 0.7530 | 2,570,416 | 123 | 5.1 |
| Model | Flod | mAP50 | mAP@0.5:0.95 | Precision | Recall | Params | FPS | GFLOPs |
|---|---|---|---|---|---|---|---|---|
| GECA-YOLOv26 | 1 | 0.9327 | 0.6605 | 0.8916 | 0.8723 | 2,375,055 | 122 | 5.2 |
| GECA-YOLOv26 | 2 | 0.9456 | 0.6854 | 0.8935 | 0.9095 | 2,375,055 | 121 | 5.2 |
| GECA-YOLOv26 | 3 | 0.9635 | 0.675 | 0.9163 | 0.8909 | 2,375,055 | 117 | 5.2 |
| GECA-YOLOv26 | 4 | 0.8798 | 0.6201 | 0.8646 | 0.7861 | 2,375,055 | 116 | 5.2 |
| GECA-YOLOv26 | 5 | 0.9451 | 0.6574 | 0.9161 | 0.8781 | 2,375,055 | 118 | 5.2 |
| Standard Deviation | 0.9333 ± 0.0285 | 0.6597 ± 0.0222 | 0.8964 ± 0.0191 | 0.8674 ± 0.0426 | -- | |||
| Model | Seed | mAP50 | mAP@0.5:0.95 | Precision | Recall | Params | FPS | GFLOPs |
|---|---|---|---|---|---|---|---|---|
| GECA-YOLOv26 | 42 | 0.9137 | 0.6477 | 0.8494 | 0.8402 | 2,375,055 | 119 | 5.2 |
| GECA-YOLOv26 | 43 | 0.9333 | 0.6572 | 0.9057 | 0.8498 | 2,375,055 | 122 | 5.2 |
| GECA-YOLOv26 | 44 | 0.9228 | 0.6332 | 0.8626 | 0.8695 | 2,375,055 | 119 | 5.2 |
| Standard Deviation | 0.9232 ± 0.0098 | 0.6460 ± 0.0121 | 0.8726 ± 0.0294 | 0.8532 ± 0.0149 | -- | |||
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Wang, H.; Ma, Z.; Zhou, M.; Pan, Y.; Wang, J.; Yao, Y. A Lightweight Algal Bloom Detection Algorithm for Water Surfaces Based on Improved YOLOv26. Appl. Sci. 2026, 16, 5969. https://doi.org/10.3390/app16125969
Wang H, Ma Z, Zhou M, Pan Y, Wang J, Yao Y. A Lightweight Algal Bloom Detection Algorithm for Water Surfaces Based on Improved YOLOv26. Applied Sciences. 2026; 16(12):5969. https://doi.org/10.3390/app16125969
Chicago/Turabian StyleWang, Haoran, Zifei Ma, Mi Zhou, Yunfeng Pan, Jing Wang, and Yanji Yao. 2026. "A Lightweight Algal Bloom Detection Algorithm for Water Surfaces Based on Improved YOLOv26" Applied Sciences 16, no. 12: 5969. https://doi.org/10.3390/app16125969
APA StyleWang, H., Ma, Z., Zhou, M., Pan, Y., Wang, J., & Yao, Y. (2026). A Lightweight Algal Bloom Detection Algorithm for Water Surfaces Based on Improved YOLOv26. Applied Sciences, 16(12), 5969. https://doi.org/10.3390/app16125969

