arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.04186cs.CLcs.AI
收藏

基于大语言模型的类比生成--以InstructGPT为例

Analogy Generation by Prompting Large Language Models: A Case Study of InstructGPT

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University at Buffalo(布法罗大学)

Bhavya Bhavya, Jinjun Xiong, Chengxiang Zhai

摘要:

我们提出了一种新的应用程序,提示预训练的语言模型(PLM)生成类比,并研究如何设计有效的提示两个任务设置:生成一个源概念类似于一个给定的目标概念(又名类比概念生成或ACG),并生成一个解释之间的相似性一对给定的目标概念和源概念(又名类比解释生成或AEG)。我们发现,提示InstructGPT生成有意义的类比是可行的,最好的提示往往是精确的命令式语句,特别是在低温设置下。我们还系统地分析了InstructGPT模型对提示设计、温度和注入拼写错误的敏感性,发现该模型对某些变化特别敏感(例如,问题vs.命令式陈述)。此外,我们对生成的1.4k个类比进行了人工评估,发现生成的质量因模型大小而异。最大的InstructGPT模型可以在为给定目标生成有意义的类比方面实现人类水平的性能,而AEG任务仍有改进的空间。

英文摘要:

We propose a novel application of prompting Pre-trained Language Models (PLMs) to generate analogies and study how to design effective prompts for two task settings: generating a source concept analogous to a given target concept (aka Analogous Concept Generation or ACG), and generating an explanation of the similarity between a given pair of target concept and source concept (aka Analogous Explanation Generation or AEG). We found that it is feasible to prompt InstructGPT to generate meaningful analogies and the best prompts tend to be precise imperative statements especially with a low temperature setting. We also systematically analyzed the sensitivity of the InstructGPT model to prompt design, temperature, and injected spelling errors, and found that the model is particularly sensitive to certain variations (e.g., questions vs. imperative statements). Further, we conducted human evaluation on 1.4k of the generated analogies and found that the quality of generations varies substantially by model size. The largest InstructGPT model can achieve human-level performance at generating meaningful analogies for a given target while there is still room for improvement on the AEG task.

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

↑