journal article·2024-02-07Open access

Self-Distillation and Pinyin Character Prediction for Chinese Spelling Correction Based on Multimodality

Li He, Feng Liu, Jie Liu, Jianyong Duan, Hao Wang

Applied Sciences· Volume 14· Issue 4

Abstract

Chinese spelling correction (CSC) constitutes a pivotal and enduring goal in natural language processing, serving as a foundational element for various language-related tasks by detecting and rectifying spelling errors in textual content. Numerous methods for Chinese spelling correction leverage multimodal information, including character, character sound, and character shape, to establish connections between incorrect and correct characters. Research indicates that a majority of spelling errors stem from pinyin similarity, with character similarity accounting for half of the errors. Consequently, effectively modeling character pinyin and character relationships emerges as a key challenge in the CSC task. In this study, we propose enhancing the CSC task by introducing the pinyin character prediction task. We employ an adaptive weighting method in the pinyin character prediction task to address predictions in a more granular manner, achieving a balance between the two prediction tasks. The proposed model, SPMSpell, utilizes ChineseBERT as an encoder to capture multimodal feature information simultaneously. It incorporates three parallel decoders for character prediction, pinyin prediction, and self-distillation modules. To mitigate potential overfitting concerning pinyin, a self-distillation method is introduced to prioritize character information in predictions. Extensive experiments conducted on three SIGHAN benchmark tests showcase that the model introduced in this paper attains a superior level of performance. This substantiates the correctness and superiority of the adaptive weighted pinyin character prediction task and underscores the effectiveness of the self-distillation module.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Multimodal Machine Learning Applications · Natural Language Processing Techniques · Topic Modeling

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

Affiliations

School of Information Science and Technology, North China University of Technology, Beijing 100144, China

CNONIX National Standard Application and Promotion Lab, Beijing 100144, China

Funding

National Key Research and Development Program of China · National Natural Science Foundation of China · R&D Program of Beijing Municipal Education Commission · Beijing Urban Governance Research Base of North China University of Technology

References (39)

Show source-provided references
1. Martins, B., and Silva, M.J. (2004). Advances in Natural Language Processing, Proceedings of the International Conference on Natural Language Processing, EsTAL 2004, Alicante, Spain, 20–22 October 2004, Springer.
2. Afli, H., Qiu, Z., Way, A., and Sheridan, P. (2016). Using SMT for OCR Error Correction of Historical Texts, European Language Resources Association (ELRA). Language Resources and Evaluation.
3. Huang, L., Li, J., Jiang, W., Zhang, Z., Chen, M., Wang, S., and Xiao, J. (2021, January 1–6). PHMOSpell: Phonological and Morphological Knowledge Guided Chinese Spelling Check. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), Online.10.18653/v1/2021.acl-long.464 ↗
4. Hong, Y., Yu, X., He, N., Liu, N., and Liu, J. (2019). Empirical Methods in Natural Language Processing, Association for Computational Linguistics.
5. Zhang, S., Huang, H., Liu, J., and Li, H. (2020, January 5–10). Spelling Error Correction with Soft-Masked BERT. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Online.10.18653/v1/2020.acl-main.82 ↗
6. Cheng, X., Xu, W., Chen, K., Jiang, S., Wang, F., Wang, T., Chu, W., and Qi, Y. (2020, January 5–10). SpellGCN: Incorporating Phonological and Visual Similarities into Language Models for Chinese Spelling Check. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Online.10.18653/v1/2020.acl-main.81 ↗
7. Liu, S., Yang, T., Yue, T., Zhang, F., and Wang, D. (2021, January 1–6). PLOME: Pre-training with Misspelled Knowledge for Chinese Spelling Correction. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), Online.10.18653/v1/2021.acl-long.233 ↗
8. Xu, H.-D., Li, Z., Zhou, Q., Li, C., Wang, Z., Cao, Y., Huang, H., and Mao, X.-L. (2021). Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, Association for Computational Linguistics.
9. Liu, C.-L., Lai, M.-H., Chuang, Y.-H., and Lee, C.-Y. (2010). Coling 2010: Posters, Coling 2010 Organizing Committee.
10. Wang, B., Che, W., Wu, D., Wang, S., Hu, G., and Liu, T. (2021). Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, Association for Computational Linguistics.
11. Sun, Z., Li, X., Sun, X., Meng, Y., Ao, X., He, Q., Wu, F., and Li, J. (2021, January 1–6). ChineseBERT: Chinese Pretraining Enhanced by Glyph and Pinyin Information. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, Online.10.18653/v1/2021.acl-long.161 ↗
12. Guo, Z., Ni, Y., Wang, K., Zhu, W., and Xie, G. (2021). Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, Association for Computational Linguistics.
13. Li, Y., Zhou, Q., Li, Y., Li, Z., Liu, R., Sun, R., Wang, Z., Li, C., Cao, Y., and Zheng, H.-T. (2022). Findings of the Association for Computational Linguistics: ACL 2022, Association for Computational Linguistics.
14. Zhu, C., Ying, Z., Zhang, B., and Mao, F. (2022). Findings of the Association for Computational Linguistics: ACL 2022, Association for Computational Linguistics.
15. Zhang, R., Pang, C., Zhang, C., Wang, S., He, Z., Sun, Y., Wu, H., and Wang, H. (2021). Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, Association for Computational Linguistics.
16. Li, J., Wang, Q., Mao, Z., Guo, J., Yang, Y., and Zhang, Y. (2022, January 7–11). Improving Chinese Spelling Check by Character Pronunciation Prediction: The Effects of Adaptivity and Granularity. Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, Abu Dhabi, United Arab Emirates.10.18653/v1/2022.emnlp-main.287 ↗
17. Multimodal sentiment intensity analysis in videos: Facial gestures and verbal messages10.1109/MIS.2016.94 ↗
18. Zhang, D., Li, S., Zhu, Q., and Zhou, G. (2019, January 21–25). Effective Sentiment-relevant Word Selection for Multi-modal Sentiment Analysis in Spoken Language. Proceedings of the 27th ACM International Conference on Multimedia, Nice, France.10.1145/3343031.3350987 ↗
19. VQA: Visual Question Answering
20. Chao, W.L., Hu, H., and Sha, F. (2018). North American Chapter of the Association for Computational Linguistics, Association for Computational Linguistics.
21. Hitschler, J., and Riezler, S. (2016, January 7–12). Multimodal Pivots for Image Caption Translation. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, Berlin, Germany.10.18653/v1/P16-1227 ↗
22. Barrault, L., Bougares, F., Specia, L., Lala, C., Elliott, D., and Frank, S. (2018, January 27). Findings of the Third Shared Task on Multimodal Machine Translation. Proceedings of the Third Conference on Machine Translation: Shared Task Papers, Belgium, Brussels.10.18653/v1/W18-6402 ↗
23. Su, W., Zhu, X., Cao, Y., Li, B., Lu, L., Wei, F., and Dai, J. (2020, January 26–30). VL-BERT: Pre-training of Generic Visual-Linguistic Representations. Proceedings of the International Conference on Learning Representations, Addis Ababa, Ethiopia.
24. Li, G., Duan, N., Fang, Y., Gong, M., Jiang, D., and Zhou, M. (2019). Unicoder-VL: A Universal Encoder for Vision and Language by Cross-modal Pre-training. arXiv.10.1609/aaai.v34i07.6795 ↗
25. Tan, H., and Bansal, M. (2019, January 3–7). LXMERT: Learning Cross-Modality Encoder Representations from Transformers. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, Hong Kong, China.10.18653/v1/D19-1514 ↗
26. Meng, Y., Wu, W., Wang, F., Li, X., Nie, P., Yin, F., Li, M., Han, Q., Sun, X., and Li, J. (2019, January 8–14). Glyce: Glyph-vectors for Chinese Character Representations. Proceedings of the 33rd International Conference on Neural Information Processing Systems, Vancouver, BC, Canada.
27. Wei, X., Huang, J., Yu, H., and Liu, Q. (2023). Findings of the Association for Computational Linguistics: ACL 2023, Association for Computational Linguistics.
28. Distilling the Knowledge in a Neural Network
29. Zhang, Y., Xiang, T., Hospedales, T.M., and Lu, H. (2018, January 18–23). Deep mutual learning. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA.10.1109/CVPR.2018.00454 ↗
30. Mobahi, H., Farajtabar, M., and Bartlett, P.L. (2020, January 6–12). Self-Distillation Amplifies Regularization in Hilbert Space. Proceedings of the 34th Conference on Neural Information Processing Systems (NeurIPS 2020), Vancouver, BC, Canada.
31. Zhang, X., Yan, H., Yu, S., and Qiu, X. (2022). Sdcl: Self-distillation contrastive learning for Chinese spell checking. arXiv.
32. Liu, S., Song, S., Yue, T., Yang, T., Cai, H., Yu, T., and Sun, S. (2022). Findings of the Association for Computational Linguistics: ACL 2022, Association for Computational Linguistics.
33. Devlin, J., Chang, M.-W., Lee, K., and Toutanova, K. (2019, January 2–7). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), Minneapolis, MN, USA.
34. Wu, S.H., Liu, C.L., and Lee, L.H. (2013, January 14–19). Chinese Spelling Check Evaluation at SIGHAN Bake-off 2013. Proceedings of the International Joint Conference on Natural Language Processing. Asian Federation of Natural Language Processing, Nagoya, Japan.
35. Yu, L.-C., Lee, L.-H., Tseng, Y.-H., and Chen, H.H. (2014, January 20–21). Overview of SIGHAN 2014 Bake-off for Chinese Spelling Check. Proceedings of the Cips-sighan Joint Conference on Chinese Language Processing, Wuhan, China.10.3115/v1/W14-6820 ↗
36. Tseng, Y.-H., Lee, L.-H., Chang, L.-P., and Chen, H.H. (2015, January 30–31). Introduction to SIGHAN 2015 Bake-off for Chinese Spelling Check. Proceedings of the 8th SIGHAN Workshop on Chinese Language Processing (SIGHAN’15), Beijing, China.10.18653/v1/W15-3106 ↗
37. Wang, D., Song, Y., Li, J., Han, J., and Zhang, H. (November, January 31). A hybrid approach to automatic corpus generation for chinese spelling check. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium.10.18653/v1/D18-1273 ↗
38. Li, P. (2022, January 12–17). uChecker: Masked Pretrained Language Models as Unsupervised Chinese Spelling Checkers. Proceedings of the 29th International Conference on Computational Linguistics, Gyeongju, Republic of Korea.
39. He, Z., Zhu, Y., Wang, L., and Xu, L. (2023, January 9–14). UMRSpell: Unifying the Detection and Correction Parts of Pre-trained Models towards Chinese Missing, Redundant, and Spelling Correction. Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Toronto, ON, Canada.10.18653/v1/2023.acl-long.570 ↗