LLMs' Classification Performance is Overclaimed

Hanzi Xu, Renze Lou, Jiangshu Du, Vahid Mahzoon, Elmira Talebianaraki, Zhuoan Zhou, Elizabeth Garrison, Slobodan Vucetic, Wenpeng YinarXiv 2024 · DOI

Abstract

Current Large Language Model (LLM) benchmarks for classification tasks are often misleading because they always include the correct answer in the multiple-choice options. This paper introduces the KNOW-NO benchmark and the OMNIACCURACY metric to evaluate models in the CLASSIFY-W/O-GOLD setting—where the correct label is missing. Our findings reveal that even top-tier models like GPT-4o struggle to admit when "none of the above" applies, highlighting a significant gap between model pattern matching and true task comprehension.

Introduction

In standard Natural Language Processing (NLP) evaluation, classification is typically framed as a "closed-book" multiple-choice test. Under these conditions, where the "gold label" (the correct answer) is guaranteed to be among the choices, LLMs appear to possess near-human intelligence. However, this setup masks a fundamental limitation: the inability to recognize when none of the provided options are appropriate. A truly intelligent agent should exhibit the human-like behavior of identifying missing information or incorrect premises. This study addresses this "overclaimed" performance by testing LLMs in a new setting: Classification without the Gold label (CLASSIFY-W/O-GOLD).

The CLASSIFY-W/O-GOLD task setup: LLMs succeed when the gold label is present but often fail to signal when it is missing, unlike humans.

Methods and Benchmarks

The researchers evaluated several state-of-the-art models, including GPT-4o, Claude 3 Opus, and Llama 3, using the newly developed KNOW-NO benchmark. This benchmark consists of three distinct tasks:

  1. BANK-77: A moderate-difficulty intent classification dataset for banking queries with 77 possible classes.
  2. MC-TEST: A low-difficulty reading comprehension task based on elementary school stories.
  3. EQUINFER: A high-difficulty task requiring models to infer LaTeX equations from scientific papers given extensive context (up to 2,000 words).

To evaluate performance, the study introduces OMNIACCURACY. This metric provides a holistic view of "discrimination intelligence" by averaging a model's performance when the gold label is present ($A_{w/}$) and its expected performance when the gold label is absent ($E[A_{w/o}]$). Models were tested using three prompting strategies: HINT-AS-OPTION (including "none-of-them" as a literal choice), HINT-IN-INSTRU (explicit instructions to use "none-of-them"), and NO-HINT (no guidance provided).

Results and the Human-Model Gap

The results demonstrate a stark contrast between human and model performance. While humans maintain high accuracy (~93-97%) even when the gold label is missing, LLMs experience dramatic performance drops. On the MC-TEST dataset, GPT-4 achieves a standard accuracy of 98.67%, but its OMNIACCURACY falls to 82.98%. In the more complex EQUINFER task, GPT-4’s OMNIACCURACY plummets to a mere 23.15%.

Comparison of Human and LLM performance across various hint conditions, showing the significant drop in LLM accuracy when the gold label is absent.

Discussion

Several key insights emerged from the study:

  • The Illusion of Intelligence: High performance on standard benchmarks is often a result of "force-fitting" inputs into the most likely-looking category provided, rather than true understanding.
  • Instruction Following: Closed-source models like GPT-4 and Claude 3 are significantly better at following the "none-of-them" instruction than open-source counterparts like Llama 3 and Mistral, which frequently ignored hints and picked random incorrect labels.
  • Data Leakage: The study found evidence of potential data leakage in Llama 3. When researchers modified label formats (e.g., changing underscores to hyphens), Llama 3 continued to output labels in the original format, suggesting it was reciting memorized training data rather than processing the prompt.

Conclusion

The KNOW-NO benchmark reveals that current LLM classification performance is significantly overclaimed. To move toward more robust and reliable AI, the field must prioritize the development of "format-aware" training and better uncertainty calibration. Ensuring that LLMs can safely state "I don't know" or "None of these apply" is crucial for real-world applications in sensitive domains like customer service and medical screening.

Summary updated

BibTeX
@misc{xu2024llms,
  author = {Hanzi Xu and Renze Lou and Jiangshu Du and Vahid Mahzoon and Elmira Talebianaraki and Zhuoan Zhou and Elizabeth Garrison and Slobodan Vucetic and Wenpeng Yin},
  title = {{LLMs' Classification Performance is Overclaimed}},
  year = {2024},
  eprint = {2406.16203},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.16203},
}
Figure