Few-Shot Learning Sensitive Recognition Method Based on Prototypical Network

Autor: Guoquan Yuan, Xinjian Zhao, Liu Li, Song Zhang, Shanming Wei
Jazyk: angličtina
Rok vydání: 2024
Předmět:
Zdroj: Mathematics, Vol 12, Iss 17, p 2791 (2024)
Druh dokumentu: article
ISSN: 2227-7390
DOI: 10.3390/math12172791
Popis: Traditional machine learning-based entity extraction methods rely heavily on feature engineering by experts, and the generalization ability of the model is poor. Prototype networks, on the other hand, can effectively use a small amount of labeled data to train models while using category prototypes to enhance the generalization ability of the models. Therefore, this paper proposes a prototype network-based named entity recognition (NER) method, namely the FSPN-NER model, to solve the problem of difficult recognition of sensitive data in data-sparse text. The model utilizes the positional coding model (PCM) to pre-train the data and perform feature extraction, then computes the prototype vectors to achieve entity matching, and finally introduces a boundary detection module to enhance the performance of the prototype network in the named entity recognition task. The model in this paper is compared with LSTM, BiLSTM, CRF, Transformer and their combination models, and the experimental results on the test dataset show that the model outperforms the comparative models with an accuracy of 84.8%, a recall of 85.8% and an F1 value of 0.853.
Databáze: Directory of Open Access Journals
Nepřihlášeným uživatelům se plný text nezobrazuje