Avoiding Inference Heuristics in Few-shot Prompt-based Finetuning
arXiv:2109.04144
Abstract
Recent prompt-based approaches allow pretrained language models to achieve strong performances on few-shot finetuning by reformulating downstream tasks as a language modeling problem. In this work, we demonstrate that, despite its advantages on low data regimes, finetuned prompt-based models for sentence pair classification tasks still suffer from a common pitfall of adopting inference heuristics based on lexical overlap, e.g., models incorrectly assuming a sentence pair is of the same meaning because they consist of the same set of words. Interestingly, we find that this particular inference heuristic is significantly less present in the zero-shot evaluation of the prompt-based model, indicating how finetuning can be destructive to useful knowledge learned during the pretraining. We then show that adding a regularization that preserves pretraining weights is effective in mitigating this destructive tendency of few-shot finetuning. Our evaluation on three datasets demonstrates promising improvements on the three corresponding challenge datasets used to diagnose the inference heuristics.
arXiv commentAccepted at EMNLP 2021
References in corpus (6)
- Distilling the Knowledge in a Neural Network
- New insights and perspectives on the natural gradient method
- Fine-Tuning Pretrained Language Models: Weight Initializations, Data Orders, and Early Stopping
- Performance Impact Caused by Hidden Bias of Training Data for Recognizing Textual Entailment
- Characterising Bias in Compressed Models
- Improving Robustness by Augmenting Training Sentences with Predicate-Argument Structures