A novel hybrid TabTransformer–LightGBM framework for explainable intrusion detection in smart farming IoT networks

Smart farming relies on the Internet of Things (IoT) and cloud computing technologies to optimize agricultural productivity, but the heterogeneity of devices and the complexity of generated data create significant cybersecurity challenges. Resource-constrained IoT devices struggle to implement strong defenses, while traditional intrusion detection systems often have difficulty accurately capturing mixed categorical and numerical features, generalizing across diverse farms, or providing interpretable alerts. To address these challenges, this study proposes a hybrid TabTransformer–Light Gradient Boosting Machine (LightGBM) framework with SHapley Additive exPlanations (SHAP)-based explainability, deployed on cloud infrastructure for scalable, near real-time intrusion diagnosis. The TabTransformer efficiently models complex interactions among heterogeneous IoT features without manual feature engineering, while LightGBM provides robust and computationally efficient classification. SHAP explanations enhance transparency, enabling operators to understand and act on alerts. Evaluations on the CIC-IoT 2023 and CIC-IoT-DIAD 2024 datasets demonstrate accuracy above 98%, high recall and precision, low false alarm rates, and rapid inference of approximately 3.5 ms per instance. Ablation studies confirm the critical role of transformer-based feature representation, while cross-dataset and external validation analyses demonstrate robustness under heterogeneous traffic distributions and diverse attack patterns. The proposed framework offers a practical, interpretable, and scalable solution for securing smart farming IoT networks, effectively addressing complex data heterogeneity and operational constraints.

Authors

Institutions

Publication Details

Journal
Computers & Electrical Engineering
Published
2026-06-19
DOI
https://doi.org/10.1016/j.compeleceng.2026.111344
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A novel hybrid TabTransformer–LightGBM framework for explainable intrusion detection in smart farming IoT networks

Manikandan Thirumalaisamy, Balamurugan Balusamy, Francesco Benedetto, A. l et al.
Computers & Electrical Engineering
Network Security and Intrusion Detection
article

A novel hybrid TabTransformer–LightGBM framework for explainable intrusion detection in smart farming IoT networks

Manikandan Thirumalaisamy, Balamurugan Balusamy, Francesco Benedetto, A. l, Priya S, Prabu Kaliyaperumal
article en

Abstract

Smart farming relies on the Internet of Things (IoT) and cloud computing technologies to optimize agricultural productivity, but the heterogeneity of devices and the complexity of generated data create significant cybersecurity challenges. Resource-constrained IoT devices struggle to implement strong defenses, while traditional intrusion detection systems often have difficulty accurately capturing mixed categorical and numerical features, generalizing across diverse farms, or providing interpretable alerts. To address these challenges, this study proposes a hybrid TabTransformer–Light Gradient Boosting Machine (LightGBM) framework with SHapley Additive exPlanations (SHAP)-based explainability, deployed on cloud infrastructure for scalable, near real-time intrusion diagnosis. The TabTransformer efficiently models complex interactions among heterogeneous IoT features without manual feature engineering, while LightGBM provides robust and computationally efficient classification. SHAP explanations enhance transparency, enabling operators to understand and act on alerts. Evaluations on the CIC-IoT 2023 and CIC-IoT-DIAD 2024 datasets demonstrate accuracy above 98%, high recall and precision, low false alarm rates, and rapid inference of approximately 3.5 ms per instance. Ablation studies confirm the critical role of transformer-based feature representation, while cross-dataset and external validation analyses demonstrate robustness under heterogeneous traffic distributions and diverse attack patterns. The proposed framework offers a practical, interpretable, and scalable solution for securing smart farming IoT networks, effectively addressing complex data heterogeneity and operational constraints.

Computers & Electrical EngineeringVol. 138
Roma Tre University (IT), Vel Tech Rangarajan Dr. Sagunthala R&D Institute of Science and Technology (IN), Manipal Academy of Higher Education (IN), IILM Institute for Higher Education (IN), Rajalakshmi Engineering College
Openalex Percentile: Top 5%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.