Do Large Language Models Perform the Way People Expect? Measuring the Human Generalization Function

Keyon Vafa, Ashesh Rambachan, S. Mullainathan
6/1/2024

No official code found. Best implementation: keyonvafa/human-generalization-llms (6 stars, MIT, last commit 2024-06-10).

Abstract

What makes large language models (LLMs) impressive is also what makes them hard to evaluate: their diversity of uses. To evaluate these models, we must understand the purposes they will be used for. We consider a setting where these deployment decisions are made by people, and in particular, people's beliefs about where an LLM will perform well. We model such beliefs as the consequence of a human generalization function: having seen what an LLM gets right or wrong, people generalize to where else it might succeed. We collect a dataset of 19K examples of how humans make generalizations across 79 tasks from the MMLU and BIG-Bench benchmarks. We show that the human generalization function can be predicted using NLP methods: people have consistent structured ways to generalize. We then evaluate LLM alignment with the human generalization function. Our results show that -- especially for cases where the cost of mistakes is high -- more capable models (e.g. GPT-4) can do worse on the instances people choose to use them for, exactly because they are not aligned with the human generalization function.

View on arXivView PDF

Code Implementations(1)

MIT

Human generalization of LLMs

60Python, Jupyter NotebookMay 23, 20242 years agoMIT

Similar Papers

Cite this paper

@article{vafa2024large,
  title  = {Do Large Language Models Perform the Way People Expect? Measuring the Human Generalization Function},
  author = {Keyon Vafa and Ashesh Rambachan and S. Mullainathan},
  year   = {2024},
  eprint = {2406.01382},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2406.01382},
  journal = {ICML 2024 2024}
}

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

Discussion