EMNLP 2023long findings0 citations

Zero-shot Topical Text Classification with LLMs - an Experimental Study

Shai Gretz, Alon Halfon, Ilya Shnayderman, Orith Toledo-Ronen, Artem Spector, Lena Dankin, Yannis Katsis, Ofir Arviv

Abstract

Topical Text Classification (TTC) is an ancient, yet timely research area in natural language processing, with many practical applications. The recent dramatic advancements in large LMs raise the question of how well these models can perform in this task in a zero-shot scenario. Here, we share a first comprehensive study, comparing the zero-shot performance of a variety of LMs over TTC23, a large benchmark collection of 23 publicly available TTC datasets, covering a wide range of domains and styles. In addition, we leverage this new TTC benchmark to create LMs that are specialized in TTC, by fine-tuning these LMs over a subset of the datasets and evaluating their performance over the remaining, held-out datasets. We show that the TTC-specialized LMs obtain the top performance on our benchmark, by a significant margin. Our code and model are made available for the community. We hope that the results presented in this work will serve as a useful guide for practitioners interested in topical text classification.

topic classificationzero-shot classificationtext classificationLLMs
BibTeX
@inproceedings{
gretz2023zeroshot,
title={Zero-shot Topical Text Classification with {LLM}s - an Experimental Study},
author={Shai Gretz and Alon Halfon and Ilya Shnayderman and Orith Toledo-Ronen and Artem Spector and Lena Dankin and Yannis Katsis and Ofir Arviv and Yoav Katz and Noam Slonim and Liat Ein-Dor},
booktitle={The 2023 Conference on Empirical Methods in Natural Language Processing},
year={2023},
url={https://openreview.net/forum?id=PBwotNgvp3}
}