Weakly Supervised Explainable Phrasal Reasoning with Neural Fuzzy Logic

Zijun Wu, Zi Xuan Zhang, Atharva Naik, Zhijian Mei, Mauajama Firdaus +1 more
9/18/2021
cs.CLcs.AI

Official code: MANGA-UOFA/EPR (4 stars, Python, last commit 2023-07-10).

Abstract

Natural language inference (NLI) aims to determine the logical relationship between two sentences, such as Entailment, Contradiction, and Neutral. In recent years, deep learning models have become a prevailing approach to NLI, but they lack interpretability and explainability.

Show full abstract

In this work, we address the explainability of NLI by weakly supervised logical reasoning, and propose an Explainable Phrasal Reasoning (EPR) approach. Our model first detects phrases as the semantic unit and aligns corresponding phrases in the two sentences. Then, the model predicts the NLI label for the aligned phrases, and induces the sentence label by fuzzy logic formulas. Our EPR is almost everywhere differentiable and thus the system can be trained end to end. In this way, we are able to provide explicit explanations of phrasal logical relationships in a weakly supervised manner. We further show that such reasoning results help textual explanation generation.

View on arXivView PDF

Code Implementations(1)

MANGA-UOFA/EPROfficial100%

Weakly Supervised Explainable Phrasal Reasoning with Neural Fuzzy Logic

40Python, ShellSep 20, 20213 years ago

Similar Papers

Cite this paper

@article{wu2021weakly,
  title  = {Weakly Supervised Explainable Phrasal Reasoning with Neural Fuzzy Logic},
  author = {Zijun Wu and Zi Xuan Zhang and Atharva Naik and Zhijian Mei and Mauajama Firdaus and Lili Mou},
  year   = {2021},
  eprint = {2109.08927},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.08927}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.08927.svg)](https://codeofpaper.com/paper/2109.08927)

Discussion