atlas

Research map / Large language models / Retrieval and knowledge

CyberQ: Generating Questions and Answers for Cybersecurity Education Using Knowledge Graph-Augmented LLMs

AAAI 2024 · Large language models › Retrieval and knowledge · approach: Explanatory and multiple-choice QA benchmarks · 37 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CyberGen, a three-step prompt-chaining method that uses AISecKG knowledge-graph triples to prompt ChatGPT for cybersecurity QA pairs, releases the expert-validated CyberQ dataset (~4k pairs), and fine-tunes T5-small/base on it.

Problem

Cybersecurity education lacks publicly available question-answer datasets, and manually creating and validating QA pairs from course material is slow and costly, while LLMs tend to hallucinate in this domain.

Approach

Ground LLM question-answer generation in knowledge-graph triples from a cybersecurity ontology through chained zero-shot, few-shot, and ontology-driven prompts, with domain-expert validation of the outputs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use T5-B instead of T5-SCybersecurity QA model trained on CyberQ Ontology-Driven data · CyberQ Ontology-DrivenBLEU: 0.10 -> 0.12Helped
Use T5-B instead of T5-SCybersecurity QA model trained on CyberQ Few-Shot data · CyberQ Few-ShotROUGE-1: 0.32 -> 0.33Helped
Use T5-B instead of T5-SCybersecurity QA model trained on CyberQ Zero-Shot data · CyberQ Zero-ShotBLEU: 0.17 -> 0.18Helped
Train on Zero-Shot rather than Ontology-Driven CyberQ dataT5-S cybersecurity QA model · CyberQBLEU: 0.10 -> 0.17Helped
Train on Zero-Shot rather than Few-Shot CyberQ dataT5-S cybersecurity QA model · CyberQBLEU: 0.04 -> 0.17Helped
Train on Zero-Shot rather than Ontology-Driven CyberQ dataT5-B cybersecurity QA model · CyberQBLEU: 0.12 -> 0.18Helped
Train on Zero-Shot rather than Few-Shot CyberQ dataT5-B cybersecurity QA model · CyberQBLEU: 0.04 -> 0.18Helped

Surprising findings

Limitations

Experimental setup

Datasets: AISecKG CyberQ

Benchmarks: CyberQ

Metrics: BLEU ROUGE-1 ROUGE-2 ROUGE-L ROUGE-LSum METEOR Flesch-Kincaid Grade Level Gunning Fog token-type ratio

Baselines: ChatGPT zero-shot prompting ChatGPT few-shot prompting

Builds on: AISecKG chain-of-thought prompting

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy