Turning Tables:从半结构化表生成示例以赋予语言模型推理技能
Turning Tables: Generating Examples from Semi-structured Tables for Endowing Language Models with Reasoning Skills
摘要:
用语言建模目标预先训练的模型拥有丰富的世界知识和语言技能,但已知在需要推理的任务中会很困难。在这项工作中,我们建议利用半结构化表格,并自动生成大规模的问题段落对,其中回答问题需要对段落中的多个事实进行推理。我们在这个合成数据上添加了一个预训练步骤,其中包括需要16种不同推理技能的示例,例如数字比较,合取和事实组成。为了提高数据效率,我们提出了采样策略,重点训练模型目前缺乏的推理技能。我们在三个专注于推理的阅读理解数据集上评估了我们的方法,并表明我们的模型PReasM大大优于T5,这是一种流行的预训练编码器-解码器模型。此外,基于当前模型误差的采样示例可以加快训练速度并提高整体性能。
英文摘要:
Models pre-trained with a language modeling objective possess ample world knowledge and language skills, but are known to struggle in tasks that require reasoning. In this work, we propose to leverage semi-structured tables, and automatically generate at scale question-paragraph pairs, where answering the question requires reasoning over multiple facts in the paragraph. We add a pre-training step over this synthetic data, which includes examples that require 16 different reasoning skills such as number comparison, conjunction, and fact composition. To improve data efficiency, we propose sampling strategies that focus training on reasoning skills the model is currently lacking. We evaluate our approach on three reading comprehension datasets that are focused on reasoning, and show that our model, PReasM, substantially outperforms T5, a popular pre-trained encoder-decoder model. Moreover, sampling examples based on current model errors leads to faster training and higher overall performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。