Skip to main content
QUICK REVIEW

[Paper Review] TRUCE: Private Benchmarking to Prevent Contamination and Improve Comparative Evaluation of LLMs

Rajore, Tanmay, Nishanth Chandran|arXiv (Cornell University)|Mar 1, 2024
International Arbitration and Investment LawBusiness, Management and Accounting3 citations
TL;DR

This paper introduces Private Benchmarking, a novel framework that prevents LLM benchmark contamination by keeping test datasets private from models using cryptographic and confidential computing techniques. It enables secure, auditable evaluation of LLMs without exposing data, ensuring reliable comparative assessment and mitigating risks from data leakage in pretraining or fine-tuning.

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.

Motivation & Objective

  • To address the growing problem of benchmark dataset contamination in LLM pretraining and fine-tuning, which undermines the validity of model evaluation.
  • To develop a secure evaluation framework that keeps test data private from models, ensuring no exposure during inference or training.
  • To enable trust in private benchmarks through cryptographic auditing mechanisms that verify data quality without revealing the dataset.
  • To support diverse trust models—open-source, closed-source, and privacy-preserving—using TEEs and zero-knowledge proofs.
  • To establish a foundation for cross-industry, secure benchmarking platforms akin to SPEC or Truste seals in cybersecurity.

Proposed method

  • Private Benchmarking keeps test datasets encrypted or committed cryptographically, so models never access raw data during evaluation.
  • Uses cryptographic commitments (e.g., hash-based) to bind benchmark data points, enabling auditors to verify quality without full dataset exposure.
  • Employs zero-knowledge proofs to prove that the same benchmark used in auditing is also used in evaluation, ensuring consistency.
  • Leverages trusted execution environments (TEEs) to securely host models and evaluate them on private benchmarks without exposing weights or data.
  • Applies random sampling of committed data points by auditors to test a representative subset, with statistical guarantees on dataset quality.
  • Integrates secure multi-party computation and confidential computing to support scenarios where model weights must remain private.

Experimental results

Research questions

  • RQ1How can benchmark datasets be kept private from LLMs during evaluation to prevent contamination from pretraining or fine-tuning?
  • RQ2What cryptographic and trusted execution techniques can ensure the integrity and consistency of private benchmarks across auditing and evaluation phases?
  • RQ3How can auditors verify the quality of a private benchmark without access to the full dataset?
  • RQ4What trust models are feasible in private benchmarking, and how do they balance privacy, security, and practicality?
  • RQ5Can private benchmarking enable secure, cross-industry evaluation platforms without compromising competitive advantage?

Key findings

  • Private Benchmarking effectively prevents model access to test data, eliminating the risk of contamination from pretraining or fine-tuning on benchmark data.
  • Cryptographic commitments allow auditors to verify that at least α% of the dataset is of good quality with high confidence, with error probability ≈ (α/100)^κ for κ sampled points.
  • Zero-knowledge proofs ensure that the same benchmark used in auditing is also used in evaluation, preventing substitution attacks by malicious owners.
  • TEE-based solutions simplify the verification process by enabling secure evaluation without requiring zero-knowledge proofs.
  • The framework supports diverse deployment models, including open-source models, closed models with trusted owners, and privacy-preserving evaluations with confidential computing.
  • The approach enables the creation of secure, auditable benchmarking platforms that could serve as industry standards, similar to SPEC or Truste seals.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.