atlas

Research map / Large language models / Agents, code and math

CyberPal.AI: Empowering LLMs with Expert-Driven Cybersecurity Instructions

AAAI 2025 · Large language models › Agents, code and math · approach: Mathematical and structural reasoning benchmarks · 9 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.

Builds SecKnowledge, a ~400k-instruction cybersecurity dataset from schema-driven expert parsing of MITRE/BRON/SIEM/Sigma data plus hybrid Evol/Self-Instruct content-grounded generation, fine-tunes CyberPal.AI models on Llama-3-8B, Mistral-7B and Phi-3-medium, and introduces SecKnowledge-Eval with 14 benchmarks.

Problem

General LLMs underperform on complex, domain-specific cybersecurity tasks because generic instruction data does not capture security expertise and relationships across security frameworks.

Approach

Generate instruction data from structured security resources (MITRE ATT&CK, CWE, CVE, CAPEC, BRON, SIEM/Sigma rules) using expert-designed schemas and parsers, then expand it with a hybrid Evol-Instruct/Self-Instruct content-grounded pipeline that routes between the two methods over iterations, with an LLM evaluator filtering outputs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune Mistral-7B on SecKnowledgeMistral-7B-Instruct-v0.3 · Training-aligned tasks (average)average score: 52.02 -> 76.41Helped
Fine-tune Llama-3-8B on SecKnowledgeMeta-Llama-3-8B-Instruct · Training-aligned tasks (average)average score: 52.54 -> 74.70Helped
Fine-tune Phi-3-medium on SecKnowledgePhi-3-medium-4k-instruct · Training-aligned tasks (average)average score: 57.84 -> 75.10Helped
Fine-tune Mistral-7B on SecKnowledgeMistral-7B-Instruct-v0.3 · Public cyber-security benchmarksaverage score: 60.99 -> 69.92Helped
Fine-tune Llama-3-8B on SecKnowledgeMeta-Llama-3-8B-Instruct · Public cyber-security benchmarksaverage score: 64.07 -> 74.47Helped
Fine-tune Phi-3-medium on SecKnowledgePhi-3-medium-4k-instruct · Public cyber-security benchmarksaverage score: 66.78 -> 77.27Helped
Fine-tune with SecKnowledgeCyberPal.AI models · Adversarial MITRE ATT&CKaccuracy degradation from original MITRE ATT&CK: Mistral: 14% -> 6%; Llama: 19% -> 9%; Phi: 13% -> 7%Helped

Surprising findings

Limitations

Experimental setup

Datasets: MITRE ATT&CK CWE CVE CAPEC BRON SIEM QRadar rules to TTP mappings Sigma rules Security Wiki Security Stack Exchange security interview Q&A threat reports CyberBench-style CTI sources

Benchmarks: SecKnowledge-Eval Adversarial MITRE ATT&CK SIEM Rule TTP Mapping CTI Detection and Mitigation Mapping CWE Technical Impact Mapping CWE Description Summarization CTI Relationship Prediction CTI Entity Classification CISSP Assessment SecMMLU CyberMetric CTI-MCQ

Metrics: accuracy ROUGE-1 ROUGE-2 ROUGE-L

Baselines: Mistral-7B-Instruct-v0.3 Meta-Llama-3-8B-Instruct Phi-3-medium-4k-instruct Gemma-2-2b Gemma-2-9b

Builds on: Evol-Instruct Self-Instruct BRON Vicuna

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