mlsanityData to 14 Oct 2026

Less Data, More Security: Advancing Cybersecurity LLMs Specialization via Resource-Efficient Domain-Adaptive Continuous Pre-training with Minimal Tokens

arXiv 2507.02964 ↗First posted 30 Jun 2025cs.CL cs.AI cs.CRcited by 4

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  7. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  8. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  9. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  10. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  11. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  12. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
28 more
  1. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  2. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  3. 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 1,009
  4. 2023StarCoder: may the source be with you!cited by 799
  5. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
  6. 2013Speech Recognition with Deep Recurrent Neural Networkscited by 669
  7. 2023Instruction Tuning for Large Language Models: A Surveycited by 623
  8. 2021Carbon Emissions and Large Neural Network Trainingcited by 567
  9. 2016Neural Architectures for Named Entity Recognitioncited by 550
  10. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 313
  11. 2019Learning Deep Transformer Models for Machine Translationcited by 309
  12. 2024Instruction Tuning for Secure Code Generationcited by 68
  13. 2024CTIBench: A Benchmark for Evaluating LLMs in Cyber Threat Intelligencecited by 62
  14. 2022SecureBERT: A Domain-Specific Language Model for Cybersecuritycited by 60
  15. 2024CyberMetric: A Benchmark Dataset based on Retrieval-Augmented Generation for Evaluating LLMs in Cybersecurity Knowledgecited by 55
  16. 2024Finetuning Large Language Models for Vulnerability Detectioncited by 40
  17. 2023Natural Language Generation and Understanding of Big Code for AI-Assisted Programming: A Reviewcited by 32
  18. 2022CySecBERT: A Domain-Adapted Language Model for the Cybersecurity Domaincited by 31
  19. 2025Llama-3.1-FoundationAI-SecurityLLM-Base-8B Technical Reportcited by 31
  20. 2025Primus: A Pioneering Collection of Open-Source Datasets for Cybersecurity LLM Trainingcited by 23
  21. 2024Performance-Guided LLM Knowledge Distillation for Efficient Text Classification at Scalecited by 14
  22. 2023Low-rank Adaptation of Large Language Model Rescoring for Parameter-Efficient Speech Recognitioncited by 13
  23. 2023Preventing Catastrophic Forgetting in Continual Learning of New Natural Language Taskscited by 10
  24. 2023Advancing TTP Analysis: Harnessing the Power of Large Language Models with Retrieval Augmented Generationcited by 8
  25. 2024Beyond Detection: Leveraging Large Language Models for Cyber Attack Prediction in IoT Networkscited by 7
  26. 2023Prefix-Tuning Based Unsupervised Text Style Transfercited by 6
  27. 2024Data Analysis in the Era of Generative AIcited by 6
  28. 2025Generative AI for Research Data Processing: Lessons Learnt From Three Use Casescited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026MiST: Mid-Training LLMs for Cybersecurity
  2. 2025Fine-tuning of Large Language Models for Domain-Specific Cybersecurity Knowledge
  3. 2025Toward Cybersecurity-Expert Small Language Models
  4. 2023Out of the Cage: How Stochastic Parrots Win in Cyber Security Environments
  5. 2025From Texts to Shields: Convergence of Large Language Models and Cybersecurity
  6. 2026CyberLLM-FINDS 2025: Instruction-Tuned Fine-tuning of Domain-Specific LLMs with Retrieval-Augmented Generation and Graph Integration for MITRE Evaluation
  7. 2025Cyber-Zero: Training Cybersecurity Agents without Runtime
  8. 2024Crimson: Empowering Strategic Reasoning in Cybersecurity through Large Language Models