arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.04711cs.CL
收藏

用较小语言模型通过理由生成和稠密检索回答未见问题

Answering Unseen Questions With Smaller Language Models Using Rationale Generation and Dense Retrieval

University of Auckland(奥克兰大学)

Tim Hartill, Diana Benavides-Prado, Michael Witbrock, Patricia J. Riddle

AI总结:

本文提出两种方法(RR和RATD)结合大模型生成的理由与多跳稠密检索的长上下文,显著提升小模型在未见问答任务上的性能,并优于更大模型。

摘要:

当提供足够的解释性上下文时,较小的语言模型已被证明在具有挑战性的短答案问答任务上表现出强大的推理能力,即使这些问题在训练中未曾见过。我们评估了两种在此设置下进一步改进的方法。这两种方法都侧重于将较大语言模型生成的理由与从多跳稠密检索系统创建的更长上下文相结合。第一种方法(RR)涉及训练一个理由排序模型,以根据相关性和真实性对生成的理由和检索到的上下文进行评分。然后,我们使用这些分数通过多种组合策略从两个知识源推导出组合上下文。对于第二种方法(RATD),我们利用Hartill等人2023年开发的检索增强训练数据集来训练一个较小的推理模型,使其能够熟练地从可能仅部分具有证据性且经常包含许多不相关句子的较长文本序列中利用相关信息。我们发现这两种方法都显著提高了结果。我们单一的最佳推理模型在未见评估数据集上显著优于强大的先前基线(StrategyQA 58.9 → 61.7准确率,CommonsenseQA 63.6 → 72.7准确率,ARC-DA 31.6 → 52.1 F1,IIRC 25.5 → 27.3 F1),而利用我们对每种问题类型的先验知识来选择上下文组合策略的版本表现更好。我们提出的模型在少样本思维链和标准少样本设置中通常也优于直接提示更大模型(BLOOM 175B和StableVicuna 13B)。

英文摘要:

When provided with sufficient explanatory context, smaller Language Models have been shown to exhibit strong reasoning ability on challenging short-answer question-answering tasks where the questions are unseen in training. We evaluate two methods for further improvement in this setting. Both methods focus on combining rationales generated by a larger Language Model with longer contexts created from a multi-hop dense retrieval system. The first method ($\textit{RR}$) involves training a Rationale Ranking model to score both generated rationales and retrieved contexts with respect to relevance and truthfulness. We then use the scores to derive combined contexts from both knowledge sources using a number of combinatory strategies. For the second method ($\textit{RATD}$) we utilise retrieval-augmented training datasets developed by Hartill et al. 2023 to train a smaller Reasoning model such that it becomes proficient at utilising relevant information from longer text sequences that may be only partially evidential and frequently contain many irrelevant sentences. We find that both methods significantly improve results. Our single best Reasoning model materially improves upon strong comparable prior baselines for unseen evaluation datasets (StrategyQA 58.9 $\rightarrow$ 61.7 acc., CommonsenseQA 63.6 $\rightarrow$ 72.7 acc., ARC-DA 31.6 $\rightarrow$ 52.1 F1, IIRC 25.5 $\rightarrow$ 27.3 F1) and a version utilising our prior knowledge of each type of question in selecting a context combination strategy does even better. Our proposed models also generally outperform direct prompts against much larger models (BLOOM 175B and StableVicuna 13B) in both few-shot chain-of-thought and standard few-shot settings.

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

↑