CyberDualNER: A Dual-Stage Approach for Few-Shot Named Entity Recognition in Cybersecurity
Electronics · 28.04.2025 · 14 (9) · 1791
DOI: 10.3390/electronics14091791 ↗Kurz gefasst
Fachartikel in der Zeitschrift Electronics, online erschienen am 28.04.2025. Verfasst von Conghui Zheng und 4 weiteren Autor:innen. Die Arbeit wurde bisher 6-mal zitiert (Crossref) und nennt 61 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: National Key Research and Development Plan in China.
Abstract (Originalsprache)
As the frequency of cyberattacks rises, extracting actionable cyber threat intelligence (CTI) from diverse online sources has become critical for proactive threat detection and defense. Named entity recognition (NER) serves as a foundational task in CTI extraction, supporting downstream applications such as cybersecurity knowledge graph construction and attack attribution. However, existing NER methods face significant challenges in the cybersecurity domain, including the need to identify highly specialized entity types and adapt to rapidly evolving threats. These challenges are further exacerbated in few-shot scenarios with limited annotated data. In this work, we focus on few-shot NER for CTI extraction in general cyber environments. Our goal is to develop robust and adaptable methods that are not restricted to specific infrastructures (e.g., traditional IT systems), but instead can generalize across diverse cybersecurity contexts. Specifically, to address these issues, we propose CyberDualNER, a novel dual-stage framework for few-shot NER, which includes span detection and entity classification. In the first stage, we proposed a span detector that can utilize data from large-scale general domains to detect possible entity spans. Based on the detected spans, in the second stage, we propose a prompt-enhanced metric-based classifier. We use category descriptions to build prompt templates, extract category anchor representations, and classify entities based on similarity to span representations. By incorporating prior knowledge, we improve performance while reducing data dependency, which ensures generalizability in the face of emerging entities. Extensive experiments on real-world CTI datasets demonstrate the effectiveness of CyberDualNER, with significant performance improvements over baseline methods. Notably, the framework achieves robust results in scenarios with minimal annotated samples, highlighting its potential for practical applications in cybersecurity intelligence extraction.
Förderung
- National Key Research and Development Plan in China
Zitieren
APA
Zheng, C., Lu, C., Li, C., Zheng, Z., & Pan, L. (2025). CyberDualNER: A Dual-Stage Approach for Few-Shot Named Entity Recognition in Cybersecurity. Electronics, 14(9), 1791. https://doi.org/10.3390/electronics14091791
Vancouver
Zheng C, Lu C, Li C, Zheng Z, Pan L. CyberDualNER: A Dual-Stage Approach for Few-Shot Named Entity Recognition in Cybersecurity. Electronics. 2025;14(9):1791. doi:10.3390/electronics14091791
BibTeX
@article{Zheng2025,
author = {Zheng, Conghui and Lu, Cheng and Li, Changqing and Zheng, Zeyang and Pan, Li},
title = {CyberDualNER: A Dual-Stage Approach for Few-Shot Named Entity Recognition in Cybersecurity},
journal = {Electronics},
year = {2025},
volume = {14},
number = {9},
pages = {1791},
doi = {10.3390/electronics14091791}
}
EUVIMED