{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,10]],"date-time":"2026-04-10T16:31:25Z","timestamp":1775838685406,"version":"3.50.1"},"reference-count":43,"publisher":"MDPI AG","issue":"6","license":[{"start":{"date-parts":[[2023,6,13]],"date-time":"2023-06-13T00:00:00Z","timestamp":1686614400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Systems"],"abstract":"<jats:p>Internet of Things (IoT) technology has been incorporated into the majority of people\u2019s everyday lives and places of employment due to the quick development in information technology. Modern agricultural techniques increasingly use the well-known and superior approach of managing a farm known as \u201csmart farming\u201d. Utilizing a variety of information and agricultural technologies, crops are observed for their general health and productivity. This requires monitoring the condition of field crops and looking at many other indicators. The goal of smart agriculture is to reduce the amount of money spent on agricultural inputs while keeping the quality of the final product constant. The Internet of Things (IoT) has made smart agriculture possible through data collection and storage techniques. For example, modern irrigation systems use effective sensor networks to collect field data for the best plant irrigation. Smart agriculture will become more susceptible to cyber-attacks as its reliance on the IoT ecosystem grows, because IoT networks have a large number of nodes but limited resources, which makes security a difficult issue. Hence, it is crucial to have an intrusion detection system (IDS) that can address such challenges. In this manuscript, an IoT-based privacy-preserving anomaly detection model for smart agriculture has been proposed. The motivation behind this work is twofold. Firstly, ensuring data privacy in IoT-based agriculture is of the utmost importance due to the large volumes of sensitive information collected by IoT devices, including on environmental conditions, crop health, and resource utilization data. Secondly, the timely detection of anomalies in smart agriculture systems is critical to enable proactive interventions, such as preventing crop damage, optimizing resource allocation, and ensuring sustainable farming practices. In this paper, we propose a privacy-encoding-based enhanced deep learning framework for the difficulty of data encryption and intrusion detection. In terms of data encoding, a novel method of a sparse capsule-auto encoder (SCAE) is proposed along with feature selection, feature mapping, and feature normalization. An SCAE is used to convert information into a new encrypted format in order to prevent deduction attacks. An attention-based gated recurrent unit neural network model is proposed to detect the intrusion. An AGRU is an advanced version of a GRU which is enhanced by an attention mechanism. In the results section, the proposed model is compared with existing deep learning models using two public datasets. Parameters such as recall, precision, accuracy, and F1-score are considered. The proposed model has accuracy, recall, precision, and F1-score of 99.9%, 99.7%, 99.9%, and 99.8%, respectively. The proposed method is compared using a variety of machine learning techniques such as the deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), and long short-term memory (LSTM).<\/jats:p>","DOI":"10.3390\/systems11060304","type":"journal-article","created":{"date-parts":[[2023,6,14]],"date-time":"2023-06-14T02:01:40Z","timestamp":1686708100000},"page":"304","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":50,"title":["Iot-Based Privacy-Preserving Anomaly Detection Model for Smart Agriculture"],"prefix":"10.3390","volume":"11","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-2040-4964","authenticated-orcid":false,"given":"Keerthi","family":"Kethineni","sequence":"first","affiliation":[{"name":"Department of CSE, Koneru Lakashmaiah Education Foundation, Vaddeswaram, Guntur 522302, India"}]},{"given":"Pradeepini","family":"Gera","sequence":"additional","affiliation":[{"name":"Department of CSE, Koneru Lakashmaiah Education Foundation, Vaddeswaram, Guntur 522302, India"}]}],"member":"1968","published-online":{"date-parts":[[2023,6,13]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"773","DOI":"10.1007\/s11042-020-09740-6","article-title":"An efficient IoT based smart farming system using machine learning algorithms","volume":"80","author":"Rezk","year":"2021","journal-title":"Multimed. Tools Appl."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Varghese, R., and Sharma, S. (2018, January 14\u201315). Affordable smart farming using IoT and machine learning. Proceedings of the 2018 Second International Conference on Intelligent Computing and Control Systems (ICICCS), Madurai, India.","DOI":"10.1109\/ICCONS.2018.8663044"},{"key":"ref_3","unstructured":"Popa, M., Prostean, O., and Popa, A.S. (2019). Machine Learning Approach for Agricultural IoT in Proc. Int. J. Recent Technol. Eng., 22\u201329."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"1250","DOI":"10.1016\/j.procs.2020.03.440","article-title":"IoT and machine learning approaches for automation of farm irrigation system","volume":"167","author":"Vij","year":"2020","journal-title":"Procedia Comput. Sci."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Ouafiq, E.M., Saadane, R., and Chehri, A. (2022). Data Management and Integration of Low Power Consumption Embedded Devices IoT for Transforming Smart Agriculture into Actionable Knowledge. Agriculture, 12.","DOI":"10.3390\/agriculture12030329"},{"key":"ref_6","unstructured":"Reddy, K.S.P., Roopa, Y.M., LN, K.R., and Nandan, N.S. (2020, January 15\u201317). IoT based smart agriculture using machine learning. Proceedings of the 2020 Second International Conference on Inventive Research in Computing Applications (ICIRCA), Coimbatore, India."},{"key":"ref_7","first-page":"24","article-title":"Machine learning applications in IoT based agriculture and smart farming: A review","volume":"4","author":"Maduranga","year":"2020","journal-title":"Int. J. Eng. Appl. Sci. Technol."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Muniasamy, A. (2020, January 9\u201310). Machine learning for smart farming: A focus on desert agriculture. Proceedings of the 2020 International Conference on Computing and Information Technology (ICCIT-1441), Tabuk, Saudi Arabia.","DOI":"10.1109\/ICCIT-144147971.2020.9213759"},{"key":"ref_9","first-page":"6482","article-title":"Machine learning prediction analysis using IoT for smart farming","volume":"8","author":"Rehman","year":"2020","journal-title":"Int. J."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Xu, D. (2021). Agricultural climate change based on remote sensing image and emergency material supply management of agriculture, rural areas and farmers. Arab. J. Geosci., 14.","DOI":"10.1007\/s12517-021-07221-0"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Bhanu, K.N., Jasmine, H.J., and Mahadevaswamy, H.S. (2020, January 5\u20137). Machine learning implementation in IoT based intelligent system for agriculture. Proceedings of the 2020 International Conference for Emerging Technology (INCET), Belgaum, India.","DOI":"10.1109\/INCET49848.2020.9153978"},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"449","DOI":"10.1109\/ICECA.2017.8212855","article-title":"Machine learning regression technique for cotton leaf disease detection and controlling using IoT","volume":"Volume 2","author":"Sarangdhar","year":"2017","journal-title":"Proceedings of the 2017 International conference of Electronics, Communication and Aerospace Technology (ICECA)"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Ramesh, S., and Vydeki, D. (2018, January 20\u201321). Rice blast disease detection and classification using machine learning algorithm. Proceedings of the 2018 2nd International Conference on Micro-Electronics and Telecommunication Engineering (ICMETE), Ghaziabad, India.","DOI":"10.1109\/ICMETE.2018.00063"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Kundu, N., Rani, G., Dhaka, V.S., Gupta, K., Nayak, S.C., Verma, S., Ijaz, M.F., and Wo\u017aniak, M. (2021). IoT and interpretable machine learning based framework for disease prediction in pearl millet. Sensors, 21.","DOI":"10.3390\/s21165386"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Jaisakthi, S.M., Mirunalini, P., and Thenmozhi, D. (2019, January 21\u201323). Grape leaf disease identification using machine learning techniques. Proceedings of the 2019 International Conference on Computational Intelligence in Data Science (ICCIDS), Chennai, India.","DOI":"10.1109\/ICCIDS.2019.8862084"},{"key":"ref_16","unstructured":"Rumy, S.S.H., Hossain, M.I.A., Jahan, F., and Tanvin, T. (2021, January 21\u201324). An IoT based System with Edge Intelligence for Rice Leaf Disease Detection using Machine Learning. Proceedings of the 2021 IEEE International IOT, Electronics and Mechatronics Conference (IEMTRONICS), Toronto, ON, Canada."},{"key":"ref_17","first-page":"505","article-title":"Plant disease detection using internet of thing (IoT)","volume":"11","author":"Nawaz","year":"2020","journal-title":"Int. J. Adv. Comput. Sci. Appl."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Garg, S., Pundir, P., Jindal, H., Saini, H., and Garg, S. (2021, January 6\u20138). Towards a multimodal system for precision agriculture using IoT and machine learning. Proceedings of the 2021 12th International Conference on Computing Communication and Networking Technologies (ICCCNT), Kharagpur, India.","DOI":"10.1109\/ICCCNT51525.2021.9579646"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Vasavi, P., Punitha, A., and Rao, T.V.N. (2022). Crop leaf disease detection and classification using machine learning and deep learning algorithms by visual symptoms: A review. Int. J. Electr. Comput. Eng., 12.","DOI":"10.11591\/ijece.v12i2.pp2079-2086"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Aggarwal, S., Suchithra, M., Chandramouli, N., Sarada, M., Verma, A., Vetrithangam, D., Pant, B., and Ambachew Adugna, B. (2022). Rice Disease Detection Using Artificial Intelligence and Machine Learning Techniques to Improvise Agro-Business. Sci. Program., 2022.","DOI":"10.1155\/2022\/1757888"},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"1095","DOI":"10.11591\/eei.v9i3.2177","article-title":"IoT-oriented software platform applied to sensors-based farming facility with smartphone farmer app","volume":"9","author":"Visconti","year":"2020","journal-title":"Bull. Electr. Eng. Inform."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Anand, R., Sethi, D., Sharma, K., and Gambhir, P. (2019, January 27\u201329). Soil moisture and atmosphere components detection system using IoT and machine learning. Proceedings of the 2019 International Conference on Smart Systems and Inventive Technology (ICSSIT), Tirunelveli, India.","DOI":"10.1109\/ICSSIT46314.2019.8987754"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Vincent, D.R., Deepa, N., Elavarasan, D., Srinivasan, K., Chauhdary, S.H., and Iwendi, C. (2019). Sensors driven AI-based agriculture recommendation model for assessing land suitability. Sensors, 19.","DOI":"10.3390\/s19173667"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Mahmoudzadeh, H., Matinfar, H.R., Taghizadeh-Mehrjardi, R., and Kerry, R. (2020). Spatial prediction of soil organic carbon using machine learning techniques in western Iran. Geoderma Reg., 21.","DOI":"10.1016\/j.geodrs.2020.e00260"},{"key":"ref_25","first-page":"77","article-title":"AgriLoRa: A digital twin framework for smart agriculture","volume":"11","author":"Angin","year":"2020","journal-title":"J. Wirel. Mob. Netw. Ubiquitous Comput. Dependable Appl."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"117","DOI":"10.21833\/ijaas.2020.08.012","article-title":"IoT based smart garden monitoring system using NodeMCU microcontroller","volume":"7","author":"Ali","year":"2020","journal-title":"Int. J. Adv. Appl. Sci."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"200","DOI":"10.1016\/j.future.2017.06.018","article-title":"A secure user authentication and key-agreement scheme using wireless sensor networks for agriculture monitoring","volume":"84","author":"Ali","year":"2018","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Bothe, A., Bauer, J., and Aschenbruck, N. (2019, January 25\u201327). RFID-assisted continuous user authentication for IoT-based smart farming. Proceedings of the 2019 IEEE international conference on RFID technology and applications (RFID-TA), Pisa, Italy.","DOI":"10.1109\/RFID-TA.2019.8892140"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"2480","DOI":"10.1109\/TNSM.2020.3024225","article-title":"Experimental review of neural-based approaches for network intrusion management","volume":"17","author":"Galatro","year":"2020","journal-title":"IEEE Trans. Netw. Serv. Manag."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"4197","DOI":"10.1109\/TNSM.2021.3120804","article-title":"Network abnormal traffic detection model based on semi-supervised deep reinforcement learning","volume":"18","author":"Dong","year":"2021","journal-title":"IEEE Trans. Netw. Serv. Manag."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Pelletier, C., Webb, G.I., and Petitjean, F. (August, January 28). Deep learning for the classification of Sentinel-2 image time series. Proceedings of the IGARSS 2019\u20132019 IEEE International Geoscience and Remote Sensing Symposium, Yokohama, Japan.","DOI":"10.1109\/IGARSS.2019.8900123"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Rangwani, D., Sadhukhan, D., Ray, S., Khan, M.K., and Dasgupta, M. (2021). An improved privacy preserving remote user authentication scheme for agricultural wireless sensor network. Trans. Emerg. Telecommun. Technol., 32.","DOI":"10.1002\/ett.4218"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Vangala, A., Das, A.K., and Lee, J.H. (2021). Provably secure signature-based anonymous user authentication protocol in an Internet of Things-enabled intelligent precision agricultural environment. Concurr. Comput. Pract. Exp.","DOI":"10.1002\/cpe.6187"},{"key":"ref_34","unstructured":"Vidyashree, L., and Suresha, B.M. (2019). Emerging Technologies in Data Mining and Information Security, Springer."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Chen, M., Lee, T.F., and Pan, J.I. (2019). An enhanced lightweight dynamic pseudonym identity based authentication and key agreement scheme using wireless sensor networks for agriculture monitoring. Sensors, 19.","DOI":"10.3390\/s19051146"},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Gupta, A., and Nahar, P. (2022). Classification and yield prediction in smart agriculture system using IoT. J. Ambient. Intell. Humaniz. Comput., 1\u201310.","DOI":"10.1007\/s12652-021-03685-w"},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Bakthavatchalam, K., Karthik, B., Thiruvengadam, V., Muthal, S., Jose, D., Kotecha, K., and Varadarajan, V. (2022). IoT framework for measurement and precision agriculture: Predicting the crop using machine learning algorithms. Technologies, 10.","DOI":"10.3390\/technologies10010013"},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Colombo-Mendoza, L.O., Paredes-Valverde, M.A., Salas-Z\u00e1rate, M.D.P., and Valencia-Garc\u00eda, R. (2022). Internet of Things-driven data mining for smart crop production prediction in the peasant farming domain. Appl. Sci., 12.","DOI":"10.20944\/preprints202201.0445.v1"},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Murugamani, C., Shitharth, S., Hemalatha, S., Kshirsagar, P.R., Riyazuddin, K., Naveed, Q.N., Islam, S., Ali, S.P.M., and Batu, A. (2022). Machine Learning Technique for Precision Agriculture Applications in 5G-Based Internet of Things. Wirel. Commun. Mob. Comput., 2022.","DOI":"10.1155\/2022\/6534238"},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Raghuvanshi, A., Singh, U.K., Sajja, G.S., Pallathadka, H., Asenso, E., Kamal, M., Singh, A., and Phasinam, K. (2022). Intrusion detection using machine learning for risk mitigation in IoT-enabled smart irrigation in smart farming. J. Food Qual., 2022.","DOI":"10.1155\/2022\/3955514"},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Kumar, S.D., Esakkirajan, S., Bama, S., and Keerthiveena, B. (2020). A microcontroller based machine vision approach for tomato grading and sorting using SVM classifier. Microprocess. Microsyst., 76.","DOI":"10.1016\/j.micpro.2020.103090"},{"key":"ref_42","doi-asserted-by":"crossref","first-page":"032009","DOI":"10.1088\/1757-899X\/981\/3\/032009","article-title":"Solar energy harvesting for smart farming using nanomaterial and machine learning","volume":"Volume 981","author":"Vatti","year":"2020","journal-title":"IOP Conference Series: Materials Science and Engineering"},{"key":"ref_43","doi-asserted-by":"crossref","first-page":"1","DOI":"10.4018\/IJAEIS.20211001.oa5","article-title":"Rice crop disease prediction using machine learning technique","volume":"12","author":"Patel","year":"2021","journal-title":"Int. J. Agric. Environ. Inf. Syst."}],"container-title":["Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2079-8954\/11\/6\/304\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T19:54:14Z","timestamp":1760126054000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2079-8954\/11\/6\/304"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,6,13]]},"references-count":43,"journal-issue":{"issue":"6","published-online":{"date-parts":[[2023,6]]}},"alternative-id":["systems11060304"],"URL":"https:\/\/doi.org\/10.3390\/systems11060304","relation":{},"ISSN":["2079-8954"],"issn-type":[{"value":"2079-8954","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,6,13]]}}}