Skip to main content
QUICK REVIEW

[Paper Review] LogiQA: A Challenge Dataset for Machine Reading Comprehension with Logical Reasoning

Liu Jian, Leyang Cui|arXiv (Cornell University)|Jul 16, 2020
Topic ModelingComputer Science29 references5 citations
TL;DR

LogiQA introduces a large-scale, expert-constructed dataset of 8,678 reading comprehension questions that test logical reasoning, including categorical, conditional, conjunctive, and disjunctive reasoning. Despite state-of-the-art neural models like RoBERTa achieving only 40.38% accuracy, human performance reaches 96.00%, highlighting a significant gap and establishing LogiQA as a benchmark for advancing logical reasoning in neural NLP models.

ABSTRACT

Machine reading is a fundamental task for testing the capability of natural language understanding, which is closely related to human cognition in many aspects. With the rising of deep learning techniques, algorithmic models rival human performances on simple QA, and thus increasingly challenging machine reading datasets have been proposed. Though various challenges such as evidence integration and commonsense knowledge have been integrated, one of the fundamental capabilities in human reading, namely logical reasoning, is not fully investigated. We build a comprehensive dataset, named LogiQA, which is sourced from expert-written questions for testing human Logical reasoning. It consists of 8,678 QA instances, covering multiple types of deductive reasoning. Results show that state-of-the-art neural models perform by far worse than human ceiling. Our dataset can also serve as a benchmark for reinvestigating logical AI under the deep learning NLP setting. The dataset is freely available at https://github.com/lgw863/LogiQA-dataset

Motivation & Objective

  • To address the lack of large-scale, high-quality datasets that test logical reasoning in machine reading comprehension, a core human cognitive ability often underexplored in modern NLP.
  • To create a benchmark dataset that evaluates neural models on deductive reasoning beyond factual recall or commonsense inference, focusing on formal logical structures.
  • To re-evaluate the potential of deep learning models for logical reasoning by providing a dataset grounded in expert-written logical examination questions.
  • To identify the limitations of current neural architectures in handling complex logical relations such as necessity, sufficiency, and negation in conditional statements.
  • To serve as a foundation for reinvigorating research into logical AI within the deep learning NLP paradigm.

Proposed method

  • The dataset is constructed from publicly available expert-written logical reasoning examination papers, filtered to exclude problems involving figures, charts, or heavy mathematics.
  • Questions are manually curated to cover five reasoning types: categorical, sufficient conditional, necessary conditional, disjunctive, and conjunctive reasoning, ensuring broad logical diversity.
  • Each QA instance includes a passage with premises and a question with four candidate answers, where the correct answer requires logical inference rather than lexical overlap.
  • Baseline models including RoBERTa, BERT, and various attention-based readers are evaluated on the dataset to measure performance on logical reasoning tasks.
  • A lexical overlap analysis is performed to assess whether models rely on surface-level matching; the best-matching candidate is identified per instance for comparison.
  • Qualitative case studies are conducted on model failures, particularly focusing on misinterpretations of negation and complex conditional logic.

Experimental results

Research questions

  • RQ1Can state-of-the-art neural reading comprehension models generalize to complex logical reasoning tasks such as conditional and conjunctive reasoning?
  • RQ2To what extent do neural models rely on lexical overlap rather than logical inference when answering questions in LogiQA?
  • RQ3Why do models like RoBERTa struggle with necessary and sufficient conditional reasoning, especially when negation is involved?
  • RQ4How does performance vary across different types of logical reasoning, and which reasoning types are most challenging for current models?
  • RQ5Can LogiQA serve as a viable benchmark for re-evaluating the integration of symbolic logic and deep learning in NLP?

Key findings

  • RoBERTa achieves 40.38% accuracy on the full LogiQA dataset, significantly below the human ceiling of 96.00%, indicating a substantial performance gap in logical reasoning.
  • The best-performing baseline model, RoBERTa, still underperforms on conditional reasoning, with only 17.11% accuracy on sufficient conditional reasoning and 19.29% on necessary conditional reasoning.
  • On conjunctive and disjunctive reasoning, RoBERTa achieves 21.98% and 22.67% accuracy, respectively, showing particular difficulty with complex logical combinations.
  • The overlap ratio analysis reveals that RoBERTa relies less on lexical matching than other models, with a 32.08% overlap ratio, suggesting it is less prone to superficial matching.
  • Case studies show that RoBERTa frequently fails to interpret negation in logical statements, such as in the x => ¬z conditional relation, confirming known limitations in handling negation.
  • The word matching baseline achieves 100% overlap accuracy but only 28.37% actual accuracy, demonstrating that lexical matching alone is insufficient for logical reasoning.

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.