Automatic recognition of cross-language classic entities based on large language models
Source abstract
Abstract
Abstract Large language models (LLMs) hold immense potential for the intelligent processing of classical texts. They offer new approaches for digital research on classical literature resources, cross-linguistic understanding, text knowledge mining, and the promotion and preservation of cultural heritage. To explore the performance of named entity recognition (NER) tasks supported by LLMs, this study first fine-tuned four LLMs—Xunzi-Baichuan, Baichuan2-7B-Base, Xunzi-GLM, and ChatGLM3-6B—using supervised fine-tuning methods based on open-source models. Zero-shot, one-shot, and few-shot prompting methods were then employed to validate the performance of these models in the NER tasks. Finally, the applicability of fine-tuning LLMs in specific domains for NER tasks was examined using BLEU-4, ROUGE-1, ROUGE-2, ROUGE-L, precision, recall, and F1 scores as evaluation metrics for model performance and applicability. The experimental results indicated that fine-tuned LLMs achieved high scores across multiple metrics, demonstrating strong performance in text generation. In entity extraction, the Xunzi-Baichuan model performed optimally across several metrics and also exhibited generalization capabilities. In addition, we have open-sourced our models for community research. https://github.com/Xunzi-LLM-of-Chinese-classics/XunziALLM.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Topic Modeling · Natural Language Processing Techniques · Advanced Text Analysis Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
References (55)
Show source-provided references
1. Huang, S. Q. & Wang, D. B. Review and trend of researches on ancient Chinese character information processing. Libr. Inf. Serv. 61, 43–49 (2017). (in Chinese).
2. Su, Q., Hu, R. F., Zhu, Y. C., Yan, C. X. & Wang, J. Key technologies for digitization of ancient Chinese books. Digit. Humanit. Res. 1, 83–88 (2021). (in Chinese).
3. Deng, S. H., Hu, H. T., Wang, H. & Wang, D. B. Review of automatic processing of ancient Chinese character and prospects for its development trends in the new era. Sci. Inf. Res. 3, 1–20 (2021). (in Chinese).
4. Hu, R. F., Li, S. & Zhu, Y. C. Knowledge representation and sentence segmentation of ancient Chinese based on deep language model. J. Chin. Inf. Process. 35, 8–15 (2021). (in Chinese).
5. Liu, J. Y. & Zhou, X. W. Construction of computer-aided collation repository of ancient editions. Libr. Theory Pract. 54–58 (2017). (in Chinese).
6. Liu, D. H., Yang, K. X. & Qu, Q. Ancient–modern Chinese translation with a new large training dataset. (TALLIP 19). ACM Trans. Asian Low.-Resour. Lang. Inf. Process. 19, 1–13 (2019).10.1145/3314943 ↗
7. Shu, L., Guo, Y. L., Wang, H. P., Zhang, X. T. & Hu, R. F. The construction and application of ancient Chinese corpus with word sense annotation. J. Chin. Inf. Process. 36, 21–30 (2022). (in Chinese).
8. Zhuo, M. C., Sang, J. D. Z. & Cai, R. J. Ancient Chinese named entity recognition based on deeping learning. Comput. Sci. Appl. 10, 1359–1366 (2020).
9. Xu, C. F., Ye, H. Y. & Bao, P. Automatic recognition of produce entities from local chronicles with deep learning. Data Anal. Knowl. Discov. 4, 86–97 (2020). (in Chinese).
10. Zhu, X. Named entity recognition and part-of-speech tagging for classical Chinese chronicle texts. (Fudan University, 2012). (in Chinese).
11. Huang, P. J. & Wang, L. Y. Rule-based Chinese person names identification in ancient Chinese literature of annals-biography (Jizhuan) style. Libr. Inf. Serv. 57, 120–124 (2013). (in Chinese).
12. Huang, S. Q., Wang, D. B., & He, I. Research on constructing automatic recognition model for ancient Chinese place names based on pre-qin corpus. Libr. Inf. Serv. 59, 135–140 (2015). (in Chinese).
13. Li, N. Construction of automatic recognition model of multi-type named entities for local gazetteers. Libr. Trib. 41, 113–123 (2021). (in Chinese).
14. Xie, J., Liu, J. F. & Wang, D. B. Study on named entity recognition of traditional Chinese medicine classics: taking SikuBERT pre-training model enhanced by the flat-lattice transformer for example. Libr. Trib. 42, 51–60 (2022). (in Chinese).
15. Lin, L. T., Wang, D. B., Llu, J. F., Li, B. & Feng, M. X. Animal named entity recognition in ancient Chinese Classics from the perspective of digital humanities: based on SikuBERT pre-training model. Libr. Trib. 42, 42–50 (2022). (in Chinese).
16. Cui, J. F., Zheng, D. J., Wang, D. B. & Li, T. T. Named entity recognition of chrysanthemum poetry based on deep learning models. Inf. Stud.: Theory Appl. 43, 150–155 (2020). (in Chinese).
17. Tang, X. M., Su, Q. & Wang, J. CHisIEC: an information extraction corpus for ancient Chinese history. LREC-COLING 2024, 3192–3202 (2024).
18. Tang, X. M., Su, Q. & Wang, J. Classifying ancient Chinese text relations with entity information. Data Anal. Knowl. Discov. 8, 114–124 (2024). (in Chinese).
19. Qin, H. R. Research on the classification of various classics of sinology citation series by integrating entity feature knowledge (Nanjing Agricultural University, 2019). (in Chinese).
20. Hu, Y. Y., Zuo, J. L. & Ceng, X. Q. Joint extraction of ancient Chinese entity relations by combining global correspondence matrix and relative position information. In Proc. 22nd Chinese National Conference on Computational Linguistics. 241–252 (2023).
21. Li, C., Yang, W. & Zhang, J. J. X-Instruction: Aligning Language Model in Low-resource Languages with Self-curated Cross-lingual Instructions. ACL (Findings) 546-566 (2024).10.18653/v1/2024.findings-acl.30 ↗
22. Liu, L., Liu, C. F. & LI, W. Q. Perspective of digital humanities on person names in Chinese pre-qin classic. J. Comput. Cult. Herit. 17, 1–19 (2024).10.1145/3690391 ↗
23. Wang, S. Q., Shi, L. L. & Pu, L. W. Named entity recognition for ancient books based on continual pre-training method and context augmentation strategy. Chinese Information Processing Society of China, 14–22 (2023).
24. Zhang, X. H., Liu, T. Y. & Zhang, W. Y. System report for CCL23-Eval Task 1: information theory constraint and paragraph-based classical named entity recognition. Chinese Information Processing Society of China,1–13 (2023).
25. Li, J. L., Yu, Y. R. & Liu, X. Y. GuNER based on incremental pretraining and adversarial learning. Chinese Information Processing Society of China, 23–33 (2023).
26. Yan, C. X., Tang, X. M., Yang, H., Su, Q. & Wang, J. HanNER: a general framework for the automatic extraction of named entities in ancient Chinese Corpora. J. China Soc. Sci. Tech. Inf. 42, 203–216 (2023).
27. Gu, Y. J., Qu, X. Y. & Wang, Z. F. Delving deep into regularity: a simple but effective method for Chinese NER. https://arxiv.org/pdf/2204.05544.
28. Xiong, D., Xu, J. & Lu, Q. Recognition and extraction of titles in Chinese Diachronic Corpora. In Proc. Chinese Lexical Semantic Workshop, 6 (2014).10.1007/978-3-319-14331-6_31 ↗
29. Xie, T. The Research and Implementation of Named Entity Recognition based on Ancient Literature (Beijing University of Posts and Telecommunications, 2018). (in Chinese).
30. Kang, W. J., Zuo, J. L. & Jie, A. Q. A Study on the Recognition of Named Entities of Ancient Books Using Lexical Information. Chinese Information Processing Society of China, 229–240 (2023).
31. Lv, Z. Y. Research and implementation of named entity recognition in the field of ancient Chinese (Dalian University of Technology, 2020). (in Chinese).
32. Jiang, L. Y., Wu, Y. D., Wang, S. H., Zhang, W. H. & Li, Y. Named entity recognition method incorporating stroke features. Sci. Technol. Eng. 23, 7436–7443 (2023). (in Chinese).
33. Chen, Q. L., Huang, G. H., Wang, Y. Z., Zhang, K. & Du, Z. Y. An adaptive entity recognition method with attention mechanism. J. Chin. Inf. Process. 35, 55–62 (2021). +73(in Chinese).
34. Wang, T., Wang, N., Cui, Y. P. & Liu, J. Agricultural technology knowledge intelligent question-answering system based on large language model. Smart Agric. 5, 105–116 (2023).
35. Ding, Z. J., Wei, W. & Qu, X. Y. Improving Pseudo Labels with Global-Local Denoising Framework for Cross-lingual Named Entity Recognition. IJCAI 6252-6260 (2024).10.24963/ijcai.2024/691 ↗
36. Qiao, D., Su, Y. & Wang, P. Z. OpenBA-V2: Reaching 77.3% High Compression Ratio with Fast Multi-Stage Pruning. CoRR abs/2405.05957 (2024).
37. Zheng, J. Y., Fan, F. F. & Li, J. Q. Incorporating Lexical and Syntactic Knowledge for Unsupervised Cross-Lingual Transfer. Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation. 8986-8997 (2024).
38. Jiang, G. C., Luo, Z. Q. & Shi, Y. C. ToNER: Type-oriented Named Entity Recognition with Generative Language Model. LREC/COLING 16251-16262 (2024).
39. Riaz, H., Dumitru, R. G. & Surdeanu, M. ELLEN: extremely lightly supervised learning for efficient named entity recognition. LREC-COLING 2024, 5622–5636, https://aclanthology.org/2024.lrec-main.499 (2024).
40. Heng, Y. Z., Deng, C. Y. & Li, Y. T. ProgGen: Generating Named Entity Recognition Datasets Step-by-step with Self-Reflexive Large Language Models. ACL (Findings) 15992-16030 (2024).10.18653/v1/2024.findings-acl.947 ↗
41. Kim, S., Seo, K., Chae, H., Yeo, J. & Lee, D. VerifiNER: Verification-augmented NER via Knowledge-grounded Reasoning with Large Language Models. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) 2441-2461 (2024).10.18653/v1/2024.acl-long.134 ↗
42. Wu, Z. F., Logan, IV R. L., Walsh, P., Bhagia, A., Groeneveld, D., Singh, S., Beltagy, I. Continued pretraining for better zero- and few-shot promptability. In: Proc. Conference on Empirical Methods in Natural Language Processing, 4517–4531 (2022).10.18653/v1/2022.emnlp-main.300 ↗
43. Brown, T. et al. Language models are few-shot learners. Advances in Neural Information Processing Systems 33 (NeurIPS 2020).2020;1–25.
44. Wei, J., Bosma, M., Zhao, V. Y., Guu, K., Wei, Y. A. Fine-tuned language models are zero-shot learners. ICLR 2022 Oral.1–46 (2022).
45. Wei, J., Wang, X. W., Schuurmans, D., Bosma, M. Chain-of-thought prompting elicits reasoning in large language models. Neural Information Processing Systems (NeurIPS 2022).1–14 (2022).
46. Chang, W. L., Zheng, L. M. & Sheng, Y. Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preference. Forty-first International Conference on Machine Learning (2024).
47. Mangrulkar, S., et al. State-of-the-art Parameter-Efficient Fine-Tuning (PEFT) methods. https://github.com/huggingface/peft.
48. Hu, Z. Q., Lan, Y. H. & Wang L. LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Models. EMNLP 5254-5276 (2023).10.18653/v1/2023.emnlp-main.319 ↗
49. Sun, J. W., Mei, C. L. & Wei, L. L. Dial-insight: Fine-tuning Large Language Models with High-Quality Domain-Specific Data Preventing Capability Collapse. CoRR abs/2403.09167 (2024).
50. Yang, A. Y. et al. Baichuan 2: Open Large-scale Language Models. CoRR abs/2309.10305 (2023).
51. Du, Z. X., Qian, Y. J. & Liu X. GLM: general language model pretraining with autoregressive blank infilling. In Proc. 60th Annual Meeting of the Association for Computational Linguistics 320–335 (Association for Computational Linguistics, 2022).10.18653/v1/2022.acl-long.26 ↗
52. Papineni, K., Roukos, S., Ward, T. & Zhu, W. BLEU: a method for automatic evaluation of machine translation. In: Proc. 40th Annual Meeting of the Association for Computational Linguistics (ACL) 311–318 (Association for Computational Linguistics, 2002).10.3115/1073083.1073135 ↗
53. Lin, C.-Y. ROUGE: a package for automatic evaluation of summaries. In Proc. Workshop on Text Summarization Branches Out. 74–81 (2004).
54. Chinchor, N. MUC-4 evaluation metrics. In Proc. Conference on Message Understanding 22–29 (Association for Computational Linguistics, 1992).10.3115/1072064.1072067 ↗
55. Goutte, C. & Gaussier, E. A probabilistic interpretation of precision, recall and F-Score, with implication for evaluation. In: Losada, D. E. &Fernández-Luna, J. M. (eds) Advances in Information Retrieval. ECIR 2005. Lecture Notes in Computer Science, Vol. 3408. https://doi.org/10.1007/978-3-540-31865-1_25 (Springer, 2005).10.1007/978-3-540-31865-1_25 ↗