MorphNLI:一种通过文本变形进行自然语言推理的分步方法
MorphNLI: A Stepwise Approach to Natural Language Inference Using Text Morphing
AI总结:
MorphNLI通过文本变形逐步改进自然语言推理任务,在跨领域场景中显著优于现有基线模型。
摘要:
我们介绍了MorphNLI,一种模块化的分步方法用于自然语言推理(NLI)。在将前提-假设对分类为{蕴含,矛盾,中性}时,我们使用语言模型生成必要的编辑,逐步将前提变形为假设。然后,利用现成的NLI模型,我们跟踪这些原子变化如何推进蕴含过程,将这些中间标签聚合为最终输出。我们证明了所提出方法在现实的跨领域设置中的优势,其中我们的方法在强基线模型上始终表现更优,改进幅度最高可达12.6%(相对)。此外,我们的方法可解释,因为原子编辑可用于理解整体NLI标签。
英文摘要:
We introduce MorphNLI, a modular step-by-step approach to natural language inference (NLI). When classifying the premise-hypothesis pairs into {entailment, contradiction, neutral}, we use a language model to generate the necessary edits to incrementally transform (i.e., morph) the premise into the hypothesis. Then, using an off-the-shelf NLI model we track how the entailment progresses with these atomic changes, aggregating these intermediate labels into a final output. We demonstrate the advantages of our proposed method particularly in realistic cross-domain settings, where our method always outperforms strong baselines with improvements up to 12.6% (relative). Further, our proposed approach is explainable as the atomic edits can be used to understand the overall NLI label.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。