Incident Response Planning Using a Lightweight Large Language Model with Reduced Hallucination

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Hammar, Kim, Alpcan, Tansu, Lupu, Emil C.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911095438966784
author Hammar, Kim
Alpcan, Tansu
Lupu, Emil C.
author_facet Hammar, Kim
Alpcan, Tansu
Lupu, Emil C.
contents Timely and effective incident response is key to managing the growing frequency of cyberattacks. However, identifying the right response actions for complex systems is a major technical challenge. A promising approach to mitigate this challenge is to use the security knowledge embedded in large language models (LLMs) to assist security operators during incident handling. Recent research has demonstrated the potential of this approach, but current methods are mainly based on prompt engineering of frontier LLMs, which is costly and prone to hallucinations. We address these limitations by presenting a novel way to use an LLM for incident response planning with reduced hallucination. Our method includes three steps: fine-tuning, information retrieval, and lookahead planning. We prove that our method generates response plans with a bounded probability of hallucination and that this probability can be made arbitrarily small at the expense of increased planning time under certain assumptions. Moreover, we show that our method is lightweight and can run on commodity hardware. We evaluate our method on logs from incidents reported in the literature. The experimental results show that our method a) achieves up to 22% shorter recovery times than frontier LLMs and b) generalizes to a broad range of incident types and response actions.
format Preprint
id arxiv_https___arxiv_org_abs_2508_05188
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Incident Response Planning Using a Lightweight Large Language Model with Reduced Hallucination
Hammar, Kim
Alpcan, Tansu
Lupu, Emil C.
Cryptography and Security
Artificial Intelligence
Timely and effective incident response is key to managing the growing frequency of cyberattacks. However, identifying the right response actions for complex systems is a major technical challenge. A promising approach to mitigate this challenge is to use the security knowledge embedded in large language models (LLMs) to assist security operators during incident handling. Recent research has demonstrated the potential of this approach, but current methods are mainly based on prompt engineering of frontier LLMs, which is costly and prone to hallucinations. We address these limitations by presenting a novel way to use an LLM for incident response planning with reduced hallucination. Our method includes three steps: fine-tuning, information retrieval, and lookahead planning. We prove that our method generates response plans with a bounded probability of hallucination and that this probability can be made arbitrarily small at the expense of increased planning time under certain assumptions. Moreover, we show that our method is lightweight and can run on commodity hardware. We evaluate our method on logs from incidents reported in the literature. The experimental results show that our method a) achieves up to 22% shorter recovery times than frontier LLMs and b) generalizes to a broad range of incident types and response actions.
title Incident Response Planning Using a Lightweight Large Language Model with Reduced Hallucination
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2508.05188