较小的语言模型是通过记忆还是泛化来回答情境化问题?
Do Smaller Language Models Answer Contextualised Questions Through Memorisation Or Generalisation?
AI总结:
针对语言模型通过记忆还是泛化回答情境化推理问题,提出基于语义相似度识别不可记忆评估子集的方法,发现增加数值推理训练数据可使DROP和ROPES等数据集的不可记忆子集性能显著提升。
摘要:
人们通常会对模型以下两方面的能力进行区分:一是通过直接记忆高度相似的训练样本来预测评估样本标签的能力,二是通过某种泛化方法来预测标签的能力。在使用语言模型进行问答的背景下,关于在多大程度上是通过记忆来回答问题的讨论仍在继续。我们针对那些理想情况下应通过对相关上下文进行推理来回答的问题来探讨这一问题。我们提出了一种方法,用于识别模型极不可能记忆答案的评估样本。我们的方法基于训练样本和评估样本之间输入标记和标签标记的语义相似度。我们表明,我们的方法相比一些先前的方法具有优势,因为它能够找出在连续或不连续标记序列上存在重叠的评估-训练样本对。我们使用这种方法来识别评估数据集中不可记忆的子集。我们以多任务方式训练了两个语言模型,其中第二个模型与第一个模型的区别仅在于,其训练机制中增加了两个额外的数据集,这些数据集旨在传授简单的数值推理策略,已知这种策略能提升在某些评估数据集上的性能,但对其他数据集则不然。随后我们表明,在预期会从额外训练数据集中受益的评估数据集的不可记忆子集上,两个模型之间的性能有所提升。具体而言,在两个评估数据集(DROP和ROPES)的不可记忆子集上,性能分别显著提升了9.0%和25.7%,而其他评估数据集的性能没有显著变化。
英文摘要:
A distinction is often drawn between a model's ability to predict a label for an evaluation sample that is directly memorised from highly similar training samples versus an ability to predict the label via some method of generalisation. In the context of using Language Models for question-answering, discussion continues to occur as to the extent to which questions are answered through memorisation. We consider this issue for questions that would ideally be answered through reasoning over an associated context. We propose a method of identifying evaluation samples for which it is very unlikely our model would have memorised the answers. Our method is based on semantic similarity of input tokens and label tokens between training and evaluation samples. We show that our method offers advantages upon some prior approaches in that it is able to surface evaluation-train pairs that have overlap in either contiguous or discontiguous sequences of tokens. We use this method to identify unmemorisable subsets of our evaluation datasets. We train two Language Models in a multitask fashion whereby the second model differs from the first only in that it has two additional datasets added to the training regime that are designed to impart simple numerical reasoning strategies of a sort known to improve performance on some of our evaluation datasets but not on others. We then show that there is performance improvement between the two models on the unmemorisable subsets of the evaluation datasets that were expected to benefit from the additional training datasets. Specifically, performance on unmemorisable subsets of two of our evaluation datasets, DROP and ROPES significantly improves by 9.0%, and 25.7% respectively while other evaluation datasets have no significant change in performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。