TRUCE: Private Benchmarking to Prevent Contamination and Improve Comparative Evaluation of LLMs

Tanmay Rajore, Nishanth Chandran, Sunayana Sitaram, Divya Gupta, Rahul Sharma +2 more
3/1/2024
cs.CRcs.CL

No official code found. Best implementation: microsoft/private-benchmarking (13 stars, MIT, last commit 2026-04-22).

Abstract

Benchmarking is the de-facto standard for evaluating LLMs, due to its speed, replicability and low cost. However, recent work has pointed out that the majority of the open source benchmarks available today have been contaminated or leaked into LLMs, meaning that LLMs have access to test data during pretraining and/or fine-tuning. This raises serious concerns about the validity of benchmarking studies conducted so far and the future of evaluation using benchmarks. To solve this problem, we propose Private Benchmarking, a solution where test datasets are kept private and models are evaluated without revealing the test data to the model. We describe various scenarios (depending on the trust placed on model owners or dataset owners), and present solutions to avoid data contamination using private benchmarking. For scenarios where the model weights need to be kept private, we describe solutions from confidential computing and cryptography that can aid in private benchmarking. We build an end-to-end system, TRUCE, that enables such private benchmarking showing that the overheads introduced to protect models and benchmark are negligible (in the case of confidential computing) and tractable (when cryptographic security is required). Finally, we also discuss solutions to the problem of benchmark dataset auditing, to ensure that private benchmarks are of sufficiently high quality.

View on arXivView PDF

Code Implementations(1)

MIT

A platform that enables users to perform private benchmarking of machine learning models. The platform facilitates the evaluation of models based on different trust levels between the model owners and the dataset owners.

132HTML, ShellApr 29, 20246 months agoMIT
benchmarkingconfidential-computingcontaminationezpcinference+8 more

Similar Papers

Cite this paper

@article{rajore2024truce,
  title  = {TRUCE: Private Benchmarking to Prevent Contamination and Improve Comparative Evaluation of LLMs},
  author = {Tanmay Rajore and Nishanth Chandran and Sunayana Sitaram and Divya Gupta and Rahul Sharma and Kashish Mittal and Manohar Swaminathan},
  year   = {2024},
  eprint = {2403.00393},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.00393v2}
}

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/2403.00393.svg)](https://codeofpaper.com/paper/2403.00393)

Discussion