arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2210.08548cs.CLcs.AI
收藏

基于虚拟样本的逻辑形式生成自然语言的鲁棒性研究

Investigating the Robustness of Natural Language Generation from Logical Forms via Counterfactual Samples

Zhejiang University(浙江大学);Shanghai Institute for Advanced Study of Zhejiang University(浙江大学上海高等研究院);Shanghai AI Laboratory(上海人工智能实验室)

Chengyuan Liu, Leilei Gan, Kun Kuang, Fei Wu

摘要:

Logic2Text的目标是生成以表格和逻辑形式为条件的可控的、忠实的文本,这不仅要求对表格和逻辑形式有深刻的理解,而且要求对表格进行符号推理。基于预训练模型的最先进的方法在标准测试数据集上取得了显着的性能。然而,我们质疑这些方法是否真的学会了如何执行逻辑推理,而不仅仅是依赖于表的头和逻辑形式的操作符之间的虚假相关性。为了验证这一假设,我们手动构造了一组反事实样本,这些样本修改了原始逻辑形式,以生成具有很少同时出现的表头和逻辑运算符的反事实逻辑形式。与原始测试数据集上的结果相比,SOTA方法在这些反事实样本上的结果要差得多,这验证了我们的假设。为了解决这个问题,我们首先从因果关系的角度分析了这种偏差,在此基础上,我们提出了两种方法来减少模型对捷径的依赖。第一种方法将逻辑形式的层次结构结合到模型中。第二种是利用自动生成的反事实数据进行训练。在原始测试数据集和反事实数据集上的自动和手动实验结果表明,该方法可以有效地消除虚假相关。我们的工作指出了以前的方法的弱点,并采取进一步的发展逻辑2Text模型与真正的逻辑推理能力。

英文摘要:

The aim of Logic2Text is to generate controllable and faithful texts conditioned on tables and logical forms, which not only requires a deep understanding of the tables and logical forms, but also warrants symbolic reasoning over the tables. State-of-the-art methods based on pre-trained models have achieved remarkable performance on the standard test dataset. However, we question whether these methods really learn how to perform logical reasoning, rather than just relying on the spurious correlations between the headers of the tables and operators of the logical form. To verify this hypothesis, we manually construct a set of counterfactual samples, which modify the original logical forms to generate counterfactual logical forms with rarely co-occurred table headers and logical operators. SOTA methods give much worse results on these counterfactual samples compared with the results on the original test dataset, which verifies our hypothesis. To deal with this problem, we firstly analyze this bias from a causal perspective, based on which we propose two approaches to reduce the model's reliance on the shortcut. The first one incorporates the hierarchical structure of the logical forms into the model. The second one exploits automatically generated counterfactual data for training. Automatic and manual experimental results on the original test dataset and the counterfactual dataset show that our method is effective to alleviate the spurious correlation. Our work points out the weakness of previous methods and takes a further step toward developing Logic2Text models with real logical reasoning ability.

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

↑