reStructured Pre-training

Weizhe Yuan, Pengfei LiuarXiv 2022

Abstract

In this work, we try to decipher the internal connection of NLP technology development in the past decades, searching for essence, which rewards us with a (potential) new learning paradigm for NLP tasks, dubbed as reStructured Pre-training (RST). In such a paradigm, the role of data will be re-emphasized, and model pre-training and fine-tuning of downstream tasks are viewed as a process of data storing and accessing. Based on that, we operationalize the simple principle that a good storage mechanism should not only have the ability to cache a large amount of data but also consider the ease of access. We achieve this by pre-training models over restructured data that consist of a variety of valuable information instead of raw data after overcoming several engineering challenges. Experimentally, RST models not only surpass strong competitors (e.g., T0) on 52/55 popular datasets from a variety of NLP tasks, but also achieve superior performance in National College Entrance Examination - English (Gaokao-English), the most authoritative examination in China. Specifically, the proposed system Qin achieves 40 points higher than the average scores made by students and 15 points higher than GPT3 with 1/16 parameters. In particular, Qin gets a high score of 138.5 (the full mark is 150) in the 2018 English exam (national paper III). We have released the Gaokao Benchmark with an online submission platform. In addition, we test our model in the 2022 College Entrance Examination English that happened a few days ago (2022.06.08), and it gets a total score of 134 (v.s. GPT3's 108).

Introduction

The success of Large Language Models (LLMs) has historically been attributed to pre-training on vast quantities of raw, unlabelled text. However, this "black box" approach to information storage creates a significant hurdle: the "prompt engineering" problem. Users are often forced to experiment with specific phrasing to elicit the desired information from a model. This work argues for a paradigm shift, treating pre-training as a structured database operation where information is stored transparently to facilitate efficient retrieval. We propose that the current industry focus on "mining" raw data often fails to organize the resulting "gems" of information effectively.

Methodology: The RST Cycle

We introduce the reStructure, Pre-train, and Fine-tune cycle. The core innovation lies in the restructuring phase, where raw text is transformed into 26 distinct "signals"—specific information types such as entity relations, word definitions, or sentiment. These signals are converted into a unified source-target format. For instance, Wikipedia hyperlinks are restructured into tasks requiring the model to identify specific entities within a sentence.

A map of the diverse "Data Mines" used to extract structured signals for RST.

The pre-training phase utilizes a T5-XXL backbone, trained on these structured signals categorized into generic language patterns and task-relevant skills. Finally, the model can be deployed in a zero-shot capacity or fine-tuned for specific downstream applications.

Conceptual Framework: The Evolution of NLP

We posit a "Hypothesis of NLP Technique Evolution," suggesting that the field has progressed through stages of engineering features, architectures, objectives, and prompts. The next frontier is Data Engineering, focusing on the inherent quality and structure of training information.

The evolutionary trajectory of NLP research, highlighting the shift toward Data Engineering.

By marking signals during pre-training, the model learns a "handle" for specific information types, significantly reducing the reliance on complex prompt engineering. This approach prioritizes information density over raw data volume.

Results and Evaluation

The RST models demonstrated broad superiority, outperforming the T0pp baseline on 52 out of 55 evaluated NLP datasets. A key highlight is the model's performance on the Chinese "Gaokao" English exam. Our model, Qin, achieved a score of 138.5/150 on the 2018 exam and 134 on the 2022 exam—significantly outperforming both the student average and GPT-3 (which scored 108), despite Qin having only 1/16th the parameters. Furthermore, RST models exhibited greater robustness, showing lower performance variance across different prompts compared to baselines.

Conclusion and Future Directions

While RST shows immense promise, challenges remain. A "Generalist Penalty" was observed where the all-encompassing model (RST-All) slightly underperformed specialized versions, likely due to parameter competition. Future work will focus on improving performance in complex Information Extraction tasks and exploring direct pre-training on structured knowledge sources like knowledge graphs.

Summary updated

BibTeX
@misc{yuan2022restructured,
  author = {Weizhe Yuan and Pengfei Liu},
  title = {{reStructured Pre-training}},
  year = {2022},
  eprint = {2206.11147},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.11147},
}
Figure