Adaptable and Reliable Text Classification using Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Zhiqiang, Pang, Yiran, Lin, Yanbin, Zhu, Xingquan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909418749165568
author Wang, Zhiqiang
Pang, Yiran
Lin, Yanbin
Zhu, Xingquan
author_facet Wang, Zhiqiang
Pang, Yiran
Lin, Yanbin
Zhu, Xingquan
contents Text classification is fundamental in Natural Language Processing (NLP), and the advent of Large Language Models (LLMs) has revolutionized the field. This paper introduces an adaptable and reliable text classification paradigm, which leverages LLMs as the core component to address text classification tasks. Our system simplifies the traditional text classification workflows, reducing the need for extensive preprocessing and domain-specific expertise to deliver adaptable and reliable text classification results. We evaluated the performance of several LLMs, machine learning algorithms, and neural network-based architectures on four diverse datasets. Results demonstrate that certain LLMs surpass traditional methods in sentiment analysis, spam SMS detection, and multi-label classification. Furthermore, it is shown that the system's performance can be further enhanced through few-shot or fine-tuning strategies, making the fine-tuned model the top performer across all datasets. Source code and datasets are available in this GitHub repository: https://github.com/yeyimilk/llm-zero-shot-classifiers.
format Preprint
id arxiv_https___arxiv_org_abs_2405_10523
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Adaptable and Reliable Text Classification using Large Language Models
Wang, Zhiqiang
Pang, Yiran
Lin, Yanbin
Zhu, Xingquan
Computation and Language
Text classification is fundamental in Natural Language Processing (NLP), and the advent of Large Language Models (LLMs) has revolutionized the field. This paper introduces an adaptable and reliable text classification paradigm, which leverages LLMs as the core component to address text classification tasks. Our system simplifies the traditional text classification workflows, reducing the need for extensive preprocessing and domain-specific expertise to deliver adaptable and reliable text classification results. We evaluated the performance of several LLMs, machine learning algorithms, and neural network-based architectures on four diverse datasets. Results demonstrate that certain LLMs surpass traditional methods in sentiment analysis, spam SMS detection, and multi-label classification. Furthermore, it is shown that the system's performance can be further enhanced through few-shot or fine-tuning strategies, making the fine-tuned model the top performer across all datasets. Source code and datasets are available in this GitHub repository: https://github.com/yeyimilk/llm-zero-shot-classifiers.
title Adaptable and Reliable Text Classification using Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2405.10523