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

自然语言蕴含中保持蕴含关系的一阶逻辑表示

Entailment-Preserving First-order Logic Representations in Natural Language Entailment

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Jinu Lee, Qi Liu, Runzhi Ma, Vincent Han, Ziqi Wang, Heng Ji, Julia Hockenmaier

AI总结:

提出EPF任务及EPR评估指标,并采用迭代学习排序方法优化FOL表示生成,在三个数据集上显著提升蕴含保持率。

摘要:

一阶逻辑(FOL)能够表示自然语言(NL)句子的逻辑蕴含语义,但使用FOL判定自然语言蕴含仍是一个挑战。为解决此问题,我们提出了保持蕴含关系的FOL表示(EPF)任务,并为EPF引入了无参考评估指标——保持蕴含率(EPR)系列。在EPF中,需要从多前提自然语言蕴含数据(如EntailmentBank)生成FOL表示,以使自动证明器的结果保持蕴含标签。实验表明,现有的NL到FOL转换方法在EPF中表现不佳。为此,我们提出了一种专门针对该任务的训练方法——迭代学习排序,该方法通过新颖的评分函数和学习排序目标直接优化模型的EPR分数。我们的方法在三个数据集上相比多种基线,EPR提升了1.8-2.7%,EPR@16提升了17.4-20.6%。进一步分析表明,迭代学习排序通过减少谓词签名的多样性,有效抑制了FOL表示的任意性,并在多种推理类型和域外数据上保持强劲性能。

英文摘要:

First-order logic (FOL) can represent the logical entailment semantics of natural language (NL) sentences, but determining natural language entailment using FOL remains a challenge. To address this, we propose the Entailment-Preserving FOL representations (EPF) task and introduce reference-free evaluation metrics for EPF, the Entailment-Preserving Rate (EPR) family. In EPF, one should generate FOL representations from multi-premise natural language entailment data (e.g. EntailmentBank) so that the automatic prover's result preserves the entailment labels. Experiments show that existing methods for NL-to-FOL translation struggle in EPF. To this extent, we propose a training method specialized for the task, iterative learning-to-rank, which directly optimizes the model's EPR score through a novel scoring function and a learning-to-rank objective. Our method achieves a 1.8-2.7% improvement in EPR and a 17.4-20.6% increase in EPR@16 compared to diverse baselines in three datasets. Further analyses reveal that iterative learning-to-rank effectively suppresses the arbitrariness of FOL representation by reducing the diversity of predicate signatures, and maintains strong performance across diverse inference types and out-of-domain data.

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

↑