Usage
  • 133 views
  • 278 downloads

Neural Fuzzy Logic Reasoning for Natural Language Inference

  • Author / Creator
    Wu, Zijun
  • Natural language inference, also known as NLI, aims to determine the logical relationship between two sentences, such as Entailment, Contradiction, and Neutral. NLI is important to natural language processing, because it involves logical reasoning and is a key problem in artificial intelligence. In recent years, deep learning models have become a prevailing approach to NLI. Those approaches can achieve high performance, but lack interpretability and explainability.

    In this work, we propose an Explainable Phrasal Reasoning (EPR) approach to address the explainability for NLI by weakly supervised logical reasoning. The system includes three main components. It first detects phrases as the semantic unit and aligns corresponding phrases. Then, it 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 a weakly supervised manner. We annotated a corpus and developed a set of metrics to evaluate phrasal reasoning. Results show that our EPR yields much more meaningful explanations in terms of F scores than previous studies. To the best of our knowledge, we are the first to develop a weakly supervised phrasal reasoning model for the NLI task.

  • Subjects / Keywords
  • Graduation date
    Fall 2022
  • Type of Item
    Thesis
  • Degree
    Master of Science
  • DOI
    https://doi.org/10.7939/r3-hpes-p897
  • License
    This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.