Abstract
Parameter-efficient fine-tuning (PEFT) methods like LoRA and Adapters have significantly lowered the cost of adapting large-scale pre-trained language models (PLMs). However, these methods often overlook the overhead and inflexibility introduced by task-specific output layers. This paper presents plugin-tuning, a framework that unifies token-level and sentence-level classification into a single language modeling task. By leveraging the original pre-trained head of the PLM, plugin-tuning reduces task-specific parameters by up to 50% compared to standard PEFT approaches while maintaining competitive performance and improving deployment efficiency.
Introduction
The current "pre-train then fine-tune" paradigm faces scalability challenges as model sizes reach hundreds of billions of parameters. While PEFT methods address backbone adaptation by freezing most parameters, they typically rely on custom classification heads for each new task. These heads are parameter-heavy—especially for tasks with large label spaces—and create a disconnect between pre-training (word prediction) and fine-tuning (label ID prediction) objectives. Furthermore, the need for unique output layers hinders the flexibility of multi-task deployments.
The Plugin-Tuning Framework
Plugin-tuning addresses these inefficiencies by treating all classification tasks as a unified language modeling (LM) problem.
Unified Classifier
Instead of appending a new linear layer, plugin-tuning re-uses the PLM’s original Language Modeling Head.
- Sentence Classification: Tasks like sentiment analysis are reformulated by appending a template (e.g., "It was [MASK]") to the input. The model is then tasked with predicting a specific word at the mask position that corresponds to a label.
- Token Classification: For tasks like Named Entity Recognition (NER), the model is trained to predict a representative word for the entity type at the token's original position.
AutoSearch for Label Words
To optimize the mapping between labels and vocabulary words, the authors developed the AutoSearch algorithm. Rather than relying on manual prompt engineering, AutoSearch queries the frozen PLM on the training data to identify words that the model naturally associates with specific labels. This data-driven approach ensures that the "label words" align with the model's internal knowledge.
Experimental Evaluation
The framework was evaluated on six benchmarks covering token classification (CoNLL 2003, CoNLL 2000, WSJ) and sentence classification (SST2, MNLI, TREC50).
Key Findings
- Parameter Efficiency: Plugin-tuning reduced task-specific parameters by 15% to 49%. The most significant savings occurred in tasks with large label spaces, such as Part-of-Speech (POS) tagging, where the classification head often rivals the size of the PEFT "delta" parameters.
- Performance Gains: The method achieved results comparable to or better than full fine-tuning. Notably, on the Text Chunking task, combining LoRA with plugin-tuning increased the F1 score from 95.58 to 96.34 while utilizing 29% fewer trainable parameters.
- Operational Speed: By eliminating unique output layers, the time required to swap models in multi-task production environments was reduced by approximately 50%.
Conclusion
Plugin-tuning offers a more holistic approach to parameter efficiency by addressing the often-ignored classification head. By unifying diverse tasks under the original pre-training objective, the framework not only slashes parameter counts but also bridges the gap between pre-training and downstream adaptation. Future work will explore extending this unified strategy beyond classification to tasks such as text matching and ranking.
Summary updated