NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Beyond Metrics: A Critical Analysis of the Variability in Large Language Model Evaluation Frameworks

Marco Af Pimentel, Clément Christophe, Tathagata Raha, Prateek Munjal, Praveen K. Kanithi, Shadab KhanarXiv 2024

Abstract

As large language models (LLMs) continue to evolve, the need for robust and standardized evaluation benchmarks becomes paramount. Evaluating the performance of these models is a complex challenge that requires careful consideration of various linguistic tasks, model architectures, and benchmarking methodologies. In recent years, various frameworks have emerged as noteworthy contributions to the field, offering comprehensive evaluation tests and benchmarks for assessing the capabilities of LLMs across diverse domains. This paper provides an exploration and critical analysis of some of these evaluation methodologies, shedding light on their strengths, limitations, and impact on advancing the state-of-the-art in natural language processing.

Introduction

The rapid proliferation of Large Language Models (LLMs) has led the AI industry to rely heavily on standardized benchmarks such as MMLU and HellaSwag for performance ranking. However, these rankings are often interpreted as objective truths, overlooking the significant influence of the underlying evaluation frameworks—such as OpenCompass, EleutherAI’s LM Eval Harness, or Stanford’s HELM. This paper addresses a critical gap in reproducibility: minor implementation details in these frameworks can lead to vastly different results for the same model on the same dataset. This lack of standardization complicates fair comparisons across research papers and leaderboards.

Evaluation Methodologies

The study conducts a head-to-head comparison of three prominent evaluation frameworks: OpenCompass, LM Eval Harness, and HELM, focusing on Multiple-Choice Question (MCQ) tasks in zero-shot settings.

Example of a multiple-choice question format used in the evaluation benchmarks.

Four distinct scoring methodologies were investigated:

  • OC Accuracy (OpenCompass): Predicts based on the probability of the first token (the choice letter).
  • Raw Accuracy: Calculates the likelihood of the entire answer sequence.
  • Token-normalized (T-norm): Adjusts sequence likelihood by the number of tokens to mitigate length bias.
  • Byte-normalized (B-norm): A tokenization-agnostic normalization using character/byte counts.

These methods were applied to four benchmarks: HellaSwag (common-sense reasoning), MedQA (medical knowledge), MMLU (multitask STEM/humanities), and OpenBookQA (elementary science).

Analysis of Framework Sensitivity and Results

The core finding is that evaluation code is as influential as model architecture. The disparity in reported performance is not marginal but substantial. For instance, Mistral-7B’s accuracy on MedQA varied from 24% to 42.9% depending solely on the scoring method.

Accuracy variability across different evaluation methodologies for Mistral and Llama2 models.

Key results for the Llama2 and Mistral families include:

  • HellaSwag Volatility: Llama2-70B’s accuracy fluctuated by 19% (between 64.8% and 83.8%).
  • MMLU Range: Mistral-7B scores ranged from 52.5% to 61.8%. In a competitive landscape, a 9% difference can redefine a model's perceived success.
  • Normalization Impact: While intended to remove bias, normalization effects are inconsistent. It significantly improved HellaSwag scores but introduced negative bias in MedQA, where "Raw" accuracy was consistently higher.

Discussion and Limitations

The study highlights that frameworks focusing only on "next-token" labels (A, B, C, D) may fail to capture a model's true understanding, which is better reflected in the full answer text. However, the scope was limited to MCQ tasks, which do not encompass the nuances of open-ended generation. Additionally, while Llama and Mistral models were tested, proprietary models like GPT-4 might exhibit different variability patterns.

Conclusion

The AI community must move toward a "gold standard" for metric calculation. Transparency is essential; researchers should report not only final scores but also the specific frameworks and normalization methods employed. Without such standardization, the "yardstick" for AI progress remains as variable as the models it aims to measure.

Summary updated

BibTeX
@misc{pimentel2024beyond,
  author = {Marco AF Pimentel and Clément Christophe and Tathagata Raha and Prateek Munjal and Praveen K. Kanithi and Shadab Khan},
  title = {{Beyond Metrics: A Critical Analysis of the Variability in Large Language Model Evaluation Frameworks}},
  year = {2024},
  eprint = {2407.21072},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.21072},
}
Figure