Skip to content
conftrace_
2024 NAACL NAACL 2024

When XGBoost Outperforms GPT-4 on Text Classification: A Case Study

AbstractLarge language models (LLMs) are increasingly used for applications beyond text generation, ranging from text summarization to instruction following. One popular example of exploiting LLMs’ zero- and few-shot capabilities is the task of text classification. This short paper compares two popular LLM-based classification pipelines (GPT-4 and LLAMA 2) to a popular pre-LLM-era classification pipeline on the task of news trustworthiness classification, focusing on performance, training, and deployment requirements. We find that, in this case, the pre-LLM-era ensemble pipeline outperforms the two popular LLM pipelines while being orders of magnitude smaller in parameter size.

🌉 Interdisciplinary Bridge - Artificial Intelligence and Natural Language Processing

More from NAACL 2024

All NAACL 2024 papers →