English

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

Computation and Language 2023-06-30 v2 Machine Learning

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.

Keywords

Cite

@article{arxiv.2306.13651,
  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},
  journal= {arXiv preprint arXiv:2306.13651},
  year   = {2023}
}

Comments

Code is available at https://github.com/neelsjain/BYOD. First two authors contributed equally. 21 pages, 22 figures

R2 v1 2026-06-28T11:13:02.051Z