mlsanityData to 14 Oct 2026

Threat Modelling using Domain-Adapted Language Models: Empirical Evaluation and Insights

arXiv 2605.10808 ↗First posted 11 May 2026cs.CR cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models(LLMs) are increasingly explored for cybersecurity applications such as vulnerability detection. In the domain of threat modelling, prior work has primarily evaluated a number of general-purpose Large Language Models under limited prompting settings. In this study, we extend the research area of structured threat modelling by systematically evaluating domain-adapted language models of different sizes to their general counterparts. We use both LLMs and Small Language Models(SLMs) that were domain adapted to telecommunications and cybersecuirty. For the structured threat modelling, we selected the widely used STRIDE approach and the application area is 5G security. We present a comprehensive empirical evaluation using 52 different configurations (on 8 different language models) to analyze the impact of 1) domain adaptation, 2) model scale, 3) decoding strategies (greedy vs. stochastic sampling), and 4) prompting technique on STRIDE threat classification. Our results show that domain-adapted models do not consistently outperform their general-purpose counterparts, and decoding strategies significantly affect model behavior and output validity. They also show that while larger models generally achieve higher performance, these gains are neither consistent nor sufficient for reliable threat modelling. These findings highlight fundamental limitations of current LLMs for structured threat modelling tasks and suggest that improvements require more than additional training data or model scaling, motivating the need for incorporating more task-specific reasoning and stronger grounding in security concepts. We present insights on invalid outputs encountered and present suggestions for prompting tailored specifically for STRIDE threat modelling.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 24 of its 38 references that are in the map. First posted on arXiv 11 May 2026.

Builds on

24 of 38 references.

References · 24

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  3. 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,122
  4. 2023Large Language Models Are Not Robust Multiple Choice Selectorscited by 486
  5. 2023Do Large Language Models Know What They Don't Know?cited by 243
  6. 2023Better Zero-Shot Reasoning with Role-Play Promptingcited by 223
  7. 2024The Effect of Sampling Temperature on Problem Solving in Large Language Modelscited by 170
  8. 2024Large Language Model (LLM) for Telecommunications: A Comprehensive Survey on Principles, Key Techniques, and Opportunitiescited by 83
  9. 2024Reuse, Don't Retrain: A Recipe for Continued Pretraining of Language Modelscited by 72
  10. 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 71
  11. 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 68
  12. 2023TeleQnA: A Benchmark Dataset to Assess Large Language Models Telecommunications Knowledgecited by 63
12 more
  1. 2024Investigating Continual Pretraining in Large Language Models: Insights and Implicationscited by 57
  2. 2024TelecomGPT: A Framework to Build Telecom-Specfic Large Language Modelscited by 40
  3. 2025Exploring the Impact of Temperature on Large Language Models:Hot or Cold?cited by 40
  4. 2024A Survey of Small Language Modelscited by 31
  5. 2025Llama-3.1-FoundationAI-SecurityLLM-Base-8B Technical Reportcited by 31
  6. 2024Tele-LLMs: A Series of Specialized Large Language Models for Telecommunicationscited by 25
  7. 2025Llama-3.1-FoundationAI-SecurityLLM-8B-Instruct Technical Reportcited by 23
  8. 2024Towards Explainable Network Intrusion Detection using Large Language Modelscited by 14
  9. 2025Large Language Models Do Multi-Label Classification Differentlycited by 13
  10. 2023Observations on LLMs for Telecom Domain: Capabilities and Limitationscited by 11
  11. 2025A Practical Guide for Evaluating LLMs and LLM-Reliant Systemscited by 3
  12. 2025LLMs' Suitability for Network Security: A Case Study of STRIDE Threat Modelingcited by 1

Built on by

Not cited yet.