跳到正文
arXiv (AI + Vision + Imaging)· Batu Ozturkler, Esmeralda S. Whitammer, Zhen Wang, Nebojsa Jojic·· 7 天前AI 评分38

ThinkSum:用大语言模型对集合进行概率推理的两阶段范式

ThinkSum: Probabilistic reasoning over sets using large language models

AI 导读

ThinkSum 提出两阶段概率推理范式:第一阶段对从提示或辅助模型调用中提取的一组短语并行查询 LLM,第二阶段聚合这些查询结果做最终预测。在 BIG-bench 评测中,该方法用 GPT 系列模型在 13 项困难任务上超过当前最优水平,且常用更小的模型变体。由于概率推断在 LLM 调用之外完成,ThinkSum 对提示设计更不敏感、预测更可解释,并可与潜变量模型结合提取结构化知识。

正文 · 原文

arXiv:2210.01293v3 Announce Type: replace Abstract: Large language models (LLMs) have a substantial capacity for high-level analogical reasoning: reproducing patterns in linear text that occur in their training data (zero-shot evaluation) or in the provided context (few-shot in-context learning). However, recent studies show that even the more advanced LLMs fail in scenarios that require reasoning over multiple objects or facts and making sequences of logical deductions. We propose a two-stage probabilistic inference paradigm, ThinkSum, which reasons over sets of objects or facts in a structured manner. In the first stage (Think - retrieval of associations), a LLM is queried in parallel over a set of phrases extracted from the prompt or an auxiliary model call. In the second stage (Sum - probabilistic inference or reasoning), the results of these queries are aggregated to make the final prediction. We demonstrate the possibilities and advantages of ThinkSum on the BIG-bench suite of LLM evaluation tasks, achieving improvements over the state of the art using GPT-family models on thirteen difficult tasks, often with far smaller model variants. We also compare and contrast ThinkSum with other proposed modifications to direct prompting of LLMs, such as variants of chain-of-thought prompting. Our results suggest that because the probabilistic inference in ThinkSum is performed outside of calls to the LLM, ThinkSum is less sensitive to prompt design, yields more interpretable predictions, and can be flexibly combined with latent variable models to extract structured knowledge from LLMs. Overall, our proposed paradigm represents a promising approach for enhancing the reasoning capabilities of LLMs.

来源:arXiv (AI + Vision + Imaging) · arxiv.org