Reprompting:通过吉布斯采样自动推断思维链提示
Reprompting: Automated Chain-of-Thought Prompt Inference Through Gibbs Sampling
AI总结:
Reprompting通过吉布斯采样自动推断思维链提示,无需人工干预,在20个推理任务上平均比人工提示高9.4个百分点,优于现有优化算法。
摘要:
我们引入了Reprompting,一种迭代采样算法,无需人工干预即可自动学习给定任务的思维链(CoT)配方。通过吉布斯采样,Reprompting利用先前采样的配方作为父提示来解决其他训练问题,从而迭代采样新配方,推断出对一组训练样本一致有效的CoT配方。我们在20个具有挑战性的推理任务上进行了广泛实验。结果表明,Reprompting在平均性能上比人工编写的CoT提示高出+9.4个百分点。它还持续优于最先进的提示优化和解码算法。
英文摘要:
We introduce Reprompting, an iterative sampling algorithm that automatically learns the Chain-of-Thought (CoT) recipes for a given task without human intervention. Through Gibbs sampling, Reprompting infers the CoT recipes that work consistently well for a set of training samples by iteratively sampling new recipes using previously sampled recipes as parent prompts to solve other training problems. We conduct extensive experiments on 20 challenging reasoning tasks. Results show that Reprompting outperforms human-written CoT prompts substantially by +9.4 points on average. It also achieves consistently better performance than the state-of-the-art prompt optimization and decoding algorithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。