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

教授较小语言模型泛化至未见过的组合式问题(完整论文)

Teaching Smaller Language Models To Generalise To Unseen Compositional Questions (Full Thesis)

The University of Auckland(奥克兰大学)

Tim Hartill

AI总结:

针对无互联网连接但有本地计算能力的场景,提出通过检索增强训练及理由排序等方法,让小推理模型在未见过场景下回答组合式问题,显著提升其泛化能力与回答性能。

摘要:

预训练大型语言模型(LLMs)能够回答训练期间不太可能遇到的问题。然而,在推理系统的广泛领域中存在多种潜在应用,而延迟、成本、可用计算资源和互联网连接等因素与确定合适方法相关。我们考虑推理时可用一些本地计算能力但无互联网连接的场景。与通用LLM类似,我们假设小得多的推理模型可能被问及来自未知分布的任意问题,因此聚焦于未见过场景下的评估。我们通过灌输对检索到的上下文进行推理的能力来训练模型回答多样问题。我们从两个知识源获取上下文:一是使用带有新颖扩展的多跳密集检索系统查询的维基百科语料库,二是从针对低资源环境优化运行的更大语言模型生成的理由。我们的主要贡献:提出新颖方法证明模型能够在不依赖记忆的情况下回答情境化问题;在未见过的评估数据集上建立全面的基线结果;表明在推理模型的训练方案中添加新颖的检索增强训练数据集(RATD)可显著提升结果;通过应用结合两个来源知识的方法展示进一步显著改进——第一种方法(RR)涉及训练新颖的理由排序模型,以针对相关性和真实性对生成的理由和检索到的上下文进行评分,我们使用这些分数推导组合上下文;还表明利用RATD数据集能使模型熟练运用组合的含噪上下文。

英文摘要:

Pretrained large Language Models (LLMs) are able to answer questions that are unlikely to have been encountered during training. However a diversity of potential applications exist in the broad domain of reasoning systems and considerations such as latency, cost, available compute resource and internet connectivity are relevant in determining an appropriate approach. We consider the setting where some local compute capacity is available at inference time but internet connectivity is not. Similar to a general-purpose LLM, we assume that our much smaller Reasoning Models may be asked arbitrary questions from unknown distributions, so we focus on evaluation in an unseen setting. We train our models to answer diverse questions by instilling an ability to reason over a retrieved context. We acquire context from two knowledge sources; a Wikipedia corpus queried using a multi-hop dense retrieval system with novel extensions, and from rationales generated from a larger Language Model optimised to run in a lower resource environment. Our main contributions: We propose novel methods to show that our model is capable of answering contextualised questions without memorisation. We establish a comprehensive set of baseline results on unseen evaluation datasets. We show that the addition of novel retrieval-augmented training datasets (RATD) to the training regime of the Reasoning Model significantly improves results. We demonstrate further significant improvement through the application of methods for combining knowledge from two sources. The first method (RR) involves training a novel Rationale Ranking model to score both generated rationales and retrieved contexts with respect to relevance and truthfulness. We use the scores to derive combined contexts. We also show that utilising the RATD datasets enables our model to become proficient at utilising combined noisy contexts.

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

↑