Less Data, More Security: Advancing Cybersecurity LLMs Specialization via Resource-Efficient Domain-Adaptive Continuous Pre-training with Minimal Tokens
Not on the map. Why?
Abstract (arXiv)
The increasing scale of AI workloads demands High-Performance Computing (HPC) infrastructure and training methodologies that are both scalable and sustainable. While Large Language Models (LLMs) demonstrate exceptional natural language capabilities, general-purpose models often lack the specialized domain knowledge necessary for effective cybersecurity analysis. We investigate Domain-Adaptive Continuous Pretraining (DAP) as a scalable, resource-efficient methodology for enhancing cybersecurity understanding in pretrained LLMs, implemented through a distributed Fully Sharded Data Parallel (FSDP) pipeline across multi-node GPU clusters. We systematically adapted three decoder-based architectures -- Llama-3.1-8B, DeepSeek-R1-Distill-Qwen-14B, and Llama-3.3-70B-Instruct -- using a curated 126-million-word cybersecurity corpus from standards, academic literature, and technical documentation. Evaluation across three cybersecurity benchmarks -- CTI-MCQ, CyberMetric, and SecEval -- demonstrates consistent improvements post-adaptation. Notably, our Llama-3.3-70B-Ins-DAP model achieves state-of-the-art performance with accuracies of 0.718, 0.933, and 0.864, respectively, surpassing parameter-efficient baselines and specialized models including Llama-Primus-Base (trained on 2.77 billion tokens) and Foundation-Sec-8B (trained on 5 billion tokens), despite utilizing only 118.8 million tokens -- representing a 23-to-42-fold reduction in training data. Targeted continuous pretraining via scalable HPC infrastructure enables effective cybersecurity domain adaptation with a substantially reduced computational and energy footprint, supporting specialized AI assistants in threat analysis, vulnerability assessment, and security documentation, while advancing sustainable and responsible AI development.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 40 of its 65 references that are in the map. First posted on arXiv 30 Jun 2025.
Builds on
40 of 65 references.
References · 40
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023GPT-4 Technical Reportcited by 18,396
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
28 more
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
- 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 1,009
- 2023StarCoder: may the source be with you!cited by 799
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
- 2013Speech Recognition with Deep Recurrent Neural Networkscited by 669
- 2023Instruction Tuning for Large Language Models: A Surveycited by 623
- 2021Carbon Emissions and Large Neural Network Trainingcited by 567
- 2016Neural Architectures for Named Entity Recognitioncited by 550
- 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 313
- 2019Learning Deep Transformer Models for Machine Translationcited by 309
- 2024Instruction Tuning for Secure Code Generationcited by 68
- 2024CTIBench: A Benchmark for Evaluating LLMs in Cyber Threat Intelligencecited by 62
- 2022SecureBERT: A Domain-Specific Language Model for Cybersecuritycited by 60
- 2024CyberMetric: A Benchmark Dataset based on Retrieval-Augmented Generation for Evaluating LLMs in Cybersecurity Knowledgecited by 55
- 2024Finetuning Large Language Models for Vulnerability Detectioncited by 40
- 2023Natural Language Generation and Understanding of Big Code for AI-Assisted Programming: A Reviewcited by 32
- 2022CySecBERT: A Domain-Adapted Language Model for the Cybersecurity Domaincited by 31
- 2025Llama-3.1-FoundationAI-SecurityLLM-Base-8B Technical Reportcited by 31
- 2025Primus: A Pioneering Collection of Open-Source Datasets for Cybersecurity LLM Trainingcited by 23
- 2024Performance-Guided LLM Knowledge Distillation for Efficient Text Classification at Scalecited by 14
- 2023Low-rank Adaptation of Large Language Model Rescoring for Parameter-Efficient Speech Recognitioncited by 13
- 2023Preventing Catastrophic Forgetting in Continual Learning of New Natural Language Taskscited by 10
- 2023Advancing TTP Analysis: Harnessing the Power of Large Language Models with Retrieval Augmented Generationcited by 8
- 2024Beyond Detection: Leveraging Large Language Models for Cyber Attack Prediction in IoT Networkscited by 7
- 2023Prefix-Tuning Based Unsupervised Text Style Transfercited by 6
- 2024Data Analysis in the Era of Generative AIcited by 6
- 2025Generative AI for Research Data Processing: Lessons Learnt From Three Use Casescited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025P2P: A Poison-to-Poison Remedy for Reliable Backdoor Defense in LLMscited by 6
- 2026RedSage: A Cybersecurity Generalist LLMcited by 1
- 2025On-Premise SLMs vs. Commercial LLMs: Prompt Engineering and Incident Classification in SOCs and CSIRTscited by 0
- 2026Less Data Approximates More: Earning Faithful Confidence in High-Stakes Domainscited by 0
- 2026Less Data Approximates More: Earning Faithful Confidence in High-Stakes Domains9 Apr 2026
- 2026RedSage: A Cybersecurity Generalist LLM29 Jan 2026
- 2025On-Premise SLMs vs. Commercial LLMs: Prompt Engineering and Incident Classification in SOCs and CSIRTs18 Nov 2025
- 2025P2P: A Poison-to-Poison Remedy for Reliable Backdoor Defense in LLMs6 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026MiST: Mid-Training LLMs for Cybersecurity
- 2025Fine-tuning of Large Language Models for Domain-Specific Cybersecurity Knowledge
- 2025Toward Cybersecurity-Expert Small Language Models
- 2023Out of the Cage: How Stochastic Parrots Win in Cyber Security Environments
- 2025From Texts to Shields: Convergence of Large Language Models and Cybersecurity
- 2026CyberLLM-FINDS 2025: Instruction-Tuned Fine-tuning of Domain-Specific LLMs with Retrieval-Augmented Generation and Graph Integration for MITRE Evaluation
- 2025Cyber-Zero: Training Cybersecurity Agents without Runtime
- 2024Crimson: Empowering Strategic Reasoning in Cybersecurity through Large Language Models