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
5/17/2024
cs.LGcs.AIcs.CR

No confident code implementation found for this paper.

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. Specifically, the proposed framework can reach an accuracy and F1-Score of over 95% on different types of attacks with GPT-4 using only 10 in-context learning examples.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2024large,
  title  = {Large Language Models in Wireless Application Design: In-Context Learning-enhanced Automatic Network Intrusion Detection},
  author = {Han Zhang and Akram Bin Sediq and Ali Afana and Melike Erol-Kantarci},
  year   = {2024},
  eprint = {2405.11002},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.11002v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.11002.svg)](https://codeofpaper.com/paper/2405.11002)

Discussion