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

摘要

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. * Work done during internship at Tencent AI Lab. * indicates equal contributions.† Corresponding author. 1 Next sentence prediction is the other pretraining task adopted in the original BERT paper.However, it is removed in some following works like RoBERTa (Liu et al., 2019).We do not consider the next sentence prediction in this work.

问 Lune

尽管问,回答会引用原文。

Lune 会读完全文和相关的 Paper,每个回答都附上所依据的原文段落。

可以从这些问题问起

Lune 的依据

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

它引用的 Paper3

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

相关 Paper

  1. Spelling Error Correction with Soft-Masked BERTShaohua Zhang, Haoran Huang, Jicong Liu, Hang LiACL 2020 · 204 次引用
  2. ZEN: Pre-training Chinese Text Encoder Enhanced by N-gram RepresentationsShizhe Diao, Jiaxin Bai, Yan Song, Tong Zhang 等EMNLP Findings 2020 · 140 次引用
  3. Unsupervised Boundary-Aware Language Model Pretraining for Chinese Sequence LabelingPeijie Jiang, Dingkun Long, Yanzhao Zhang, Pengjun Xie 等EMNLP 2022 · 9 次引用
  4. SSMI: Semantic Similarity and Mutual Information Maximization Based Enhancement for Chinese NERPengnian Qi, Biao QinAAAI 2023 · 10 次引用
  5. Improving Multi-Criteria Chinese Word Segmentation through Learning Sentence RepresentationChun Lin, Ying-Jia Lin, Chia-Jen Yeh, Yi-Ting Li 等EMNLP Findings 2023 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖