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

ReasTAP:通过合成推理示例在预训练期间注入表推理技能

ReasTAP: Injecting Table Reasoning Skills During Pre-training via Synthetic Reasoning Examples

Yale University(耶鲁大学);Zhejiang University(浙江大学);Penn State University(宾夕法尼亚州立大学)

Yilun Zhao, Linyong Nan, Zhenting Qi, Rui Zhang, Dragomir Radev

摘要:

对表格数据进行推理需要理解表格结构和广泛的表格推理技能。当前具有特定于表的架构和预训练方法的模型在理解表结构方面表现良好,但它们仍然难以处理需要各种表推理技能的任务。在这项工作中,我们开发了ReasTAP,以表明高级表推理技能可以在预训练期间注入模型,而无需复杂的特定于表的架构设计。我们定义了7种表格推理技巧,如数值运算、时间比较和合取。每个推理技巧都与一个示例生成器相关联,该示例生成器根据采样模板在半结构化表上合成问题。我们将表格预训练任务建模为序列生成任务,并预训练ReasTAP以生成合成示例的精确答案。ReasTAP在四个基准上进行评估,涵盖三个下游任务,包括:1)用于表问答的WikiSQL和WTQ; 2)用于表事实验证的TabFact;以及3)用于忠实表到文本生成的LogicNLG。实验结果表明,ReasTAP在所有基准测试中都达到了新的最先进的性能,并在低资源设置上有了显着的改进。我们的代码可在https://github.com/Yale-LILY/ReasTAP上公开获取。

英文摘要:

Reasoning over tabular data requires both table structure understanding and a broad set of table reasoning skills. Current models with table-specific architectures and pre-training methods perform well on understanding table structures, but they still struggle with tasks that require various table reasoning skills. In this work, we develop ReasTAP to show that high-level table reasoning skills can be injected into models during pre-training without a complex table-specific architecture design. We define 7 table reasoning skills, such as numerical operation, temporal comparison, and conjunction. Each reasoning skill is associated with one example generator, which synthesizes questions over semi-structured tables according to the sampled templates. We model the table pre-training task as a sequence generation task and pre-train ReasTAP to generate precise answers to the synthetic examples. ReasTAP is evaluated on four benchmarks covering three downstream tasks including: 1) WikiSQL and WTQ for Table Question Answering; 2) TabFact for Table Fact Verification; and 3) LogicNLG for Faithful Table-to-Text Generation. Experimental results demonstrate that ReasTAP achieves new state-of-the-art performance on all benchmarks and delivers a significant improvement on low-resource setting. Our code is publicly available at https://github.com/Yale-LILY/ReasTAP.

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

↑