Large Language Models Are Zero-Shot Text Classifiers
Authors:
Preprint
Abstract
Retrained large language models (LLMs) have become extensively used across various sub-disciplines of natural language processing (NLP). In NLP, text classification problems have garnered considerable focus, but still faced with some limitations related to expensive computational cost, time consumption, and robust performance to unseen classes. With the proposal of chain of thought prompting (CoT), LLMs can be implemented using zero-shot learning (ZSL) with the step by step reasoning prompts, instead of conventional question and answer formats. The zero-shot LLMs in the text classification problems can alleviate these limitations by directly utilizing pretrained models to predict both seen and unseen classes. Our research primarily validates the capability of GPT models in text classification. We focus on effectively utilizing prompt strategies to various text classification scenarios. Besides, we compare the performance of zero shot LLMs with other state of the art text classification methods, including traditional machine learning methods, deep learning methods, and ZSL methods. Experimental results demonstrate that the performance of LLMs underscores their effectiveness as zero-shot text classifiers in three of the four datasets analyzed. The proficiency is especially advantageous for small businesses or teams that may not have extensive knowledge in text classification.Keywords
All Related Versions
This publication has 17 references indexed in Scilit:
- Are the BERT family zero-shot learners? A study on their potential and limitationsArtificial Intelligence, 2023
- Zero-shot learning for requirements classification: An exploratory studyInformation and Software Technology, 2023
- ChatGPT for good? On opportunities and challenges of large language models for educationLearning and Individual Differences, 2023
- A novel approach for dimension reduction using word embedding: An enhanced text classification approachInternational Journal of Information Management Data Insights, 2022
- A Dirichlet process biterm-based mixture model for short text stream clusteringApplied Intelligence, 2020
- Text classification based on deep belief network and softmax regressionNeural Computing and Applications, 2016
- Good debt or bad debt: Detecting semantic orientations in economic textsJournal of the Association for Information Science and Technology, 2013
- On the Validity of a New SMS Spam Collection2012
- Using AUC and accuracy in evaluating learning algorithmsIEEE Transactions on Knowledge and Data Engineering, 2005
- Learning to Classify Text Using Support Vector Machines2002