Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
80 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

"Is Whole Word Masking Always Better for Chinese BERT?": Probing on Chinese Grammatical Error Correction (2203.00286v2)

Published 1 Mar 2022 in cs.CL

Abstract: Whole word masking (WWM), which masks all subwords corresponding to a word at once, makes a better English BERT model. For the Chinese language, however, there is no subword because each token is an atomic character. The meaning of a word in Chinese is different in that a word is a compositional unit consisting of multiple characters. Such difference motivates us to investigate whether WWM leads to better context understanding ability for Chinese BERT. To achieve this, we introduce two probing tasks related to grammatical error correction and ask pretrained models to revise or insert tokens in a masked LLMing manner. We construct a dataset including labels for 19,075 tokens in 10,448 sentences. We train three Chinese BERT models with standard character-level masking (CLM), WWM, and a combination of CLM and WWM, respectively. Our major findings are as follows: First, when one character needs to be inserted or replaced, the model trained with CLM performs the best. Second, when more than one character needs to be handled, WWM is the key to better performance. Finally, when being fine-tuned on sentence-level downstream tasks, models trained with different masking strategies perform comparably.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Yong Dai (33 papers)
  2. Linyang Li (57 papers)
  3. Cong Zhou (39 papers)
  4. Zhangyin Feng (14 papers)
  5. Enbo Zhao (8 papers)
  6. Xipeng Qiu (257 papers)
  7. Piji Li (75 papers)
  8. Duyu Tang (65 papers)
Citations (10)