Fine-Tuned LLMs for Flow-Based Intrusion Detection in Smart Agriculture via Semantic Augmentation

Citations

SCOPUS

0

초록

Smart agriculture relies on dense deployments of networked sensors and controllers, making agricultural IoT infrastructures vulnerable to cyber intrusions. Flow-based intrusion detection is attractive for gateway deployment because it summarizes packet streams into bidirectional flow statistics without payload inspection, but learning robust detectors remains challenging under severe class imbalance and highly redundant traffic patterns. This paper presents a flow-based intrusion detection framework that fine-tunes a compact instructiontuned LLM using Low-Rank Adaptation (LoRA) and semantic augmentation. We convert each network flow into a structured numerical prompt and train the model to predict the intrusion class; for reasoning-supervised variants, the model additionally generates an interpretable rationale. Our semantic augmentation increases effective diversity by (i) paraphrasing reasoning traces and (ii) applying controlled feature transformations, with value-consistent rationales generated only when reasoning supervision is used. We fine-tune Qwen2.5-1.5B-Instruct on an 8-class training set of 460,888 unique flows (57,611 per class) constructed from the original training split containing 405,296 nominal instances (71,296 unique flows) with severe near-duplicate redundancy. On the held-out test set of 13,091 flows, the combined augmentation achieves 95.1% accuracy and 0.950 macro-F1, outperforming strong traditional baselines such as Random Forest while substantially improving minority-class detection (e.g., ARP spoofing). Ablations show that reasoning diversity is the primary driver of gains, and that feature transformations are beneficial only when paired with consistent reasoning supervision. © 2026 IEEE.

키워드

Class imbalance; Intrusion Detection System (IDS); Large Language Model (LLM); Semantic augmentation; Smart agriculture
제목
Fine-Tuned LLMs for Flow-Based Intrusion Detection in Smart Agriculture via Semantic Augmentation
저자
Lee, Jinkwon; Seong, Younjun; Oh, Hayoung
DOI
10.1109/WoWMoM69805.2026.00042
발행일
2026
유형
Conference paper
저널명
Proceedings - 2026 IEEE 27th International Symposium on a World of Wireless, Mobile and Multimedia Networks, WoWMoM 2026
페이지
286 ~ 296