2022 · 10 citations · 28 references
ComputingComputer ScienceComputational LinguisticsMachine LearningNatural Language ProcessingDeep LearningLanguage ModelingLanguage ModelsLearning From DemonstrationSequence LabelingDemonstration AlignmentFew-shot Language ModelingFew-shot LearningLanguage Model PretrainingLanguage Processing ModelsModel Learning From Demonstrations
Demonstration-based learning can markedly boost pretrained language models in few-shot NER, yet the mechanisms behind this benefit remain unclear due to a lack of explicit alignment between demonstrations and predictions. The study investigates the robustness of demonstration-based sequence labeling by creating pathological demonstrations that progressively strip useful information from standard ones. We design these pathological demonstrations by gradually removing intuitively useful content, varying random token length and relevance to assess their impact on few-shot learning and prediction confidence. Demonstrations composed of random tokens still improve few-shot learning, with random token length and relevance being key performance factors, and they boost model confidence on superficial patterns; the code is publicly available at https://github.com/SALT-NLP/RobustDemo.
Demonstration-based learning has shown great potential in stimulating pretrained language models' ability under limited data scenario. Simply augmenting the input with some demonstrations can significantly improve performance on few-shot NER. However, why such demonstrations are beneficial for the learning process remains unclear since there is no explicit alignment between the demonstrations and the predictions. In this paper, we design pathological demonstrations by gradually removing intuitively useful information from the standard ones to take a deep dive of the robustness of demonstration-based sequence labeling and show that (1) demonstrations composed of random tokens still make the model a better few-shot learner; (2) the length of random demonstrations and the relevance of random tokens are the main factors affecting the performance; (3) demonstrations increase the confidence of model predictions on captured superficial patterns. We have publicly released our code at https://github.com/SALT-NLP/RobustDemo.
28
Transformers: State-of-the-Art Natural Language Processing
Thomas Wolf, Lysandre Debut, Victor Sanh et al. · 2020 · 8K citations · Full text
Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank
Richard Socher, Alex Perelygin, Jean Y. Wu et al. · 2013 · 6.8K citations · Full text