无需依赖标注数据的LLM服务即插即用性能估计
Plug-and-Play Performance Estimation for LLM Services without Relying on Labeled Data
AI总结:
提出一种无需标注数据的即插即用方法,利用LLM调用产生的负对数似然和困惑度作为特征,结合元模型估计不同任务和上下文下的LLM服务性能,并在服务选择与优化中验证了其有效性。
摘要:
大型语言模型(LLM)服务通过上下文学习(ICL),仅利用少量示例便能在未学习任务上展现出令人印象深刻的能力。然而,ICL的成功因任务和上下文而异,导致服务质量参差不齐。直接估计每次调用时LLM服务的性能可能非常费力,特别是需要大量标注数据或LLM的内部信息。本文提出了一种新方法来估计不同任务和上下文下LLM服务的性能,该方法可“即插即用”,仅像ICL那样使用少量无标注样本。研究结果表明,从LLM服务调用中得出的负对数似然和困惑度可以作为有效且显著的特征。基于这些特征,我们利用四种不同的元模型来估计LLM服务的性能。我们将所提方法与无标注估计基线在多个LLM服务和任务上进行了比较。并在两种场景下进行了实验应用,证明了其在LLM服务选择和进一步优化中的有效性。
英文摘要:
Large Language Model (LLM) services exhibit impressive capability on unlearned tasks leveraging only a few examples by in-context learning (ICL). However, the success of ICL varies depending on the task and context, leading to heterogeneous service quality. Directly estimating the performance of LLM services at each invocation can be laborious, especially requiring abundant labeled data or internal information within the LLM. This paper introduces a novel method to estimate the performance of LLM services across different tasks and contexts, which can be "plug-and-play" utilizing only a few unlabeled samples like ICL. Our findings suggest that the negative log-likelihood and perplexity derived from LLM service invocation can function as effective and significant features. Based on these features, we utilize four distinct meta-models to estimate the performance of LLM services. Our proposed method is compared against unlabeled estimation baselines across multiple LLM services and tasks. And it is experimentally applied to two scenarios, demonstrating its effectiveness in the selection and further optimization of LLM services.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。