An Integrated Transformer-BiLSTM Network with Multi-Objective Optimization for IoT-Enabled Soil Nutrient Classification in Smart Precision Agriculture
S. DeepaDepartment of Computer Science, Faculty of Liberal Arts and Business Studies, SRM Institute of Science and Technology, Ramapuram, Chennai, Tamil Nadu, India. ds6963@srmist.edu.in0009-0004-8859-3388
Dr.R. Renuga DeviAssociate Professor, Department of Computer Science and Applications, Faculty of Liberal Arts and Business Studies, SRM Institute of Science and Technology, Ramapuram Chennai, Tamil Nadu, India. renugadr@srmist.edu.in0000-0002-6197-236X
Rapid development and integration of Internet of Things (IoT) technologies in agriculture have made possible continuous soil monitoring and intelligent decision-making for precision farming. Traditional methods of soil testing involve manual soil sampling and laborious laboratory analysis, which result in time delays and non-real-time assessment of nutrients in agricultural fields. Moreover, IoT soil sensing technologies produce high-dimensional and heterogeneous data, consisting of noise, missing values, and complicated nonlinear correlations, which makes traditional machine learning algorithms ineffective for proper nutrient classification. This paper suggests using the novel SAE-Attention-Transformer-BiLSTM-MOPSO framework to solve the problem of soil nutrient classification using IoT technologies in smart precision agriculture. The framework was evaluated using a 37,922-record IoT-based soil sensor dataset containing nutrient and environmental parameters, which includes parameters such as nitrogen, phosphorus, potassium, pH, moisture, temperature, conductivity, and humidity with experimental procedures using a data split ratio of 70% training, 15% validation, and 15% testing. Experimental results indicate that the proposed model obtained 98.3% accuracy, 98.1% precision, 98.0% recall, and 98.0% F1 score, surpassing the performance of other models including SVM (86.4%), Random Forest (89.2%), CNN (91.5%), LSTM (92.8%), Transformer (94.1%), and BiLSTM (94.6%). Robustness analysis showed that the framework is able to provide stable performance under various conditions in terms of soil quality, obtaining accuracy values ranging from 97.5% to 98.6%. In addition, the ablation analysis proved the contribution of each integrated component of the framework, where the optimization of the framework increases the accuracy of classification from 92.8% when only BiLSTM is used to 98.3%.