The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |
First page preview

A Comparative Evaluation of Large Language Models for Named Entity Recognition in Cyber Threat Intelligence

Author 1: Aykhan Huseynli
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 17, No. 6 · Published 2026

DOI: https://doi.org/10.14569/IJACSA.2026.0170614

Abstract

Cyber Threat Intelligence reports combine analytical prose with dense technical indicators, making structured entity extraction a challenging but operationally valuable task. This study presents a comparative evaluation of three large language models – Claude Sonnet 4.6, GPT-5.4, and LLaMA 4 Scout – on a manu-ally annotated corpus of 21 real-world CTI reports across 15 entity types and 1284 ground truth instances. This study evalu-ates zero-shot and few-shot prompting conditions and studies the effect of iterative prompt refinement, focusing on explicit format constraints for cryptographic hash entities. Results show that Claude Sonnet 4.6 and GPT-5.4 achieve comparable perfor-mance under zero-shot conditions, with LLaMA 4 Scout trailing by a substantial margin. Few-shot prompting consistently reduc-es hallucination rates, but yields mixed F1 results, with exemplar cardinality emerging as a critical and underappreciated design factor. Entity extraction difficulty varies substantially across types, with technical indicator categories showing near-perfect performance and semantic categories such as tool and target sector posing the greatest challenges across all evaluated mod-els.

Keywords

How to Cite this Article

Aykhan Huseynli. "A Comparative Evaluation of Large Language Models for Named Entity Recognition in Cyber Threat Intelligence". International Journal of Advanced Computer Science and Applications (IJACSA), Vol. 17, No. 6, 2026. https://doi.org/10.14569/IJACSA.2026.0170614

BibTeX

@article{Huseynli2026,
  title     = {A Comparative Evaluation of Large Language Models for Named Entity Recognition in Cyber Threat Intelligence},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {17},
  number    = {6},
  year      = {2026},
  publisher = {The Science and Information Organization},
  author    = {Aykhan Huseynli},
  doi       = {10.14569/IJACSA.2026.0170614},
  url       = {https://doi.org/10.14569/IJACSA.2026.0170614}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.