Lune

ACL Findings2022

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

Yong Dai, Linyang Li, Cong Zhou, Zhangyin Feng, Enbo Zhao, Xipeng Qiu, Piji Li, Duyu Tang

Abstract

Whole word masking (WWM), which masks all subwords corresponding to a word at once, makes a better English BERT model (Sennrich et al., 2016).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 language modeling 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ChineseBERT: Chinese Pretraining Enhanced by Glyph and Pinyin Information cites Revisiting Pre-Trained Models for Chinese Natural Language Processing
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on3

  1. Revisiting Pre-Trained Models for Chinese Natural Language ProcessingYiming Cui, Wanxiang Che, Ting Liu, Bing Qin et al.EMNLP Findings 2020 · 866 citations
  2. AMBERT: A Pre-trained Language Model with Multi-Grained TokenizationXinsong Zhang, Pengshuai Li, Hang LiACL Findings 2021 · 54 citations
  3. ChineseBERT: Chinese Pretraining Enhanced by Glyph and Pinyin InformationZijun Sun, Xiaoya Li, Xiaofei Sun, Yuxian Meng et al.ACL 2021

Related papers

  1. Spelling Error Correction with Soft-Masked BERTShaohua Zhang, Haoran Huang, Jicong Liu, Hang LiACL 2020 · 204 citations
  2. ZEN: Pre-training Chinese Text Encoder Enhanced by N-gram RepresentationsShizhe Diao, Jiaxin Bai, Yan Song, Tong Zhang et al.EMNLP Findings 2020 · 140 citations
  3. Unsupervised Boundary-Aware Language Model Pretraining for Chinese Sequence LabelingPeijie Jiang, Dingkun Long, Yanzhao Zhang, Pengjun Xie et al.EMNLP 2022 · 9 citations
  4. Improving Multi-Criteria Chinese Word Segmentation through Learning Sentence RepresentationChun Lin, Ying-Jia Lin, Chia-Jen Yeh, Yi-Ting Li et al.EMNLP Findings 2023 · 1 citation
  5. Rethinking Masked Language Modeling for Chinese Spelling CorrectionHongqiu Wu, Shaohua Zhang, Yuchen Zhang, Hai ZhaoACL 2023 · 21 citations
Dusk over the sea between two cliffs drawn in fine vertical lines