Revisiting and Advancing Chinese Natural Language Understanding with Accelerated Heterogeneous Knowledge Pre-training

Taolin Zhang, Junwei Dong, Jianing Wang, Chengyu Wang, Ang Wang +4 more
10/11/2022
cs.CL

Official code: alibaba/EasyNLP (2,189 stars, Python, Apache-2.0, PyTorch, last commit 2024-11-27).

Abstract

Recently, knowledge-enhanced pre-trained language models (KEPLMs) improve context-aware representations via learning from structured relations in knowledge graphs, and/or linguistic knowledge from syntactic or dependency analysis. Unlike English, there is a lack of high-performing open-source Chinese KEPLMs in the natural language processing (NLP) community to support various language understanding applications.

Show full abstract

In this paper, we revisit and advance the development of Chinese natural language understanding with a series of novel Chinese KEPLMs released in various parameter sizes, namely CKBERT (Chinese knowledge-enhanced BERT).Specifically, both relational and linguistic knowledge is effectively injected into CKBERT based on two novel pre-training tasks, i.e., linguistic-aware masked language modeling and contrastive multi-hop relation modeling. Based on the above two pre-training paradigms and our in-house implemented TorchAccelerator, we have pre-trained base (110M), large (345M) and huge (1.3B) versions of CKBERT efficiently on GPU clusters. Experiments demonstrate that CKBERT outperforms strong baselines for Chinese over various benchmark NLP tasks and in terms of different model sizes.

View on arXivView PDF

Code Implementations(1)

alibaba/EasyNLPOfficial100%
PyTorchApache-2.0

EasyNLP: A Comprehensive and Easy-to-use NLP Toolkit

2,189256Python, Jupyter NotebookApr 6, 20222 years agoApache-2.0
bertdeep-learningfewshot-learningknowledge-distillationknowledge-pretraining+9 more

Similar Papers

Cite this paper

@article{zhang2022revisiting,
  title  = {Revisiting and Advancing Chinese Natural Language Understanding with Accelerated Heterogeneous Knowledge Pre-training},
  author = {Taolin Zhang and Junwei Dong and Jianing Wang and Chengyu Wang and Ang Wang and Yinghui Liu and Jun Huang and Yong Li and Xiaofeng He},
  year   = {2022},
  eprint = {2210.05287},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.05287}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.05287.svg)](https://codeofpaper.com/paper/2210.05287)

Discussion