journal article·2026-06-18Open access

An Attention-Based Deep Learning Framework for Detecting Water Stress in Basil (Ocimum basilicum L.) Plants

Oğuzhan Kilim, Tuncay Yiğit, Hamit Armağan

Applied Sciences· Volume 16· Issue 12

Abstract

With the occurrence of global climate change and the depletion of agricultural water resources, there is a growing need to develop rapid, non-destructive, and autonomous plant health monitoring systems. As an economically valuable crop, Ocimum basilicum L. (basil) is sensitive to changes in water availability and may exhibit stress-related morphological variations under drought and over-irrigation conditions. However, due to the visual similarity of leaf symptoms under drought stress, waterlogging stress, and optimal irrigation conditions, accurately distinguishing these conditions remains challenging in practical applications. To address this challenge, this paper presents an attention-based dual-branch deep learning framework designed to extract both subtle leaf details and channel-related features from high-resolution plant images. By combining the Convolutional Block Attention Module (CBAM) and Squeeze-and-Excitation (SE) mechanism in a parallel structure, the proposed network improves the analysis of high-resolution images with an input size of 720 × 720 pixels. Under controlled environmental conditions, with ground-truth labels obtained using soil moisture sensor measurements, the proposed model was compared with eight deep learning architectures, including DenseNet121, InceptionV3, and VGG16. The proposed model achieved a hold-out evaluation accuracy of 99.54%, outperforming the second-best model, DenseNet121, which achieved 96.43%. In addition, the proposed model reached a class-specific precision value of 100% for the Drought Stress category and achieved an area under the receiver operating characteristic curve of 1.00 under the controlled experimental setting. Taylor Diagram analysis also indicated that the model closely preserved the variability pattern of the reference data. These results suggest that the proposed application-specific framework may support non-destructive basil water-stress detection under controlled conditions. After further validation with larger datasets, different cultivars, variable environmental conditions, and real-world agricultural scenarios, the proposed approach may contribute to precision irrigation management and sustainable agricultural production. The contribution of this study should be interpreted as an application-specific implementation and evaluation of complementary attention mechanisms for controlled-environment basil water-stress classification, rather than as the introduction of a fundamentally new deep learning methodology.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Smart Agriculture and AI · Plant Disease Management Techniques · Irrigation Practices and Water Management

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Computer Engineering, Graduate School of Natural and Applied Sciences, Süleyman Demirel University, 32200 Isparta, Türkiye

Computer Engineering, Faculty of Engineering and Natural Sciences, Süleyman Demirel University, 32200 Isparta, Türkiye

Rectorate, Süleyman Demirel University, 32200 Isparta, Türkiye

References (38)

Show source-provided references
1. Farming Beyond Borders: Global Need for Precision Agriculture
2. A Comprehensive Review on Chemical Profile and Pharmacological Activities of Ocimum basilicum10.1080/87559129.2021.1900230 ↗
3. Sweet Basil Growth, Physiological and Ultrastructural Modification, and Oxidative Defense System Under Water Deficit and Silicon Forms Treatment10.1007/s00344-020-10071-x ↗
4. Zhang, Y., Chen, X., Geng, S., and Zhang, X. (2025). A review of soil waterlogging impacts, mechanisms, and adaptive strategies. Front. Plant Sci., 16.10.3389/fpls.2025.1545912 ↗
5. A custom deep learning model for abiotic stress classification in maize in uncontrolled environments10.1016/j.compag.2024.109865 ↗
6. Advancements in Imaging Sensors and AI for Plant Stress Detection: A Systematic Literature Review10.34133/plantphenomics.0153 ↗
7. Enhancing plant disease detection: A novel CNN-based approach with tensor subspace learning and HOWSVD-MDA10.1007/s00521-024-10454-1 ↗
8. A novel multi-head CNN design to identify plant diseases using the fusion of RGB images10.1016/j.ecoinf.2023.101998 ↗
9. FPGA–accelerated CNN for real-time plant disease identification10.1016/j.compag.2023.107715 ↗
10. Plant Disease Classifier: Detection of Dual-Crop Diseases Using Lightweight 2D CNN Architecture10.1109/ACCESS.2023.3320686 ↗
11. Woo, S., Park, J., Lee, J.-Y., and Kweon, I.S. (2018). CBAM: Convolutional Block Attention Module. Proceedings of the European Conference on Computer Vision (ECCV), Springer Nature.10.1007/978-3-030-01234-2_1 ↗
12. Hu, J., Shen, L., and Sun, G. (2025, December 10). Squeeze-and-Excitation Networks. Available online: http://image-net.org/challenges/LSVRC/2017/results.
13. State-of-the-art AI-enabled mobile device for real-time water stress detection of field crops10.1016/j.engappai.2024.107863 ↗
14. Identifying crop water stress using deep learning models10.1007/s00521-020-05325-4 ↗
15. Oğuztürk, G.E., Murat, C., Yurtseven, M., and Oğuztürk, T. (2025). The Effects of AI-Supported Autonomous Irrigation Systems on Water Efficiency and Plant Quality: A Case Study of Geranium psilostemon Ledeb. Plants, 14.10.3390/plants14050770 ↗
16. Intelligent monitoring of stress induced by water deficiency in plants using deep learning10.1109/TIM.2021.3111994 ↗
17. Choi, J.W., Cho, S.B., Hidayat, M.S., Hwang, W.H., Cho, Y.S., Lee, H., Cho, B.K., and Kim, G. (2025). Application of multimodal data fusion and explainable AI for classifying water stress in sweet potatoes. Front. Plant Sci., 16.10.3389/fpls.2025.1681915 ↗
18. Intelligent decision support for drought stress (IDSDS): An integrated remote sensing and artificial intelligence-based pipeline for quantifying drought stress in plants10.1016/j.compag.2025.110477 ↗
19. An augmented attention-based lightweight CNN model for plant water stress detection10.1007/s10489-023-04583-8 ↗
20. MSAFNet: A multi-scale data fusion-based drought recognition method for three-dimensional images of the soybean plant10.1007/s12145-025-01894-x ↗
21. Integrating deep learning algorithms for forecasting evapotranspiration and assessing crop water stress in agricultural water management10.1016/j.jenvman.2025.124363 ↗
22. Aldarkazali, M. (2020). The Optimisation of Cultivation Conditions for Basil (Ocimum sp. L) Production in Multi-Tier Hydroponics and the Role of Light Quality in the Enhancement of Growth and Quality. [Master’s Thesis, School of Biological and Marine Sciences, University of Plymouth]. Available online: https://pearl.plymouth.ac.uk/bms-theses/71.
23. Rahimi, M., Mortazavi, M., Mianabadi, A., and Debnath, S. (2023). Evaluation of basil (Ocimum basilicum) accessions under different drought conditions based on yield and physio-biochemical traits. BMC Plant Biol., 23.10.1186/s12870-023-04554-8 ↗
24. Huang, G., Liu, Z., van der Maaten, L., and Weinberger, K.Q. (2025, December 10). Densely Connected Convolutional Networks. Available online: https://github.com/liuzhuang13/DenseNet.
25. Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., and Rabinovich, A. (2015). Going Deeper with Convolutions. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), IEEE.10.1109/CVPR.2015.7298594 ↗
26. Chollet, F. (2017). Xception: Deep Learning with Depthwise Separable Convolutions. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), IEEE.10.1109/CVPR.2017.195 ↗
27. He, K., Zhang, X., Ren, S., and Sun, J. (2025, December 10). Deep Residual Learning for Image Recognition. Available online: http://image-net.org/challenges/LSVRC/2015/.
28. Tan, M., and Le, Q.V. (2025, December 10). EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. PMLR. Available online: https://proceedings.mlr.press/v97/tan19a.html.
29. ImageNet classification with deep convolutional neural networks10.1145/3065386 ↗
30. Simonyan, K., and Zisserman, A. (2015, January 7–9). Very Deep Convolutional Networks for Large-Scale Image Recognition. Proceedings of the 3rd International Conference on Learning Representations, ICLR 2015—Conference Track Proceedings, San Diego, CA, USA. Available online: https://arxiv.org/pdf/1409.1556.
31. Gradient-based learning applied to document recognition10.1109/5.726791 ↗
32. Crop Disease Recognition Based on Modified Light-Weight CNN with Attention Mechanism10.1109/ACCESS.2022.3216285 ↗
33. Plant Disease Identification Using a Novel Convolutional Neural Network10.1109/ACCESS.2022.3141371 ↗
34. VGG-ICNN: A Lightweight CNN model for crop disease identification
35. Plant Disease Detection and Classification by Deep Learning—A Review10.1109/ACCESS.2021.3069646 ↗
36. Saleem, M.H., Potgieter, J., Arif, K.M., Saleem, M.H., Potgieter, J., and Arif, K.M. (2019). Plant Disease Detection and Classification by Deep Learning. Plants, 8.10.3390/plants8110468 ↗
37. Thambawita, V., Strümke, I., Hicks, S.A., Halvorsen, P., Parasa, S., and Riegler, M.A. (2021). Impact of Image Resolution on Deep Learning Performance in Endoscopy Image Classification: An Experimental Study Using a Large Dataset of Endoscopic Images. Diagnostics, 11.10.3390/diagnostics11122183 ↗
38. Local and Global Feature-Aware Dual-Branch Networks for Plant Disease Recognition10.34133/plantphenomics.0208 ↗