arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.08518cs.CL
收藏

UPRISE:用于改进零样本评估的通用提示检索

UPRISE: Universal Prompt Retrieval for Improving Zero-Shot Evaluation

Microsoft(微软)

Daixuan Cheng, Shaohan Huang, Junyu Bi, Yuefeng Zhan, Jianfeng Liu, Yujing Wang, Hao Sun, Furu Wei, Denvy Deng, Qi Zhang

AI总结:

本文提出 UPRISE,通过微调轻量通用提示检索器为零样本输入自动检索提示,并证明其可跨未见任务类型和不同规模 LLM 泛化,还能缓解 ChatGPT 幻觉。

摘要:

大型语言模型(LLM)因其令人瞩目的能力而广受欢迎,但对模型特定微调或任务特定提示工程的需求可能会阻碍其泛化。我们提出了 UPRISE(Universal Prompt Retrieval for Improving zero-Shot Evaluation,用于改进零样本评估的通用提示检索),它会微调一个轻量且通用的检索器,为给定的零样本任务输入自动检索提示。具体而言,我们在跨任务和跨模型场景中展示了其通用性:检索器在一组多样化的任务上进行微调,但在未见过的任务类型上测试;我们使用一个小型冻结 LLM,即 GPT-Neo-2.7B,来微调检索器,但在规模大得多的不同 LLM 上测试该检索器,例如 BLOOM-7.1B、OPT-66B 和 GPT3-175B。此外,我们表明 UPRISE 在使用 ChatGPT 的实验中缓解了幻觉问题,表明它甚至有潜力改进最强大的 LLM。我们的模型和代码可在 https://github.com/microsoft/LMOps 获取。

英文摘要:

Large Language Models (LLMs) are popular for their impressive abilities, but the need for model-specific fine-tuning or task-specific prompt engineering can hinder their generalization. We propose UPRISE (Universal Prompt Retrieval for Improving zero-Shot Evaluation), which tunes a lightweight and versatile retriever that automatically retrieves prompts for a given zero-shot task input. Specifically, we demonstrate universality in a cross-task and cross-model scenario: the retriever is tuned on a diverse set of tasks, but tested on unseen task types; we use a small frozen LLM, GPT-Neo-2.7B, for tuning the retriever, but test the retriever on different LLMs of much larger scales, such as BLOOM-7.1B, OPT-66B and GPT3-175B. Additionally, we show that UPRISE mitigates the hallucination problem in our experiments with ChatGPT, suggesting its potential to improve even the strongest LLMs. Our model and code are available at https://github.com/microsoft/LMOps.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑