Plug-and-Play Performance Estimation for LLM Services without Relying on Labeled Data

PDFHTML

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.
Submitted 10 Oct 2024 to Performance [cs.PF]
Published 11 Oct 2024
Subjects: cs.PF cs.LG
https://arxiv.org/abs/2410.07737
https://arxiv.org/pdf/2410.07737.pdf
https://arxiv-vanity.com/papers/2410.07737

View this paper on arXiv.wiki:
https://arxiv.wiki/abs/2410.07737

0 comments