Robustness of Demonstration-based Learning Under Limited Data Scenario

Hongxin Zhang, Yanzhe Zhang, Ruiyi Zhang, Diyi Yang

2022 · 10 citations · 28 references

DOIFull text

Open access

Concepts

TL;DR

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.

Abstract

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.

References

28