T5 & Text-to-Text Framework (2019) › The Problem
History of Language AIAll chapters T5 & Text-to-Text Framework (2019) › The ProblemOne section · Sections in this chapter2 / 7 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
The fragmentation of natural language processing into task-specific approaches had become a significant obstacle to progress by 2019. Researchers were developing specialized architectures for different types of tasks, each requiring its own training procedures, optimization strategies, and evaluation metrics. Classification tasks like sentiment analysis typically used encoder-only models like BERT with task-specific classification heads, while generation tasks like translation required encoder-decoder architectures, and language modeling tasks used decoder-only models like GPT. This specialization created silos in the field where insights from one type of task were difficult to apply to others.
The problem extended beyond just architectural choices. Different tasks required different input and output formats, different loss functions, and different evaluation procedures. A model trained for sentiment analysis could not be easily adapted to translation without substantial architectural changes. A model optimized for question answering would need to be retrained from scratch to perform summarization. This meant that researchers and practitioners had to maintain multiple models, each optimized for a specific task, consuming significant computational resources and engineering effort.
Consider the complexity of deploying a system that needed to handle multiple NLP tasks. A typical application might require sentiment analysis, named entity recognition, translation, and summarization. With the fragmented approach, this would require training and maintaining four separate models, each with its own preprocessing requirements, inference pipelines, and monitoring systems. The computational cost of running multiple specialized models could be prohibitive, and the complexity of managing different architectures made it difficult to optimize performance across tasks.
The fragmentation also made transfer learning difficult to apply consistently. While pre-trained models like BERT and GPT had shown that knowledge from large-scale pre-training could improve performance on downstream tasks, the transfer required careful adaptation for each task. Fine-tuning BERT for a new classification task meant adding a task-specific head and carefully tuning the learning rate for the pre-trained layers versus the new head. Adapting GPT for a new generation task required different prompt engineering or fine-tuning strategies. There was no unified approach that allowed a single pre-trained model to handle diverse tasks with minimal modification.
Additionally, the fragmentation made it difficult to evaluate and compare models across tasks. Different tasks used different metrics: classification tasks used accuracy or F1 scores, translation used BLEU, summarization used ROUGE, and question answering used exact match or F1. While these metrics made sense for individual tasks, the lack of a unified framework made it hard to understand how progress on one task related to progress on others, or whether a model that excelled at one task type could transfer that capability to another.
The problem was compounded by the fact that many NLP tasks were conceptually similar but treated differently. Translation and summarization both involved taking input text and producing output text, yet they were approached with different architectures and training procedures. Question answering could be framed as generating text answers from text questions, similar to how chatbots generated responses, yet these were treated as fundamentally different problems. This conceptual similarity suggested that a unified approach might be possible, but the field lacked a framework that could realize this unification.