Skip to main content
QUICK REVIEW

[Paper Review] Mengzi: Towards Lightweight yet Ingenious Pre-trained Models for Chinese

Zhuosheng Zhang, Hanqing Zhang|arXiv (Cornell University)|Oct 13, 2021
Topic ModelingComputer Science42 references30 citations
TL;DR

Mengzi is a family of 103M-parameter Chinese pre-trained models (discriminative, generative, financial, and multimodal variants) that achieve strong CLUE results with carefully designed lightweight pre-training and fine-tuning strategies, without changing model architecture.

ABSTRACT

Although pre-trained models (PLMs) have achieved remarkable improvements in a wide range of NLP tasks, they are expensive in terms of time and resources. This calls for the study of training more efficient models with less computation but still ensures impressive performance. Instead of pursuing a larger scale, we are committed to developing lightweight yet more powerful models trained with equal or less computation and friendly to rapid deployment. This technical report releases our pre-trained model called Mengzi, which stands for a family of discriminative, generative, domain-specific, and multimodal pre-trained model variants, capable of a wide range of language and vision tasks. Compared with public Chinese PLMs, Mengzi is simple but more powerful. Our lightweight model has achieved new state-of-the-art results on the widely-used CLUE benchmark with our optimized pre-training and fine-tuning techniques. Without modifying the model architecture, our model can be easily employed as an alternative to existing PLMs. Our sources are available at https://github.com/Langboat/Mengzi.

Motivation & Objective

  • Push for efficient, lightweight Chinese pre-trained models that require equal or less computation than larger models.
  • Design and evaluate pre-training objectives and optimization strategies that boost capacity without increasing model size.
  • Release a family of Mengzi models (discriminative, generative, domain-specific, multimodal) that are easy to deploy.
  • Demonstrate strong performance on language understanding and generation tasks in Chinese.

Proposed method

  • Backbone is RoBERTa-based Mengzi with 12 layers, 768 hidden size, 103M parameters (Mengzi-BERT-base).
  • Pre-training uses masked language modeling (MLM) with a 21,128-token vocabulary on a 300GB Chinese corpus (Wikipedia, News, Common Crawl).
  • Two-stage mixed-batch pre-training with LAMB optimizer; first 9/10 epochs use sequence length 128, last 1/10 epochs use length 512; batch sizes 16384 and 32768.
  • Incorporates linguistically motivated objectives (POS/NE sequence labeling) and sentence order prediction (SOP) to enhance representation.
  • Introduces dynamic gradient correction to stabilize and improve training efficiency.
  • Fine-tuning explores strategies such as knowledge distillation, transfer learning, choice smoothing, adversarial training, and data augmentation.

Experimental results

Research questions

  • RQ1Can a 103M-parameter Chinese PLM surpass larger models by optimizing pre-training objectives and training procedures without architectural changes?
  • RQ2Do linguistic-informed objectives and training dynamics significantly improve performance on Chinese GLUE-like tasks and MRC benchmarks?
  • RQ3How do downstream fine-tuning strategies (distillation, transfer learning, smoothing, adversarial, augmentation) affect performance across tasks?
  • RQ4What is the practical impact and deployment ease of Mengzi variants (discriminative, generative, financial, multimodal) for real-world Chinese NLP tasks?

Key findings

  • Mengzi achieves strong results on CLUE benchmarks, outperforming baselines of similar scale and even larger Chinese models in some settings.
  • A 103M Mengzi-BERT-base variant yields improvements over BERT and RoBERTa baselines on multiple CLUE subtasks.
  • Linguistic-driven training objectives and dynamic gradient correction contribute to notable performance gains in pre-training.
  • Fine-tuning techniques like knowledge distillation, transfer learning, choice smoothing, adversarial training, and data augmentation yield additional accuracy gains on downstream tasks.
  • Mengzi releases include Mengzi-BERT-base, Mengzi-BERT-base-fin, Mengzi-T5-base, and Mengzi-Oscar-base, enabling text-only, generative, financial-domain, and multimodal capabilities.

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.