From BERT to LLMs: Comparing and Understanding Chinese Classifier Prediction in Language Models
Ziqi Zhang, Jianfei Ma, Emmanuele Chersoni, Jieshun You, Zhaoxin Feng
TL;DR
This paper investigates how Chinese classifiers are predicted by BERT and autoregressive LLMs, using masking-based probing and attention-manipulation to analyze information contribution and attention dynamics. It shows that BERT consistently outperforms LLMs on classifier prediction, and that bidirectional attention plays a critical role in achieving high accuracy and robust predictions. Fine-tuning improves LLM performance but does not close the gap with BERT, indicating architectural limitations beyond model size. The findings highlight the importance of head-noun dependencies and contextual integration for classifier selection, suggesting future work should enhance bidirectional/contextual capabilities in LLMs for better linguistic competence in Chinese.
Abstract
Classifiers are an important and defining feature of the Chinese language, and their correct prediction is key to numerous educational applications. Yet, whether the most popular Large Language Models (LLMs) possess proper knowledge the Chinese classifiers is an issue that has largely remain unexplored in the Natural Language Processing (NLP) literature. To address such a question, we employ various masking strategies to evaluate the LLMs' intrinsic ability, the contribution of different sentence elements, and the working of the attention mechanisms during prediction. Besides, we explore fine-tuning for LLMs to enhance the classifier performance. Our findings reveal that LLMs perform worse than BERT, even with fine-tuning. The prediction, as expected, greatly benefits from the information about the following noun, which also explains the advantage of models with a bidirectional attention mechanism such as BERT.
