[Paper Review] Don't Stop Pretraining? Make Prompt-based Fine-tuning Powerful Learner
This paper challenges the assumption that continued pre-training on task-specific data improves fine-tuning performance, especially for prompt-based fine-tuning. It proposes Prompt-based Continued Pre-training (PCP), which jointly pre-trains language models on task-specific texts and task-specific prompt templates using unsupervised objectives, achieving up to 20.1% absolute improvement over standard fine-tuning and outperforming state-of-the-art semi-supervised methods with minimal data and no iterative process.
Language models (LMs) trained on vast quantities of unlabelled data have greatly advanced the field of natural language processing (NLP). In this study, we re-visit the widely accepted notion in NLP that continued pre-training LMs on task-related texts improves the performance of fine-tuning (FT) in downstream tasks. Through experiments on eight single-sentence tasks and eight sentence-pair tasks in both semi-supervised and fully-supervised settings, we find that conventional continued pre-training does not consistently provide benefits and can even be detrimental for sentence-pair tasks or when prompt-based FT is used. To tackle these issues, we propose Prompt-based Continued Pre-training (PCP), which combines the idea of instruction tuning with conventional continued pre-training. Our approach aims to improve the performance of prompt-based FT by presenting both task-related texts and prompt templates to LMs through unsupervised pre-training objectives before fine-tuning for the target task. Our empirical evaluations on 21 benchmarks demonstrate that the PCP consistently improves the performance of state-of-the-art prompt-based FT approaches (up to 20.1% absolute) in both semi-supervised and fully-supervised settings, even with only hundreds of unlabelled examples. Additionally, prompt-based FT with the PCP outperforms state-of-the-art semi-supervised approaches with greater simplicity, eliminating the need for an iterative process and extra data augmentation. Our further analysis explores the performance lower bound of the PCP and reveals that the advantages of PCP persist across different sizes of models and datasets.
Motivation & Objective
- To investigate whether conventional continued pre-training on task-specific data consistently improves fine-tuning performance, especially for prompt-based methods.
- To address the instability and performance drops observed in sentence-pair tasks and prompt-based fine-tuning when using standard continued pre-training.
- To propose a unified, effective pre-training strategy that enhances prompt-based fine-tuning performance using minimal unlabelled data.
- To demonstrate that combining task data with prompt templates during pre-training yields superior downstream performance compared to standard continued pre-training or existing semi-supervised methods.
- To validate the robustness and scalability of the proposed method across different model sizes, datasets, and training regimes.
Proposed method
- Propose Prompt-based Continued Pre-training (PCP), a novel pre-training strategy that combines task-specific texts with corresponding prompt templates (including label mappings) during unsupervised pre-training.
- Use masked language modeling as the pre-training objective, where input sequences consist of both the input text and a prompt template that maps the label space to a sequence of tokens.
- Train the language model on a mixture of in-domain, unlabelled task data and synthetic examples constructed using golden or pseudo-labeled prompts.
- Integrate the prompt template into the input sequence during pre-training, ensuring the model learns to attend to both the input and the instruction, improving alignment with the downstream task.
- Apply standard prompt-based fine-tuning after PCP, without requiring additional data augmentation or iterative refinement.
- Use a unified framework across all tasks, avoiding task-specific tuning or complex adaptation procedures.
Experimental results
Research questions
- RQ1Does conventional continued pre-training on task-specific data consistently improve prompt-based fine-tuning performance across diverse NLP tasks?
- RQ2Can joint pre-training on task data and prompt templates mitigate performance degradation observed in sentence-pair tasks under standard continued pre-training?
- RQ3How does the performance of PCP compare to state-of-the-art semi-supervised learning methods in terms of accuracy, simplicity, and data efficiency?
- RQ4What is the minimal amount of unlabelled data required for PCP to yield significant gains in prompt-based fine-tuning?
- RQ5Does the advantage of PCP persist across different model sizes and dataset scales?
Key findings
- Conventional continued pre-training (TAPT) can lead to a 9.2% performance drop in prompt-based fine-tuning on sentence-pair tasks, indicating it is not universally beneficial.
- PCP improves prompt-based fine-tuning by up to 20.1% absolute accuracy across 21 benchmarks, significantly outperforming both standard fine-tuning and TAPT.
- PCP achieves state-of-the-art performance in semi-supervised settings using only 100–500 unlabelled examples, demonstrating high data efficiency.
- PCP outperforms existing semi-supervised methods such as those using iterative self-training or data augmentation, without requiring iterative processes or extra data.
- The performance gains from PCP are robust across different model sizes and dataset scales, indicating consistent lower-bound improvements.
- PCP maintains its advantages even when applied to smaller models and limited data, suggesting broad applicability and scalability.
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.