MiST: Mid-Training LLMs for Cybersecurity

Oded Ovadia, Elad Ben Zaken, Elad Guttman, Orly Moreno Kadosh


Abstract
Cybersecurity combines high-stakes analysis with complex technical language, making it an impactful and challenging domain for LLMs. We present MiST (Mid-trained Security Transformer), a suite of 8B and 32B models that achieve strong performance on public cybersecurity benchmarks. We use mid-training as an intermediate adaptation stage between general pre-training and cybersecurity training. Rather than performing continual pre-training over large volumes of raw domain text, we curate a compact, expert-vetted seed corpus, and transform it into high-quality domain-specific synthetic training data. The final MiST checkpoints improve mean cybersecurity accuracy by +13.1 and +8.6 absolute percentage points over the corresponding Qwen baselines for 8B and 32B, respectively, corresponding to relative gains of +27.0% and +15.8%. Ablation results further show that these cybersecurity gains arise in the mid-training and supervised fine-tuning stages through a combination of the synthetic data generation flows. Furthermore, we show that MiST provides a stronger initialization for downstream task-specific fine-tuning adaptation and reinforcement learning.
Anthology ID:
2026.emnlp-main.652
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
14996–15021
Language:
URL:
https://aclanthology.org/2026.emnlp-main.652/
DOI:
Bibkey:
Cite (ACL):
Oded Ovadia, Elad Ben Zaken, Elad Guttman, and Orly Moreno Kadosh. 2026. MiST: Mid-Training LLMs for Cybersecurity. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, pages 14996–15021, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
MiST: Mid-Training LLMs for Cybersecurity (Ovadia et al., EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-main.652.pdf