Research Article

Thematic classification of ancient Chinese poetry using TwinEmbedAttentionNet

Haoxiang Chang1,*, Beitong Li2, Fengwei Wang3, Yue Bin4
1. Hebei Normal University
2. City University of Hong Kong
3. New York university
4. Guanghua Qidi College

* Corresponding author: [email protected]

Abstract

Ancient Chinese poetry, a reflection of China’s rich cultural and philosophical fabric, encapsulates the evolving socio-cultural nuances of its historical epochs. Despite its cultural significance, there remains an evident lacuna in comprehensively classifying its recurring themes, due in part to the conciseness and polysemy intrinsic to the language and the essentiality of embedded cultural and historical contexts. Addressing this challenge, this study introduces TwinEmbedAttentionNet, a pioneering method tailored for the thematic classification of ancient Chinese poetry. This approach synergistically integrates pretrained word and sentence embeddings with an attention mechanism, ensuring the nuanced representation of the poetry’s intricate details. Our results showcase its superior performance over existing models. Furthermore, an in-depth examination of model components offers insights into their respective thematic categorization efficacies. This research not only advances the academic understanding of ancient Chinese poetry but also underscores the potential of innovative neural networks in processing historically rich textual data.

Keywords: Ancient Chinese Poetry; Thematic Classification; TwinEmbedAttentionNet
Published: February 21, 2024
DOI: 10.54254/2755-2721/39/20230619
Volume: ACE Vol.39
pp. 302-314
Download PDF

References

  1. CKIPLab. Albert base model for Chinese on hugging face model hub.https://uggingface.co/ckiplab/albert-base-chinese, 2023. Accessed: 2023-08-26.
  2. Yiming Cui, Wanxiang Che, Ting Liu, Bing Qin, Shijin Wang, and Guoping Hu. Revisiting pre-rained models for Chinese natural language processing. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: Findings, pages 657–668, Online, November 2020. Association for Computational Linguistics.
  3. Nico H Frijda and Louise Sundararajan. Emotion refinement: A theory inspired by Chinese poetics. Perspectives on Psychological Science, 2(3):227–241, 2007.
  4. Chaoshuai Fu, Pan Li, Yadong Wu, Guiyu Zhang, and Jing Gao. Research on poetry sentiment analysis based on imagery. Modern Computer, 28(12):9–16, 2022. In Chinese.
  5. Sean Golden. No-man’s land on the common borders of linguistics, philosophy & sinology: Polysemy in the translation of ancient Chinese texts. The Translator, 2(2):277–304, 1996.
  6. Sepp Hochreiter and J¨urgen Schmidhuber. Long short-term memory. Neural computation, 9(8):1735–1780, 1997.
  7. Jingrui Hou and Ping Wang. Assemble the shallow or integrate a deep? toward a lightweight solution for glyph-aware Chinese text classification. Plos one, 18(7):e0289204, 2023.
  8. Yufang Hou and Anette Frank. Analyzing sentiment in classical chinese poetry. In Proceedings of the 9th SIGHUM workshop on language Technology for Cultural Heritage, social sciences, and humanities (LaTeCH), pages 15–24, 2015.
  9. Renfen Hu and Yuchen Zhu. Automatic classification of Tang poetry themes. Acta Scientiarum Naturalium Universitatis Pekinensis, 2:262–268, 2015.
  10. Jacob Devlin Ming-Wei Chang Kenton and Lee Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of NAACL-HLT, pages 4171–4186, 2019.
  11. Yoon Kim. Convolutional neural networks for sentence classification. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1746–1751, Doha, Qatar, October 2014. Association for Computational Linguistics.
  12. Charles Kwong. Nature and religion in ancient Chinese poetry. Journal of Asian History, 37(1):33–69, 2003.
  13. Siwei Lai, Liheng Xu, Kang Liu, and Jun Zhao. Recurrent convolutional neural networks for text classification. In Proceedings of the AAAI conference on artificial intelligence, volume 29, 2015.
  14. Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. ALBERT: A lite BERT for self-supervised learning of language representations. arXiv preprint arXiv:1909.11942, 2019.
  15. Yanfang Liu. A preliminary study on the dramatic factors of ancient Chinese poetry under the changing geographical environment. Journal of Environmental and Public Health, 2022, 2022.
  16. Xing Lu. Rhetoric in ancient China, fifth to third century BCE: A comparison with classical Greek rhetoric. Univ of South Carolina Press, 2022.
  17. Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781, 2013.
  18. Yabo Shen, Yong Ma, Chunguo Li, Shidang Li, Mingliang Gu, Chaojin Zhang, Yun Jin, and Yingli Shen. Sentiment analysis for Tang poetry based on imagery aided and classifier fusion. In Artificial Intelligence for Communications and Networks: First EAI International Conference, AICON 2019, Harbin, China, May 25–26, 2019, Proceedings, Part II 1, pages 283–290. Springer, 2019.
  19. Yongrui Tang, Xumei Wang, Peng Qi, and Yan Sun. A neural network-based sentiment analysis scheme for Tang poetry. In 2020 International Wireless Communications and Mobile Computing (IWCMC), pages 1783–1788, 2020.
  20. Naikan Tao. Subjectivity and innovation in contemporary Chinese poetry (part 2). Journal of the Oriental Society of Australia, 44:41–66, 2012.
  21. Huishuang Tian, Kexin Yang, Dayiheng Liu, and Jiancheng Lv. AnchiBERT: A pre-trained model for ancient Chinese language understanding and generation. In 2021 International Joint Conference on Neural Networks (IJCNN), pages 1–8. IEEE, 2021.
  22. Kui Shin Voo and Larry Hovee. The lamb of god hidden in the ancient Chinese characters. CEN Technical Journal, 13(1):81–91, 1999.
  23. Ping Wang, Jiangnan Li, and Jingrui Hou. S2SAN: A sentence-to-sentence attention network for sentiment analysis of online reviews. Decision Support Systems, 149:113603, 2021.
  24. Ping Wang, Shitou Zhang, Zuchao Li, and Jingrui Hou. Enhancing Ancient Chinese understanding with derived noisy syntax trees. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 4: Student Research Workshop), pages 83–92, Toronto, Canada, July 2023. Association for Computational Linguistics.
  25. Bin Wu, Jia Ji, Lin Meng, Chuan Shi, Huidong Zhao, and Yiqing Li. Sentiment analysis of Tang poems and Song lyrics based on transfer learning. Journal of Electronics, 11:2780–2787, 2016. In Chinese.
  26. Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Russ R Salakhutdinov, and Quoc V Le. XLNet: Generalized autoregressive pretraining for language understanding. Advances in neural information processing systems, 32, 2019.
  27. Michelle Yeh. “There are no camels in the Koran”: What is modern about modern Chinese poetry?In New Perspectives on Contemporary Chinese Poetry, pages 9–26. Springer, 2008.
  28. Hang Zhang and Zhongshi He. Research on poetry style classification technique based on BLSTM. Modern Computer, 02:12–17+23, 2020. In Chinese.
  29. Jiaqi Zhao, Yuting Wei, and Bin Wu. Analysis of the social network and the evolution of the influence of ancient Chinese poets. Social Science Computer Review, 40(4):1014–1034, 2022.
  30. Zhenjie Zhao and Xiaojuan Ma. Shadowplay2. 5d: A 360-degree video authoring tool for immersive appreciation of classical Chinese poetry. Journal on Computing and Cultural Heritage (JOCCH), 13(1):1–20, 2020.