Pinocchio: Fast Uncertainty Estimates for Black-Box Language Models· Pinocchio: 黑盒语言模型的快速不确定性评估
In high-stakes decision-making applications of large language models (LLMs), practitioners require not only accurate LLMs but also uncertainty estimates for their predictions. Existing approaches to uncertainty estimation for LLMs require access to log-probabilities output by the model or require fine-tuning access. However, many industrial LLM products use closed-source API models, and many such API models like GPT do not return log-probabilities and may not allow fine-tuning. We introduce Pinocchio, an external calibrator that estimates the correctness of responses from black-box API models. Trained jointly on responses from seven LLMs, it achieves 0.862 AUROC predicting the correctness of held-out responses from those same models, and shows zero-shot transfer to thirteen unseen models a
提出Pinocchio,无需内部信息即可为黑盒语言模型提供准确的不确定性评估。
- 核心方法
- Pinocchio是一个外部校准器,通过训练在多个语言模型的响应上共同学习,可以直接评估黑盒API模型响应的正确性。
- 适合谁读
- 研究者 / 工程师 / 产品
- 要解决的问题
- 在高风险应用中,现有的语言模型不确定性评估方法依赖于模型内部的对数概率输出或需要微调,但许多工业级模型不提供这些功能。
- 关键实验
- Pinocchio在七个LLMs上进行了训练,并在这些模型的未见过响应上进行了测试,同时展示了对十三个未见过模型的零样本迁移效果。
- 主要贡献
- Pinocchio在预测训练模型的响应正确性方面达到了0.862的AUROC,并且能够零样本迁移至未见过的模型。
- 意义与局限
- Pinocchio为使用闭源API模型的用户提供了一种评估模型响应可靠性的有效方法,适用于多种模型,但可能受限于不同模型的响应格式和质量。