如何为大型语言模型的评估指标选择阈值
How to Choose a Threshold for an Evaluation Metric for Large Language Models
AI总结:
本文提出一种基于模型风险管理指南的逐步方法,为大型语言模型评估指标选择稳健阈值,并以Faithfulness指标和HaluBench数据集为例验证其有效性。
摘要:
为了确保并监控大型语言模型(LLMs)的可靠性,文献中提出了各种评估指标。然而,关于如何为这些指标确定一个稳健阈值的方法论研究却很少,尽管在LLMs部署过程中,阈值选择不当会带来许多严重后果。借鉴受监管行业(如金融行业)中传统的模型风险管理(MRM)指南,我们提出了一种为给定LLM评估指标选择阈值的逐步方法。我们强调,这种方法论应首先识别所考虑的LLM应用的风险以及利益相关者的风险承受能力。然后,我们提出了具体且统计上严谨的程序,利用可用的真实数据为给定的LLM评估指标确定阈值。作为展示所提方法论实际应用的具体示例,我们将其应用于各种公开库中实现的Faithfulness指标,并使用公开的HaluBench数据集。我们还为创建系统化的阈值选择方法奠定了基础,不仅适用于LLMs,也适用于任何生成式AI(GenAI)应用。
英文摘要:
To ensure and monitor large language models (LLMs) reliably, various evaluation metrics have been proposed in the literature. However, there is little research on prescribing a methodology to identify a robust threshold on these metrics even though there are many serious implications of an incorrect choice of the thresholds during deployment of the LLMs. Translating the traditional model risk management (MRM) guidelines within regulated industries such as the financial industry, we propose a step-by-step recipe for picking a threshold for a given LLM evaluation metric. We emphasize that such a methodology should start with identifying the risks of the LLM application under consideration and risk tolerance of the stakeholders. We then propose concrete and statistically rigorous procedures to determine a threshold for the given LLM evaluation metric using available ground-truth data. As a concrete example to demonstrate the proposed methodology at work, we employ it on the Faithfulness metric, as implemented in various publicly available libraries, using the publicly available HaluBench dataset. We also lay a foundation for creating systematic approaches to select thresholds, not only for LLMs but for any GenAI applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。