The Benefits of Label-Description Training for Zero-Shot Text Classification
Gao, Lingyu, Ghosh, Debanjan, Gimpel, Kevin
–arXiv.org Artificial Intelligence
Pretrained language models have improved zero-shot text classification by allowing the transfer of semantic knowledge from the training data in order to classify among specific label sets in downstream tasks. We propose a simple way to further improve zero-shot accuracies with minimal effort. We curate small finetuning datasets intended to describe the labels for a task. Unlike typical finetuning data, which has texts annotated with labels, our data simply describes the labels in language, e.g., using a few related terms, dictionary/encyclopedia entries, and short templates. Across a range of topic and sentiment datasets, our method is more accurate than zero-shot by 17-19% absolute. It is also more robust to choices required for zero-shot classification, such as patterns for prompting the model to classify and mappings from labels to tokens in the model's vocabulary. Furthermore, since our data merely describes the labels but does not use input texts, finetuning on it yields a model that performs strongly on multiple text domains for a given label set, even improving over few-shot out-of-domain classification in multiple settings.
arXiv.org Artificial Intelligence
Oct-23-2023
- Country:
- North America
- United States
- Oregon (0.04)
- California (0.04)
- Washington > King County
- Seattle (0.04)
- Utah > Salt Lake County
- Salt Lake City (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Illinois > Cook County
- Chicago (0.04)
- Florida > Miami-Dade County
- Miami (0.04)
- Colorado > Boulder County
- Boulder (0.04)
- Canada
- Quebec > Capitale-Nationale Region
- Québec (0.04)
- Quebec City (0.04)
- Alberta > Census Division No. 15
- Improvement District No. 9 > Banff (0.04)
- Quebec > Capitale-Nationale Region
- United States
- Europe
- United Kingdom > England (0.04)
- Spain > Valencian Community
- Valencia Province > Valencia (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Asia
- North Korea (0.14)
- China > Hong Kong (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- North America
- Genre:
- Research Report > New Finding (0.46)
- Industry:
- Media (1.00)
- Health & Medicine (0.92)
- Automobiles & Trucks (0.67)
- Government (0.67)
- Leisure & Entertainment > Sports (0.46)
- Education > Educational Setting (0.46)
- Technology: