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

由大语言模型自身优化其回答

Refining the Responses of LLMs by Themselves

Future Network of Intelligence Institute, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)未来智能网络研究院);Imperial College(帝国理工学院)

Tianqiang Yan, Tiansheng Xu

AI总结:

提出一种基于提示工程的迭代自我评估优化框架,使大语言模型自身优化回答,无需辅助模型,在GPT-3.5上取得媲美甚至超越GPT-4的效果。

摘要:

本文提出了一种基于提示工程的简单而高效的方法,利用大语言模型自身来优化其回答,无需依赖辅助模型。我们引入了一种迭代的自我评估优化机制,随着迭代的进行,输出质量有望不断提升,从而无需人工干预。实验结果表明,在GPT-3.5模型上使用我们的回答优化框架所获得的结果,与先进的GPT-4模型生成的结果相当,甚至更优。文中提供了详细的实现策略和示例,以展示我们所提出方案的优越性。

英文摘要:

In this paper, we propose a simple yet efficient approach based on prompt engineering that leverages the large language model itself to optimize its answers without relying on auxiliary models. We introduce an iterative self-evaluating optimization mechanism, with the potential for improved output quality as iterations progress, removing the need for manual intervention. The experiment's findings indicate that utilizing our response refinement framework on the GPT-3.5 model yields results that are on par with, or even surpass, those generated by the cutting-edge GPT-4 model. Detailed implementation strategies and illustrative examples are provided to demonstrate the superiority of our proposed solution.

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

↑