TL;DR
CharBERT introduces a character-aware pre-trained language model that constructs contextual word embeddings from characters, enhancing robustness and performance over traditional subword-based models like BERT and RoBERTa.
Contribution
It proposes a novel heterogeneous interaction module and a new pre-training task (NLM) to improve character-level representations in PLMs.
Findings
Significantly improves performance on question answering, sequence labeling, and text classification.
Enhances robustness against adversarial misspellings.
Outperforms previous models in both accuracy and robustness metrics.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsLinear Layer · Softmax · Dense Connections · WordPiece · Linear Warmup With Linear Decay · Attention Dropout · Weight Decay · Adam · Residual Connection · Dropout
