ZEN 2.0: Continue Training and Adaption for N-gram Enhanced Text Encoders
Yan Song, Tong Zhang, Yonggang Wang, Kai-Fu Lee
TL;DR
ZEN 2.0 tackles the limitations of pure character-based encoders by integrating large-scale n-gram information into pre-training. It introduces refined, weighted n-gram representations, whole n-gram masking, and relative positional encoding, scaling the architecture to BERT-large and extending to Arabic in addition to Chinese. Through PMI-driven n-gram lexicons and extensive pre-training data, ZEN 2.0 achieves state-of-the-art results across a broad suite of Chinese and Arabic tasks, with ablations confirming the contribution of each enhancement. The work demonstrates strong cross-language generalization and provides resources to the community to foster further research in n-gram–aware text representations.
Abstract
Pre-trained text encoders have drawn sustaining attention in natural language processing (NLP) and shown their capability in obtaining promising results in different tasks. Recent studies illustrated that external self-supervised signals (or knowledge extracted by unsupervised learning, such as n-grams) are beneficial to provide useful semantic evidence for understanding languages such as Chinese, so as to improve the performance on various downstream tasks accordingly. To further enhance the encoders, in this paper, we propose to pre-train n-gram-enhanced encoders with a large volume of data and advanced techniques for training. Moreover, we try to extend the encoder to different languages as well as different domains, where it is confirmed that the same architecture is applicable to these varying circumstances and new state-of-the-art performance is observed from a long list of NLP tasks across languages and domains.
