[Paper Review] Yuan 1.0: Large-Scale Pre-trained Language Model in Zero-Shot and Few-Shot Learning
Yuan 1.0 is a 245B singleton language model trained with a large-scale distributed setup, achieving strong zero-shot and few-shot performance, aided by a 5TB high-quality Chinese corpus and calibration/label-expansion techniques.
Recent work like GPT-3 has demonstrated excellent performance of Zero-Shot and Few-Shot learning on many natural language processing (NLP) tasks by scaling up model size, dataset size and the amount of computation. However, training a model like GPT-3 requires huge amount of computational resources which makes it challengeable to researchers. In this work, we propose a method that incorporates large-scale distributed training performance into model architecture design. With this method, Yuan 1.0, the current largest singleton language model with 245B parameters, achieves excellent performance on thousands GPUs during training, and the state-of-the-art results on NLP tasks. A data processing method is designed to efficiently filter massive amount of raw data. The current largest high-quality Chinese corpus with 5TB high quality texts is built based on this method. In addition, a calibration and label expansion method is proposed to improve the Zero-Shot and Few-Shot performance, and steady improvement is observed on the accuracy of various tasks. Yuan 1.0 presents strong capacity of natural language generation, and the generated articles are difficult to distinguish from the human-written ones.
Motivation & Objective
- Demonstrate that large-scale distributed training can be integrated into model architecture to enable a 245B singleton language model.
- Build and utilize a 5TB high-quality Chinese corpus for pre-training without data sampling compromises.
- Investigate how architecture design, pre-training vs. zero-/few-shot performance interact, and introduce calibration/label-expansion to improve zero-/few-shot results.
Proposed method
- Adopt three-dimensional parallelism (tensor, pipeline, data) to train a 245B parameter model on thousands of GPUs.
- Compare Language Model (LM) and Prefix Language Model (PLM) architectures and analyze their zero-shot and few-shot behavior.
- Develop a Massive Data Filtering System (MDFS) to construct a 5TB high-quality Chinese corpus from diverse sources.
- Apply calibration and label expansion to mitigate in-context learning biases in zero-shot and few-shot tasks.
Experimental results
Research questions
- RQ1How can model architecture and distributed training design be coordinated to enable training of very large singleton LMs efficiently?
- RQ2What data processing and filtering strategies yield a 5TB high-quality Chinese corpus suitable for pre-training?
- RQ3How do LM and PLM architectures perform in zero-shot and few-shot settings, and how can calibration improve these results?
- RQ4To what extent do calibration and label expansion improve zero-shot/textual prompt performance on CLUE-like tasks?
Key findings
- Yuan 1.0 is a 245B-parameter singleton model trained on thousands of GPUs with a stable performance equal to 45% of theoretical peak on a 2128-GPU cluster.
- The 5TB high-quality Chinese corpus enables pre-training without sampling the dataset twice, surpassing several large Chinese corpora in scale.
- Calibration and label expansion significantly improve zero-shot accuracy on select tasks (e.g., Eprstmt, Tnews, Csldcp) and reduce bias in label distributions.
- In zero-shot, LM and PLM variants achieve strong in-context learning, often surpassing published SOTA on several ZeroCLUE tasks; in few-shot, calibration helps but large class counts can hinder gains on some datasets.
- Yuan 245B demonstrates competitive or superior generation and QA capabilities compared with contemporaries, with notable zero-shot generation performance on tasks like WebQA and CMRC2018.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.