Skip to main content
QUICK REVIEW

[Paper Review] Using syntactical and logical forms to evaluate textual inference competence

Felipe Salvatore, Marcelo Finger|arXiv (Cornell University)|May 10, 2019
Natural Language Processing TechniquesComputer Science1 citations
TL;DR

This paper proposes a new set of syntactic tasks focused on contradiction detection that test deep learning models' ability to reason over logical forms such as Boolean coordination, quantifiers, definite descriptions, and counting operators. Evaluated on BERT and recurrent models, BERT shows strong generalization across most forms but struggles with counting operators, while cross-lingual transfer between English and Portuguese demonstrates the tasks' multilingual applicability.

ABSTRACT

At present, different deep learning models are presenting high accuracy on popular inference datasets such as SNLI, MNLI, and SciTail. However, there are different indicators that those datasets can be exploited by using some simple linguistic patterns. This fact poses difficulties to our understanding of the actual capacity of machine learning models to solve the complex task of textual inference. We propose a new set of syntactic tasks focused on contradiction detection that require specific capacities over linguistic logical forms such as: Boolean coordination, quantifiers, definite description, and counting operators. We evaluate two kinds of deep learning models that implicitly exploit language structure: recurrent models and the Transformer network BERT. We show that although BERT is clearly more efficient to generalize over most logical forms, there is space for improvement when dealing with counting operators. Since the syntactic tasks can be implemented in different languages, we show a successful case of cross-lingual transfer learning between English and Portuguese.

Motivation & Objective

  • To address the limitations of existing inference datasets, which can be exploited via simple linguistic patterns rather than true logical reasoning.
  • To develop a new benchmark of syntactic tasks that require explicit reasoning over logical forms such as quantifiers and definite descriptions.
  • To evaluate whether deep learning models like BERT and RNNs can generalize over complex linguistic logical forms beyond surface-level patterns.
  • To explore cross-lingual transfer learning by applying the proposed tasks to both English and Portuguese.
  • To provide a more robust evaluation of textual inference competence by isolating specific logical reasoning capacities.

Proposed method

  • Design a new set of contradiction detection tasks based on syntactic structures requiring reasoning over Boolean coordination, quantifiers, definite descriptions, and counting operators.
  • Construct logical forms that encode these linguistic phenomena explicitly, ensuring they are not solvable by surface-level statistical patterns.
  • Train and evaluate two types of deep learning models: recurrent neural networks and the Transformer-based BERT on the proposed tasks.
  • Implement cross-lingual transfer learning by training on English and fine-tuning on Portuguese, assessing zero-shot and few-shot transfer performance.
  • Use controlled linguistic stimuli to isolate reasoning over specific logical forms, minimizing reliance on lexical or syntactic shortcuts.

Experimental results

Research questions

  • RQ1Can deep learning models like BERT and RNNs generalize over complex logical forms such as quantifiers and definite descriptions in textual inference?
  • RQ2To what extent do current models fail on counting operators despite high performance on standard inference benchmarks?
  • RQ3Can the proposed syntactic tasks detect model reliance on superficial linguistic patterns rather than true logical reasoning?
  • RQ4Does cross-lingual transfer learning work effectively between English and Portuguese using the proposed logical form-based tasks?
  • RQ5How do models perform on logical forms that require explicit syntactic and semantic reasoning beyond pattern matching?

Key findings

  • BERT demonstrates superior generalization across most logical forms, including Boolean coordination, quantifiers, and definite descriptions, outperforming recurrent models.
  • Despite its overall strength, BERT shows significant difficulty with counting operators, indicating a gap in reasoning over numerical quantification.
  • The proposed syntactic tasks successfully isolate reasoning over specific logical forms, revealing model weaknesses not exposed by standard benchmarks.
  • Cross-lingual transfer between English and Portuguese is feasible, with meaningful performance on zero-shot and few-shot settings, validating the tasks' multilingual transferability.
  • The results suggest that current high-performing models on SNLI, MNLI, and SciTail may exploit linguistic patterns rather than perform robust logical inference.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.