Inverse is Better! Fast and Accurate Prompt for Few-shot Slot Tagging
This addresses a bottleneck in few-shot learning for slot tagging, offering a faster and more accurate solution for NLP tasks.
The paper tackles the inefficiency of prompting methods in few-shot slot tagging by introducing an inverse paradigm that predicts slot values given slot types, which speeds up prediction and improves performance by over 6.1 F1-scores in a 10-shot setting.
Prompting methods recently achieve impressive success in few-shot learning. These methods modify input samples with prompt sentence pieces, and decode label tokens to map samples to corresponding labels. However, such a paradigm is very inefficient for the task of slot tagging. Since slot tagging samples are multiple consecutive words in a sentence, the prompting methods have to enumerate all n-grams token spans to find all the possible slots, which greatly slows down the prediction. To tackle this, we introduce an inverse paradigm for prompting. Different from the classic prompts mapping tokens to labels, we reversely predict slot values given slot types. Such inverse prompting only requires a one-turn prediction for each slot type and greatly speeds up the prediction. Besides, we propose a novel Iterative Prediction Strategy, from which the model learns to refine predictions by considering the relations between different slot types. We find, somewhat surprisingly, the proposed method not only predicts faster but also significantly improves the effect (improve over 6.1 F1-scores on 10-shot setting) and achieves new state-of-the-art performance.