Pre-trained models for natural language processing: A survey
Xipeng QiuTianxiang SunYige XuYunfan ShaoNing DaiXuanjing Huang
Systematizes pre-trained language models using a structured four-perspective taxonomy while providing actionable techniques for downstream task adaptation and identifying open research challenges in natural language processing.
Building high-performing natural language processing systems historically required massive amounts of manually annotated data for each specific task. Because human annotation is expensive and slow, training deep neural networks from scratch often caused models to overfit on small datasets and generalize poorly in production. To resolve this bottleneck, the field has transitioned to using pre-trained models. These systems first learn general linguistic and factual representations from massive, unlabeled text datasets before being tailored to specific business applications.
The article systematically evaluates the development, architecture, adaptation strategies, and practical applications of pre-trained language models. Its objective is to provide a comprehensive structural taxonomy of existing approaches and outline key operational trade-offs and future development directions.
The article conducts an extensive analytical synthesis of recent literature, benchmark results, and system architectures across natural language processing. It examines models ranging from early static word embeddings to deep contextual architectures such as BERT, GPT, and T5, evaluating their training objectives, parameter scales, and benchmark performance across standard language understanding and generation evaluations.
The analysis yields five key findings. First, pre-trained contextual models deliver major performance gains over traditional training methods, with advanced models raising general language understanding benchmark scores from early baselines of roughly 72 to nearly 90 points. Second, self-supervised learning objectives—such as predicting masked words, permuted language modeling, and replaced token detection—enable effective training directly on raw, unannotated text corpora. Third, Transformer architectures have become the dominant standard due to their capacity to capture long-range dependencies, though their standard variants face computational limits on sequence lengths exceeding 512 tokens. Fourth, parameter-efficient adaptation methods (such as prompt tuning and task-specific adapters) achieve competitive accuracy with full model fine-tuning while modifying a tiny fraction of model weights, making large models viable at scale. Fifth, compression techniques—including knowledge distillation, quantization, and early-exit mechanisms—can speed up inference by roughly 1.6 to over 9 times while retaining the vast majority of baseline accuracy.
These findings indicate that adopting pre-trained foundations significantly lowers the development cost, timeline, and data requirements for deploying language technologies. However, the immense size of modern models introduces severe computational costs, operational latency, and deployment risks. Furthermore, deep contextual models remain vulnerable to subtle adversarial inputs and function largely as non-transparent systems, which creates operational and compliance risks in high-stakes environments.
Organizations should adopt pre-trained foundation models rather than building language systems from scratch. Teams should carefully match model selection to task requirements—using encoder architectures for extraction and classification, and sequence-to-sequence structures for text generation. When deploying to production or edge devices, organizations should implement compression techniques such as knowledge distillation and explore parameter-efficient tuning rather than full model re-training. Further research and engineering pilots should focus on improving model interpretability, developing robust adversarial defenses, and implementing non-quadratic architectures that efficiently process long-context documents.
Confidence in these performance findings is high across standard academic benchmarks, but decision-makers should exercise caution. Performance can degrade when models encounter domain-specific technical jargon, non-standard text distributions, or deliberate adversarial disruptions. Continued validation in live target environments remains essential.
- Paper: BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding, Jacob Devlin et al. (2019). Introduces BERT, the foundational bidirectional masked language modeling paradigm that serves as the centerpiece for the pre-trained model taxonomy reviewed in the survey.
- Paper: Improving Language Understanding by Generative Pre-Training, Alec Radford et al. (2018). Establishes the seminal generative pre-training (GPT) framework that defined modern autoregressive pre-training and task-agnostic adaptation in natural language processing.
- Paper: Deep contextualized word representations, Matthew E. Peters et al. (2018). Pioneers contextualized word representations (ELMo) via bidirectional language modeling, marking the historical bridge from static embeddings to deep contextual pre-trained models.
- Paper: Universal Language Model Fine-tuning for Text Classification, Jeremy Howard et al. (2018). Introduces universal language model fine-tuning techniques (ULMFiT) that foundationalized transfer learning and downstream adaptation strategies for NLP.
- Paper: Language Models are Unsupervised Multitask Learners, Alec Radford et al. (2019). Demonstrates zero-shot multi-task language modeling at scale with GPT-2, establishing the core principles of unsupervised representation learning covered in the survey.
- Paper: SpanBERT: Improving Pre-training by Representing and Predicting Spans, Mandar Joshi et al. (2019). Presents SpanBERT, a critical architectural variation that extends masked language modeling to contiguous spans and informs the survey's discussion of pre-training objectives.
- Paper: Cross-lingual Language Model Pretraining, Guillaume Lample et al. (2019). Formulates cross-lingual pre-training objectives (XLM) that serve as the standard foundation for multilingual pre-trained representation learning analyzed in the survey.
- Paper: Distributed Representations of Words and Phrases and their Compositionality, Tomas Mikolov et al. (2013). Provides the foundational distributed representation learning methods (Word2Vec) necessary for understanding the evolution from static word vectors to modern contextualized models.
- Paper: Natural Language Processing (almost) from Scratch, Ronan Collobert et al. (2011). Lays the early neural network and multi-task representation learning foundations from unlabeled text that predate and motivate modern pre-trained NLP models.
- Paper: Transformers: State-of-the-Art Natural Language Processing, Thomas Wolf et al. (2019). Provides the primary software and model-hub ecosystem that standardizes the practical implementation and fine-tuning workflows of the pre-trained models reviewed in the survey.
- Paper: Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing, Pengfei Liu et al. (2021). Explores the prompt-based learning paradigm that evolved as a major alternative to standard fine-tuning for adapting pre-trained language models to downstream tasks.
- Paper: A Survey of Large Language Models, Wayne Xin Zhao et al. (2023). Extends the survey's coverage of foundational pre-trained models into the multi-billion parameter large language model lifecycle, including modern alignment and distributed training.
- Paper: A Comprehensive Overview of Large Language Models, Humza Naveed et al. (2023). Provides an updated, broad architectural and operational overview of modern large-scale language models emerging after early pre-training paradigms.
- Paper: Towards a Unified View of Parameter-Efficient Transfer Learning, Junxian He et al. (2022). Systematizes parameter-efficient transfer learning methods (such as adapters, prefix-tuning, and LoRA), directly advancing the downstream adaptation strategies outlined in the survey.
- Paper: Prefix-Tuning: Optimizing Continuous Prompts for Generation, Xiang Lisa Li et al. (2021). Introduces prefix-tuning as a lightweight downstream adaptation mechanism that freezes base model weights while optimizing continuous prompts for generation tasks.
- Paper: GLM: General Language Model Pretraining with Autoregressive Blank Infilling, Zhengxiao Du et al. (2021). Develops the General Language Model (GLM) framework, unifying autoregressive blank infilling across understanding and generative pre-training tasks.
- Paper: Finetuned Language Models Are Zero-Shot Learners, Jason Wei et al. (2022). Demonstrates instruction tuning on pre-trained language models, advancing post-pretraining techniques to unlock robust zero-shot generalization across NLP tasks.
- Paper: Retrieval-Augmented Generation for Large Language Models: A Survey, Yunfan Gao et al. (2023). Surveys retrieval-augmented generation architectures, expanding how external knowledge is integrated with pre-trained models during downstream application.
- Paper: A Survey on Evaluation of Large Language Models, Yu-Chu Chang et al. (2023). Offers a comprehensive taxonomy and benchmarking guide for systematically evaluating the broader capabilities and safety properties of modern language models.
- Paper: LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Models, Yaowei Zheng et al. (2024). Presents a unified software framework for the efficient fine-tuning and deployment of modern open-source pre-trained language models.
