Fine-tuning of Large Language Models for Domain-Specific Cybersecurity Knowledge
Not on the map. Why?
Abstract (arXiv)
Recent advancements in training paradigms for Large Language Models (LLMs) have unlocked their remarkable capabilities in natural language processing and cross-domain generalization. While LLMs excel in tasks like programming and mathematical problem-solving, their zero-shot performance in specialized domains requiring expert knowledge, such as cybersecurity, is often suboptimal. This limitation arises because foundational LLMs are designed for general-purpose applications, constraining their ability to encapsulate domain-specific expertise within their parameter space. To address this, we explore fine-tuning strategies to embed cybersecurity knowledge into LLMs, enhancing their performance in cybersecurity question-answering (Q&A) tasks while prioritizing computational efficiency. Specifically, we investigate Supervised Fine-Tuning (SFT), Low-Rank Adaptation (LoRA), and Quantized Low-Rank Adaptation (QLoRA) using a cybersecurity Q&A dataset. Our results demonstrate that these fine-tuning approaches significantly outperform the foundational model in cybersecurity Q&A tasks. Moreover, LoRA and QLoRA achieve comparable performance to SFT with substantially lower computational costs, offering an efficient pathway for adapting LLMs to specialized domains. Our work highlights the potential of low-rank fine-tuning strategies to bridge the gap between general-purpose LLMs and domain-specific applications.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 26 of its 31 references that are in the map. First posted on arXiv 25 Sep 2025.
Builds on
26 of 31 references.
References · 26
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
14 more
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
- 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,245
- 2024DoRA: Weight-Decomposed Low-Rank Adaptationcited by 758
- 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 671
- 2015Semantically Conditioned LSTM-based Natural Language Generation for Spoken Dialogue Systemscited by 134
- 2023Let the LLMs Talk: Simulating Human-to-Human Conversational QA via Zero-Shot LLM-to-LLM Interactionscited by 70
- 2024Compression Represents Intelligence Linearlycited by 56
- 2024CyberMetric: A Benchmark Dataset based on Retrieval-Augmented Generation for Evaluating LLMs in Cybersecurity Knowledgecited by 55
- 2024Combining Fine-Tuning and LLM-based Agents for Intuitive Smart Contract Auditing with Justificationscited by 41
- 2023Iterative Zero-Shot LLM Prompting for Knowledge Graph Constructioncited by 25
- 2023Deep Learning for Optimization of Trajectories for Quadrotorscited by 9
- 2025Dynamic Rank Adjustment in Diffusion Policies for Efficient and Flexible Trainingcited by 7
- 2024Legal Documents Drafting with Fine-Tuned Pre-Trained Large Language Modelcited by 5
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Less Data, More Security: Advancing Cybersecurity LLMs Specialization via Resource-Efficient Domain-Adaptive Continuous Pre-training with Minimal Tokens
- 2026CyberLLM-FINDS 2025: Instruction-Tuned Fine-tuning of Domain-Specific LLMs with Retrieval-Augmented Generation and Graph Integration for MITRE Evaluation
- 2025Toward Cybersecurity-Expert Small Language Models
- 2026MITRE-SAGE: A Multi-Agent Cybersecurity Question-Answering Model
- 2024SecBench: A Comprehensive Multi-Dimensional Benchmarking Dataset for LLMs in Cybersecurity
- 2025EAGER: Edge-Aligned LLM Defense for Robust, Efficient, and Accurate Cybersecurity Question Answering
- 2026MiST: Mid-Training LLMs for Cybersecurity
- 2024Crimson: Empowering Strategic Reasoning in Cybersecurity through Large Language Models