Large Language Models in Wireless Application Design: In-Context Learning-enhanced Automatic Network Intrusion Detection
Han Zhang, Akram Bin Sediq, Ali Afana, Melike Erol-Kantarci

TL;DR
This paper introduces a framework using large language models, particularly GPT-4, with in-context learning to automatically detect network intrusions in wireless communication, achieving high accuracy without additional training.
Contribution
It presents a novel in-context learning approach for LLMs to perform network intrusion detection, eliminating the need for fine-tuning and demonstrating significant performance improvements.
Findings
GPT-4 achieves over 95% accuracy and F1-Score with 10 examples.
In-context learning enhances intrusion detection performance without additional training.
The framework shows potential for various wireless communication tasks.
Abstract
Large language models (LLMs), especially generative pre-trained transformers (GPTs), have recently demonstrated outstanding ability in information comprehension and problem-solving. This has motivated many studies in applying LLMs to wireless communication networks. In this paper, we propose a pre-trained LLM-empowered framework to perform fully automatic network intrusion detection. Three in-context learning methods are designed and compared to enhance the performance of LLMs. With experiments on a real network intrusion detection dataset, in-context learning proves to be highly beneficial in improving the task processing performance in a way that no further training or fine-tuning of LLMs is required. We show that for GPT-4, testing accuracy and F1-Score can be improved by 90%. Moreover, pre-trained LLMs demonstrate big potential in performing wireless communication-related tasks.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNetwork Security and Intrusion Detection · IPv6, Mobility, Handover, Networks, Security
MethodsAttention Is All You Need · Dense Connections · Linear Layer · Position-Wise Feed-Forward Layer · Label Smoothing · Residual Connection · Absolute Position Encodings · Byte Pair Encoding · Adam · Dropout
