Longformer-BiLSTM-CRF based cybersecurity entity recognition and malicious virus knowledge graph construction
To address the challenge of extracting structured information from complex cybersecurity texts, this study proposes a named entity recognition (NER) framework based on the Longformer-BiLSTM-CRF architecture for malware-related entity extraction and knowledge graph construction. Specifically, Longformer is leveraged to enhance feature representation for lengthy documents, while Bidirectional Long Short-Term Memory (BiLSTM) networks capture bidirectional contextual dependencies, and Conditional Random Fields (CRF) refine sequence labeling outputs through global tag transition optimization. The proposed model is evaluated on three benchmark datasets—Bridges, Alam, and McAfee/VIL—achieving F1-scores of 0.9909, 0.8165, and 0.9818, respectively, thereby outperforming baseline models including BiLSTM, BiLSTM-CRF, Bidirectional Encoder Representations from Transformer(BERT), and BERT-BiLSTM-CRF. Building upon the recognized entities, dependency parsing combined with rule-based methodologies is employed to extract inter-entity relationships and generate structured triples, which are subsequently ingested into the Neo4j graph database to facilitate structured knowledge management and semantic querying. Experimental results demonstrate that the proposed approach delivers competitive performance in long-text entity recognition. Furthermore, the extracted entities and their relationships are systematically organized into structured triples within the Neo4j environment, thereby providing an interpretable and queryable structured representation of malware-related intelligence.
Authors
- Zhiqi Hu
- Jinlong Zhao
- Jiayi Zhou
- Yangxia Luo
Institutions
- Xi'an University of Finance and Economics (CN)
Publication Details
- Journal
- Egyptian Informatics Journal
- Published
- 2026-11-30
- DOI
- https://doi.org/10.1016/j.eij.2026.101082
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00