RUPBench: Benchmarking Reasoning Under Perturbations for Robustness Evaluation in Large Language Models

Yuqing Wang, Yuqing Wang 0004, Yun ZhaoarXiv 2024 · DOI

Introduction

While Large Language Models (LLMs) have achieved state-of-the-art performance on standard benchmarks, their real-world utility is often hindered by brittleness. Real-world inputs are frequently "noisy," containing typographical errors, non-standard syntax, or irrelevant contextual information. RUPBench is introduced as a comprehensive evaluation framework designed to assess the robustness of LLMs across 15 diverse reasoning tasks by applying nine distinct types of textual perturbations. The study identifies a significant "robustness gap," where even frontier models like GPT-4o remain susceptible to simple linguistic variations despite their superior general performance.

Methodology and Data Construction

The RUPBench pipeline transforms 15 established reasoning datasets into a robust benchmark comprising 365,580 perturbed samples. These datasets span four primary categories: Commonsense (e.g., CommonsenseQA, PIQA), Arithmetic (GSM8K, AQuA-RAT), Logical (ReClor, LogiQA2.0), and Knowledge-Intensive (MMLU).

The RUPBench data generation pipeline, illustrating the transition from original reasoning data through adversarial perturbations and expert review to the final benchmark.

The perturbation strategy operates across three linguistic dimensions:

  1. Lexical (Word-level): Introduction of homophones, typos, and "leetspeak" (character substitution).
  2. Syntactic (Sentence-level): Structural modifications such as It-clefts, Wh-clefts, and complex compound sentence variations.
  3. Semantic (Context-level): Addition of "Red Herrings" (plausible but irrelevant info), "CheckList" items (random metadata), and "StressTests" (redundant phrases).

A critical component of RUPBench is the "Human in the Loop" validation. Ten human experts reviewed and revised the perturbed samples to ensure that the noise did not alter the ground-truth answer or render the prompt unintelligible to a human reader.

Analysis of Model Robustness

The evaluation of leading models—including GPT-4o, Llama3, Phi-3, and Gemma—revealed several key insights into the nature of LLM reasoning:

  • Scaling and Robustness: A strong positive correlation exists between model scale and robustness. Larger models (e.g., GPT-4o, Llama3-70B) exhibit not only higher baseline accuracy but also a significantly lower Performance Drop Rate (PDR) when encountering noise.
  • Sensitivity to Surface Patterns: Models are unexpectedly sensitive to lexical and syntactic shifts. For instance, "leetspeak" and "It-cleft" constructions caused notable performance declines, suggesting that LLMs still rely heavily on standard linguistic patterns encountered during pre-training.
  • Semantic Resilience: Interestingly, semantic distractions like "Red Herrings" often caused less degradation than simple typos. This indicates that modern LLMs are relatively proficient at filtering irrelevant context but struggle when the fundamental structure of the input is garbled.
  • Task-Specific Fragility: Arithmetic and commonsense reasoning tasks proved to be the most fragile. A single typo in a mathematical word problem can lead to a complete breakdown in the model's calculation chain.

Experimental Results

The experimental results highlight the performance disparity between frontier and smaller models:

  • GPT-4o led the evaluation with an average accuracy of 83.9% and the lowest PDR of 10.0%.
  • Llama3-70B emerged as the open-source leader, maintaining a low PDR of 11.5%.
  • Gemma-2B demonstrated the highest vulnerability, with a PDR of 21.2%. In specific tasks like GSM8K (math), its performance dropped by nearly 50% under perturbation.

Error analysis further clarified these failures: in knowledge-intensive tasks, 40.3% of errors were attributed to knowledge gaps exposed by noise, while 32.7% of commonsense errors resulted from context misinterpretation.

Conclusion and Future Directions

RUPBench underscores the necessity of moving beyond "clean" benchmarks to evaluate the true reliability of LLMs. While larger models show promise, the persistent vulnerability to minor linguistic perturbations suggests that current training paradigms may over-index on standard text distributions. Future work will involve expanding the benchmark to include multimodal perturbations and specialized domains such as healthcare and law, where input robustness is critical for safety and efficacy.

Summary updated

BibTeX
@misc{wang2024rupbench,
  author = {Yuqing Wang and Yuqing Wang and Yun Zhao},
  title = {{RUPBench: Benchmarking Reasoning Under Perturbations for Robustness Evaluation in Large Language Models}},
  year = {2024},
  eprint = {2406.11020},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.11020},
}
Figure