arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.10693cs.CLcs.LG
收藏

探索Precision和Recall以评估LLMs的质量与多样性

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

Miles(迈尔斯机构);Université Paris-Dauphine(巴黎多芬大学);Université PSL(巴黎文理研究大学);CNRS(法国国家科学研究中心);LAMSADE(巴黎多芬大学计算机科学与决策实验室);Sorbonne Université(索邦大学);ISIR(智能与机器人系统研究所)

Florian Le Bronnec, Alexandre Verine, Benjamin Negrevergne, Yann Chevaleyre, Alexandre Allauzen

AI总结:

本文提出将Precision和Recall指标引入LLMs文本生成评估,无需对齐语料库即可细致评估生成文本的质量与多样性,揭示了模型微调时两者的权衡,扩展了基于分布的NLP评估工具包。

摘要:

我们为Large Language Models (LLMs,大型语言模型)(如Llama-2和Mistral)引入了一个新颖的评估框架,重点是将Precision和Recall指标从图像生成引入到文本生成中。该方法无需对齐语料库,即可对生成文本的质量和多样性进行细致评估。通过对state-of-the-art语言模型进行全面评估,本研究揭示了它们在开放式生成任务上的性能新见解,这些见解是传统基准无法充分捕捉的。研究结果突显了生成样本的质量与多样性之间的权衡,尤其是当模型在指令数据集上微调或结合人类反馈时。本工作扩展了基于分布的NLP评估工具包,为当前LLMs在生成多样化和高质量文本方面的实际能力与挑战提供了见解。我们发布了代码和数据。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑