Skip to main content
QUICK REVIEW

[Paper Review] ERNIE 3.0 Titan: Exploring Larger-scale Knowledge Enhanced Pre-training for Language Understanding and Generation

Shuohuan Wang, Yu Sun|arXiv (Cornell University)|Dec 23, 2021
Topic ModelingComputer Science36 citations
TL;DR

The paper trains a hundred-billion-parameter Chinese dense pre-trained model (ERNIE 3.0 Titan) with 260B parameters, introducing credible/controllable generation and online distillation, and demonstrates state-of-the-art results across 68 NLP datasets.

ABSTRACT

Pre-trained language models have achieved state-of-the-art results in various Natural Language Processing (NLP) tasks. GPT-3 has shown that scaling up pre-trained language models can further exploit their enormous potential. A unified framework named ERNIE 3.0 was recently proposed for pre-training large-scale knowledge enhanced models and trained a model with 10 billion parameters. ERNIE 3.0 outperformed the state-of-the-art models on various NLP tasks. In order to explore the performance of scaling up ERNIE 3.0, we train a hundred-billion-parameter model called ERNIE 3.0 Titan with up to 260 billion parameters on the PaddlePaddle platform. Furthermore, we design a self-supervised adversarial loss and a controllable language modeling loss to make ERNIE 3.0 Titan generate credible and controllable texts. To reduce the computation overhead and carbon emission, we propose an online distillation framework for ERNIE 3.0 Titan, where the teacher model will teach students and train itself simultaneously. ERNIE 3.0 Titan is the largest Chinese dense pre-trained model so far. Empirical results show that the ERNIE 3.0 Titan outperforms the state-of-the-art models on 68 NLP datasets.

Motivation & Objective

  • Advancing knowledge-enhanced pre-training by scaling ERNIE 3.0 to up to 260B parameters.
  • Integrating credible and controllable generation during pre-training to improve factuality and controllability of outputs.
  • Developing an online distillation framework to efficiently produce smaller, deployable models with minimal extra cost.
  • Demonstrating scalability and effectiveness across diverse Chinese NLP tasks and datasets.

Proposed method

  • Adopt a universal representation module (large Transformer-XL backbone) plus task-specific modules for NLU and NLG.
  • Design word-aware, structure-aware, and knowledge-aware pre-training tasks, including UKTP and a Credible and Controllable Generations framework.
  • Introduce self-supervised adversarial loss to improve text credibility and a controllable language modeling loss with soft prompts to control generation attributes.
  • Propose an online distillation framework (On-the-Fly Distillation, teacher assistants, Auxiliary Layer Distillation) to train multiple compact students during pre-training.
  • Utilize 4D hybrid parallelism (data, intra-layer tensor model, inter-layer pipeline model, and Sharded data parallelism) and heterogeneous hardware-aware training on PaddlePaddle for 260B-scale training.
  • Pre-train on ERNIE 3.0 Corpus plus adversarial and controllable datasets; maintain a 512 sequence length and 128 memory length for generation tasks.

Experimental results

Research questions

  • RQ1How does scaling ERNIE 3.0 to a hundred-billion-parameter regime affect performance on NLU/NLG tasks?
  • RQ2Can credible and controllable generation be effectively integrated into pre-training to improve factuality and controllability of outputs?
  • RQ3Is online distillation feasible for efficiently releasing smaller, deployment-ready models without large additional cost?
  • RQ4What is the impact of large-scale, knowledge-enhanced pre-training on diverse Chinese NLP datasets (68 datasets)?

Key findings

  • ERNIE 3.0 Titan outperforms state-of-the-art models across 68 NLP datasets.
  • The model achieves 260+ billion parameters (up to 260B) and demonstrates superior generation and understanding capabilities.
  • Online distillation enables distilling Titan into multiple smaller models during pre-training with comparable efficiency to standard training.
  • Credible adversarial loss and controllable language modeling loss improve the quality and controllability of generated text.
  • Resource-aware distributed training and heterogeneous hardware (GPUs and NPUs) provide strong weak scalability, achieving substantial throughput gains.
  • The paper reports SOTA results on downstream tasks when compared to prior large-scale dense models.

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.