NLPBench: Evaluating Large Language Models on Solving NLP Problems

Linxin Song, Jieyu Zhang, Lechao Cheng, Pengyuan Zhou, Tianyi Zhou, Irene Li · Submission to ICLR 2024 · Rejected

TL;DR

Can large language models solve university-level final exams in the very field that created them? NLPBench introduces a curated benchmark of 378 college-level Natural Language Processing (NLP) exam questions to evaluate models on complex domain-specific tasks. The findings reveal that frontier models like GPT-4 perform reasonably well, but complex prompting strategies (like Chain-of-Thought and Tree-of-Thought) often hurt rather than help performance due to systematic failures in logical decomposition and multi-step reasoning.

What Problem Does This Paper Address?

While LLMs are frequently evaluated on standardized benchmarks spanning mathematics, coding, and general sciences, there has been surprisingly little evaluation of how well LLMs understand Natural Language Processing as an academic discipline.

University NLP coursework requires a sophisticated synthesis of formal language theory, probabilistic models (e.g., HMMs, EM algorithm), syntax parsing, discourse, and formal semantics. Furthermore, university exams frequently feature context-dependent, multi-question problem sets where several sub-questions build on a single shared scenario (such as analyzing a narrative under Rhetorical Structure Theory). Existing benchmarks rarely test multi-turn reasoning over shared context in college-level NLP tasks.

Methods

The authors benchmarked five prominent language models: GPT-4, GPT-3.5, PaLM-2, and LLaMA-2 (13B and 70B).

To probe their capabilities, they implemented a systematic comparison across ten prompting configurations:

  • Baselines: Zero-shot (ZS) vs. Few-shot (FS), tested with and without system prompts.
  • Advanced Reasoning Strategies: Chain-of-Thought (CoT; implemented via zero-shot/few-shot templates or two-stage prompting) and Tree-of-Thought (ToT; incorporating multi-path generation with search).
  • Decoding Variations: Self-Consistency (SC) majority voting applied to multiple-choice settings.
  • Human Error Attribution: Expert annotators categorized the reasoning failures of top models into seven core scientific problem-solving skills (such as logical decomposition, assumption identification, causal reasoning, and abstract reasoning).

Datasets

The authors created NLPBench, a dataset of 378 exam questions curated over a decade (2013–2023) from university NLP final exams:

  • Format Breakdown: 192 short-answer questions, 159 multiple-choice questions, and 27 step-by-step mathematical derivation problems.
  • Context Structure: Roughly half the questions include shared context requiring multi-turn contextual deduction, while the rest are standalone.
  • Topics Covered: Spans six areas: Language Modeling & Syntax Parsing (162 questions), Artificial Intelligence (75), Semantics & Logic (69), Other Topics/Ethics/Speech (32), Information Retrieval & Topic Modeling (27), and Pragmatics & Discourse (13).
  • Anti-Contamination: The questions were sourced from offline, unpublished exams vetted by professors and over 30 teaching assistants, minimizing the risk of dataset leakage.

Key Insights and Ideas

  • Advanced prompting is often counterproductive: In contrast to popular reasoning benchmarks (like GSM8K), complex methods like Tree-of-Thought (ToT) consistently collapsed, scoring near 0% across several settings. The extra prompt constraints introduced extraneous noise and template divergence, which especially derailed smaller models like LLaMA-2-13B.
  • Few-shot prompting yields diminishing returns: Standard few-shot prompting produced only marginal gains (~3% on GPT-3.5/4 and PaLM-2) and often triggered context-length overflow in open-source models during multi-turn sets. Seven of the top nine average model scores were attained in pure zero-shot configurations.
  • The Self-Consistency paradox: While Self-Consistency improved performance under few-shot setups, it substantially degraded performance in zero-shot setups (e.g., GPT-4 zero-shot dropped from 72.25% to 59.75% with SC on multiple-choice items).
  • Text overlap metrics mask reasoning errors: Evaluating generated short answers with BLEU, ROUGE-L, or CIDEr proved deeply misleading. PaLM-2 scored the highest text-relevance metrics because it repeatedly restated domain keywords (e.g., repeating "Elaboration" in Figure 6), despite getting the underlying logic entirely incorrect.
  • Math failures stem from reasoning, not arithmetic: On mathematical NLP problems (e.g., Markov models, EM steps), models failed not because of calculation errors, but because they could not deduce which formulas to set up from the narrative descriptions.

Key Results

  • GPT-4 led across all benchmarks: GPT-4 attained an overall zero-shot accuracy of 70.66% (peaking at 82.29% on short answers with system prompts), outperforming LLaMA-2-70B (peaking at 37.77%) and LLaMA-2-13B (peaking at 33.77%).
  • Mathematical questions proved hardest: LLaMA-2 (13B/70B) scored near 0% on math problems. GPT-4 reached only 28.00% to 32.00% average accuracy on math questions.
  • Error Breakdown: Compared to GPT-4, LLaMA-2-70B exhibited a 14% higher failure rate attributed to poor Logical Decomposition, 11% higher in Problem Deduction, and 16% higher in Logical Reasoning.

Limitations and Future Work

  • Multimodal questions excluded: Questions requiring diagrams, parse trees, or syntactic lattices were filtered out due to plain text/LaTeX formatting constraints.
  • Dataset Scale: At 378 questions, the dataset is relatively small compared to crowdsourced benchmarks, reflecting the high cost of curating and verifying offline university-level exam solutions.
  • Future Directions: The authors emphasize that future pretraining and instruction tuning must focus on structured "logical thinking skills"—specifically decomposing dense, multi-premise prompts into sequential sub-goals—rather than relying solely on post-hoc prompt engineering.

Summary updated

BibTeX
@inproceedings{song2023nlpbench,
  author = {Linxin Song and Jieyu Zhang and Lechao Cheng and Pengyuan Zhou and Tianyi Zhou and Irene Li},
  title = {{NLPBench: Evaluating Large Language Models on Solving NLP Problems}},
  booktitle = {Instruction @ NeurIPS},
  year = {2023},
  url = {https://openreview.net/forum?id=qN9T4cmTEw},
}
Figure