arXiv:2409.03563cs.CLcs.AI2024-09被引 27

用100个参考实例,低成本预测新大模型在未知任务上的表现

100 instances is all you need: predicting the success of a new LLM on unseen data by testing on a few instances

  • 基于历史模型评估结果,用少量参考实例训练通用性能预测器
  • 在同分布数据上预测精度接近专用评估器,仅需测试100个实例
  • 随机选参考实例效果不输复杂筛选方法,适合快速评估新模型

预测大语言模型在具体任务实例上的表现对高风险应用至关重要。传统方法需对每个新模型在大量实例上评估以训练专属评估器,成本高昂。本文利用已测试模型的评估结果,提出仅需对新模型在少量参考实例上测试,结合实例特征与历史表现,训练一个通用评估器来预测其在新实例上的性能。我们在HELM-Lite和自建的KindsOfReasoning推理数据集上进行实验,涵盖截至2024年1月的全部指令微调OpenAI模型。当目标实例分布与训练集一致时,该方法性能接近专用评估器;且随机选择参考实例的效果与多种先进选择方法相当。但在分布外场景下,性能下降且无明显优劣,表明大模型的可预测性本身有限。

原文摘要 · Abstract (English)

Predicting the performance of LLMs on individual task instances is essential to ensure their reliability in high-stakes applications. To do so, a possibility is to evaluate the considered LLM on a set of task instances and train an assessor to predict its performance based on features of the instances. However, this approach requires evaluating each new LLM on a sufficiently large set of task instances to train an assessor specific to it. In this work, we leverage the evaluation results of previously tested LLMs to reduce the number of evaluations required to predict the performance of a new LLM. In practice, we propose to test the new LLM on a small set of reference instances and train a generic assessor which predicts the performance of the LLM on an instance based on the performance of the former on the reference set and features of the instance of interest. We conduct empirical studies on HELM-Lite and KindsOfReasoning, a collection of existing reasoning datasets that we introduce, where we evaluate all instruction-fine-tuned OpenAI models until the January 2024 version of GPT4. When predicting performance on instances with the same distribution as those used to train the generic assessor, we find this achieves performance comparable to the LLM-specific assessors trained on the full set of instances. Additionally, we find that randomly selecting the reference instances performs as well as some advanced selection methods we tested. For out of distribution, however, no clear winner emerges and the overall performance is worse, suggesting that the inherent predictability of LLMs is low.

大模型评估性能预测少样本参考实例

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。