Skip to main content
QUICK REVIEW

[Paper Review] WeLM: A Well-Read Pre-trained Language Model for Chinese

Hui Su, Xiaofang Zhou|arXiv (Cornell University)|Sep 21, 2022
Topic ModelingComputer Science6 citations
TL;DR

WeLM is a 10B-parameter, decoder-only pre-trained language model for Chinese, trained on a curated, high-quality, diverse corpus to achieve strong zero-shot and few-shot generalization across monolingual and multilingual tasks. It outperforms models of similar size and matches the performance of models up to 25× larger, while demonstrating capabilities in code-switching understanding, self-explanation, and self-calibration.

ABSTRACT

Large Language Models pre-trained with self-supervised learning have demonstrated impressive zero-shot generalization capabilities on a wide spectrum of tasks. In this work, we present WeLM: a well-read pre-trained language model for Chinese that is able to seamlessly perform different types of tasks with zero or few-shot demonstrations. WeLM is trained with 10B parameters by "reading" a curated high-quality corpus covering a wide range of topics. We show that WeLM is equipped with broad knowledge on various domains and languages. On 18 monolingual (Chinese) tasks, WeLM can significantly outperform existing pre-trained models with similar sizes and match the performance of models up to 25 times larger. WeLM also exhibits strong capabilities in multi-lingual and code-switching understanding, outperforming existing multilingual language models pre-trained on 30 languages. Furthermore, We collected human-written prompts for a large set of supervised datasets in Chinese and fine-tuned WeLM with multi-prompted training. The resulting model can attain strong generalization on unseen types of tasks and outperform the unsupervised WeLM in zero-shot learning. Finally, we demonstrate that WeLM has basic skills at explaining and calibrating the decisions from itself, which can be promising directions for future research. Our models can be applied from https://welm.weixin.qq.com/docs/api/.

Motivation & Objective

  • To develop a large-scale, well-read pre-trained language model for Chinese that generalizes effectively across diverse NLP tasks without task-specific fine-tuning.
  • To improve zero-shot and few-shot performance on Chinese NLP tasks by curating a high-quality, diverse training corpus and scaling model size.
  • To enable robust cross-lingual and code-switching understanding, particularly in multilingual settings involving Chinese, English, and Japanese.
  • To investigate and demonstrate self-explanation and self-calibration capabilities in a large language model for improved interpretability and reliability.
  • To explore the impact of multi-prompted fine-tuning on zero-shot generalization across unseen task types.

Proposed method

  • WeLM is trained as a decoder-only autoregressive language model using the standard left-to-right language modeling objective on a curated 10B-parameter training corpus.
  • The training corpus is carefully curated from diverse sources, including web text, academic writing, and multilingual content, with data source balancing and quality filtering to ensure broad coverage and high quality.
  • We fine-tune WeLM using multi-prompted training on human-written prompts from a large set of supervised Chinese NLP datasets to improve zero-shot generalization on unseen task types.
  • We evaluate WeLM’s self-explanation and self-calibration abilities by prompting it to generate explanations for its own predictions and to assess the correctness and toxicity of its own outputs.
  • We measure memorization by evaluating the model’s ability to exactly reproduce original training text segments via greedy decoding, analyzing memorization rates by data source and token frequency.
  • We compare WeLM’s performance against existing models on 18 monolingual Chinese tasks, cross-lingual tasks (e.g., translation, QA), and code-switching benchmarks.

Experimental results

Research questions

  • RQ1Can a large, well-curated pre-trained language model for Chinese achieve strong zero-shot and few-shot generalization across diverse NLP tasks without task-specific fine-tuning?
  • RQ2How does WeLM’s performance compare to much larger models, particularly in terms of zero-shot capabilities on Chinese NLP benchmarks?
  • RQ3To what extent can WeLM understand and generate content in multilingual and code-switching scenarios involving Chinese, English, and Japanese?
  • RQ4Can multi-prompted fine-tuning improve WeLM’s zero-shot generalization on unseen task types compared to the unsupervised pre-trained version?
  • RQ5Does WeLM exhibit basic self-explanation and self-calibration abilities, such as generating explanations for its own predictions and detecting incorrect or toxic outputs?

Key findings

  • WeLM outperforms existing pre-trained models of similar size on 18 monolingual Chinese NLP tasks and matches the performance of Ernie 3.0 Titan, a 25× larger model.
  • On cross-lingual tasks including machine translation, question answering, and summarization, WeLM outperforms XGLM, a multilingual model pre-trained on 30 languages.
  • WeLM demonstrates strong code-switching understanding, successfully translating mixed-language inputs involving Chinese, English, and Japanese in a zero-shot manner.
  • Multi-prompted fine-tuning of WeLM leads to improved zero-shot generalization on unseen task types, outperforming the unsupervised WeLM version.
  • WeLM exhibits basic self-explanation and self-calibration abilities: it can mimic explanation styles and correctly judge the correctness and toxicity of its own predictions.
  • Memorization analysis shows that larger WeLM models memorize more training content, with higher memorization rates for frequently occurring text and higher data sources like Common Crawl.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.