[Paper Review] Fine-Tuning Pre-trained Language Model with Weak Supervision: A Contrastive-Regularized Self-Training Approach
This paper proposes COSINE, a contrastive-regularized self-training framework that fine-tunes pre-trained language models using only weak supervision, without any labeled data. By combining contrastive regularization to improve representation learning and confidence-based reweighting to suppress noisy pseudo-labels, COSINE achieves performance competitive with fully supervised methods, attaining 96.0% accuracy on Yelp compared to 97.2% for fully supervised fine-tuning.
Fine-tuned pre-trained language models (LMs) have achieved enormous success in many natural language processing (NLP) tasks, but they still require excessive labeled data in the fine-tuning stage. We study the problem of fine-tuning pre-trained LMs using only weak supervision, without any labeled data. This problem is challenging because the high capacity of LMs makes them prone to overfitting the noisy labels generated by weak supervision. To address this problem, we develop a contrastive self-training framework, COSINE, to enable fine-tuning LMs with weak supervision. Underpinned by contrastive regularization and confidence-based reweighting, this contrastive self-training framework can gradually improve model fitting while effectively suppressing error propagation. Experiments on sequence, token, and sentence pair classification tasks show that our model outperforms the strongest baseline by large margins on 7 benchmarks in 6 tasks, and achieves competitive performance with fully-supervised fine-tuning methods.
Motivation & Objective
- To address the challenge of fine-tuning pre-trained language models when labeled data are scarce or unavailable.
- To mitigate error propagation from noisy pseudo-labels generated via weak supervision in self-training.
- To improve model generalization and robustness under weak supervision by leveraging contrastive regularization and confidence-based reweighting.
- To develop a flexible, task-agnostic framework applicable to various NLP classification tasks without requiring prior knowledge of weak supervision sources.
- To achieve performance comparable to fully supervised fine-tuning while relying solely on weakly labeled and unlabeled data.
Proposed method
- COSINE employs a two-stage training process: first, the model is fine-tuned on weakly labeled data with early stopping.
- Then, contrastive self-training is applied to unlabeled data, where pseudo-labels are generated and used to regularize feature space by pulling same-class samples closer and pushing different-class samples apart.
- Confidence-based reweighting emphasizes high-confidence predictions during training to reduce the influence of incorrect pseudo-labels.
- Confidence regularization enforces model smoothness by discouraging over-confident predictions, thus reducing sensitivity to noisy labels.
- The framework is extendable to semi-supervised learning when a small amount of clean labels is available.
- The method is agnostic to weak supervision sources, supporting semantic rules, pattern matching, and crowd-sourced labels.
Experimental results
Research questions
- RQ1Can a contrastive self-training framework effectively reduce label noise during fine-tuning of pre-trained language models under weak supervision?
- RQ2How does confidence-based reweighting and regularization improve robustness against noisy pseudo-labels in self-training?
- RQ3To what extent can a weakly supervised model achieve performance comparable to fully supervised fine-tuning?
- RQ4Can the framework generalize across different NLP tasks, including sequence, token, and sentence pair classification?
- RQ5How does the model perform under various types of label noise, such as biased or randomly corrupted labels?
Key findings
- COSINE outperforms the strongest baseline models on all six NLP classification tasks evaluated across seven public benchmarks.
- On the Yelp dataset, COSINE achieves 96.0% accuracy, closely matching the 97.2% accuracy of fully supervised fine-tuning.
- The model demonstrates strong robustness to both biased and randomly corrupted label noise, thanks to contrastive regularization and confidence-based reweighting.
- The framework achieves competitive performance even without any labeled data, significantly outperforming existing weakly supervised fine-tuning methods.
- Confidence-based reweighting and regularization effectively suppress error propagation, preventing performance degradation during iterative self-training.
- The approach is flexible and applicable to diverse weak supervision sources, including semantic rules and crowd-sourced labels, without requiring prior knowledge of the labeling functions.
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.