arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2011.01513cs.CL

CharBERT: Character-aware Pre-trained Language Model

iFLYTEK Research(科大讯飞研究);State Key Laboratory of Cognitive Intelligence(认知智能国家重点实验室);Harbin Institute of Technology(哈尔滨工业大学);Research Center for Social Computing and Information Retrieval (SCIR)(社会计算与信息检索研究中心(SCIR));iFLYTEK AI Research (Hebei)(科大讯飞AI研究(河北));University of Maryland(马里兰大学)

Wentao Ma, Yiming Cui, Chenglei Si, Ting Liu, Shijin Wang, Guoping Hu

英文摘要:

Most pre-trained language models (PLMs) construct word representations at subword level with Byte-Pair Encoding (BPE) or its variations, by which OOV (out-of-vocab) words are almost avoidable. However, those methods split a word into subword units and make the representation incomplete and fragile. In this paper, we propose a character-aware pre-trained language model named CharBERT improving on the previous methods (such as BERT, RoBERTa) to tackle these problems. We first construct the contextual word embedding for each token from the sequential character representations, then fuse the representations of characters and the subword representations by a novel heterogeneous interaction module. We also propose a new pre-training task named NLM (Noisy LM) for unsupervised character representation learning. We evaluate our method on question answering, sequence labeling, and text classification tasks, both on the original datasets and adversarial misspelling test sets. The experimental results show that our method can significantly improve the performance and robustness of PLMs simultaneously. Pretrained models, evaluation sets, and code are available at https://github.com/wtma/CharBERT

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑