Skip to main content
QUICK REVIEW

[Paper Review] Pushing The Limit of LLM Capacity for Text Classification

Yazhou Zhang, Mengyao Wang|arXiv (Cornell University)|Feb 12, 2024
Mathematics, Computing, and Information ProcessingComputer Science11 citations
TL;DR

RGPT is an adaptive boosting framework that builds a specialized text classification LLM by recurrently ensembling strong base learners trained with adaptive sample weighting, achieving state-of-the-art results on four benchmarks in zero-shot settings.

ABSTRACT

The value of text classification's future research has encountered challenges and uncertainties, due to the extraordinary efficacy demonstrated by large language models (LLMs) across numerous downstream NLP tasks. In this era of open-ended language modeling, where task boundaries are gradually fading, an urgent question emerges: have we made significant advances in text classification under the full benefit of LLMs? To answer this question, we propose RGPT, an adaptive boosting framework tailored to produce a specialized text classification LLM by recurrently ensembling a pool of strong base learners. The base learners are constructed by adaptively adjusting the distribution of training samples and iteratively fine-tuning LLMs with them. Such base learners are then ensembled to be a specialized text classification LLM, by recurrently incorporating the historical predictions from the previous learners. Through a comprehensive empirical comparison, we show that RGPT significantly outperforms 8 SOTA PLMs and 7 SOTA LLMs on four benchmarks by 1.36% on average. Further evaluation experiments show a clear surpassing of RGPT over human classification.

Motivation & Objective

  • Motivate the need to reassess text classification performance with large language models (LLMs).
  • Propose RGPT, an adaptive boosting framework that creates a specialized text classification LLM by recurrently ensembling strong base learners.
  • Demonstrate RGPT's effectiveness across multiple datasets and base models, and analyze its components and limitations.

Proposed method

  • Initialize with a general LLM as base learner and uniform sample weights.
  • Iteratively construct K base learners by fine-tuning LLMs on weighted data where misclassified samples have higher weights.
  • Compute each learner's error rate and update sample weights using a boosting-like rule to focus on hard cases.
  • Ensemble the K base learners in a recurrent fashion by feeding the previous learner's output and its error into the current prompt (chain-like boosting).
  • Evaluate RGPT on four datasets and compare against 8 SOTA PLMs and 7 SOTA LLMs in zero-shot settings.

Experimental results

Research questions

  • RQ1Can specialized LLMs built via adaptive boosting outperform existing PLMs and prompt-based methods in text classification?
  • RQ2Is the recurrent ensembling of base learners robust across different base models and tasks?
  • RQ3How does RGPT perform in zero-shot versus few-shot settings, and how does iteration (K) affect performance?

Key findings

  • RGPT achieves state-of-the-art performance on SST-2, AG News, Ohsumed, and MR in zero-shot settings, with gains of 0.88%, 1.21%, 1.47%, and 1.88% respectively over baselines.
  • Using 7 iterations (K=7) yields strong performance with diminishing returns beyond that, balancing accuracy and computational cost.
  • RGPT significantly boosts various base models, including both PLMs and LLMs, with notable improvements over their non-boosted counterparts.
  • Human evaluation indicates RGPT can surpass average human performance in speed and accuracy under the tested conditions.
  • Ablation studies show boosting the LLM component provides the largest contribution, and recurrent ensembling adds measurable gains over non-recurrent aggregation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.