VarBench: Robust Language Model Benchmarking Through Dynamic Variable Perturbation

Kun Qian, Shunji Wan, Claudia Tang, Youzhi Wang, Xuanming Zhang +2 more
6/25/2024
cs.CL

No official code found. Best implementation: qbetterk/VarBench (3 stars, last commit 2024-06-27).

Abstract

As large language models achieve impressive scores on traditional benchmarks, an increasing number of researchers are becoming concerned about benchmark data leakage during pre-training, commonly known as the data contamination problem. To ensure fair evaluation, recent benchmarks release only the training and validation sets, keeping the test set labels closed-source. They require anyone wishing to evaluate his language model to submit the model's predictions for centralized processing and then publish the model's result on their leaderboard. However, this submission process is inefficient and prevents effective error analysis. To address this issue, we propose to variabilize benchmarks and evaluate language models dynamically. Specifically, we extract variables from each test case and define a value range for each variable. For each evaluation, we sample new values from these value ranges to create unique test cases, thus ensuring a fresh evaluation each time. We applied this variable perturbation method to four datasets: GSM8K, ARC, CommonsenseQA, and TruthfulQA, which cover mathematical generation and multiple-choice tasks. Our experimental results demonstrate that this approach provides a more accurate assessment of the true capabilities of language models, effectively mitigating the contamination problem.

View on arXivView PDF

Code Implementations(1)

qbetterk/VarBenchCommunity100%
30PythonJun 21, 20242 years ago

Similar Papers

Cite this paper

@article{qian2024varbench,
  title  = {VarBench: Robust Language Model Benchmarking Through Dynamic Variable Perturbation},
  author = {Kun Qian and Shunji Wan and Claudia Tang and Youzhi Wang and Xuanming Zhang and Maximillian Chen and Zhou Yu},
  year   = {2024},
  eprint = {2406.17681},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.17681v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.17681.svg)](https://codeofpaper.com/paper/2406.17681)

Discussion