arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.04326cs.AIcs.CLcs.CYcs.LG
收藏

使用大型语言模型生成假设

Hypothesis Generation with Large Language Models

University of Chicago(芝加哥大学);Toyota Technological Institute at Chicago(芝加哥丰田技术研究所)

Yangqiaoyu Zhou, Haokun Liu, Tejes Srivastava, Hongyuan Mei, Chenhao Tan

AI总结:

本文提出基于数据的大型语言模型假设生成方法,通过少量样本生成初始假设并迭代更新,利用多臂老虎机启发式奖励函数平衡探索与利用,在多个数据集上显著超越少样本提示和监督学习,并揭示新见解。

摘要:

有效生成新颖假设对科学进步至关重要。迄今为止,研究人员通过艰辛的数据分析和思考(即尤里卡时刻)成为假设生成的主要动力。本文探讨大型语言模型(LLMs)生成假设的潜力。我们聚焦基于数据(即带标签样本)的假设生成。为使LLMs处理任意长上下文,我们从少量样本生成初始假设,随后迭代更新以提升假设质量。受多臂老虎机启发,我们设计奖励函数以指导更新过程中的利用-探索权衡。我们的算法生成的假设在分类任务中实现了远优于少样本提示的预测性能,在合成数据集上准确率提升31.7%,在三个真实数据集上分别提升13.9%、3.3%和24.9%。在两个具挑战性的真实数据集上,我们亦分别以12.8%和11.2%的优势超越监督学习。此外,我们发现生成的假设不仅印证了人类验证的理论,还为任务揭示了新见解。

英文摘要:

Effective generation of novel hypotheses is instrumental to scientific progress. So far, researchers have been the main powerhouse behind hypothesis generation by painstaking data analysis and thinking (also known as the Eureka moment). In this paper, we examine the potential of large language models (LLMs) to generate hypotheses. We focus on hypothesis generation based on data (i.e., labeled examples). To enable LLMs to handle arbitrarily long contexts, we generate initial hypotheses from a small number of examples and then update them iteratively to improve the quality of hypotheses. Inspired by multi-armed bandits, we design a reward function to inform the exploitation-exploration tradeoff in the update process. Our algorithm is able to generate hypotheses that enable much better predictive performance than few-shot prompting in classification tasks, improving accuracy by 31.7% on a synthetic dataset and by 13.9%, 3.3% and, 24.9% on three real-world datasets. We also outperform supervised learning by 12.8% and 11.2% on two challenging real-world datasets. Furthermore, we find that the generated hypotheses not only corroborate human-verified theories but also uncover new insights for the tasks.

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

↑