IOT threats detection using few shots learning

Existing IoT threat detection methods lack robustness due to the diverse array of potential attack vectors. Currently, most methods are trained and tested using simulated datasets and do not perform well with unseen samples in real-world applications. In this project, we propose a novel few short...

Full description

Bibliographic Details
Main Author: Chua, Cheng Han
Format: Final Year Project / Dissertation / Thesis
Published: 2024
Subjects:
Online Access:http://eprints.utar.edu.my/6634/
http://eprints.utar.edu.my/6634/1/fyp_CS_2024_CCH.pdf
_version_ 1848886731997184000
author Chua, Cheng Han
author_facet Chua, Cheng Han
author_sort Chua, Cheng Han
building UTAR Institutional Repository
collection Online Access
description Existing IoT threat detection methods lack robustness due to the diverse array of potential attack vectors. Currently, most methods are trained and tested using simulated datasets and do not perform well with unseen samples in real-world applications. In this project, we propose a novel few short learning leveraging Large Language Models (LLMs) to improve model robustness in IoT threat detection. Firstly, we develop two specialized LLM models: a text classification model based on DistilBERT and the few shots learning model using Sentence Transformer Fine-Tuning model (SetFit) framework. The DistilBERT threats detection model method performed well with an accuracy of 99.998% due to better semantics and contextual understanding as compared to existing flow statistical analysis. The few-shot learning model demonstrated remarkable performance with an accuracy of 0.89%, despite being trained on a limited amount of data. For unseen samples, we designed a few-shot retraining (FSR) methodology to adapt and learn new attack vectors across multiple variants using transfer learning. The experimental results showed a 90% improvement in accuracy on unseen threats when implemented in a real-world NIDS.
first_indexed 2025-11-15T19:43:10Z
format Final Year Project / Dissertation / Thesis
id utar-6634
institution Universiti Tunku Abdul Rahman
institution_category Local University
last_indexed 2025-11-15T19:43:10Z
publishDate 2024
recordtype eprints
repository_type Digital Repository
spelling utar-66342024-10-23T05:50:23Z IOT threats detection using few shots learning Chua, Cheng Han L Education (General) T Technology (General) TD Environmental technology. Sanitary engineering Existing IoT threat detection methods lack robustness due to the diverse array of potential attack vectors. Currently, most methods are trained and tested using simulated datasets and do not perform well with unseen samples in real-world applications. In this project, we propose a novel few short learning leveraging Large Language Models (LLMs) to improve model robustness in IoT threat detection. Firstly, we develop two specialized LLM models: a text classification model based on DistilBERT and the few shots learning model using Sentence Transformer Fine-Tuning model (SetFit) framework. The DistilBERT threats detection model method performed well with an accuracy of 99.998% due to better semantics and contextual understanding as compared to existing flow statistical analysis. The few-shot learning model demonstrated remarkable performance with an accuracy of 0.89%, despite being trained on a limited amount of data. For unseen samples, we designed a few-shot retraining (FSR) methodology to adapt and learn new attack vectors across multiple variants using transfer learning. The experimental results showed a 90% improvement in accuracy on unseen threats when implemented in a real-world NIDS. 2024-01 Final Year Project / Dissertation / Thesis NonPeerReviewed application/pdf http://eprints.utar.edu.my/6634/1/fyp_CS_2024_CCH.pdf Chua, Cheng Han (2024) IOT threats detection using few shots learning. Final Year Project, UTAR. http://eprints.utar.edu.my/6634/
spellingShingle L Education (General)
T Technology (General)
TD Environmental technology. Sanitary engineering
Chua, Cheng Han
IOT threats detection using few shots learning
title IOT threats detection using few shots learning
title_full IOT threats detection using few shots learning
title_fullStr IOT threats detection using few shots learning
title_full_unstemmed IOT threats detection using few shots learning
title_short IOT threats detection using few shots learning
title_sort iot threats detection using few shots learning
topic L Education (General)
T Technology (General)
TD Environmental technology. Sanitary engineering
url http://eprints.utar.edu.my/6634/
http://eprints.utar.edu.my/6634/1/fyp_CS_2024_CCH.pdf