Bring Your Own Data! Self-Supervised Evaluation for Large Language Models

Neel Jain, Khalid Saifullah, Yuxin Wen, John Kirchenbauer, Manli Shu +4 more
6/23/2023
cs.CLcs.LG

Official code: neelsjain/BYOD (108 stars, MIT, last commit 2023-09-23).

Abstract

With the rise of Large Language Models (LLMs) and their ubiquitous deployment in diverse domains, measuring language model behavior on realistic data is imperative. For example, a company deploying a client-facing chatbot must ensure that the model will not respond to client requests with profanity. Current evaluations approach this problem using small, domain-specific datasets with human-curated labels. These evaluation sets are often sampled from a narrow and simplified distribution, and data sources can unknowingly be leaked into the training set which can lead to misleading evaluations. To bypass these drawbacks, we propose a framework for self-supervised evaluation of LLMs by analyzing their sensitivity or invariance to transformations on the input text. Self-supervised evaluation can directly monitor LLM behavior on datasets collected in the wild or streamed during live model deployment. We demonstrate self-supervised evaluation strategies for measuring closed-book knowledge, toxicity, and long-range context dependence, in addition to sensitivity to grammatical structure and tokenization errors. When comparisons to similar human-labeled benchmarks are available, we find strong correlations between self-supervised and human-supervised evaluations. The self-supervised paradigm complements current evaluation strategies that rely on labeled data.

View on arXivView PDF

Code Implementations(1)

neelsjain/BYODOfficial64%
MIT

The Official Repository for "Bring Your Own Data! Self-Supervised Evaluation for Large Language Models"

1089Shell, PythonJun 20, 20233 years agoMIT

Similar Papers

Cite this paper

@article{jain2023bring,
  title  = {Bring Your Own Data! Self-Supervised Evaluation for Large Language Models},
  author = {Neel Jain and Khalid Saifullah and Yuxin Wen and John Kirchenbauer and Manli Shu and Aniruddha Saha and Micah Goldblum and Jonas Geiping and Tom Goldstein},
  year   = {2023},
  eprint = {2306.13651},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.13651v2}
}

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

Discussion