References & Citations
Computer Science > Computation and Language
Title: Character, Word, or Both? Revisiting the Segmentation Granularity for Chinese Pre-trained Language Models
(Submitted on 20 Mar 2023 (v1), last revised 22 Mar 2023 (this version, v2))
Abstract: Pretrained language models (PLMs) have shown marvelous improvements across various NLP tasks. Most Chinese PLMs simply treat an input text as a sequence of characters, and completely ignore word information. Although Whole Word Masking can alleviate this, the semantics in words is still not well represented. In this paper, we revisit the segmentation granularity of Chinese PLMs. We propose a mixed-granularity Chinese BERT (MigBERT) by considering both characters and words. To achieve this, we design objective functions for learning both character and word-level representations. We conduct extensive experiments on various Chinese NLP tasks to evaluate existing PLMs as well as the proposed MigBERT. Experimental results show that MigBERT achieves new SOTA performance on all these tasks. Further analysis demonstrates that words are semantically richer than characters. More interestingly, we show that MigBERT also works with Japanese. Our code and model have been released here~\footnote{this https URL}.
Submission history
From: Xinnian Liang [view email][v1] Mon, 20 Mar 2023 06:20:03 GMT (1488kb)
[v2] Wed, 22 Mar 2023 03:20:27 GMT (1491kb)
Link back to: arXiv, form interface, contact.