cd /news/artificial-intelligence/fine-tuning-small-language-models-fo… · home topics artificial-intelligence article
[ARTICLE · art-91184] src=aclanthology.org ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

Fine-Tuning Small Language Models for Cybersecurity: Data Ordering, Knowledge Distillation, and the Educator Effect

Researchers at the Second International Conference on Natural Language Processing and Artificial Intelligence for Cyber Security reported that fine-tuning small language models on synthetic cybersecurity data yields mixed results: Gemma 2 2B improved by 9.3 percentage points and Phi-3.5 3.8B by 4.0 points, while Llama 3.1 8B dropped 24.0 points, a phenomenon they call the 'educator effect.' The study, led by Ozkan Kilic, Raja Soundaramourty, and Ramu Chenchaiah, used QLoRA on V100 GPUs with ~147,600 QA pairs and found randomized data ordering outperformed curriculum ordering, though significance testing was not performed on the 75-question exam.

read1 min views6 publishedJul 31, 2026
Fine-Tuning Small Language Models for Cybersecurity: Data Ordering, Knowledge Distillation, and the Educator Effect
Image: Aclanthology (auto-discovered)
Abstract

Data-sovereignty rules forbid cloud-hosted AI in many high-security environments, leaving compact on-premise models as the only path to AI-assisted cybersecurity. We fine-tune three small open-source models, Gemma 2 2B, Phi-3.5 3.8B, Llama 3.1 8B, on ~147,600 synthetic cybersecurity QA pairs using QLoRA on V100 GPUs. Under strict MCQ evaluation Gemma 2 gains +9.3 pp, Phi +4.0 pp, and Llama drops −24.0 pp. We term this the educator effect: models trained on pedagogical data internalize explanatory behavior at the expense of format compliance. Severity appears to scale with capacity, though capacity is confounded with architecture and learning rate. A controlled ablation shows randomized ordering outperforms curriculum, without significance testing on the 75-question exam.- Anthology ID:

- 2026.nlpaics-1.6
- Volume:

Proceedings of the Second International Conference on Natural Language Processing and Artificial Intelligence for Cyber Security- Month:

[NLPAICS](/venues/nlpaics/)- SIG:
- Publisher:
  • Department of Languages and Information Systems, University of Alicante
- Note:
- Pages:
  • 55–63
- Language:
- URL:
[https://aclanthology.org/2026.nlpaics-1.6/](https://aclanthology.org/2026.nlpaics-1.6/)- DOI:
- Cite (ACL):
[Fine-Tuning Small Language Models for Cybersecurity: Data Ordering, Knowledge Distillation, and the Educator Effect](https://aclanthology.org/2026.nlpaics-1.6/)(Kilic et al., NLPAICS 2026)- PDF:
[https://aclanthology.org/2026.nlpaics-1.6.pdf](https://aclanthology.org/2026.nlpaics-1.6.pdf)
── more in #artificial-intelligence 4 stories · sorted by recency
── more on @gemma 2 2b 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/fine-tuning-small-la…] indexed:0 read:1min 2026-07-31 ·