ZEN: Pre-training Chinese Text Encoder Enhanced by N-gram Representations
arXiv:1911.00720
Abstract
The pre-training of text encoders normally processes text as a sequence of tokens corresponding to small text units, such as word pieces in English and characters in Chinese. It omits information carried by larger text granularity, and thus the encoders cannot easily adapt to certain combinations of characters. This leads to a loss of important semantic information, which is especially problematic for Chinese because the language does not have explicit word boundaries. In this paper, we propose ZEN, a BERT-based Chinese (Z) text encoder Enhanced by N-gram representations, where different combinations of characters are considered during training. As a result, potential word or phase boundaries are explicitly pre-trained and fine-tuned with the character encoder (BERT). Therefore ZEN incorporates the comprehensive information of both the character sequence and words or phrases it contains. Experimental results illustrated the effectiveness of ZEN on a series of Chinese NLP tasks. We show that ZEN, using less resource than other published encoders, can achieve state-of-the-art performance on most tasks. Moreover, it is shown that reasonable performance can be obtained when ZEN is trained on a small corpus, which is important for applying pre-training techniques to scenarios with limited data. The code and pre-trained models of ZEN are available at https://github.com/sinovation/zen.
Natural Language Processing. 11 pages, 7 figures
References in corpus (6)
- Natural Language Processing (almost) from Scratch
- Mixed Precision Training
- ERNIE: Enhanced Representation through Knowledge Integration
- XNLI: Evaluating Cross-lingual Sentence Representations
- NEZHA: Neural Contextualized Representation for Chinese Language Understanding
- A Hybrid Word-Character Approach to Abstractive Summarization
Cited by in corpus (10)
- Pre-trained Models for Natural Language Processing: A Survey
- ZEN 2.0: Continue Training and Adaption for N-gram Enhanced Text Encoders
- Generating Radiology Reports via Memory-driven Transformer
- AMBERT: A Pre-trained Language Model with Multi-Grained Tokenization
- Keyphrase Generation with Cross-Document Attention
- Improving Named Entity Recognition with Attentive Ensemble of Syntactic Information
- Named Entity Recognition for Social Media Texts with Semantic Augmentation
- fastHan: A BERT-based Multi-Task Toolkit for Chinese NLP
- Pre-training with Meta Learning for Chinese Word Segmentation
- K-AID: Enhancing Pre-trained Language Models with Domain Knowledge for Question Answering