journal article·2023-03-21Open access

Named Entity Recognition Networks Based on Syntactically Constrained Attention

Weiwei Sun, Shengquan Liu, Yan Liu, Lingqi Kong, Zhaorui Jian

Applied Sciences· Volume 13· Issue 6

Abstract

The task of named entity recognition can be transformed into a machine reading comprehension task by associating the query and its context, which contains entity information, with the encoding layer. In this process, the model learns a priori knowledge about the entity, from the query, to achieve good results. However, as the length of the context and query increases, the model struggles with an increasing number of less relevant words, which can distract it from the task. Although attention mechanisms can help the model understand contextual semantic relations, without explicit constraint information, attention may be allocated to less task-relevant words, leading to a bias in the model’s understanding of the context. To address this problem, we propose a new model, the syntactic constraint-based dual-context aggregation network, which uses syntactic information to guide query and context modeling. By incorporating syntactic constraint information into the attention mechanism, the model can better determine the relevance of each word in the context of the task, and selectively focus on the relevant parts of the context. This enhances the model’s ability to read and understand the context, ultimately improving its performance in named entity recognition tasks. Extensive experiments on three datasets, ACE2004, ACE2005, and GENIA, show that this method achieves superior performance when compared to previous methods.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Topic Modeling · Natural Language Processing Techniques · Text and Document Classification Technologies

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

Affiliations

College of Information Science and Engineering, Xinjiang University, Urumqi 830046, China

Xinjiang Multilingual Information Technology Laboratory, College of Information Science and Engineering, Xinjiang University, Urumqi 830046, China

Funding

Natural Science Foundation of Xinjiang Uygur Autonomous Region · National Natural Science Foundation of China

References (35)

Show source-provided references
1. Li, X., Feng, J., Meng, Y., Han, Q., Wu, F., and Li, J. (2019). A unified mrc framework for named entity recognition. arXiv.10.18653/v1/2020.acl-main.519 ↗
2. Zhang, Z., Wu, Y., Zhou, J., Duan, S., Zhao, H., and Wang, R. (2020, January 7–12). Sg-net: Syntax-guided machine reading comprehension. Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA.10.1609/aaai.v34i05.6511 ↗
3. Liu, L., Shang, J., Xu, F., Xiang, R., and Han, J. (2017, January 4–9). Empower sequence labeling with task-aware neural language model. Proceedings of the AAAI Conference on Artificial Intelligence, San Francisco, CA, USA.10.1609/aaai.v32i1.12006 ↗
4. Lin, Y., Liu, L., Ji, H., Yu, D., and Han, J. (August, January 28). Reliability-aware dynamic feature composition for name tagging. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy.
5. Cao, Y., Hu, Z., Chua, T.-S., Liu, Z., and Ji, H. (2019). Low-resource name tagging learned with weakly labeled data. arXiv.10.18653/v1/D19-1025 ↗
6. Lafferty, J., McCallum, A., and Pereira, F.C. (July, January 28). Conditional random fields: Probabilistic models for segmenting and labeling sequence data. Proceedings of the Eighteenth International Conference on Machine Learning (ICML 2001), Williamstown, MA, USA.
7. Finkel, J.R., Grenager, T., and Manning, C. (2005, January 25–30). Incorporating non-local information into information extraction systems by gibbs sampling. Proceedings of the 43rd Annual Meeting of the Association for Computational Linguistics (ACL’05), Ann Arbor, MI, USA.10.3115/1219840.1219885 ↗
8. Liu, X., Zhang, S., Wei, F., and Zhou, M. (2011, January 19–24). Recognizing named entities in tweets. Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, Portland, OR, USA.
9. Peters, M., Neumann, M., Iyyer, M., Gardner, M., and Zettlemoyer, L. (2018, January 1–6). Deep contextualized word representations. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT), New Orleans, LA, USA.10.18653/v1/N18-1202 ↗
10. Alan, A., Duncan, B., and Roland, V. (2018, January 21–25). Contextual string embeddings for sequence labeling. Proceedings of the 27th International Conference on Computational Linguistics, Santa Fe, NM, USA.
11. Devlin, J., Chang, M.-W., Lee, K., and Toutanova, K. (2018). Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv.
12. Finkel, J.R., and Manning, C.D. (2009, January 6–7). Nested named entity recognition. Proceedings of the 2009 Conference on Empirical Methods in Natural Language Processing, Singapore.10.3115/1699510.1699529 ↗
13. Lu, W., and Dan, R. (2015, January 17–21). Joint mention extraction and classification with mention hypergraphs. Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, Lisbon, Portugal.10.18653/v1/D15-1102 ↗
14. Muis, A.O., and Lu, W. (2017, January 7–11). Labeling gaps between words: Recognizing overlapping mentions with mention separators. Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, Copenhagen, Denmark.10.18653/v1/D17-1276 ↗
15. Katiyar, A., and Cardie, C. (2018, January 1–6). Nested named entity recognition revisited. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, New Orleans, LA, USA.10.18653/v1/N18-1079 ↗
16. Wang, B., and Wei, L. (2018). Neural segmental hypergraphs for overlapping mention recognition. arXiv.10.18653/v1/D18-1019 ↗
17. Luan, Y., Wadden, D., He, L., Shah, A., Osten-dorf, M., and Hajishirzi, H. (2019). A general framework for information extraction using dynamic span graphs. arXiv.10.18653/v1/N19-1308 ↗
18. Yu, J., Bohnet, B., and Poesio, M. (2020). Named entity recognition as dependency parsing. arXiv.10.18653/v1/2020.acl-main.577 ↗
19. Hou, F., Wang, R., He, J., and Zhou, Y. (2021). Improving entity linking through semantic reinforced entity embed-dings. arXiv.10.18653/v1/2020.acl-main.612 ↗
20. Yan, H., Gui, T., Dai, J., Guo, Q., Zhang, Z., and Qiu, X. (2021). A unified generative framework for various ner subtasks. arXiv.10.18653/v1/2021.acl-long.451 ↗
21. Mike, L., Yinhan, L., Naman, G., Marjan, G., Abdelrahman, M., Omer, L., Ves, S., and Luke, Z. (2019). Bart: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. arXiv.
22. Li, F., Lin, Z., Zhang, M., and Ji, D. (2021). A Span-Based Model for Joint Overlapped and Discontinuous Named Entity Recognition. arXiv.10.18653/v1/2021.acl-long.372 ↗
23. Yang, S., and Tu, K. (2021). Bottom-up constituency parsing and nested named entity recognition with pointer networks. arXiv.10.18653/v1/2022.acl-long.171 ↗
24. Li, X., Yin, F., Sun, Z., Li, X., Yuan, A., Chai, D., and Zhou, M. (2019). Entity-relation extraction as multiturn question answering. arXiv.10.18653/v1/P19-1129 ↗
25. Zhao, T., Yan, Z., Cao, Y., and Li, Z. (2021, January 7–15). Asking effective and diverse questions: A machine reading comprehension based framework for joint entity-relation extraction. Proceedings of the Twenty-Ninth International Conference on Inter-national Joint Conferences on Artificial Intelligence, Yokohama, Japan.10.24963/ijcai.2020/546 ↗
26. Yang, P., Cong, X., Sun, Z., and Liu, X. (2021). Enhanced language representation with label knowledge for span extraction. arXiv.10.18653/v1/2021.emnlp-main.379 ↗
27. Huang, B., and Carley, K.M. (2019). Syntax-aware aspect level sentiment classification with graph attention networks. arXiv.10.18653/v1/D19-1549 ↗
28. Zhang, C., Li, Q., and Song, D. (2019). Aspect-based sentiment classification with aspect-specific graph convolutional networks. arXiv.10.18653/v1/D19-1464 ↗
29. Hou, X., Huang, J., Wang, G., Qi, P., and Zhou, B. (2021). Selective attention based graph convolutional networks for aspect-level sentiment classification. arXiv.10.18653/v1/11.textgraphs-1.8 ↗
30. Li, R., Chen, H., Feng, F., Ma, Z., and Hovy, E. (2021, January 1–6). Dual graph convolutional networks for aspect-based sentiment analysis. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, Bangkok, Thailand.10.18653/v1/2021.acl-long.494 ↗
31. Fu, T.J., Li, P.H., and Ma, W.Y. (August, January 28). Graphrel: Modeling text as relational graphs for joint entity and re-lation extraction. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy.
32. Tian, Y., Chen, G., Song, Y., and Wan, X. (2021, January 1–6). Dependency-driven relation extraction with attentive graph convolu-tional networks. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, Bangkok, Thailand.10.18653/v1/2021.acl-long.344 ↗
33. Wu, Y., Schuster, M., Chen, Z., Le, Q.V., Norouzi, M., Macherey, W., Krikun, M., Cao, Y., Gao, Q., and Macherey, K. (2016). Google’s neural machine translation system: Bridging the gap between human and machine translation. arXiv.
34. Lin, H., Lu, Y., Han, X., and Sun, L. (2019). Sequence-to-nuggets: Nested entity mention detection via anchor-region networks. arXiv.10.18653/v1/P19-1511 ↗
35. Straková, J., Straka, M., and Hajič, J. (2019). Neural architectures for nested ner through linearization. arXiv.10.18653/v1/P19-1527 ↗