journal article·2024Open access

Network Configuration Entity Extraction Method Based on Transformer with Multi-Head Attention Mechanism

Yang Yang, Zhenying Qu, Zefan Yan, Zhipeng Gao, Ti Wang

Computers, Materials & Continua· Volume 78· Issue 1

Abstract

Nowadays, ensuring the quality of network services has become increasingly vital. Experts are turning to knowledge graph technology, with a significant emphasis on entity extraction in the identification of device configurations. This research paper presents a novel entity extraction method that leverages a combination of active learning and attention mechanisms. Initially, an improved active learning approach is employed to select the most valuable unlabeled samples, which are subsequently submitted for expert labeling. This approach successfully addresses the problems of isolated points and sample redundancy within the network configuration sample set. Then the labeled samples are utilized to train the model for network configuration entity extraction. Furthermore, the multi-head self-attention of the transformer model is enhanced by introducing the Adaptive Weighting method based on the Laplace mixture distribution. This enhancement enables the transformer model to dynamically adapt its focus to words in various positions, displaying exceptional adaptability to abnormal data and further elevating the accuracy of the proposed model. Through comparisons with Random Sampling (RANDOM), Maximum Normalized Log-Probability (MNLP), Least Confidence (LC), Token Entrop (TE), and Entropy Query by Bagging (EQB), the proposed method, Entropy Query by Bagging and Maximum Influence Active Learning (EQBMIAL), achieves comparable performance with only 40% of the samples on both datasets, while other algorithms require 50% of the samples. Furthermore, the entity extraction algorithm with the Adaptive Weighted Multi-head Attention mechanism (AW-MHA) is compared with BILSTM-CRF, Mutil_Attention-Bilstm-Crf, Deep_Neural_Model_NER and BERT_Transformer, achieving precision rates of 75.98% and 98.32% on the two datasets, respectively. Statistical tests demonstrate the statistical significance and effectiveness of the proposed algorithms in this paper.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Data Quality and Management · Advanced Graph Neural Networks · Complex Network Analysis Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (30)

Show source-provided references
1. A survey on knowledge graphs: Representation, acquisition, and applications10.1109/TNNLS.2021.3070843 ↗
2. Design and implementation of fault diagnosis system for power communication network based on CNN
3. Performance analysis and optimal design of time-delay directed consensus networks10.1109/TCNS.2021.3094790 ↗
4. A novel deep learning-based approach for malware detection10.1016/j.engappai.2023.106030 ↗
5. An algorithm that learns what’s in a name10.1023/A:1007558221122 ↗
6. A. E. Borthwick, “A maximum entropy approach to named entity recognition,” Ph.D. dissertation, New York University, USA, 1999.
7. Named entity recognition: A maximum entropy approach using global information
8. Named entity recognition using hundreds of thousands of features
9. Early results for named entity recognition with conditional random fields, feature induction, and web-enhanced lexicons
10. Biomedical named entity recognition using conditional random fields and rich feature sets
11. Neural architectures for named entity recognition
12. An attention-based BiLSTM-CRF approach to document-level chemical named entity recognition10.1093/bioinformatics/btx761 ↗
13. Document-level attention-based BiLSTM-CRF incorporating disease dictionary for disease named entity recognition10.1016/j.compbiomed.2019.04.002 ↗
14. Multichannel CNN model for biomedical entity reorganization10.1155/2022/5765629 ↗
15. Improving feature extraction using a hybrid of CNN and LSTM for entity identification10.1007/s11063-022-11122-y ↗
16. Unsupervised log anomaly detection method based on multi-feature10.32604/cmc.2023.037392 ↗
17. Text simplification using transformer and BERT10.32604/cmc.2023.033647 ↗
18. Entity enhanced BERT pre-training for Chinese NER
19. Importance weighted active learning
20. Efficient active learning for image classification and segmentation using a sample selection and conditional generative adversarial network
21. An attention-based multi-task model for named entity recognition and intent analysis of chinese online medical questions10.1016/j.jbi.2020.103511 ↗
22. Optimized recognition of CAPTCHA through attention models
23. Attention is all you need
24. An analysis of active learning strategies for sequence labeling tasks
25. Deep active learning for named entity recognition
26. Subsequence based deep active learning for named entity recognition10.18653/v1/2021.acl-long.332 ↗
27. Unbiased query-by-bagging active learning for VHR image classification
28. Z. Huang, W. Xu and K. Yu, “Bidirectional LSTM-CRF models for sequence taggin,” arXiv:1508.01991, 2015.
29. An attention-based BiLSTM-CRF model for Chinese clinic named entity recognition10.1109/ACCESS.2019.2935223 ↗
30. A deep neural network model for the task of named entity recognition