Paradigm Shift in Natural Language Processing

Tianxiang Sun, Xiangyang Liu, Xipeng Qiu, Xuanjing Huang

Abstract

In the era of deep learning, modeling for most natural language processing (NLP) tasks has converged into several mainstream paradigms. For example, we usually adopt the sequence labeling paradigm to solve a bundle of tasks such as POS-tagging, named entity recognition (NER), and chunking, and adopt the classification paradigm to solve tasks like sentiment analysis. With the rapid progress of pre-trained language models, recent years have witnessed a rising trend of paradigm shift, which is solving one NLP task in a new paradigm by reformulating the task. The paradigm shift has achieved great success on many tasks and is becoming a promising way to improve model performance. Moreover, some of these paradigms have shown great potential to unify a large number of NLP tasks, making it possible to build a single model to handle diverse tasks. In this paper, we review such phenomenon of paradigm shifts in recent years, highlighting several paradigms that have the potential to solve different NLP tasks.

Introduction

Historically, the field of Natural Language Processing (NLP) was characterized by fragmentation. Different tasks required distinct architectural approaches: sentiment analysis utilized Classification, while Named Entity Recognition (NER) relied on Sequence Labeling. This specialization created several hurdles, including model rigidity, where a model trained for one task could not easily adapt to another, and data inefficiency, as knowledge transfer was hindered by differing output formats. Furthermore, maintaining a diverse library of task-specific architectures posed a significant engineering burden.

Recent advancements in pre-trained language models have catalyzed a "paradigm shift." Researchers are increasingly reformulating diverse NLP tasks into unified frameworks. For instance, instead of tagging individual tokens for NER, the task can be reframed as a Machine Reading Comprehension (MRC) problem by asking the model: "Which person is mentioned in this text?" This movement toward "universal solvers" aims for better generalization, higher data efficiency, and the eventual creation of a single model capable of handling nearly any NLP challenge.

Mainstream NLP Paradigms

The paper provides a comprehensive taxonomy of seven mainstream paradigms that have shaped the field. These paradigms differ in their input/output structures and the specific model heads they employ, ranging from simple classification to complex sequence generation.

The seven mainstream NLP paradigms: (a) Classification, (b) Matching, (c) Sequence Labeling, (d) Machine Reading Comprehension, (e) Sequence-to-Sequence, (f) Sequence-to-Action-Sequence, and (g) (Masked) Language Modeling.
  • Class (Classification): Assigning a label to a given text.
  • Matching: Predicting the semantic relevance or relationship between two text segments.
  • SeqLab (Sequence Labeling): Assigning a tag to each token in a sequence.
  • MRC (Machine Reading Comprehension): Extracting specific answer spans from a provided context based on a question.
  • Seq2Seq (Sequence-to-Sequence): Generating a target output sequence from a source input sequence.
  • Seq2ASeq (Sequence-to-Action-Sequence): Predicting a sequence of actions, often used in structural parsing.
  • (M)LM (Masked Language Modeling): Leveraging language modeling objectives or prompt-based tuning to solve tasks.

The Rise of Universal Solvers and Task Reformulation

A key insight of this review is the industry's migration toward "format-agnostic" paradigms. Seq2Seq and (M)LM are emerging as the most flexible approaches because they treat all tasks as text-in, text-out problems. This unification allows models like T5 or BART to solve dozens of different tasks simultaneously without architectural changes.

Reformulating a task can unlock significant performance gains. For example, treating Relation Extraction as an MRC task allows a model to utilize the semantic meaning of the query to better interpret the context. Similarly, Prompt-based tuning has demonstrated that teaching a model a task via natural language instructions (e.g., "Is this review positive?") is often more data-efficient than training a specialized classification head from scratch. These shifts have enabled impressive zero-shot and few-shot capabilities, as models can "reason" through task descriptions rather than simply memorizing label patterns. Quantitative trends show that specialized paradigms like SeqLab are losing ground, while general-purpose paradigms like Seq2Seq are exploding in popularity.

Challenges and Future Directions

Despite the promise of unified paradigms, several challenges remain. Generative models like Seq2Seq often suffer from high inference latency because they generate text token-by-token, making them slower than simple classification heads. Additionally, the performance of (M)LM paradigms is highly sensitive to the specific wording of prompts—a process often described as a "black art."

Future research is expected to focus on non-autoregressive generation and "early exiting" strategies to mitigate latency issues. While specialized paradigms like Sequence Labeling are losing ground to general-purpose generative models, the latter still require substantial training data to achieve the stability seen in their predecessors. The ongoing evolution of NLP suggests a continued push toward more efficient, unified, and instruction-following architectures.

Summary updated

BibTeX
@article{sun2022paradigm,
  author = {Tianxiang Sun and Xiangyang Liu and Xipeng Qiu and Xuanjing Huang},
  title = {{Paradigm Shift in Natural Language Processing}},
  journal = {Int. J. Autom. Comput.},
  year = {2022},
  url = {https://openreview.net/forum?id=5SqLnpdcnf},
}
Figure