Find Before You Fine-Tune: A Diagnostic Study of Small LLMs for Cybersecurity QA

Shaswata Mitra, Subash Neupane, Trisha Chakraborty, Himanshu Tripathi , Sudip Mittal, Aritran Piplai, Shahram Rahimi

arXiv , 2026-07-21 · LLM behavior

DOI: 10.48550/arXiv.2607.18725 arXiv: 2607.18725

Abstract

Large Language Models (LLMs) are increasingly fine-tuned for critical-domain Question-Answering (QA), yet choosing which small model to adapt before paying the cost of adaptation remains difficult. We present FiT (Find before Fine-Tune), a task-oriented diagnostic framework that characterizes small LLMs along three capabilities required for cybersecurity QA: vocabulary recognition, parametric knowledge, and contextualization of retrieved information. Across five open-weight 7-billion-parameter models under two fine-tuning regimes, we find that fine-tuning consistently degrades vocabulary and parametric knowledge in small models, while pre-fine-tuning FiT scores anticipate the direction of post-tuning change.

Notes & Scope

Contribution. Co-author contributing empirical diagnostics, regime evaluation, and analysis.

Limitations and open questions. Evaluated on five 7B open-weight models in cybersecurity QA; findings are model- and regime-specific rather than universal across all fine-tuning scales.

Topics

Small LLMs , Fine-Tuning Diagnostics , Parametric Knowledge , Cybersecurity QA , RAG Contextualization

BibTeX

@misc{mitra2026fit,
  title={Find Before You Fine-Tune: A Diagnostic Study of Small LLMs for Cybersecurity QA},
  author={Mitra, Shaswata and Neupane, Subash and Chakraborty, Trisha and Tripathi, Himanshu and Mittal, Sudip and Piplai, Aritran and Rahimi, Shahram},
  year={2026},
  eprint={2607.18725},
  archivePrefix={arXiv},
  primaryClass={cs.CL},
  doi={10.48550/arXiv.2607.18725}
}
Himanshu TripathiPublications