arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.18528cs.CL
收藏

PrExMe!面向机器翻译与摘要评估的开源大语言模型大规模提示词探索

PrExMe! Large Scale Prompt Exploration of Open Source LLMs for Machine Translation and Summarization Evaluation

University of Mannheim(曼海姆大学);University of Technology Nuremberg (UTN)(纽伦堡工业大学(UTN))

Christoph Leiter, Steffen Eger

AI总结:

本文提出PrExMe,通过超720个提示模板和660万次评估,全面探索开源LLM在机器翻译与摘要评估中的表现,揭示了提示策略的稳定性与局限性。

摘要:

大型语言模型(LLMs)彻底改变了NLP研究。值得注意的是,上下文学习使其能够作为自然语言生成的评估指标,这使其在低资源场景和时间受限的应用中尤为有利。在这项工作中,我们引入了PrExMe,一项面向指标的大规模提示词探索,我们在机器翻译(MT)和摘要数据集上评估了超过720个基于开源LLM的指标提示模板,总计超过660万次评估。这一广泛的比较(1)将最近的开源LLMs作为指标进行基准测试,并(2)探索了不同提示策略的稳定性和可变性。我们发现,一方面,存在某些提示词稳定的场景。例如,一些LLMs表现出特有的偏好,倾向于用文本标签对生成的文本进行评分,而另一些则更喜欢返回数字分数。另一方面,提示词的稳定性和模型排名可能会受到看似无害的变化的影响。例如,将要求的输出格式从“0到100”更改为“-1到+1”会极大地影响我们评估中的排名。我们的研究有助于理解不同提示方法对用于MT和摘要评估的基于LLM的指标的影响,突出了最稳定的提示模式和潜在的局限性。

英文摘要:

Large language models (LLMs) have revolutionized NLP research. Notably, in-context learning enables their use as evaluation metrics for natural language generation, making them particularly advantageous in low-resource scenarios and time-restricted applications. In this work, we introduce PrExMe, a large-scale Prompt Exploration for Metrics, where we evaluate more than 720 prompt templates for open-source LLM-based metrics on machine translation (MT) and summarization datasets, totalling over 6.6M evaluations. This extensive comparison (1) benchmarks recent open-source LLMs as metrics and (2) explores the stability and variability of different prompting strategies. We discover that, on the one hand, there are scenarios for which prompts are stable. For instance, some LLMs show idiosyncratic preferences and favor to grade generated texts with textual labels while others prefer to return numeric scores. On the other hand, the stability of prompts and model rankings can be susceptible to seemingly innocuous changes. For example, changing the requested output format from "0 to 100" to "-1 to +1" can strongly affect the rankings in our evaluation. Our study contributes to understanding the impact of different prompting approaches on LLM-based metrics for MT and summarization evaluation, highlighting the most stable prompting patterns and potential limitations.

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

↑