Exploring Precision and Recall to assess the quality and diversity of LLMs

Florian Le Bronnec, Alexandre Verine, Benjamin Negrevergne, Yann Chevaleyre, Alexandre Allauzen
2/16/2024
cs.CLcs.LG

No official code found. Best implementation: AlexVerine/pr-4-llm (2 stars, GPL-3.0, last commit 2024-05-24).

Abstract

We introduce a novel evaluation framework for Large Language Models (LLMs) such as \textsc{Llama-2} and \textsc{Mistral}, focusing on importing Precision and Recall metrics from image generation to text generation. This approach allows for a nuanced assessment of the quality and diversity of generated text without the need for aligned corpora. By conducting a comprehensive evaluation of state-of-the-art language models, the study reveals new insights into their performance on open-ended generation tasks, which are not adequately captured by traditional benchmarks. The findings highlight a trade-off between the quality and diversity of generated samples, particularly when models are fine-tuned on instruction dataset or with human feedback. This work extends the toolkit for distribution-based NLP evaluation, offering insights into the practical capabilities and challenges that current LLMs face in generating diverse and high-quality text. We release our code and data.

View on arXivView PDF

Code Implementations(1)

AlexVerine/pr-4-llmCommunity100%
GPL-3.0
20PythonFeb 16, 20242 years agoGPL-3.0

Similar Papers

Cite this paper

@article{bronnec2024exploring,
  title  = {Exploring Precision and Recall to assess the quality and diversity of LLMs},
  author = {Florian Le Bronnec and Alexandre Verine and Benjamin Negrevergne and Yann Chevaleyre and Alexandre Allauzen},
  year   = {2024},
  eprint = {2402.10693},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.10693v3}
}

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

Discussion