LogicBench: Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Models

Mihir Parmar1  Nisarg Patel1  Neeraj Varshney1  Mutsumi Nakamura1Man Luo1
Santosh Mashetty1Arindam Mitra2Chitta Baral1

1Arizona State University  2Microsoft Research
{mparmar3, nppatel7, chitta}@asu.edu
Abstract

Recently developed large language models (LLMs) have been shown to perform remarkably well on a wide range of language understanding tasks. But, can they really “reason” over the natural language? This question has been receiving significant research attention and many reasoning skills such as commonsense, numerical, and qualitative have been studied. However, the crucial skill pertaining to ‘logical reasoning’ has remained underexplored. Existing work investigating this reasoning ability of LLMs has focused only on a couple of inference rules (such as modus ponens and modus tollens) of propositional and first-order logic. Addressing the above limitation, we comprehensively evaluate the logical reasoning ability of LLMs on 25 different reasoning patterns spanning over propositional, first-order, and non-monotonic logics. To enable systematic evaluation, we introduce LogicBench, a natural language question-answering dataset focusing on the use of a single inference rule. We conduct detailed analysis with a range of LLMs such as GPT-4, ChatGPT, Gemini, Llama-2, and Mistral using chain-of-thought prompting. Experimental results show that existing LLMs do not fare well on LogicBench; especially, they struggle with instances involving complex reasoning and negations. Furthermore, they sometimes overlook contextual information necessary for reasoning to arrive at the correct conclusion. We believe that our work and findings facilitate future research for evaluating and enhancing the logical reasoning ability of LLMs111Data and code are available at https://github.com/Mihir3009/LogicBench.

LogicBench: Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Models


Mihir Parmar1  Nisarg Patel1  Neeraj Varshney1  Mutsumi Nakamura1  Man Luo1 Santosh Mashetty1Arindam Mitra2Chitta Baral1 1Arizona State University  2Microsoft Research {mparmar3, nppatel7, chitta}@asu.edu


1 Introduction

Refer to caption
Figure 1: Comprehensive representation of different inference rules and reasoning patterns covered by propositional, first-order, and non-monotonic logics. Exp. indicates Expectation

Large language models such as GPT-4, ChatGPT, Google Gemini, Llama-2 (Touvron et al., 2023), and Mistral (Jiang et al., 2023) have made remarkable progress in NLP research enabling machines to perform a variety of language tasks that were previously thought to be exclusive to humans (OpenAI, 2023; Brown et al., 2020; Zhao et al., 2023). However, the ability of these LLMs to reason “logically” over natural language text remains under-explored, even though logical reasoning is a fundamental aspect of intelligence and a crucial requirement for many practical applications, such as question-answering systems (Khashabi, 2019) and conversational agents (Beygi et al., 2022). Although several datasets have been proposed (Clark et al., 2021; Tian et al., 2021; Joshi et al., 2020; Saeed et al., 2021) to evaluate the logical reasoning capabilities of LLMs, these datasets are limited in their scope by (1) not evaluating logical reasoning independently of other forms of reasoning such as LogiQA (Liu et al., 2021a) and ReClor (Yu et al., 2020); and (2) evaluating only a single type of logic and covering only few logical inference rules as done in FOLIO (Han et al., 2022) and ProntoQA (Saparov and He, 2023). Thus, our aim in this work is to address the lacuna of having a more comprehensive set of inference rules for evaluating the logical reasoning ability of LLMs.

To this end, we introduce a systematically created question-answering dataset for the evaluation of logical reasoning ability using a single inference rule, called LogicBench. Besides evaluating the logical reasoning ability of LLMs, by evaluating models on single inference rules, we can also gain insights into the frequency of text sequences corresponding to these rules in the pre-training data and their impact on model performance. As illustrated in Figure 1, LogicBench includes a total of 25 reasoning patterns across ‘propositional, first-order, and non-monotonic’ logics. To the best of the authors’ knowledge, this is the first work to study non-monotonic reasoning, as well as various inference rules in propositional and first-order logics including hypothetical and disjunctive syllogism; and bidirectional, constructive, and destructive dilemmas in NLP domain. To evaluate LLMs using LogicBench, we formulate two different tasks: (i) a Binary Question-Answering (BQA) task in which the context comprises logical statements and the models have to determine whether a conclusion given in the question is logically entailed by the context, and (ii) a Multiple-Choice Questions-Answering (MCQA) task where models must select the most appropriate logical conclusion from four distinct options, based on the provided context. The rationale behind having BQA and MCQA tasks is that it provides systematic standard metric-based evaluation (i.e., direct comparison of LLMs’ performance in terms of accuracy), which could be more challenging with open-ended question-answer formats. Examples instances of various reasoning patterns are presented in Table 4 and App. C.

To construct LogicBench, we use a three-stage procedure (refer to §3). In the first stage, we prompt GPT-3.5 to generate a variety of coherent natural language sentences having different ‘ontologies’ (i.e., a collection of concepts as car, person, and animals) and their corresponding negations (refer to §3.2.1). In the second stage, we generate (context, question) pairs where the context represents a natural language narrative consisting of logical statements, and the question is formulated to exhibit the logical conclusion derived from the context. In the third stage, we generate task-specific data instances (i.e., (context, question, answer) triplets).

We conduct a comprehensive evaluation with a range of LLMs on LogicBench including GPT-4, ChatGPT (GPT-3.5-Turbo), Gemini-Pro, Llama-2-7B-Chat, and Mistral-7B-Instruct using chain-of-thought (Wei et al., 2022). In particular, we measure the accuracy of LLMs predictions on both BQA and MCQA tasks. Our experiments result in several interesting findings such as LLMs often struggle to reason over complex logical contexts that involve only a single inference rule and encounter difficulties with inference rules involving negations. Experimental results reveal that these models struggle with respect to many of the inference rules and patterns, suggesting significant room for improvement in their logical reasoning abilities. To further demonstrate the use of LogicBench, we synthetically augment it and fine-tune T5-large. Our preliminary results (App. I) show that this improves the logical reasoning ability of existing models leading to performance improvement on other logic datasets, LogicNLI, and FOLIO (2%similar-toabsentpercent2\sim 2\%∼ 2 % on an average), and shows competitive performance on LogiQA and ReClor.

Dataset Logic Covered Inference Rules/Axioms Provided with Data Generation Code Available
PL FL NM
Ruletaker Human-annotated
LogicNLI Semi-automated
ProofWriter
FOLIO Human-annotated
SimpleLogic
ProntoQA
LogicBench
Table 1: LogicBench’s comparison with current datasets

2 Related Work

Names Propositional Logic Extension to a (restricted) First-order Logic
MP
((pq)p)qproves𝑝𝑞𝑝𝑞((p\to q)\land p)\vdash q( ( italic_p → italic_q ) ∧ italic_p ) ⊢ italic_q
(x(p(x)q(x))p(a))q(a)provesfor-all𝑥𝑝𝑥𝑞𝑥𝑝𝑎𝑞𝑎(\forall x(p(x)\to q(x))\land p(a))\vdash q(a)( ∀ italic_x ( italic_p ( italic_x ) → italic_q ( italic_x ) ) ∧ italic_p ( italic_a ) ) ⊢ italic_q ( italic_a )
MT
((pq)¬q)¬pproves𝑝𝑞𝑞𝑝((p\to q)\land\neg q)\vdash\neg p( ( italic_p → italic_q ) ∧ ¬ italic_q ) ⊢ ¬ italic_p
(x(p(x)q(x))¬q(a))¬p(a)provesfor-all𝑥𝑝𝑥𝑞𝑥𝑞𝑎𝑝𝑎(\forall x(p(x)\to q(x))\land\neg q(a))\vdash\neg p(a)( ∀ italic_x ( italic_p ( italic_x ) → italic_q ( italic_x ) ) ∧ ¬ italic_q ( italic_a ) ) ⊢ ¬ italic_p ( italic_a )
HS
((pq))(qr))(pr)((p\to q))\land(q\to r))\vdash(p\to r)( ( italic_p → italic_q ) ) ∧ ( italic_q → italic_r ) ) ⊢ ( italic_p → italic_r )
(x((p(x)q(x))(q(x)r(x)))(p(a)r(a))(\forall x((p(x)\to q(x))\land(q(x)\to r(x)))\vdash(p(a)\to r(a))( ∀ italic_x ( ( italic_p ( italic_x ) → italic_q ( italic_x ) ) ∧ ( italic_q ( italic_x ) → italic_r ( italic_x ) ) ) ⊢ ( italic_p ( italic_a ) → italic_r ( italic_a ) )
DS
((pq)¬p)qproves𝑝𝑞𝑝𝑞((p\lor q)\land\neg p)\vdash q( ( italic_p ∨ italic_q ) ∧ ¬ italic_p ) ⊢ italic_q
(x(p(x)q(x))¬p(a))q(a)provesfor-all𝑥𝑝𝑥𝑞𝑥𝑝𝑎𝑞𝑎(\forall x(p(x)\lor q(x))\land\neg p(a))\vdash q(a)( ∀ italic_x ( italic_p ( italic_x ) ∨ italic_q ( italic_x ) ) ∧ ¬ italic_p ( italic_a ) ) ⊢ italic_q ( italic_a )
CD
((pq)(rs)(pr))(qs)proves𝑝𝑞𝑟𝑠𝑝𝑟𝑞𝑠((p\to q)\land(r\to s)\land(p\lor r))\vdash(q\lor s)( ( italic_p → italic_q ) ∧ ( italic_r → italic_s ) ∧ ( italic_p ∨ italic_r ) ) ⊢ ( italic_q ∨ italic_s )
(x((p(x)q(x))(r(x)s(x)))(p(a)r(a)))(q(a)s(a))provesfor-all𝑥𝑝𝑥𝑞𝑥𝑟𝑥𝑠𝑥𝑝𝑎𝑟𝑎𝑞𝑎𝑠𝑎(\forall x((p(x)\to q(x))\land(r(x)\to s(x)))\land(p(a)\lor r(a)))\ \vdash(q(a% )\lor s(a))( ∀ italic_x ( ( italic_p ( italic_x ) → italic_q ( italic_x ) ) ∧ ( italic_r ( italic_x ) → italic_s ( italic_x ) ) ) ∧ ( italic_p ( italic_a ) ∨ italic_r ( italic_a ) ) ) ⊢ ( italic_q ( italic_a ) ∨ italic_s ( italic_a ) )
DD
((pq)(rs)(¬q¬s))(¬p¬r)proves𝑝𝑞𝑟𝑠𝑞𝑠𝑝𝑟((p\to q)\land(r\to s)\land(\neg q\lor\neg s))\vdash(\neg p\lor\neg r)( ( italic_p → italic_q ) ∧ ( italic_r → italic_s ) ∧ ( ¬ italic_q ∨ ¬ italic_s ) ) ⊢ ( ¬ italic_p ∨ ¬ italic_r )
(x((p(x)q(x))(r(x)s(x)))(¬q(a)¬s(a)))(¬p(a)¬r(a))provesfor-all𝑥𝑝𝑥𝑞𝑥𝑟𝑥𝑠𝑥𝑞𝑎𝑠𝑎𝑝𝑎𝑟𝑎(\forall x((p(x)\to q(x))\land(r(x)\to s(x)))\land(\neg q(a)\lor\neg s(a)))\ % \vdash(\neg p(a)\lor\neg r(a))( ∀ italic_x ( ( italic_p ( italic_x ) → italic_q ( italic_x ) ) ∧ ( italic_r ( italic_x ) → italic_s ( italic_x ) ) ) ∧ ( ¬ italic_q ( italic_a ) ∨ ¬ italic_s ( italic_a ) ) ) ⊢ ( ¬ italic_p ( italic_a ) ∨ ¬ italic_r ( italic_a ) )
BD
((pq)(rs)(p¬s))(q¬r)proves𝑝𝑞𝑟𝑠𝑝𝑠𝑞𝑟((p\to q)\land(r\to s)\land(p\lor\neg s))\vdash(q\lor\neg r)( ( italic_p → italic_q ) ∧ ( italic_r → italic_s ) ∧ ( italic_p ∨ ¬ italic_s ) ) ⊢ ( italic_q ∨ ¬ italic_r )
(x((p(x)q(x))(r(x)s(x)))(p(a)¬s(a)))(q(a)¬r(a))provesfor-all𝑥𝑝𝑥𝑞𝑥𝑟𝑥𝑠𝑥𝑝𝑎𝑠𝑎𝑞𝑎𝑟𝑎(\forall x((p(x)\to q(x))\land(r(x)\to s(x)))\land(p(a)\lor\neg s(a)))\ \vdash% (q(a)\lor\neg r(a))( ∀ italic_x ( ( italic_p ( italic_x ) → italic_q ( italic_x ) ) ∧ ( italic_r ( italic_x ) → italic_s ( italic_x ) ) ) ∧ ( italic_p ( italic_a ) ∨ ¬ italic_s ( italic_a ) ) ) ⊢ ( italic_q ( italic_a ) ∨ ¬ italic_r ( italic_a ) )
CT (pq)(qp)proves𝑝𝑞𝑞𝑝(p\lor q)\vdash(q\lor p)( italic_p ∨ italic_q ) ⊢ ( italic_q ∨ italic_p ) -
MI
(pq)(¬pq)proves𝑝𝑞𝑝𝑞(p\to q)\vdash(\neg p\lor q)( italic_p → italic_q ) ⊢ ( ¬ italic_p ∨ italic_q ) -
EG
- P(a)xP(x)𝑃𝑎𝑥𝑃𝑥{\displaystyle P\left({a}\right)}\Rightarrow\exists xP\left({x}\right)italic_P ( italic_a ) ⇒ ∃ italic_x italic_P ( italic_x )
UI
- xAA{xa}for-all𝑥𝐴𝐴maps-to𝑥𝑎\displaystyle\forall x\,A\Rightarrow A\{x\mapsto a\}∀ italic_x italic_A ⇒ italic_A { italic_x ↦ italic_a }
Table 2: Inference rules and (two) axioms that establish the relationship between premises and conclusions. MP: Modus Ponens, MT: Modus Tollens, HS: Hypothetical Syllogism, DS: Disjunctive Syllogism, CD: Constructive Dilemma, DD: Destructive Dilemma, BD: Bidirectional Dilemma, CT: Commutation, MI: Material Implication, EG: Existential Generalization, UI: Universal Instantiation

As LLMs continue to evolve rapidly, it becomes increasingly crucial to evaluate their diverse reasoning capabilities, as well as those of forthcoming LLMs. LogiQA (Liu et al., 2021a) and ReClor (Yu et al., 2020) have made notable contributions by compiling multichoice questions from standardized examinations that demand diverse forms of logical reasoning. In contrast to LogicBench, these datasets involve mixed forms of reasoning and do not focus on assessing logical reasoning in isolation.

A few past attempts have been made to evaluate only logical reasoning while excluding other forms of reasoning. For example, CLUTTER (Sinha et al., 2019) covers inductive reasoning, Hahn et al. (2021) covers temporal logic, and Ruletaker (Clark et al., 2021) evaluates whether a transformer-based model emulates deductive reasoning over synthetically generated statements in a limited setting. LogicNLI (Tian et al., 2021) introduced a diagnostic benchmark for FOL reasoning, with the dataset constructed by automatically generating logic expressions and replacing the entity and attribute placeholders.

Our proposed dataset is similar (in terms of task formulation) to ProofWriter (Tafjord et al., 2021), FOLIO (Han et al., 2022), and ProntoQA (Saparov and He, 2023) which are QA datasets designed to test reasoning ability. ProofWriter provides multi-hop proofs for each example, while FOLIO gives diverse and complex logical expressions, however, it is only limited to FOL. ProntoQA (Saparov and He, 2023) provides explanation and reasoning steps but is limited to modus ponens in FOL. Nevertheless, several crucial attributes motivated us to create LogicBench (see Table 1 for comparison). Additional datasets for evaluating logical reasoning also exist such as SimpleLogic (Zhang et al., 2023) provides a class of logical reasoning problems, TaxiNLI (Joshi et al., 2020) introduces logical taxonomy in NLI task and RuleBert (Saeed et al., 2021) covers only soft logical rules. In summary, LogicBench evaluates logical reasoning in isolation and provides diverse inference rules and logic types compared to existing datasets. Extended related work is discussed in App. B.

3 LogicBench

3.1 Logics Types

Basic Default Reasoning Default Reasoning with Irrelevant Information
Context: Block A and block B are both heavy objects that are typically found on the table. However, there is a possibility that block A might not follow this usual convention. It is important to note this exception.

Conclusion: B is on the table.
Context: In a room filled with various objects, two heavy blocks, block A and block B, stand out. Normally, heavy blocks like these are placed on the table, but surprisingly, block A is not found on the table. On the other hand, block B grabs attention with its vibrant red color.

Conclusion: B is on the table.
Reasoning about Unknown Expectations Reasoning about Priorities
Context: In this situation, there are three heavy blocks: A, B, and C. Typically, heavy blocks are found on the table. However, it is known that at least one of the blocks, either A or B, is not currently on the table.

Conclusion: C is on the table. Exactly one of A, B is not on the table.
Context: John confidently states that the vehicle is situated in the driveway, while Sara adamantly counters, asserting that it is not parked inside the garage.

Conclusion: If John’s evidence is more reliable than Sara’s then the car is parked in the driveway.
Table 3: Illustrative examples of non-monotonic reasoning adapted from Lifschitz (1989).
Propositional Logic (PL)

Propositional logic employs a collection of statements or propositions (denoted as 𝒫=p1,p2,,pn𝒫subscript𝑝1subscript𝑝2subscript𝑝𝑛\mathcal{P}={p_{1},p_{2},...,p_{n}}caligraphic_P = italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_p start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_p start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT, where pisubscript𝑝𝑖p_{i}italic_p start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT represents a proposition) and builds upon them using logical connectives such as ‘\land’, ‘\lor’, ‘\to’, ‘\leftrightarrow’, and ‘¬\neg¬’. Several inference rules for propositional logic have been defined using which given a set of premises, one can derive a sound conclusion. For example, let’s consider two propositions: p1subscript𝑝1p_{1}italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT, which states "It is raining," and p2subscript𝑝2p_{2}italic_p start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT, which states "It is cloudy." From these propositions, we can construct a context/knowledge base (KB) with two premises: (1) p1p2subscript𝑝1subscript𝑝2p_{1}\to p_{2}italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT → italic_p start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT and (2) p1subscript𝑝1p_{1}italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT. With this KB, we can conclude p2subscript𝑝2p_{2}italic_p start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT. This inference rule is written as ((p1p2)p1)p2provessubscript𝑝1subscript𝑝2subscript𝑝1subscript𝑝2((p_{1}\to p_{2})\land p_{1})\vdash p_{2}( ( italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT → italic_p start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ) ∧ italic_p start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ) ⊢ italic_p start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT and is known as ‘Modus Ponens’. In our study, we explore nine distinct inference rules of propositional logic, extensions of seven of them with one-variable and a universal quantifier, and two axioms of first-order logic as shown in Table 2. These inference rules provide a proper framework for deriving valid conclusions.

First-order Logic (FOL)

In this work, we consider a restricted set of logical axioms for FOL that utilize quantifiers, for-all\forall (universal quantifier) and \exists (existential quantifier). The universal quantifier (for-all\forall) denotes that a statement holds true for all instances within a specific category. In contrast, the existential quantifier (\exists) indicates that a statement is true for at least one instance within its scope. For instance, a simple extension of propositional ‘Modus Ponens’ is an inference rule where given the premises (p(x)q(x))for-all𝑝𝑥𝑞𝑥\forall(p(x)\rightarrow q(x))∀ ( italic_p ( italic_x ) → italic_q ( italic_x ) ) and p(a)𝑝𝑎p(a)italic_p ( italic_a ), we conclude q(a)𝑞𝑎q(a)italic_q ( italic_a ) (e.g., given “All kings are greedy” and “Sam is a king”, we can conclude “Sam is greedy”). Here, we explore two axioms (EG and UI - in detail in App. C.3) and various inference rules that incorporate the quantifiers (shown in Table 2).

Non-monotonic (NM) Reasoning

In this work, we analyze a range of logical reasoning templates in NM logics involving “Default Reasoning,” “Reasoning about Unknown Expectations,” and “Reasoning about Priorities.” These templates are inspired by the compilation (Lifschitz, 1989) made in 1989 to evaluate the abilities of various non-monotonic logics that were being developed at that time. Below Table 3 shows examples of NM reasoning. Additional examples are given in App. C.4.

A key aspect of NM logics is to formalize notions such as “normally,” “typically,” and “usually” that are not directly formalizable using classical quantifiers in the first-order setting. The general rule “Heavy blocks are normally located on the table” does not imply that “All heavy blocks are always located on the table”. Rather, this rule allows for exceptions. Our work explores various NM reasoning patterns, as depicted in Figure 1, to delve deeper into the nuances of this type of reasoning.

3.2 Data Creation

Refer to caption
Figure 2: Schematic representation of three-stage procedure for data creation. NL: Natural Language

Our data creation procedure, illustrated in Figure 2, consists of three stages:

1. Sentence Generation: Starting with a given prompt, we generate coherent sentences and their negations that incorporate different ontologies.

2. NL Conversion: Pairs of (context, question) are generated using pre-defined templates from which context is then converted to a natural language narrative using the prompt.

3. Task Instance Generation: Task-specific (context, question, answer) triplets are generated. BQA requires answers in the form of “yes” or “no”, whereas MCQA involves selecting one correct option from a set of four. We generate semantically preserving and inverting variations of these triplets to add more diversity for BQA.

Examples of generated data corresponding to each logic type and reasoning patterns are presented in App. C.

3.2.1 Sentence Generation

Here, the first step is to generate sentences with diverse ontologies. An ontology represents a collection of concepts (e.g. car, person, animals, etc.) along with their corresponding associated properties. To generate these sentences, we prompt the GPT-3.5 model with instructions tailored for each inference rule (more details in App. A).

An example of a prompt corresponding to the ‘Modus Tollens’ from PL is presented in App. A for better illustration. Note that our objective at this stage is not to generate logical sentences but rather to generate a diverse and coherent set of sentences that encompass various concepts. We also create a negation sentence corresponding to each generated sentence222We use https://github.com/dmlls/negate to generate negated sentences. In this work, the scope of generating negations is simple (refer to App. C for examples), however, negations can be more complicated in the case of logic. These generated sentences will be combined with logical connectives in a later stage to form context and questions.

3.2.2 NL Conversion

Here, the NL conversion is accomplished using two steps. First, we leverage the formal expressions of reasoning patterns to create templates that establish the desired NL formulation for each logical connective (i.e., templatized context). Second, we prompt GPT-3.5 to transform the templatized context into a story/narrative-based context, enhancing its naturalness. For instance, implication: “pq𝑝𝑞p\to qitalic_p → italic_q” is expressed as “If p𝑝pitalic_p, then q𝑞qitalic_q”, conjunction: “pq𝑝𝑞p\land qitalic_p ∧ italic_q” as “p𝑝pitalic_p and q𝑞qitalic_q.”, and disjunction: “pq𝑝𝑞p\lor qitalic_p ∨ italic_q” as “At least one of the following is true: (1) p𝑝pitalic_p and (2) q𝑞qitalic_q. Note that we do not know which of (1) and (2) is true. It is possible that only (1) is true, or only (2) is true, or both are true.” since understanding the logical implication of ‘or’ when integrated into logical formulations posed challenges to both humans and models. With these established formulations, we proceed to utilize the sentences generated in §3.2.1 to create the templatized context and questions corresponding to reasoning patterns.

Then, the templatized context is converted into a narrative-based context using a prompt-based converter, enhancing its naturalness. The prompt-based converter (essentially, prompting GPT-3.5) ensures that the context is no longer templatized yet follows the logical connection between sentences as mentioned in the logical rule (further details are presented in App. D). For instance, let’s consider the “Modus Tollens” from PL (((pq)¬q)¬pproves𝑝𝑞𝑞𝑝((p\to q)\land\neg q)\vdash\neg p( ( italic_p → italic_q ) ∧ ¬ italic_q ) ⊢ ¬ italic_p), and the “Bidirectional Dilemma” from FOL (x((p(x)q(x))(r(x)s(x)))(p(a)¬s(a)))(q(a)¬r(a))\forall x((p(x)\to q(x))\land(r(x)\to s(x)))\land(p(a)\lor\neg s(a)))\vdash(q(% a)\lor\neg r(a))∀ italic_x ( ( italic_p ( italic_x ) → italic_q ( italic_x ) ) ∧ ( italic_r ( italic_x ) → italic_s ( italic_x ) ) ) ∧ ( italic_p ( italic_a ) ∨ ¬ italic_s ( italic_a ) ) ) ⊢ ( italic_q ( italic_a ) ∨ ¬ italic_r ( italic_a ) )). For these rules, Table 4 presents examples of logical templatized and narrative-based context, question, and task instances for both, BQA and MCQA. App. D showcases further examples corresponding to each inference rule and patterns from LogicBench.

Generated Sentences in Stage 1 Context Binary QA MCQA
Inference rule: MT

p: Liam finished his work early.
¬p: Liam did not finish his work early.
q: he will order pizza for dinner.
¬q: he will not order pizza for dinner.
Templatized Context: If Liam finishes his work early, then he will order pizza for dinner. He won’t order pizza for dinner.

NL Context: Liam knows that if he finishes his work early for the day, he will order pizza for dinner. However, on this particular day, he decided against ordering pizza.
Question 1: Does this imply that Liam didn’t finish his work early? (Yes)
Question 2: Does this imply that Liam finishes his work early? (No)
Question: Based on the context, what conclusion would be deemed most suitable?

Option 1: Liam didn’t finish his work early. (Yes)
Option 2: Sarah had already ordered Chinese takeout. (No)
Option 3: Rebecca finished her work early. (No)
Option 4: Liam decided to order sushi instead. (No)
Inference rule: BD

p(x): someone drinks lots of water
q(x): they will feel hydrated
r(x): they eat too much sugar
s(x): they will experience a sugar crash
p(a): Jane drinks lots of water
¬p(a): Jane does not drink lots of water
q(a): she will feel hydrated
¬q(a): she will not feel hydrated
r(a): she eats too much sugar
¬r(a): she does not eat too much sugar
s(a): she will experience a sugar crash
¬s(a): she will not experience a sugar crash
Templatized Context: If someone drinks lots of water, then they will feel hydrated. If they eat too much sugar, then they will experience a sugar crash. We know that at least one of the following is true (1) Jane drinks lots of water and (2) she won’t experience a sugar crash. Note that we do not know which ones of (1) and (2) are true. It might be the case that only (1) is true, or only (2) is true or both are true.

NL Context: If someone consumes a significant amount of water, they will experience a state of hydration. conversely, if excessive amounts of sugar are ingested by them, a sugar crash will ensue. it is known that at least one of the following statements is true: either the Jane consumes ample water or she will not experience a sugar crash. however, the actual veracity of either statement remains ambiguous, as it could be the case that only the first statement is true, only the second statement is true, or both statements are true.
Question 1: Can we say at least one of the following must always be true? (a) she will feel hydrated and (b) she doesn’t eat too much sugar (Yes)
Question 2: Can we say at least one of the following must always be true? (a) she won’t feel hydrated and (b) she eats too much sugar (No)
Question 3: Can we say at least one of the following must always be true? (a) she will feel hydrated and (b) she eats too much sugar (No)
Question 4: Can we say at least one of the following must always be true? (a) she won’t feel hydrated and (b) she doesn’t eat too much sugar (No)
Question: Taking into account the context provided, what conclusion would be the most appropriate?

Option 1: If Jane consumes ample water, she will experience a sugar crash (No)
Option 2: John will feel hydrated or he won’t experience a sugar crash (No)
Option 3: Jane will feel hydrated or she doesn’t eat too much sugar (Yes)
Option 4: Jane won’t feel hydrated or she will eat too much sugar (No)
Table 4: Illustrative examples of logical context and questions created using sentences that are generated in the first stage (§3.2.1) for both tasks, i.e., BQA and MCQA.

3.2.3 Task Instance Generation

After generating the context and questions in §3.2.2, we generate (context, question, answer) triplets for both tasks: (i) BQA, and (ii) MCQA. Here, narrative-based context is similar for both BQA and MCQA tasks, only the format of (question, answer) pairs are different.

BQA

We generate semantically preserving and inverting variations of questions. Let’s consider the example of “Modus Tollens” from Table 4, having question as: “Does this imply that Liam didn’t finish his work early?” In this question, we observe one proposition: s1subscript𝑠1s_{1}italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT, representing the statement “Liam didn’t finish his work early,” can be used to create another question that did not follow the logical rule MT. We can create two possible tuples: <¬s1,yes>,<s1,no><\neg s_{1},yes>,<s_{1},no>< ¬ italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_y italic_e italic_s > , < italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_n italic_o >. Each tuple has a question-answer combination using proposition s1subscript𝑠1s_{1}italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT. Moreover, we do not generate variations for the context since it offers no substantial diversity in the dataset. For question variations, we replace the variation of proposition <s1>expectationsubscript𝑠1<s_{1}>< italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT > in the original question with the corresponding tuples to add diversity to LogicBench. The process allows us to create more variations of the question for BQA tasks, as illustrated in Figure 2 (Step 3 - Task 1).

MCQA

A prompt-based approach is used to create different incorrect options. For rule MT, as shown in Table 4, option 1 is a correct option that follows the rule MT logically (<¬s1>expectationsubscript𝑠1<\neg s_{1}>< ¬ italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT >), while the other three options are generated using prompting in a way that does not follow the rule being incorrect options. In addition to the options, the question is also replaced by a randomly selected question from the set of five questions. As seen in Figure 2 (Step 3 - Task 2), there is only one correct option out of four given options. More details related to incorrect option generation and instances examples for both tasks are in the App. C, and E.2.

3.3 Statistics and Qualitative Analysis

Statistics

We introduce two versions of our proposed dataset: LogicBench(Eval)BQA and LogicBench(Eval)MCQA. Statistics of both versions are presented in Table 5. For LogicBench(Eval)BQA, out of 1520, 520 samples are for ‘yes’ and 1000 samples are for ‘no’ labels. For LogicBench(Eval)MCQA, there are 20 unique samples present for each rule, thus in total 500 unique samples. Furthermore, we synthetically augmented LogicBench(Eval) for training purposes (i.e., LogicBench(Aug)) which consists of 150 unique data samples for each rule for BQA, resulting in a total of 12908 data samples including variations.

Dataset
# of Instances
per Axiom
Total # of
Instances
Total # of Instances
(Including Variations)
LogicBench(Eval)BQA 20 500 1520
LogicBench(Eval)MCQA 20 500 500
Table 5: Statistics of LogicBench(Eval)
Data Validation

Throughout the data generation phase of LogicBench(Eval), the authors conduct a review of the logical formations to ensure they follow the intended logical structure. We examine each narrative for any potential discrepancies, ensuring that they are logically sound and correctly represent the intended relationships between propositions. In addition to the logical formation, we also dedicated considerable effort to eliminating typos and validating the grammar. We also analyze the diversity in terms of different ontology and the logical nature of the LogicBench(Eval) (presented in App. C.1). We mitigate errors encountered during the validation step (presented in App. F).

4 Results and Analysis

Type Rules Llama-2 Mistral Gemini ChatGPT GPT-4
A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o ) A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ) A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o ) A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ) A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o ) A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ) A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o ) A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ) A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o ) A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s )
PL HS   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 47.350.03subscript47.350.0347.35_{0.03}47.35 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 98.630.01subscript98.630.0198.63_{0.01}98.63 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 64.240.07subscript64.240.0764.24_{0.07}64.24 start_POSTSUBSCRIPT 0.07 end_POSTSUBSCRIPT 99.310.01subscript99.310.0199.31_{0.01}99.31 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 59.600.01subscript59.600.0159.60_{0.01}59.60 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 66.820.04subscript66.820.0466.82_{0.04}66.82 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 84.750.06subscript84.750.0684.75_{0.06}84.75 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT
DS 44.810.05subscript44.810.0544.81_{0.05}44.81 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 56.820.02subscript56.820.0256.82_{0.02}56.82 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 50.770.03subscript50.770.0350.77_{0.03}50.77 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 77.660.05subscript77.660.0577.66_{0.05}77.66 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 68.210.04subscript68.210.0468.21_{0.04}68.21 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 91.650.04subscript91.650.0491.65_{0.04}91.65 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 51.260.04subscript51.260.0451.26_{0.04}51.26 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 80.710.09subscript80.710.0980.71_{0.09}80.71 start_POSTSUBSCRIPT 0.09 end_POSTSUBSCRIPT 79.960.06subscript79.960.0679.96_{0.06}79.96 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
CD 79.940.03subscript79.940.0379.94_{0.03}79.94 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 25.470.01subscript25.470.0125.47_{0.01}25.47 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 83.370.03subscript83.370.0383.37_{0.03}83.37 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 72.300.12subscript72.300.1272.30_{0.12}72.30 start_POSTSUBSCRIPT 0.12 end_POSTSUBSCRIPT 85.560.04subscript85.560.0485.56_{0.04}85.56 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 28.150.01subscript28.150.0128.15_{0.01}28.15 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 90.750.06subscript90.750.0690.75_{0.06}90.75 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 38.630.04subscript38.630.0438.63_{0.04}38.63 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 92.850.01subscript92.850.0192.85_{0.01}92.85 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 66.120.05subscript66.120.0566.12_{0.05}66.12 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT
DD 82.220.16subscript82.220.1682.22_{0.16}82.22 start_POSTSUBSCRIPT 0.16 end_POSTSUBSCRIPT 25.220.01subscript25.220.0125.22_{0.01}25.22 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 71.260.02subscript71.260.0271.26_{0.02}71.26 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 14.160.03subscript14.160.0314.16_{0.03}14.16 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 75.480.04subscript75.480.0475.48_{0.04}75.48 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 25.220.02subscript25.220.0225.22_{0.02}25.22 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 71.280.05subscript71.280.0571.28_{0.05}71.28 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 23.470.03subscript23.470.0323.47_{0.03}23.47 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 84.510.02subscript84.510.0284.51_{0.02}84.51 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 42.400.04subscript42.400.0442.40_{0.04}42.40 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT
BD 48.890.43subscript48.890.4348.89_{0.43}48.89 start_POSTSUBSCRIPT 0.43 end_POSTSUBSCRIPT 25.130.01subscript25.130.0125.13_{0.01}25.13 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 79.680.01subscript79.680.0179.68_{0.01}79.68 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 47.360.11subscript47.360.1147.36_{0.11}47.36 start_POSTSUBSCRIPT 0.11 end_POSTSUBSCRIPT 86.810.02subscript86.810.0286.81_{0.02}86.81 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 29.510.01subscript29.510.0129.51_{0.01}29.51 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 84.910.05subscript84.910.0584.91_{0.05}84.91 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 33.470.05subscript33.470.0533.47_{0.05}33.47 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 87.860.04subscript87.860.0487.86_{0.04}87.86 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 59.060.13subscript59.060.1359.06_{0.13}59.06 start_POSTSUBSCRIPT 0.13 end_POSTSUBSCRIPT
MT 70.540.03subscript70.540.0370.54_{0.03}70.54 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 71.460.05subscript71.460.0571.46_{0.05}71.46 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 47.960.08subscript47.960.0847.96_{0.08}47.96 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 44.960.10subscript44.960.1044.96_{0.10}44.96 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT 75.990.05subscript75.990.0575.99_{0.05}75.99 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 81.470.03subscript81.470.0381.47_{0.03}81.47 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 55.630.02subscript55.630.0255.63_{0.02}55.63 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 66.110.07subscript66.110.0766.11_{0.07}66.11 start_POSTSUBSCRIPT 0.07 end_POSTSUBSCRIPT 55.280.04subscript55.280.0455.28_{0.04}55.28 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 59.050.07subscript59.050.0759.05_{0.07}59.05 start_POSTSUBSCRIPT 0.07 end_POSTSUBSCRIPT
MI 78.570.26subscript78.570.2678.57_{0.26}78.57 start_POSTSUBSCRIPT 0.26 end_POSTSUBSCRIPT 25.340.01subscript25.340.0125.34_{0.01}25.34 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 75.360.01subscript75.360.0175.36_{0.01}75.36 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 25.510.04subscript25.510.0425.51_{0.04}25.51 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 74.690.06subscript74.690.0674.69_{0.06}74.69 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 24.840.04subscript24.840.0424.84_{0.04}24.84 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 81.600.02subscript81.600.0281.60_{0.02}81.60 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 31.790.03subscript31.790.0331.79_{0.03}31.79 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 91.840.01subscript91.840.0191.84_{0.01}91.84 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 39.720.03subscript39.720.0339.72_{0.03}39.72 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
CT 70.000.12subscript70.000.1270.00_{0.12}70.00 start_POSTSUBSCRIPT 0.12 end_POSTSUBSCRIPT 24.980.02subscript24.980.0224.98_{0.02}24.98 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 87.380.01subscript87.380.0187.38_{0.01}87.38 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 71.990.03subscript71.990.0371.99_{0.03}71.99 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 88.310.08subscript88.310.0888.31_{0.08}88.31 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 35.110.07subscript35.110.0735.11_{0.07}35.11 start_POSTSUBSCRIPT 0.07 end_POSTSUBSCRIPT 89.880.05subscript89.880.0589.88_{0.05}89.88 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 43.330.03subscript43.330.0343.33_{0.03}43.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 98.590.01subscript98.590.0198.59_{0.01}98.59 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 60.710.06subscript60.710.0660.71_{0.06}60.71 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT
Avg 71.870.13subscript71.870.13\mathbf{71.87_{0.13}}bold_71.87 start_POSTSUBSCRIPT bold_0.13 end_POSTSUBSCRIPT 37.720.02subscript37.720.02\mathbf{37.72_{0.02}}bold_37.72 start_POSTSUBSCRIPT bold_0.02 end_POSTSUBSCRIPT 74.300.03subscript74.300.03\mathbf{74.30_{0.03}}bold_74.30 start_POSTSUBSCRIPT bold_0.03 end_POSTSUBSCRIPT 52.270.07subscript52.270.07\mathbf{52.27_{0.07}}bold_52.27 start_POSTSUBSCRIPT bold_0.07 end_POSTSUBSCRIPT 81.790.04subscript81.790.04\mathbf{81.79_{0.04}}bold_81.79 start_POSTSUBSCRIPT bold_0.04 end_POSTSUBSCRIPT 46.940.03subscript46.940.03\mathbf{46.94_{0.03}}bold_46.94 start_POSTSUBSCRIPT bold_0.03 end_POSTSUBSCRIPT 78.160.04subscript78.160.04\mathbf{78.16_{0.04}}bold_78.16 start_POSTSUBSCRIPT bold_0.04 end_POSTSUBSCRIPT 48.040.05subscript48.040.05\mathbf{48.04_{0.05}}bold_48.04 start_POSTSUBSCRIPT bold_0.05 end_POSTSUBSCRIPT 86.360.03subscript86.360.03\mathbf{86.36_{0.03}}bold_86.36 start_POSTSUBSCRIPT bold_0.03 end_POSTSUBSCRIPT 63.980.05subscript63.980.05\mathbf{63.98_{0.05}}bold_63.98 start_POSTSUBSCRIPT bold_0.05 end_POSTSUBSCRIPT
FOL EG   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 71.670.03subscript71.670.0371.67_{0.03}71.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 85.680.06subscript85.680.0685.68_{0.06}85.68 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 97.970.04subscript97.970.0497.97_{0.04}97.97 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 96.740.03subscript96.740.0396.74_{0.03}96.74 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 96.750.03subscript96.750.0396.75_{0.03}96.75 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 98.410.03subscript98.410.0398.41_{0.03}98.41 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
UI 80.240.05subscript80.240.0580.24_{0.05}80.24 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 56.040.02subscript56.040.0256.04_{0.02}56.04 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 85.240.04subscript85.240.0485.24_{0.04}85.24 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 85.240.04subscript85.240.0485.24_{0.04}85.24 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 90.690.08subscript90.690.0890.69_{0.08}90.69 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 90.290.04subscript90.290.0490.29_{0.04}90.29 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 85.310.02subscript85.310.0285.31_{0.02}85.31 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 96.190.03subscript96.190.0396.19_{0.03}96.19 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 90.160.002subscript90.160.00290.16_{0.002}90.16 start_POSTSUBSCRIPT 0.002 end_POSTSUBSCRIPT 91.580.03subscript91.580.0391.58_{0.03}91.58 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
MP 97.440.04subscript97.440.0497.44_{0.04}97.44 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 73.010.04subscript73.010.0473.01_{0.04}73.01 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 96.280.03subscript96.280.0396.28_{0.03}96.28 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 95.240.05subscript95.240.0595.24_{0.05}95.24 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 98.250.03subscript98.250.0398.25_{0.03}98.25 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 96.970.05subscript96.970.0596.97_{0.05}96.97 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 91.030.04subscript91.030.0491.03_{0.04}91.03 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 94.740.00subscript94.740.0094.74_{0.00}94.74 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
HS   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 36.830.01subscript36.830.0136.83_{0.01}36.83 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 98.020.00subscript98.020.0098.02_{0.00}98.02 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 65.000.05subscript65.000.0565.00_{0.05}65.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 97.700.00subscript97.700.0097.70_{0.00}97.70 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 52.460.04subscript52.460.0452.46_{0.04}52.46 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 95.140.00subscript95.140.0095.14_{0.00}95.14 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 46.740.04subscript46.740.0446.74_{0.04}46.74 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 89.030.01subscript89.030.0189.03_{0.01}89.03 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 61.210.01subscript61.210.0161.21_{0.01}61.21 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT
DS 58.330.14subscript58.330.1458.33_{0.14}58.33 start_POSTSUBSCRIPT 0.14 end_POSTSUBSCRIPT 52.080.04subscript52.080.0452.08_{0.04}52.08 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 61.690.03subscript61.690.0361.69_{0.03}61.69 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 92.590.13subscript92.590.1392.59_{0.13}92.59 start_POSTSUBSCRIPT 0.13 end_POSTSUBSCRIPT 75.960.07subscript75.960.0775.96_{0.07}75.96 start_POSTSUBSCRIPT 0.07 end_POSTSUBSCRIPT 85.820.07subscript85.820.0785.82_{0.07}85.82 start_POSTSUBSCRIPT 0.07 end_POSTSUBSCRIPT 72.460.10subscript72.460.1072.46_{0.10}72.46 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT 94.710.05subscript94.710.0594.71_{0.05}94.71 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 63.340.04subscript63.340.0463.34_{0.04}63.34 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
CD   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 26.360.01subscript26.360.0126.36_{0.01}26.36 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 82.210.02subscript82.210.0282.21_{0.02}82.21 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 82.020.09subscript82.020.0982.02_{0.09}82.02 start_POSTSUBSCRIPT 0.09 end_POSTSUBSCRIPT 94.710.02subscript94.710.0294.71_{0.02}94.71 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 33.620.02subscript33.620.0233.62_{0.02}33.62 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 87.870.06subscript87.870.0687.87_{0.06}87.87 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 39.370.06subscript39.370.0639.37_{0.06}39.37 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 92.650.01subscript92.650.0192.65_{0.01}92.65 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 74.720.05subscript74.720.0574.72_{0.05}74.72 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT
DD 54.370.19subscript54.370.1954.37_{0.19}54.37 start_POSTSUBSCRIPT 0.19 end_POSTSUBSCRIPT 23.360.01subscript23.360.0123.36_{0.01}23.36 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 73.780.01subscript73.780.0173.78_{0.01}73.78 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT   6.670.11subscript6.670.116.67_{0.11}6.67 start_POSTSUBSCRIPT 0.11 end_POSTSUBSCRIPT 82.700.02subscript82.700.0282.70_{0.02}82.70 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 28.960.01subscript28.960.0128.96_{0.01}28.96 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 72.700.08subscript72.700.0872.70_{0.08}72.70 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 26.420.11subscript26.420.1126.42_{0.11}26.42 start_POSTSUBSCRIPT 0.11 end_POSTSUBSCRIPT 85.540.04subscript85.540.0485.54_{0.04}85.54 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 54.550.08subscript54.550.0854.55_{0.08}54.55 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT
BD 92.310.13subscript92.310.1392.31_{0.13}92.31 start_POSTSUBSCRIPT 0.13 end_POSTSUBSCRIPT 25.780.01subscript25.780.0125.78_{0.01}25.78 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 75.760.01subscript75.760.0175.76_{0.01}75.76 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 44.440.10subscript44.440.1044.44_{0.10}44.44 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT 82.820.08subscript82.820.0882.82_{0.08}82.82 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 28.930.05subscript28.930.0528.93_{0.05}28.93 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 85.500.03subscript85.500.0385.50_{0.03}85.50 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 38.820.02subscript38.820.0238.82_{0.02}38.82 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 84.220.02subscript84.220.0284.22_{0.02}84.22 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 66.670.10subscript66.670.1066.67_{0.10}66.67 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT
MT 77.110.05subscript77.110.0577.11_{0.05}77.11 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 88.410.09subscript88.410.0988.41_{0.09}88.41 start_POSTSUBSCRIPT 0.09 end_POSTSUBSCRIPT 69.010.06subscript69.010.0669.01_{0.06}69.01 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 91.710.01subscript91.710.0191.71_{0.01}91.71 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 71.180.10subscript71.180.1071.18_{0.10}71.18 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT 89.580.04subscript89.580.0489.58_{0.04}89.58 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 62.460.03subscript62.460.0362.46_{0.03}62.46 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 92.800.06subscript92.800.0692.80_{0.06}92.80 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 64.690.04subscript64.690.0464.69_{0.04}64.69 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
Avg 84.420.07subscript84.420.07\mathbf{84.42_{0.07}}bold_84.42 start_POSTSUBSCRIPT bold_0.07 end_POSTSUBSCRIPT 50.390.03subscript50.390.03\mathbf{50.39_{0.03}}bold_50.39 start_POSTSUBSCRIPT bold_0.03 end_POSTSUBSCRIPT 82.440.02subscript82.440.02\mathbf{82.44_{0.02}}bold_82.44 start_POSTSUBSCRIPT bold_0.02 end_POSTSUBSCRIPT 73.660.06subscript73.660.06\mathbf{73.66_{0.06}}bold_73.66 start_POSTSUBSCRIPT bold_0.06 end_POSTSUBSCRIPT 86.630.05subscript86.630.05\mathbf{86.63_{0.05}}bold_86.63 start_POSTSUBSCRIPT bold_0.05 end_POSTSUBSCRIPT 67.170.04subscript67.170.04\mathbf{67.17_{0.04}}bold_67.17 start_POSTSUBSCRIPT bold_0.04 end_POSTSUBSCRIPT 84.240.04subscript84.240.04\mathbf{84.24_{0.04}}bold_84.24 start_POSTSUBSCRIPT bold_0.04 end_POSTSUBSCRIPT 69.200.05subscript69.200.05\mathbf{69.20_{0.05}}bold_69.20 start_POSTSUBSCRIPT bold_0.05 end_POSTSUBSCRIPT 84.750.02subscript84.750.02\mathbf{84.75_{0.02}}bold_84.75 start_POSTSUBSCRIPT bold_0.02 end_POSTSUBSCRIPT 83.190.02subscript83.190.02\mathbf{83.19_{0.02}}bold_83.19 start_POSTSUBSCRIPT bold_0.02 end_POSTSUBSCRIPT
NM DRI 29.060.05subscript29.060.0529.06_{0.05}29.06 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 40.980.04subscript40.980.0440.98_{0.04}40.98 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 61.510.05subscript61.510.0561.51_{0.05}61.51 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 72.220.05subscript72.220.0572.22_{0.05}72.22 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 65.450.03subscript65.450.0365.45_{0.03}65.45 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 78.500.02subscript78.500.0278.50_{0.02}78.50 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 55.770.00subscript55.770.0055.77_{0.00}55.77 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 88.890.09subscript88.890.0988.89_{0.09}88.89 start_POSTSUBSCRIPT 0.09 end_POSTSUBSCRIPT 81.290.05subscript81.290.0581.29_{0.05}81.29 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
DRS 66.560.03subscript66.560.0366.56_{0.03}66.56 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 18.400.01subscript18.400.0118.40_{0.01}18.40 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 70.130.01subscript70.130.0170.13_{0.01}70.13 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT   6.200.01subscript6.200.016.20_{0.01}6.20 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 68.050.01subscript68.050.0168.05_{0.01}68.05 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT   7.200.06subscript7.200.067.20_{0.06}7.20 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 69.060.01subscript69.060.0169.06_{0.01}69.06 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT   0.000.00subscript0.000.000.00_{0.00}0.00 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 77.590.02subscript77.590.0277.59_{0.02}77.59 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 39.320.06subscript39.320.0639.32_{0.06}39.32 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT
DRD 49.210.06subscript49.210.0649.21_{0.06}49.21 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 50.470.04subscript50.470.0450.47_{0.04}50.47 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 77.640.02subscript77.640.0277.64_{0.02}77.64 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 97.780.04subscript97.780.0497.78_{0.04}97.78 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 68.100.05subscript68.100.0568.10_{0.05}68.10 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 97.430.04subscript97.430.0497.43_{0.04}97.43 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 55.110.02subscript55.110.0255.11_{0.02}55.11 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 86.960.00subscript86.960.0086.96_{0.00}86.96 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
DRO 53.250.01subscript53.250.0153.25_{0.01}53.25 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 53.600.02subscript53.600.0253.60_{0.02}53.60 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 68.300.04subscript68.300.0468.30_{0.04}68.30 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 89.560.11subscript89.560.1189.56_{0.11}89.56 start_POSTSUBSCRIPT 0.11 end_POSTSUBSCRIPT 57.850.04subscript57.850.0457.85_{0.04}57.85 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 74.030.08subscript74.030.0874.03_{0.08}74.03 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 50.850.01subscript50.850.0150.85_{0.01}50.85 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 66.670.58subscript66.670.5866.67_{0.58}66.67 start_POSTSUBSCRIPT 0.58 end_POSTSUBSCRIPT 55.560.00subscript55.560.0055.56_{0.00}55.56 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
RE1 94.070.06subscript94.070.0694.07_{0.06}94.07 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 27.550.01subscript27.550.0127.55_{0.01}27.55 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 78.790.02subscript78.790.0278.79_{0.02}78.79 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 44.390.03subscript44.390.0344.39_{0.03}44.39 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 84.040.04subscript84.040.0484.04_{0.04}84.04 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 41.980.12subscript41.980.1241.98_{0.12}41.98 start_POSTSUBSCRIPT 0.12 end_POSTSUBSCRIPT 75.820.00subscript75.820.0075.82_{0.00}75.82 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 31.740.03subscript31.740.0331.74_{0.03}31.74 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 85.440.02subscript85.440.0285.44_{0.02}85.44 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
RE2 54.170.47subscript54.170.4754.17_{0.47}54.17 start_POSTSUBSCRIPT 0.47 end_POSTSUBSCRIPT 53.620.05subscript53.620.0553.62_{0.05}53.62 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 81.310.04subscript81.310.0481.31_{0.04}81.31 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 85.670.03subscript85.670.0385.67_{0.03}85.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 58.480.03subscript58.480.0358.48_{0.03}58.48 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 82.220.17subscript82.220.1782.22_{0.17}82.22 start_POSTSUBSCRIPT 0.17 end_POSTSUBSCRIPT 64.670.11subscript64.670.1164.67_{0.11}64.67 start_POSTSUBSCRIPT 0.11 end_POSTSUBSCRIPT 60.680.02subscript60.680.0260.68_{0.02}60.68 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 59.420.00subscript59.420.0059.42_{0.00}59.42 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
RE3 39.050.03subscript39.050.0339.05_{0.03}39.05 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 38.050.10subscript38.050.1038.05_{0.10}38.05 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT 78.610.04subscript78.610.0478.61_{0.04}78.61 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 83.590.01subscript83.590.0183.59_{0.01}83.59 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 64.670.08subscript64.670.0864.67_{0.08}64.67 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 79.680.02subscript79.680.0279.68_{0.02}79.68 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 59.050.04subscript59.050.0459.05_{0.04}59.05 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 83.570.08subscript83.570.0883.57_{0.08}83.57 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 83.120.02subscript83.120.0283.12_{0.02}83.12 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 89.080.01subscript89.080.0189.08_{0.01}89.08 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT
RAP 76.820.05subscript76.820.0576.82_{0.05}76.82 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 67.220.03subscript67.220.0367.22_{0.03}67.22 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 51.730.02subscript51.730.0251.73_{0.02}51.73 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 60.480.11subscript60.480.1160.48_{0.11}60.48 start_POSTSUBSCRIPT 0.11 end_POSTSUBSCRIPT 75.580.04subscript75.580.0475.58_{0.04}75.58 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 96.670.06subscript96.670.0696.67_{0.06}96.67 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 61.440.02subscript61.440.0261.44_{0.02}61.44 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 92.160.03subscript92.160.0392.16_{0.03}92.16 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 66.070.05subscript66.070.0566.07_{0.05}66.07 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 98.720.02subscript98.720.0298.72_{0.02}98.72 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT
Avg 57.780.09subscript57.780.09\mathbf{57.78_{0.09}}bold_57.78 start_POSTSUBSCRIPT bold_0.09 end_POSTSUBSCRIPT 43.740.04subscript43.740.04\mathbf{43.74_{0.04}}bold_43.74 start_POSTSUBSCRIPT bold_0.04 end_POSTSUBSCRIPT 71.000.03subscript71.000.03\mathbf{71.00_{0.03}}bold_71.00 start_POSTSUBSCRIPT bold_0.03 end_POSTSUBSCRIPT 67.490.05subscript67.490.05\mathbf{67.49_{0.05}}bold_67.49 start_POSTSUBSCRIPT bold_0.05 end_POSTSUBSCRIPT 67.780.04subscript67.780.04\mathbf{67.78_{0.04}}bold_67.78 start_POSTSUBSCRIPT bold_0.04 end_POSTSUBSCRIPT 69.710.07subscript69.710.07\mathbf{69.71_{0.07}}bold_69.71 start_POSTSUBSCRIPT bold_0.07 end_POSTSUBSCRIPT 61.470.03subscript61.470.03\mathbf{61.47_{0.03}}bold_61.47 start_POSTSUBSCRIPT bold_0.03 end_POSTSUBSCRIPT 65.460.10subscript65.460.10\mathbf{65.46_{0.10}}bold_65.46 start_POSTSUBSCRIPT bold_0.10 end_POSTSUBSCRIPT 74.430.02subscript74.430.02\mathbf{74.43_{0.02}}bold_74.43 start_POSTSUBSCRIPT bold_0.02 end_POSTSUBSCRIPT 84.750.02subscript84.750.02\mathbf{84.75_{0.02}}bold_84.75 start_POSTSUBSCRIPT bold_0.02 end_POSTSUBSCRIPT
Table 6: Evaluation of LLMs in terms of label-wise accuracy on LogicBench(Eval)BQA, where A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ) and A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o ) denote the accuracy for the Yes𝑌𝑒𝑠Yesitalic_Y italic_e italic_s and No𝑁𝑜Noitalic_N italic_o labels, respectively. DRI: Default Reasoning with Irrelevant Information, DRS: Default Reasoning with Several Defaults, DRD: Default Reasoning with a Disabled Default, DRO: Default Reasoning in an Open Domain, RE1: Reasoning about Unknown Expectations I, RE2: Reasoning about Unknown Expectations II, RE3: Reasoning about Unknown Expectations III, RAP: Reasoning about Priorities

4.1 Experimental Setup

Task Formulation

For BQA, let us consider a set of data instances r,Lsubscript𝑟𝐿\mathcal{I}_{r,L}caligraphic_I start_POSTSUBSCRIPT italic_r , italic_L end_POSTSUBSCRIPT corresponding to the inference rule r𝑟ritalic_r and logic type L𝐿Litalic_L. In this set, ithsuperscript𝑖𝑡i^{th}italic_i start_POSTSUPERSCRIPT italic_t italic_h end_POSTSUPERSCRIPT instance is represented as r,Li={(ci,Qi)}subscriptsuperscript𝑖𝑟𝐿subscript𝑐𝑖subscript𝑄𝑖\mathcal{I}^{i}_{r,L}=\{(c_{i},Q_{i})\}caligraphic_I start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_r , italic_L end_POSTSUBSCRIPT = { ( italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_Q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) } where cisubscript𝑐𝑖c_{i}italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT represents narrative context and Qi={q1,q2,,qn}subscript𝑄𝑖subscript𝑞1subscript𝑞2subscript𝑞𝑛Q_{i}=\{q_{1},q_{2},...,q_{n}\}italic_Q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = { italic_q start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_q start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , italic_q start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT } represents set of question and its variations corresponding to ithsuperscript𝑖𝑡i^{th}italic_i start_POSTSUPERSCRIPT italic_t italic_h end_POSTSUPERSCRIPT instance. As discussed in §3, each context (c𝑐citalic_c) represents logical rules (e.g., All cats have fur. Tom is a cat.) and question (q𝑞qitalic_q) represents the conclusion (e.g., Does Tom have fur?). To each context and question pair, i.e., <c,q><c,q>< italic_c , italic_q >, we assign a label from the set 𝒴={Yes,No}𝒴𝑌𝑒𝑠𝑁𝑜\mathcal{Y}=\{Yes,No\}caligraphic_Y = { italic_Y italic_e italic_s , italic_N italic_o }. We assign a label Yes𝑌𝑒𝑠Yesitalic_Y italic_e italic_s if the conclusion logically entails the context, otherwise, assign a label No𝑁𝑜Noitalic_N italic_o. To evaluate any LLMs on this setup, we provide <p,c,q><p,c,q>< italic_p , italic_c , italic_q > as input to predict a label from 𝒴𝒴\mathcal{Y}caligraphic_Y where p𝑝pitalic_p is a natural language prompt. In the set r,Lsubscript𝑟𝐿\mathcal{I}_{r,L}caligraphic_I start_POSTSUBSCRIPT italic_r , italic_L end_POSTSUBSCRIPT for MCQA, ithsuperscript𝑖𝑡i^{th}italic_i start_POSTSUPERSCRIPT italic_t italic_h end_POSTSUPERSCRIPT instance is represented as r,Li={(ci,qi,Oi)}subscriptsuperscript𝑖𝑟𝐿subscript𝑐𝑖subscript𝑞𝑖subscript𝑂𝑖\mathcal{I}^{i}_{r,L}=\{(c_{i},q_{i},O_{i})\}caligraphic_I start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_r , italic_L end_POSTSUBSCRIPT = { ( italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_O start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) } where cisubscript𝑐𝑖c_{i}italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT represents narrative context and qisubscript𝑞𝑖q_{i}italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT represents question and Oi={o1,o2,o3,o4}subscript𝑂𝑖subscript𝑜1subscript𝑜2subscript𝑜3subscript𝑜4O_{i}=\{o_{1},o_{2},o_{3},o_{4}\}italic_O start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = { italic_o start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_o start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_o start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_o start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT } represents four option choices. To each context and question pair, i.e., <c,q><c,q>< italic_c , italic_q >, we assign a label from the set 𝒴={o1,o2,o3,o4}𝒴subscript𝑜1subscript𝑜2subscript𝑜3subscript𝑜4\mathcal{Y}=\{o_{1},o_{2},o_{3},o_{4}\}caligraphic_Y = { italic_o start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_o start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , italic_o start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , italic_o start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT }. We assign a label o1subscript𝑜1o_{1}italic_o start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT if the correct conclusion is presented in the first option, and likewise for other labels. To evaluate any LLMs on this setup, we provide <p,c,q,o><p,c,q,o>< italic_p , italic_c , italic_q , italic_o > as input to predict a label from 𝒴𝒴\mathcal{Y}caligraphic_Y.

Experiments

We evaluate a range of prompting models including GPT-4, ChatGPT (GPT-3.5-Turbo), Google Gemini-Pro, Llama-2-7B-Chat, and Mistral-7B-Instruct-v0.2. Each model is evaluated in a zero-shot setting where the chain-of-thought prompt is provided to the model without any in-context examples. This approach allows us to determine LLM’s inherent ability to do logical reasoning (based on pre-training), as we can not expect that various logical inference rules/patterns will always be made part of prompts. However, we do evaluate these models in a few-shot setting, and present the results in App. G.

Metrics

Here, we evaluate performance in terms of accuracy for both tasks, BQA and MCQA. For the BQA, we measure accuracy corresponding to each label, i.e., A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ) and A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o ). We evaluate each model on three different chain-of-thought prompts and report average results across these prompts. All prompts used for experiments are described in App. H.

Type Rules Llama-2 Mistral Gemini ChatGPT GPT-4
PL HS 86.670.08subscript86.670.0886.67_{0.08}86.67 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 93.330.06subscript93.330.0693.33_{0.06}93.33 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 91.670.03subscript91.670.0391.67_{0.03}91.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
DS 63.330.12subscript63.330.1263.33_{0.12}63.33 start_POSTSUBSCRIPT 0.12 end_POSTSUBSCRIPT 60.000.09subscript60.000.0960.00_{0.09}60.00 start_POSTSUBSCRIPT 0.09 end_POSTSUBSCRIPT 86.670.10subscript86.670.1086.67_{0.10}86.67 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT 96.670.06subscript96.670.0696.67_{0.06}96.67 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 95.000.00subscript95.000.0095.00_{0.00}95.00 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
CD 80.000.05subscript80.000.0580.00_{0.05}80.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 70.000.13subscript70.000.1370.00_{0.13}70.00 start_POSTSUBSCRIPT 0.13 end_POSTSUBSCRIPT 96.670.03subscript96.670.0396.67_{0.03}96.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 90.000.00subscript90.000.0090.00_{0.00}90.00 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
DD 43.330.03subscript43.330.0343.33_{0.03}43.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 30.000.10subscript30.000.1030.00_{0.10}30.00 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT 90.000.05subscript90.000.0590.00_{0.05}90.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 73.330.06subscript73.330.0673.33_{0.06}73.33 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 88.330.03subscript88.330.0388.33_{0.03}88.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
BD 51.670.03subscript51.670.0351.67_{0.03}51.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 53.330.03subscript53.330.0353.33_{0.03}53.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 86.670.03subscript86.670.0386.67_{0.03}86.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 68.330.06subscript68.330.0668.33_{0.06}68.33 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 83.330.03subscript83.330.0383.33_{0.03}83.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
MT 31.670.03subscript31.670.0331.67_{0.03}31.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 60.000.05subscript60.000.0560.00_{0.05}60.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 78.330.08subscript78.330.0878.33_{0.08}78.33 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 73.330.08subscript73.330.0873.33_{0.08}73.33 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 76.670.03subscript76.670.0376.67_{0.03}76.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
MI 33.330.13subscript33.330.1333.33_{0.13}33.33 start_POSTSUBSCRIPT 0.13 end_POSTSUBSCRIPT 35.000.05subscript35.000.0535.00_{0.05}35.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 71.670.06subscript71.670.0671.67_{0.06}71.67 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 63.330.08subscript63.330.0863.33_{0.08}63.33 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 73.330.14subscript73.330.1473.33_{0.14}73.33 start_POSTSUBSCRIPT 0.14 end_POSTSUBSCRIPT
CT 73.330.10subscript73.330.1073.33_{0.10}73.33 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT 68.330.08subscript68.330.0868.33_{0.08}68.33 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 98.330.03subscript98.330.0398.33_{0.03}98.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
Avg 57.920.07subscript57.920.07\mathbf{57.92_{0.07}}bold_57.92 start_POSTSUBSCRIPT bold_0.07 end_POSTSUBSCRIPT 58.750.07subscript58.750.07\mathbf{58.75_{0.07}}bold_58.75 start_POSTSUBSCRIPT bold_0.07 end_POSTSUBSCRIPT 88.750.04subscript88.750.04\mathbf{88.75_{0.04}}bold_88.75 start_POSTSUBSCRIPT bold_0.04 end_POSTSUBSCRIPT 81.880.05subscript81.880.05\mathbf{81.88_{0.05}}bold_81.88 start_POSTSUBSCRIPT bold_0.05 end_POSTSUBSCRIPT 89.580.03subscript89.580.03\mathbf{89.58_{0.03}}bold_89.58 start_POSTSUBSCRIPT bold_0.03 end_POSTSUBSCRIPT
FOL EI 80.000.00subscript80.000.0080.00_{0.00}80.00 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 85.000.05subscript85.000.0585.00_{0.05}85.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 95.000.00subscript95.000.0095.00_{0.00}95.00 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 93.330.03subscript93.330.0393.33_{0.03}93.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
UI 63.330.03subscript63.330.0363.33_{0.03}63.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 75.000.05subscript75.000.0575.00_{0.05}75.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 98.330.03subscript98.330.0398.33_{0.03}98.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 91.670.03subscript91.670.0391.67_{0.03}91.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 98.330.03subscript98.330.0398.33_{0.03}98.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
MP 85.000.09subscript85.000.0985.00_{0.09}85.00 start_POSTSUBSCRIPT 0.09 end_POSTSUBSCRIPT 98.330.03subscript98.330.0398.33_{0.03}98.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT   1000.00subscript1000.00100_{0.00}100 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
HS 61.670.06subscript61.670.0661.67_{0.06}61.67 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 70.000.05subscript70.000.0570.00_{0.05}70.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 81.670.03subscript81.670.0381.67_{0.03}81.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 73.330.06subscript73.330.0673.33_{0.06}73.33 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 76.670.03subscript76.670.0376.67_{0.03}76.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
DS 43.330.06subscript43.330.0643.33_{0.06}43.33 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 36.670.03subscript36.670.0336.67_{0.03}36.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 70.000.05subscript70.000.0570.00_{0.05}70.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 78.330.10subscript78.330.1078.33_{0.10}78.33 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT 95.000.05subscript95.000.0595.00_{0.05}95.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT
CD 75.000.05subscript75.000.0575.00_{0.05}75.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 61.670.06subscript61.670.0661.67_{0.06}61.67 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 93.330.03subscript93.330.0393.33_{0.03}93.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 80.000.05subscript80.000.0580.00_{0.05}80.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 91.670.03subscript91.670.0391.67_{0.03}91.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
DD 36.670.06subscript36.670.0636.67_{0.06}36.67 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 46.670.03subscript46.670.0346.67_{0.03}46.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 85.000.05subscript85.000.0585.00_{0.05}85.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 71.670.06subscript71.670.0671.67_{0.06}71.67 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 93.330.03subscript93.330.0393.33_{0.03}93.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
BD 35.000.05subscript35.000.0535.00_{0.05}35.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 43.330.06subscript43.330.0643.33_{0.06}43.33 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 78.330.06subscript78.330.0678.33_{0.06}78.33 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 66.670.13subscript66.670.1366.67_{0.13}66.67 start_POSTSUBSCRIPT 0.13 end_POSTSUBSCRIPT 91.670.06subscript91.670.0691.67_{0.06}91.67 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT
MT 41.670.03subscript41.670.0341.67_{0.03}41.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 66.670.03subscript66.670.0366.67_{0.03}66.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 81.670.06subscript81.670.0681.67_{0.06}81.67 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 86.670.06subscript86.670.0686.67_{0.06}86.67 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 86.670.03subscript86.670.0386.67_{0.03}86.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
Avg 57.960.05subscript57.960.05\mathbf{57.96_{0.05}}bold_57.96 start_POSTSUBSCRIPT bold_0.05 end_POSTSUBSCRIPT 64.810.04subscript64.810.04\mathbf{64.81_{0.04}}bold_64.81 start_POSTSUBSCRIPT bold_0.04 end_POSTSUBSCRIPT 87.040.03subscript87.040.03\mathbf{87.04_{0.03}}bold_87.04 start_POSTSUBSCRIPT bold_0.03 end_POSTSUBSCRIPT 82.410.06subscript82.410.06\mathbf{82.41_{0.06}}bold_82.41 start_POSTSUBSCRIPT bold_0.06 end_POSTSUBSCRIPT 91.510.04subscript91.510.04\mathbf{91.51_{0.04}}bold_91.51 start_POSTSUBSCRIPT bold_0.04 end_POSTSUBSCRIPT
NM DRI 38.330.03subscript38.330.0338.33_{0.03}38.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 28.330.06subscript28.330.0628.33_{0.06}28.33 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 58.330.08subscript58.330.0858.33_{0.08}58.33 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 66.670.06subscript66.670.0666.67_{0.06}66.67 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 90.000.00subscript90.000.0090.00_{0.00}90.00 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
DRS 41.670.08subscript41.670.0841.67_{0.08}41.67 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 16.670.10subscript16.670.1016.67_{0.10}16.67 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT 45.000.10subscript45.000.1045.00_{0.10}45.00 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT 41.670.10subscript41.670.1041.67_{0.10}41.67 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT 55.000.05subscript55.000.0555.00_{0.05}55.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT
DRD 55.000.00subscript55.000.0055.00_{0.00}55.00 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 50.000.05subscript50.000.0550.00_{0.05}50.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 48.330.03subscript48.330.0348.33_{0.03}48.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 71.670.10subscript71.670.1071.67_{0.10}71.67 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT 80.000.05subscript80.000.0580.00_{0.05}80.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT
DRO 21.670.03subscript21.670.0321.67_{0.03}21.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 21.670.03subscript21.670.0321.67_{0.03}21.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 53.330.03subscript53.330.0353.33_{0.03}53.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 38.330.08subscript38.330.0838.33_{0.08}38.33 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 45.000.00subscript45.000.0045.00_{0.00}45.00 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT
RE1 51.670.03subscript51.670.0351.67_{0.03}51.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 31.670.08subscript31.670.0831.67_{0.08}31.67 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 70.000.00subscript70.000.0070.00_{0.00}70.00 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 65.000.05subscript65.000.0565.00_{0.05}65.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 95.000.05subscript95.000.0595.00_{0.05}95.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT
RE2 65.000.05subscript65.000.0565.00_{0.05}65.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 75.000.00subscript75.000.0075.00_{0.00}75.00 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 68.330.08subscript68.330.0868.33_{0.08}68.33 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 61.670.03subscript61.670.0361.67_{0.03}61.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 66.670.06subscript66.670.0666.67_{0.06}66.67 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT
RE3 31.670.03subscript31.670.0331.67_{0.03}31.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 33.330.03subscript33.330.0333.33_{0.03}33.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 61.670.08subscript61.670.0861.67_{0.08}61.67 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 70.000.05subscript70.000.0570.00_{0.05}70.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 68.330.03subscript68.330.0368.33_{0.03}68.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
RAP 46.670.08subscript46.670.0846.67_{0.08}46.67 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 35.000.09subscript35.000.0935.00_{0.09}35.00 start_POSTSUBSCRIPT 0.09 end_POSTSUBSCRIPT 33.330.03subscript33.330.0333.33_{0.03}33.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 55.000.05subscript55.000.0555.00_{0.05}55.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 51.670.03subscript51.670.0351.67_{0.03}51.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
Avg 43.960.04subscript43.960.04\mathbf{43.96_{0.04}}bold_43.96 start_POSTSUBSCRIPT bold_0.04 end_POSTSUBSCRIPT 36.460.05subscript36.460.05\mathbf{36.46_{0.05}}bold_36.46 start_POSTSUBSCRIPT bold_0.05 end_POSTSUBSCRIPT 54.790.05subscript54.790.05\mathbf{54.79_{0.05}}bold_54.79 start_POSTSUBSCRIPT bold_0.05 end_POSTSUBSCRIPT 58.750.07subscript58.750.07\mathbf{58.75_{0.07}}bold_58.75 start_POSTSUBSCRIPT bold_0.07 end_POSTSUBSCRIPT 68.960.03subscript68.960.03\mathbf{68.96_{0.03}}bold_68.96 start_POSTSUBSCRIPT bold_0.03 end_POSTSUBSCRIPT
Table 7: Evaluation of LLMs in terms of accuracy on LogicBench(Eval)MCQA.

4.2 Main Results

Table 6 and Table 7 represent inference rule-wise performance corresponding to each LLMs for the BCQ and MCQA tasks, respectively. Specifically, Table 6 provides label-wise accuracy (A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ) and A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o )) for the BQA task, and Table 7 provides overall accuracy for the MCQA task. Both tables provide valuable insights into the performance of different models on various logic types and lead to several interesting findings. From Table 6, we can observe that ChatGPT achieves 48.04%, and GPT-4 shows a performance of 63.98% A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ) on average which indicates the challenge of classical logical reasoning (PL) even for larger LLMs such as ChatGPT and GPT-4. Furthermore, we can observe that models struggle more with inference rules of PL compared to FOL and NM. In addition, it is noticeable that each model performs relatively better on questions with a negative response (i.e., No𝑁𝑜Noitalic_N italic_o) compared to questions with a positive response (i.e., Yes𝑌𝑒𝑠Yesitalic_Y italic_e italic_s). This observation suggests that the models struggle to fully comprehend the logical relationship between the context and the conclusion (i.e., lower A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s )). However, they demonstrate a relatively stronger understanding when the relationship is contradictory in nature (i.e., higher A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o )). From Table 7, we can observe that larger models exhibit superior performance in selecting the correct choice to arrive at a logical conclusion. Interestingly, the performance of models decreases when the inference rules are longer or include negations. In contrast to Table 6, for MCQA, LLMs show superior performance for PL and FOL compared to NM. To further investigate these findings and provide a detailed analysis, we perform a thorough study of reasoning chains generated by LLMs and present our insights in the subsequent section.

4.3 Analysis and Discussion

Human Performance

We conduct a human evaluation on a subset of LogicBench(Eval) for both tasks, BQA and MCQA. Specifically, we selected 50 unique instances covering all 25 reasoning patterns from LogicBench(Eval). This selection resulted in total instances of 153 <context, question> pairs for BQA, and 50 <context, question, choices> pairs for MCQA. We hired three graduate student volunteers to provide the evaluations. The task instructions given to all three annotators closely resemble the prompts provided to models (App. H). Each instance pair is answered/annotated by three different annotators with 0.785 inter-annotator agreement (measured with raw/observed agreement) for BQA and 0.813 for MCQA.

From the results (Table 8) for BQA, we see that humans achieve more than 85%similar-toabsentpercent85\sim 85\%∼ 85 % accuracy on various logic types on LogicBench(Eval) which indicates the capability of humans to comprehend single-step logical reasoning effectively. From Table 6, we observe that the average performance of all models is below human performance indicating room for improvement in their reasoning capabilities. From Table 7, we make similar observations for MCQA. However, we can see that the performance of NM for the MCQA task remains a challenge for both humans and LLMs.

BQA MCQA
Logic Type A(No) A(Yes) Accuracy
PL 85.42% 84.17% 100%
FOL 90.74% 91.18% 97.03%
NM 72.22% 88.46% 62.05%
Avg. 82.79% 87.94% 86.36%
Table 8: Human performance on three logic types averaged across three annotators for both tasks.
Lower performance of LLMs on PL as compared to NM and FOL for BQA.

In the development of AI, NM logic was partly developed to formalize natural language constructs, such as “normally birds fly”, that were not formalizable in a straightforward manner using classical mathematical logics. Thus, while it was difficult for researchers to come up with non-monotonic logics and formalize non-monotonic reasoning, the fact that they were usually motivated by natural language examples, suggests that many of the non-monotonic reasoning aspects are present in the NL text in the wild that is used in the pre-training of the ultra-large LLMs such as GPT4. While from human experience and complexity theory, FOL is harder than PL in general; in the LLM context, the crucial factor becomes what kind of logical sentences LLMs are pre-trained on. It seems that LLMs are pre-trained more on simple FOL sentences than on simple PL sentences (see Appendix I for further discussion). On the other hand, some PL features are perhaps less prevalent in human writing (on which LLMs are pre-trained) - such as Modes Tollens. Table 6 shows that GPT-4 achieves 85%similar-toabsentpercent85\sim 85\%∼ 85 % accuracy (A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s )) for simple inference rules such as HS(PL). However, GPT-4 performance dropped to 59%similar-toabsentpercent59\sim 59\%∼ 59 % A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ) for PL(MT).

Negations are hard to understand when embedded with logical rules.

Regarding PL and FOL, it is apparent that the models struggle more with the DD and MT inference rules. A closer look at Table 2 reveals that all of these rules include examples where the models need to draw conclusions based on negated premises. This indicates that the models encounter difficulties when negated premises are introduced. We also analyze the effect of negations on the reasoning chain (see App. I).

Longer inference rules are still challenging.

Table 6 indicates that the models face challenges when handling longer rules, such as BD, CD, and DD, both in PL and FOL. Hence, it can be concluded that these models struggle with longer logical dependencies in the premise, particularly when a higher number of propositions are present. In the case of NM reasoning, the models exhibit lower performance in DRS, indicating that a higher number of premises often leads to more frequent mistakes.

LLMs sometimes overlook contextual information.

We investigate the LLMs’ logical reasoning ability in natural language, not in artificial logical formulations. Hence, we note that LLMs sometimes hallucinate information and overlook contextual information, leading to incorrect conclusions. To analyze this, we manually examine all the reasoning chains generated for instances sharing the same contexts in both BQA and MCQA tasks. We observe that, although this pattern is not dominant, it affects BQA more than MCQA. For a more in-depth analysis, please refer to App. I.

Large models are better logical reasoners.

We analyze the results of both smaller (Llama-2-7B and Mistral-7B) and larger (ChatGPT, GPT-4, and Gemini) models. Table 6 and Table 7 show that larger models tend to exhibit higher performance across different types of logic. We further investigate an additional model with an intermediate size: Yi-34B-chat Young et al. (2024) (results are presented in App. I). When compared to the Llama-2-7B, the Yi-34B model (5x larger than Llama-7B) shows improvement in average performance across three logic types. Similarly, GPT-4 outperforms Yi-34B. This suggests that increasing the model size leads to substantial gains in performance, indicating the influence of larger model capacities on carrying out better logical reasoning.

Performance of BQA vs. MCQA

From Table 6 and Table 7, we can see the overall performance of LLMs is higher on PLMCQA𝑃subscript𝐿𝑀𝐶𝑄𝐴PL_{MCQA}italic_P italic_L start_POSTSUBSCRIPT italic_M italic_C italic_Q italic_A end_POSTSUBSCRIPT compared to PLBQA𝑃subscript𝐿𝐵𝑄𝐴PL_{BQA}italic_P italic_L start_POSTSUBSCRIPT italic_B italic_Q italic_A end_POSTSUBSCRIPT. Conversely, the performance is lower on NMMCQA𝑁subscript𝑀𝑀𝐶𝑄𝐴NM_{MCQA}italic_N italic_M start_POSTSUBSCRIPT italic_M italic_C italic_Q italic_A end_POSTSUBSCRIPT compared to NMBQA𝑁subscript𝑀𝐵𝑄𝐴NM_{BQA}italic_N italic_M start_POSTSUBSCRIPT italic_B italic_Q italic_A end_POSTSUBSCRIPT. For PL, the performance gaps between the CT and DD inference rules primarily contributed to this trend, and DRO, RAP, and DRD for NM. We analyze the reasoning chains associated with these inference rules and presented our detailed observations in App. I.

Effect on other logic datasets

We trained the T5-large model on the LogicBench(Aug) resulting in a model named LogicT5. Furthermore, we performed fine-tuning on four other logical reasoning datasets: LogiQA, Reclor, LogicNLI, and FOLIO. Further discussion is presented in App. I.

5 Conclusions

In this work, we evaluated the logical reasoning ability of LLMs on 25 distinct inference rules and reasoning patterns covering PL, FOL, and NM logics. To this end, we introduced LogicBench, a natural language question-answering dataset focusing on evaluating a single inference rule. We devised two tasks using LogicBench: (i) BQA, and (ii) MCQA. We evaluated a range of LLMs including GPT-4, ChatGPT, Gemini-Pro, Llama-2, and Mistral on both tasks. Experimental results showed that LLMs do not perform well on LogicBench, even though they require the application of only a single inference rule. Furthermore, we also augmented LogicBench to LogicBench(Aug), which can be utilized for training purposes. Using LogicBench(Aug), we demonstrated that LLMs trained using it showcase an improved understanding of logical reasoning, resulting in a better performance on existing logic datasets.

Limitations

While LogicBench encompasses 25 distinct inference rules spanning three logic types (significantly more than any previous study) to comprehensively evaluate the logical reasoning capabilities of LLMs, it can be further extended by incorporating additional inference rules and logic types. However, with respect to first-order logic and logics with quantified variables, there can be an infinite number of such rules. In this study, we focused solely on evaluating model performance using a single inference rule; however, an interesting future direction can be enhancing the depth of reasoning complexity (i.e., multi-step reasoning) by incorporating combinations of inference rules to derive conclusions. We also note that this research is limited to the English language and can be extended to multilingual scenarios for evaluating the logical reasoning ability of LLMs.

Ethics Statement

We have used AI assistants (Grammarly and ChatGPT) to address the grammatical errors and rephrase the sentences.

Acknowledgement

We thank the anonymous reviewers for constructive suggestions, and the computer science graduate students of Arizona State University (ASU) who helped with the human annotations. We extend our gratitude to the Research Computing (RC) at ASU for providing computing resources for experiments. We acknowledge support by a 2023 Spring Amazon Research Award (ARA), and an award by Cisco via Silicon Valley Foundation.

References

  • Bernardy and Chatzikyriakidis (2020) Jean-Philippe Bernardy and Stergios Chatzikyriakidis. 2020. Fracas: Temporal analysis.
  • Beygi et al. (2022) Sajjad Beygi, Maryam Fazel-Zarandi, Alessandra Cervone, Prakash Krishnan, and Siddhartha Jonnalagadda. 2022. Logical reasoning for task oriented dialogue systems. In Proceedings of the Fifth Workshop on e-Commerce and NLP (ECNLP 5), pages 68–79, Dublin, Ireland. Association for Computational Linguistics.
  • Brown et al. (2020) Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners. In Advances in Neural Information Processing Systems, volume 33, pages 1877–1901. Curran Associates, Inc.
  • Chen et al. (2021) Xiang Chen, Xin Xie, Ningyu Zhang, Jiahuan Yan, Shumin Deng, Chuanqi Tan, Fei Huang, Luo Si, and Huajun Chen. 2021. Adaprompt: Adaptive prompt-based finetuning for relation extraction. arXiv e-prints, pages arXiv–2104.
  • Clark et al. (2021) Peter Clark, Oyvind Tafjord, and Kyle Richardson. 2021. Transformers as soft reasoners over language. In Proceedings of the Twenty-Ninth International Conference on International Joint Conferences on Artificial Intelligence, pages 3882–3890.
  • Cui et al. (2021) Leyang Cui, Yu Wu, Jian Liu, Sen Yang, and Yue Zhang. 2021. Template-based named entity recognition using BART. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 1835–1845, Online. Association for Computational Linguistics.
  • Dua et al. (2019) Dheeru Dua, Yizhong Wang, Pradeep Dasigi, Gabriel Stanovsky, Sameer Singh, and Matt Gardner. 2019. DROP: A reading comprehension benchmark requiring discrete reasoning over paragraphs. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 2368–2378, Minneapolis, Minnesota. Association for Computational Linguistics.
  • Efrat and Levy (2020) Avia Efrat and Omer Levy. 2020. The turking test: Can language models understand instructions? arXiv preprint arXiv:2010.11982.
  • Gupta et al. (2023) Himanshu Gupta, Neeraj Varshney, Swaroop Mishra, Kuntal Kumar Pal, Saurabh Arjun Sawant, Kevin Scaria, Siddharth Goyal, and Chitta Baral. 2023. “john is 50 years old, can his son be 65?” evaluating NLP models’ understanding of feasibility. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 407–417, Dubrovnik, Croatia. Association for Computational Linguistics.
  • Gupta et al. (2021) Tanmay Gupta, Amita Kamath, Aniruddha Kembhavi, and Derek Hoiem. 2021. Towards general purpose vision systems. arXiv preprint arXiv:2104.00743.
  • Hahn et al. (2021) Christopher Hahn, Frederik Schmitt, Jens U. Kreber, Markus Norman Rabe, and Bernd Finkbeiner. 2021. Teaching temporal logics to neural networks. In International Conference on Learning Representations.
  • Han et al. (2022) Simeng Han, Hailey Schoelkopf, Yilun Zhao, Zhenting Qi, Martin Riddell, Luke Benson, Lucy Sun, Ekaterina Zubova, Yujie Qiao, Matthew Burtell, et al. 2022. FOLIO: Natural language reasoning with first-order logic. arXiv preprint arXiv:2209.00840.
  • Hase and Bansal (2022) Peter Hase and Mohit Bansal. 2022. When can models learn from explanations? a formal framework for understanding the roles of explanation data. In Proceedings of the First Workshop on Learning with Natural Language Supervision, pages 29–39, Dublin, Ireland. Association for Computational Linguistics.
  • Jiang et al. (2023) Albert Q Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, et al. 2023. Mistral 7b. arXiv preprint arXiv:2310.06825.
  • Jiang et al. (2020) Zhengbao Jiang, Frank F Xu, Jun Araki, and Graham Neubig. 2020. How can we know what language models know? Transactions of the Association for Computational Linguistics, 8:423–438.
  • Joshi et al. (2020) Pratik Joshi, Somak Aditya, Aalok Sathe, and Monojit Choudhury. 2020. TaxiNLI: Taking a ride up the NLU hill. In Proceedings of the 24th Conference on Computational Natural Language Learning, pages 41–55, Online. Association for Computational Linguistics.
  • Khashabi (2019) Daniel Khashabi. 2019. Reasoning-Driven Question-Answering for Natural Language Understanding. University of Pennsylvania.
  • Kuznia et al. (2022) Kirby Kuznia, Swaroop Mishra, Mihir Parmar, and Chitta Baral. 2022. Less is more: Summary of long instructions is better for program synthesis. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 4532–4552, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
  • Le Scao and Rush (2021) Teven Le Scao and Alexander M Rush. 2021. How many data points is a prompt worth? In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2627–2636.
  • Levesque et al. (2012) Hector J. Levesque, Ernest Davis, and Leora Morgenstern. 2012. The Winograd Schema Challenge. In Proceedings of the Thirteenth International Conference on Principles of Knowledge Representation and Reasoning, KR’12, pages 552–561. AAAI Press, Rome, Italy.
  • Lifschitz (1989) Vladimir Lifschitz. 1989. Benchmark problems for formal nonmonotonic reasoning: Version 2.00. In Non-Monotonic Reasoning: 2nd International Workshop Grassau, FRG, June 13–15, 1988 Proceedings 2, pages 202–219. Springer.
  • Lin et al. (2021) Xi Victoria Lin, Todor Mihaylov, Mikel Artetxe, Tianlu Wang, Shuohui Chen, Daniel Simig, Myle Ott, Naman Goyal, Shruti Bhosale, **gfei Du, et al. 2021. Few-shot learning with multilingual language models. arXiv preprint arXiv:2112.10668.
  • Liu et al. (2021a) Jian Liu, Leyang Cui, Hanmeng Liu, Dandan Huang, Yile Wang, and Yue Zhang. 2021a. Logiqa: a challenge dataset for machine reading comprehension with logical reasoning. In Proceedings of the Twenty-Ninth International Conference on International Joint Conferences on Artificial Intelligence, pages 3622–3628.
  • Liu et al. (2021b) Pengfei Liu, Weizhe Yuan, **lan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. 2021b. Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. arXiv preprint arXiv:2107.13586.
  • Lu et al. (2022) Yao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel, and Pontus Stenetorp. 2022. Fantastically ordered prompts and where to find them: Overcoming few-shot prompt order sensitivity. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8086–8098, Dublin, Ireland. Association for Computational Linguistics.
  • Luo et al. (2022) Man Luo, Sharad Saxena, Swaroop Mishra, Mihir Parmar, and Chitta Baral. 2022. Biotabqa: Instruction learning for biomedical table question answering. arXiv preprint arXiv:2207.02419.
  • Marelli et al. (2014) Marco Marelli, Stefano Menini, Marco Baroni, Luisa Bentivogli, Raffaella Bernardi, and Roberto Zamparelli. 2014. The SICK (Sentences Involving Compositional Knowledge) dataset for relatedness and entailment.
  • McCoy et al. (2019) R. Thomas McCoy, Ellie Pavlick, and Tal Linzen. 2019. Right for the wrong reasons: Diagnosing syntactic heuristics in natural language inference.
  • Min et al. (2021) Sewon Min, Mike Lewis, Luke Zettlemoyer, and Hannaneh Hajishirzi. 2021. Metaicl: Learning to learn in context. arXiv preprint arXiv:2110.15943.
  • Mishra et al. (2022a) Swaroop Mishra, Daniel Khashabi, Chitta Baral, Ye** Choi, and Hannaneh Hajishirzi. 2022a. Reframing instructional prompts to GPTk’s language. In Findings of the Association for Computational Linguistics: ACL 2022, pages 589–612, Dublin, Ireland. Association for Computational Linguistics.
  • Mishra et al. (2021) Swaroop Mishra, Daniel Khashabi, Chitta Baral, and Hannaneh Hajishirzi. 2021. Cross-task generalization via natural language crowdsourcing instructions. arXiv preprint arXiv:2104.08773.
  • Mishra et al. (2022b) Swaroop Mishra, Arindam Mitra, Neeraj Varshney, Bhavdeep Sachdeva, Peter Clark, Chitta Baral, and Ashwin Kalyan. 2022b. NumGLUE: A suite of fundamental yet challenging mathematical reasoning tasks. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3505–3523, Dublin, Ireland. Association for Computational Linguistics.
  • Mishra and Nouri (2023) Swaroop Mishra and Elnaz Nouri. 2023. HELP ME THINK: A simple prompting strategy for non-experts to create customized content with models. In Findings of the Association for Computational Linguistics: ACL 2023, pages 11834–11890, Toronto, Canada. Association for Computational Linguistics.
  • Nakamura et al. (2023) Mutsumi Nakamura, Santosh Mashetty, Mihir Parmar, Neeraj Varshney, and Chitta Baral. 2023. LogicAttack: Adversarial attacks for evaluating logical consistency of natural language inference. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 13322–13334, Singapore. Association for Computational Linguistics.
  • OpenAI (2023) OpenAI. 2023. Gpt-4 technical report.
  • Ouyang et al. (2022) Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. 2022. Training language models to follow instructions with human feedback. Advances in neural information processing systems, 35:27730–27744.
  • Parmar et al. (2022) Mihir Parmar, Swaroop Mishra, Mirali Purohit, Man Luo, Murad Mohammad, and Chitta Baral. 2022. In-BoXBART: Get instructions into biomedical multi-task learning. In Findings of the Association for Computational Linguistics: NAACL 2022, pages 112–128, Seattle, United States. Association for Computational Linguistics.
  • Patel et al. (2021) Arkil Patel, Satwik Bhattamishra, and Navin Goyal. 2021. Are NLP models really able to solve simple math word problems? In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2080–2094, Online. Association for Computational Linguistics.
  • Patel et al. (2022) Pruthvi Patel, Swaroop Mishra, Mihir Parmar, and Chitta Baral. 2022. Is a question decomposition unit all we need? In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 4553–4569, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
  • Saeed et al. (2021) Mohammed Saeed, Naser Ahmadi, Preslav Nakov, and Paolo Papotti. 2021. RuleBERT: Teaching soft rules to pre-trained language models. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1460–1476, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
  • Sakaguchi et al. (2021) Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Ye** Choi. 2021. Winogrande: An adversarial winograd schema challenge at scale. Communications of the ACM, 64(9):99–106.
  • Sanh et al. (2021) Victor Sanh, Albert Webson, Colin Raffel, Stephen H Bach, Lintang Sutawika, Zaid Alyafeai, Antoine Chaffin, Arnaud Stiegler, Teven Le Scao, Arun Raja, et al. 2021. Multitask prompted training enables zero-shot task generalization. ICLR.
  • Saparov and He (2023) Abulhair Saparov and He He. 2023. Language models are greedy reasoners: A systematic formal analysis of chain-of-thought. In The Eleventh International Conference on Learning Representations.
  • Schick and Schütze (2021) Timo Schick and Hinrich Schütze. 2021. Exploiting cloze-questions for few-shot text classification and natural language inference. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 255–269, Online. Association for Computational Linguistics.
  • Sinha et al. (2019) Koustuv Sinha, Shagun Sodhani, ** Dong, Joelle Pineau, and William L. Hamilton. 2019. CLUTRR: A diagnostic benchmark for inductive reasoning from text. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 4506–4515, Hong Kong, China. Association for Computational Linguistics.
  • Tafjord et al. (2019a) Oyvind Tafjord, Peter Clark, Matt Gardner, Wen-tau Yih, and Ashish Sabharwal. 2019a. Quarel: A dataset and models for answering questions about qualitative relationships. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 7063–7071.
  • Tafjord et al. (2021) Oyvind Tafjord, Bhavana Dalvi, and Peter Clark. 2021. ProofWriter: Generating implications, proofs, and abductive statements over natural language. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 3621–3634, Online. Association for Computational Linguistics.
  • Tafjord et al. (2019b) Oyvind Tafjord, Matt Gardner, Kevin Lin, and Peter Clark. 2019b. QuaRTz: An open-domain dataset of qualitative relationship questions. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 5941–5946, Hong Kong, China. Association for Computational Linguistics.
  • Talmor et al. (2019) Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. 2019. CommonsenseQA: A question answering challenge targeting commonsense knowledge. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4149–4158, Minneapolis, Minnesota. Association for Computational Linguistics.
  • Tian et al. (2021) Jidong Tian, Yitian Li, Wenqing Chen, Liqiang Xiao, Hao He, and Yaohui **. 2021. Diagnosing the first-order logical reasoning ability through LogicNLI. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 3738–3747, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
  • Touvron et al. (2023) Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. 2023. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288.
  • Vidgen et al. (2021) Bertie Vidgen, Dong Nguyen, Helen Margetts, Patricia Rossini, and Rebekah Tromble. 2021. Cad: the contextual abuse dataset.
  • Wang et al. (2022a) Liwen Wang, Rumei Li, Yang Yan, Yuanmeng Yan, Sirui Wang, Wei Wu, and Weiran Xu. 2022a. Instructionner: A multi-task instruction-based generative framework for few-shot ner. arXiv preprint arXiv:2203.03903.
  • Wang et al. (2022b) Yizhong Wang, Swaroop Mishra, Pegah Alipoormolabashi, Yeganeh Kordi, Amirreza Mirzaei, Atharva Naik, Arjun Ashok, Arut Selvan Dhanasekaran, Anjana Arunkumar, David Stap, Eshaan Pathak, Giannis Karamanolakis, Haizhi Lai, Ishan Purohit, Ishani Mondal, Jacob Anderson, Kirby Kuznia, Krima Doshi, Kuntal Kumar Pal, Maitreya Patel, Mehrad Moradshahi, Mihir Parmar, Mirali Purohit, Neeraj Varshney, Phani Rohitha Kaza, Pulkit Verma, Ravsehaj Singh Puri, Rushang Karia, Savan Doshi, Shailaja Keyur Sampat, Siddhartha Mishra, Sujan Reddy A, Sumanta Patro, Tanay Dixit, and Xudong Shen. 2022b. Super-NaturalInstructions: Generalization via declarative instructions on 1600+ NLP tasks. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 5085–5109, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
  • Wei et al. (2021) Jason Wei, Maarten Bosma, Vincent Y Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M Dai, and Quoc V Le. 2021. Finetuned language models are zero-shot learners. ICLR.
  • Wei et al. (2022) Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, Ed Chi, Quoc V Le, Denny Zhou, et al. 2022. Chain-of-thought prompting elicits reasoning in large language models. Advances in Neural Information Processing Systems, 35:24824–24837.
  • Weller et al. (2020) Orion Weller, Nicholas Lourie, Matt Gardner, and Matthew E. Peters. 2020. Learning from task descriptions. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1361–1375, Online. Association for Computational Linguistics.
  • Wu et al. (2022) Tongshuang Wu, Michael Terry, and Carrie Jun Cai. 2022. Ai chains: Transparent and controllable human-ai interaction by chaining large language model prompts. In Proceedings of the 2022 CHI Conference on Human Factors in Computing Systems, pages 1–22.
  • Yanaka et al. (2019) Hitomi Yanaka, Koji Mineshima, Daisuke Bekki, Kentaro Inui, Satoshi Sekine, Lasha Abzianidze, and Johan Bos. 2019. Can neural networks understand monotonicity reasoning? In Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 31–40, Florence, Italy. Association for Computational Linguistics.
  • Ye and Ren (2021) Qinyuan Ye and Xiang Ren. 2021. Learning to generate task-specific adapters from task description. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 646–653, Online. Association for Computational Linguistics.
  • Yin et al. (2019) Wenpeng Yin, Jamaal Hay, and Dan Roth. 2019. Benchmarking zero-shot text classification: Datasets, evaluation and entailment approach. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3914–3923, Hong Kong, China. Association for Computational Linguistics.
  • Young et al. (2024) Alex Young, Bei Chen, Chao Li, Chengen Huang, Ge Zhang, Guanwei Zhang, Heng Li, Jiangcheng Zhu, Jianqun Chen, **g Chang, et al. 2024. Yi: Open foundation models by 01. ai. arXiv preprint arXiv:2403.04652.
  • Yu et al. (2020) Weihao Yu, Zihang Jiang, Yanfei Dong, and Jiashi Feng. 2020. Reclor: A reading comprehension dataset requiring logical reasoning. In International Conference on Learning Representations.
  • Zhang et al. (2023) Honghua Zhang, Liunian Harold Li, Tao Meng, Kai-Wei Chang, and Guy Van Den Broeck. 2023. On the paradox of learning to reason from data. In Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence, pages 3365–3373.
  • Zhao et al. (2023) Wayne Xin Zhao, Kun Zhou, Junyi Li, Tianyi Tang, Xiaolei Wang, Yupeng Hou, Yingqian Min, Beichen Zhang, Junjie Zhang, Zican Dong, et al. 2023. A survey of large language models. arXiv preprint arXiv:2303.18223.
  • Zhong et al. (2021) Ruiqi Zhong, Kristy Lee, Zheng Zhang, and Dan Klein. 2021. Adapting language models for zero-shot learning by meta-tuning on dataset and prompt collections. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 2856–2878, Punta Cana, Dominican Republic. Association for Computational Linguistics.
  • Zhou et al. (2019) Ben Zhou, Daniel Khashabi, Qiang Ning, and Dan Roth. 2019. “going on a vacation” takes longer than “going for a walk”: A study of temporal commonsense understanding. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3363–3369, Hong Kong, China. Association for Computational Linguistics.

Appendix A Example Prompt for Sentence Generation

Below is the general prompt structure prompted to generate data. The prompt schema, as depicted in Figure 3, comprise three crucial components:

Refer to caption
Figure 3: Schematic representation of prompt.

Definition provides a detailed explanation of the task and offers a natural language representation of the reasoning pattern for which we are generating sentences.

Examples provide sample sentences that need to be generated. We also illustrate how these sentences will be utilized in later stages, emphasizing the importance of coherence and the inclusion of relevant ontological concepts.

Format We provide specific formatting instructions to guide the generation of sentences.

Refer to caption
Figure 4: Example prompt for Modus Tollens inference rule from PL.

Figure 4 illustrates an example prompt for the inference rule, namely, ‘modus tollens’ from propositional logic (PL). Modus tollens is formally represented as ((pq)¬q)¬pproves𝑝𝑞𝑞𝑝((p\to q)\land\neg q)\vdash\neg p( ( italic_p → italic_q ) ∧ ¬ italic_q ) ⊢ ¬ italic_p, which can be understood in natural language as “If p𝑝pitalic_p implies q𝑞qitalic_q, and we know ¬q𝑞\neg q¬ italic_q, then we can conclude ¬p𝑝\neg p¬ italic_p.” In this prompt, the definition provides a comprehensive description of the inference rule in natural language. To encourage the generation of more relevant and coherent sentences, the prompt includes an examples section that demonstrates how the generated sentences will be utilized in a later stage. This serves, as an illustration, to guide GPT-3 in producing suitable outputs. In Figure 4, we present three examples involving sentences p𝑝pitalic_p and q𝑞qitalic_q, along with their respective contexts and questions. The prompt also includes instructions on how the generated sentences should be formatted.

Appendix B Extended Related Work

As LLMs such as GPT-4, and Bard continue to evolve rapidly, it becomes increasingly crucial to evaluate their diverse language capabilities, as well as those of forthcoming LLMs. Recently, many datasets have been created that evaluate different language understanding skills such as pronoun resolution (Sakaguchi et al., 2021; Levesque et al., 2012), commonsense reasoning (Talmor et al., 2019), numerical reasoning (Dua et al., 2019; Patel et al., 2021; Mishra et al., 2022b), qualitative reasoning (Tafjord et al., 2019b, a), temporal reasoning (Zhou et al., 2019), and feasibility reasoning (Gupta et al., 2023). Now, we present the advancements in prompt and instruction tuning using LLMs.

Prompt Learning

The introduction of LLMs has significantly shifted the research trend in NLP to prompt-based learning methodologies (Liu et al., 2021b). Many studies have been conducted to investigate the efficacy of prompt-based learning in various applications including Text classification (Yin et al., 2019), Natural Language Inference (NLI) (Schick and Schütze, 2021), and Question Answering (QA) (Jiang et al., 2020), Information Extraction (IE) (Chen et al., 2021; Cui et al., 2021), to name a few. In a recent development, the T0 model employs prompts to achieve zero-shot generalization across various NLP tasks (Sanh et al., 2021). Le Scao and Rush (2021) suggested that the use of prompts could be as valuable as hundreds of data points on average.

Instruction Learning

Efrat and Levy (2020) was focused on whether existing LLMs understand instructions. The same work in the field of instruction by Hase and Bansal (2022); Ye and Ren (2021); Gupta et al. (2021); Zhong et al. (2021) has been proposed to show that models follow natural language instructions. In addition, Weller et al. (2020) developed a framework focusing on NLP systems that solve challenging new tasks based on their description. Mishra et al. (2021) have proposed natural language instructions for cross-task generalization of LLMs. Similarly, PromptSource (Sanh et al., 2021) and FLAN (Wei et al., 2021) were built for leveraging instructions and achieving zero-shot generalization on unseen tasks. Moreover, Parmar et al. (2022) shows the effectiveness of instructions in multi-task settings for the biomedical/clinical domain. Furthermore, Mishra et al. (2022a) discussed the impact of task instruction reframing. Min et al. (2021) introduced a framework to better understand in-context learning. Ouyang et al. (2022) proposed the InstructGPT model that is fine-tuned with human feedback to follow instructions. Wang et al. (2022a) has developed an instruction-based multi-task framework for few-shot Named Entity Recognition (NER) tasks. In addition, many approaches have been proposed to improve model performance using instructions (Wu et al., 2022; Lin et al., 2021; Wang et al., 2022b; Luo et al., 2022; Kuznia et al., 2022; Patel et al., 2022; Mishra and Nouri, 2023).

Logic and NLI Datasets

FraCas (Bernardy and Chatzikyriakidis, 2020) offers a unique approach to temporal semantics by converting syntax trees into logical formulas tailored for inference, emphasizing temporal elements such as references, adverbs, aspectual classes, and progressives. The Monotonicity Entailment Dataset (MED) (Yanaka et al., 2019) dives deep into monotonicity reasoning within NLI, probing the synergy between lexical and syntactic structures and spotlighting inherent challenges in both upward and downward monotonic reasoning trajectories. The SICK (Marelli et al., 2014) dataset, with its foundation in 10,000 English sentence pairs, is designed to rigorously evaluate semantic relatedness and entailment, leveraging crowdsourced annotations for precision. HANS, or Heuristic Analysis for NLI Systems (McCoy et al., 2019), stands out by rigorously scrutinizing the dependability of NLI models, putting the spotlight on potential pitfalls tied to syntactic heuristics such as lexical overlap. Lastly, CAD (Vidgen et al., 2021) introduces a meticulously crafted dataset from Reddit entries, targeting the detection of online abuse. Nakamura et al. (2023) introduced LogicAttack, a method for performing adversarial attacks on NLI models using PL inference rules and proposed dataset of 9ksimilar-toabsent9𝑘\sim 9k∼ 9 italic_k attack samples derived from the SNLI dataset. In contrast to these works, LogicBench evaluates the logical reasoning capabilities of LLMs beyond the NLI task, focusing on the application of individual inference rules.

Appendix C Examples of Data Instances

This section provides examples of (context, question, answer) tuples corresponding to each inference rule and reasoning pattern. Additionally, it highlights the diverse range of question variations within the dataset associated with each inference rule and reasoning pattern.

C.1 Word Cloud

Figure 5 provides a word cloud derived from the LogicBench(Eval)𝐿𝑜𝑔𝑖𝑐𝐵𝑒𝑛𝑐𝐸𝑣𝑎𝑙LogicBench(Eval)italic_L italic_o italic_g italic_i italic_c italic_B italic_e italic_n italic_c italic_h ( italic_E italic_v italic_a italic_l ). This word cloud highlights the logical nature and diversity of our evaluation dataset. Words such as ‘if’, ‘normally’, ‘usually’, and ‘then’ are prominently featured, suggesting their frequent use in the dataset, and suggesting the logical nature of the dataset. Moreover, we can also observe several words consisting of different ontologies such as ‘cat’, ‘car’, ‘garden’, and many more, suggesting diversity in the dataset.

Refer to caption
Figure 5: Word cloud of context present in the LB(eval)

C.2 Propositional Logic (PL)

Here, we discuss examples of each inference rule present in the PL of the LogicBench as shown in Table 9. Table 9 has context related to the inference rule and different variations of the question according to the rule. For instance, the first row of Table 9 shows the example for inference rule, Hypothetical Syllogism (HS), formally expressed as ((pq))(qr))(pr)((p\to q))\land(q\to r))\vdash(p\to r)( ( italic_p → italic_q ) ) ∧ ( italic_q → italic_r ) ) ⊢ ( italic_p → italic_r ). The context represents the premise, i.e., ((pq))(qr))((p\to q))\land(q\to r))( ( italic_p → italic_q ) ) ∧ ( italic_q → italic_r ) ), and the first question (Q1) represents the conclusion, i.e., pr𝑝𝑟p\to ritalic_p → italic_r. Hence, Q1 is labeled as "Yes" since it supports the conclusion given the logical context. Furthermore, Q2 to Q4 represent different variations of the question by utilizing the variables (p,¬p,r,¬r)𝑝𝑝𝑟𝑟(p,\neg p,r,\neg r)( italic_p , ¬ italic_p , italic_r , ¬ italic_r ). For the HS, given the provided context, Q2 to Q4 contain the variations ¬pr𝑝𝑟\neg p\to r¬ italic_p → italic_r, p¬r𝑝𝑟p\to\neg ritalic_p → ¬ italic_r, and ¬p¬r𝑝𝑟\neg p\to\neg r¬ italic_p → ¬ italic_r, respectively, and are labeled as "No" since they do not support the conclusion.

C.3 First-Order Logic (FOL)

Here, we discuss examples of each inference rule and two axioms (i.e., Existential Instantiation and Universal Instantiation) present in the FOL from the LogicBench as shown in Table 10. Existential Generalization (EG), formally expressed as P(a)xP(x)𝑃𝑎𝑥𝑃𝑥{\displaystyle P\left({a}\right)\Rightarrow\exists xP\left({x}\right)}italic_P ( italic_a ) ⇒ ∃ italic_x italic_P ( italic_x ) indicates that there is an element a𝑎aitalic_a in the domain for which P(a)𝑃𝑎P(a)italic_P ( italic_a ) is true, then we know that xP(x)𝑥𝑃𝑥\exists xP\left({x}\right)∃ italic_x italic_P ( italic_x ) is true. Universal Instantiation formally expressed as xAA{xa}for-all𝑥𝐴𝐴maps-to𝑥𝑎\displaystyle\forall x\,A\Rightarrow A\{x\mapsto a\}∀ italic_x italic_A ⇒ italic_A { italic_x ↦ italic_a } indicates that a statement holds true for all instances (x) within a specific category A𝐴Aitalic_A, hence it is also true for specific instance a𝑎aitalic_a.

Table 10 represents context related to the inference rule and variations of the question. The process of generating data instances for FOL follows a similar approach to that of PL. For example, the first row of Table 10 shows the example for axiom, Existential Instantiation (EI), formally expressed as xP(x)P(a)𝑥𝑃𝑥𝑃𝑎{\displaystyle\exists xP\left({x}\right)\Rightarrow P\left({a}\right)}∃ italic_x italic_P ( italic_x ) ⇒ italic_P ( italic_a ). The context represents the initial premise xP(x)𝑥𝑃𝑥{\displaystyle\exists xP\left({x}\right)}∃ italic_x italic_P ( italic_x ) and the first question (Q1) represents the conclusion, i.e., P(a)𝑃𝑎P(a)italic_P ( italic_a ). Hence, Q1 is labeled as "Yes" since it supports the conclusion given the logical context. Furthermore, we generate the only variant of the question based on ¬P(a)𝑃𝑎\neg P(a)¬ italic_P ( italic_a ) and labeled it as No𝑁𝑜Noitalic_N italic_o since it does not support the conclusion.

C.4 Non-Monotonic (NM) Reasoning

Here, we discuss examples of each reasoning pattern present in the NM reasoning from the LogicBench as shown in Table 11. Table 11 has context related to the reasoning pattern and different variants of the question. For example, the first row of Table 11 shows the example for Default Reasoning with Irrelevant Information (DRI). For this reasoning, based on the given context, there are also two possible variations of the question where one with a correct conclusion labeled as Yes𝑌𝑒𝑠Yesitalic_Y italic_e italic_s and another with an incorrect conclusion labeled as No𝑁𝑜Noitalic_N italic_o.

Rule Context Question
HS If Jim cleans his room, he will receive a reward and if he receives a reward, he will use it to buy a new toy. So, Jim decided to tidy up his room, ho** to earn a reward. He diligently gathered his clothes, organized his toys, and dusted every surface. After a few hours of hard work, Jim’s room was spotless. Q1: If Jim cleaned his room, does this imply that he will buy a new toy? (Yes)
Q2: If Jim didn’t clean his room, does this entail that he won’t buy a new toy? (No)
Q3: If Jim cleaned his room, does this imply that he won’t buy a new toy? (No)
Q4: If Jim didn’t clean his room, does this imply that he will buy a new toy? (No)
DS Either Chloe is studying for her exams, or Mila is going on vacation, or both scenarios are unfolding. It is unclear which of the two options is true at this point. However, one thing is certain - Chloe is not studying for her exams. Q1: Does this entail that Mila is going on vacation? (Yes)
Q2: Does this mean that Mila isn’t going on vacation? (No)
CD If I decide to go for a walk, I will be able to breathe in some fresh air and revitalize myself. On the other hand, if I choose to stay home, I will have the opportunity to enjoy a movie. One thing is certain, either I go for a walk or I stay home. It remains uncertain which of the two options I will ultimately choose. It is entirely possible that I might opt for the walk, or perhaps I will find myself drawn to staying home, or even both possibilities might come to fruition. Can we say at least one of the following must always be true?
Q1: (a) I will get some fresh air or (b) I will watch a movie (Yes)
Q2: (a) I won’t get some fresh air and (b) I will watch a movie (No)
Q3: (a) I will get some fresh air and (b) I won’t watch a movie (No)
Q4: (a) I won’t get some fresh air and (b) I won’t watch a movie (No)
DD If I decide to order takeout, it means I will save time. On the other hand, if I choose to cook a meal, it means I will save money. The interesting thing is that I am in a situation where I won’t be able to save time or money. It is uncertain whether I won’t save time or I won’t save money, or it could even be both scenarios. The only thing that is clear is that at least one of these possibilities is true. Can we say at least one of the following must always be true?
Q1: (a) I don’t order takeout or (b) I don’t cook a meal (Yes)
Q2: (a) I order takeout and (b) I cook a meal (No)
Q3: (a) I don’t order takeout and (b) I cook a meal (No)
Q4: (a) I order takeout and (b) I don’t cook a meal (No)
BD If it is sunny outside, then I will go for a walk. However, if it rains, I will stay inside. Currently, it is uncertain whether it is raining or not, but I do know that at least one of the following is true: either it is raining or I will not go for a walk. It is possible that only one of these statements is true, or perhaps both are true. Can we say at least one of the following must always be true?
Q1: (a) we will stay inside or (b) it is not sunny (Yes)
Q2: (a) we will not stay inside and (b) it is sunny (No)
Q3: (a) we will stay inside and (b) it is sunny (No)
Q4: (a) we will not stay inside and (b)it is not sunny (No)
MT If Mason decides to leave his job, he will not receive any salary. However, against all odds, Mason still receives his salary. He finds himself receiving his regular paycheck. Q1: Does this infer that Mason didn’t leave his job? (Yes)
Q2: Does this infer that Mason left his job? (No)
MI Rohan woke up in the morning and realized that he had forgotten his lunch. Knowing that if he forgets his lunch, he will not eat at school, he felt disappointed. Based on context, can we say, at least one of the following must always be true?
Q1: (a) Rohan didn’t forget his lunch and (b) he will not eat at school (Yes)
Q2: (a) Rohan forgot his lunch and (b) he will eat at school (No)
Q3: (a) Rohan forgot his lunch and (b) he will not eat at school (No)
Q4: (a) Rohan didn’t forget his lunch and (b) he will eat at school (No)
CT At least one of two things is true about Tom - he is either an avid reader or he devours books of all genres. We are unsure which one of these statements is true or if both are true. It could be that only the first statement is true, or only the second statement is true, or even that both are true. Can we say at least one of the following must always be true?
Q1: (a) he devours books of all genres or (b) Tom is an avid reader (Yes)
Q2: (a) he doesn’t devour books of all genres and (b) Tom is an avid reader (No)
Q3: (a) he devours books of all genres and (b) Tom isn’t an avid reader (No)
Q4: (a) he doesn’t devour books of all genres and (b) Tom isn’t an avid reader (No)
Table 9: Examples of context and question-answer pairs for each rule of Proportional logic from the LogicBench; HS: Hypothetical Syllogism, DS: Disjunctive Syllogism, CD: Constructive Dilemma, DD: Destructive Dilemma, BD: Bidirectional Dilemma, MT: Modus Tollens, MI: Material Implication, CT: Commutation
Rule Context Question
UI All students are required to take an examination in order to fulfill the requirements for their degree. Reema, being a student, is also expected to fulfill the requirements. Q1: Does Reema need to take an exam to complete her degree? (Yes)
Q2: Does Reema need not to take an exam to complete her degree? (No)
EG The marathon race was won by James, who emerged as the champion. Q1: Does this imply that someone won the marathon race? (Yes)
Q2: Does this mean that no one won the marathon race? (No)
MP If someone is extremely tired, then they will seek some rest and relaxation. Today, Jack finds himself utterly exhausted. Q1: Does this entail that he will take rest? (Yes)
Q2: Does this entail that he won’t take rest? (No)
HS If all the necessary supplies have been purchased by someone, then they can initiate the project. Once the project is started by someone, they will complete it within the expected time-frame. Q1: If Lily bought all the necessary supplies, does this mean that she will finish it on time? (Yes)
Q2: If Lily didn’t buy all the necessary supplies, does this imply that she won’t finish it on time? (No)
Q3: If Lily bought all the necessary supplies, does this entail that she won’t finish it on time? (No)
Q4: If Lily didn’t buy all the necessary supplies, does this imply that she will finish it on time? (No)
DS It is known that one of the following options is true: someone goes to a museum or someone visits a park. The specific scenario could involve only the option to go to a museum being true, or only the option to visit a park being true, or both options being true. However, it is stated that Jill is unable to go to a museum. Q1: Does this imply that she can visit a park? (Yes)
Q2: Does this entail that she can’t visit a park? (No)
CD If someone is painting a picture, then they will frame it. similarly, the natural course of action for a writer would be to publish their completed story. in this scenario, it is certain that at least one of the following statements holds true: (1) john is currently engrossed in painting a picture, or (2) john is currently immersed in the act of writing a story. it should be emphasized that we are unaware of which statement specifically applies, as there is a possibility that either (1) alone is true, or (2) alone is true, or even that both (1) and (2) are simultaneously true. Can we say at least one of the following must always be true?
Q1: (a) he will frame it and (b) he will publish it. (Yes)
Q2: (a) he won’t frame it and (b) he will publish it. (No)
Q3: (a) he will frame it and (b) he won’t publish it. (No)
Q4: (a) he won’t frame it and (b) he won’t publish it. (No)
DD If someone is taking care of their health, then they will be fit. However, indulging in unhealthy habits can make individuals susceptible to various diseases. The truth is, we can be certain about at least one of the following possibilities: either Jenny won’t be fit and healthy, or she won’t be prone to diseases. It is important to note that we are unaware of which statement is accurate. It could be the case that only the first statement is true, only the second statement is true, or both statements hold validity. Can we say at least one of the following must always be true?
Q1: (a) Jenny doesn’t take care of her health and (b) she doesn’t indulge in unhealthy habits (Yes)
Q2: (a) Jenny takes care of her health and (b) she indulges in unhealthy habits (No)
Q3: (a) Jenny doesn’t take care of her health and (b) she indulges in unhealthy habits (No)
Q4: (a) Jenny takes care of her health and (b) she doesn’t indulge in unhealthy habits (No)
BD If an individual consumes a significant amount of water, they will experience a state of hydration. Conversely, if excessive amounts of sugar are ingested, a sugar crash will ensue. It is known that at least one of the following statements is true: either the Jane consumes ample water or she will not experience a sugar crash. However, the actual veracity of either statement remains ambiguous, as it could be the case that only the first statement is true, only the second statement is true, or both statements are true. Can we say at least one of the following must always be true?
Q1: (a) she will feel hydrated and (b) she doesn’t eat too much sugar (Yes)
Q2: (a) she won’t feel hydrated and (b) she eats too much sugar (No)
Q3: (a) she will feel hydrated and (b) she eats too much sugar (No)
Q4: (a) she won’t feel hydrated and (b) she doesn’t eat too much sugar (No)
MT If someone decides to go to the park, it is required that they wear a mask. However, in this particular situation, John does not wear a face covering. Q1: Does this imply that John doesn’t visit the park? (Yes)
Q2: Does this entail that John visits the park? (No)
Table 10: Examples of context and question-answer pairs for each rule of First order logic from the LogicBench.
Rule Context Question
DRI Once upon a time, in a land filled with animals, there were two popular mammalian creatures, cats and dogs. Mammals typically possessed a coat of fur, which kept them warm and protected. However, cats were an exception to this rule, as their bodies lacked fur. Nonetheless, both cats and dogs were beloved by many for their unique traits. Dogs, known for their loyalty, were particularly cherished by humans. Q1: Does this imply that dogs have fur? (Yes)
Q2: Does this entail that dogs don’t have fur? (No)
DRS John and Mary were expecting their first child, filled with the anticipation and excitement that all parents feel. Parents are usually loving and supportive. Parents are normally responsible. However, something seemed amiss in their relationship. Mary, usually affectionate and caring, seemed distant and uninvolved. On the other hand, John, known for his responsible nature, started neglecting his duties and became unreliable. Q1: Does this imply that Mary is responsible and John is loving and supportive? (Yes)
Q2: Does this entail that Mary isn’t responsible and John is loving and supportive? (No)
Q3: Does this imply that Mary is responsible and John isn’t loving and supportive? (No)
Q4: Does this entail that Mary isn’t responsible and John isn’t loving and supportive? (No)
DRD Jenny and Anna are known for their tall stature, which is often associated with playing basketball. However, Anna might be an exception to this norm. Q1: Does this entail that Jenny plays basketball? (Yes)
Q2: Does this mean that Jenny doesn’t play basketball? (No)
DRO In the bird kingdom, there are many different species that possess unique characteristics. One such species is the hummingbird, known for its ability to hover in mid-air and its vibrant colors. While most birds engage in the annual migration south for the winter, the hummingbird chooses to stay put and brave the cold weather. This decision sets the hummingbird apart from its fellow avian companions, as it relies on its resilience and resourcefulness to survive the harsh conditions. Q1: Does this mean that all other birds than hummingbirds migrate south for the winter? (Yes)
Q2: Does this mean that all other birds than hummingbirds don’t migrate south for the winter? (No)
RE1 In a world where animals are often regarded as intelligent creatures, there is a captivating tale that revolves around cats, dogs, and horses. It is commonly believed that most animals possess a level of intellect. However, there is an intriguing twist to this belief as it is known that either cats or dogs are not considered particularly intelligent. As the story unfolds, we delve into the lives of these remarkable creatures, their interactions, and the unique qualities that each of them possesses. Q1: Does this entail that horses are considered to be intelligent creatures and exactly one of the cats or dogs is not considered intelligent? (Yes)
Q2: Does this mean that horses aren’t considered to be intelligent creatures and exactly one of cats or dogs is not considered intelligent? (No)
Q3: Does this mean that horses are considered to be intelligent creatures and exactly one of cats or dogs is considered intelligent? (No)
Q4: Does this implies that horses aren’t considered to be intelligent creatures and exactly one of cats or dogs is considered intelligent? (No)
RE2 In the realm of cat communication, meowing serves as a fundamental aspect of their vocal repertoire. However, intriguingly enough, there exists a distinct species of cat that deviates from this conventional norm. This peculiar feline defies the expectations associated with its kind by refraining from emitting any meows whatsoever. Q1: Does this entail that exactly one species of cat doesn’t meow? (Yes)
Q2: Does this imply that exactly one species of cat meows? (No)
RE3 In a world where cars were known for having four wheels, it was considered a common fact that wheels typically came equipped with spokes. However, amidst this widespread understanding, there was an exception. At least one wheel defied this norm and stood out from the rest by not having any spokes at all. Q1: Does this imply that cars have four wheels with spokes? (Yes)
Q2: Does this mean that cars don’t have four wheels with spokes? (No)
RAP In the midst of a heated argument, John adamantly claims that sally was present at the store. However, Jane strongly opposes John’s assertion, insisting that Sally was indeed absent from the store. Q1: If John’s evidence is more reliable than Jane’s, does this mean that Sally was in the store? (Yes)
Q2: If John’s evidence is more reliable than Jane’s, does this mean that Sally wasn’t in the store? (No)
Q3: If John’s evidence is less reliable than Jane’s, does this entail that Sally was in the store? (No)
Q4: If John’s evidence is less reliable than Jane’s, does this imply that Sally wasn’t in the store? (Yes)
Table 11: Examples of context and question-answer pairs for each rule of Non-monotonic logic from the LogicBench.

Appendix D Examples of NL Conversion

This section illustrates the way natural language logical context and questions are created using the generated sentence in Stage 1 in addition to prompt-based templatized-context to narrative conversion. Table 13 shows examples of how context and question are generated from sentences corresponding to each inference rule for PL and FOL. Similarly, Table 14 shows examples of NM reasoning. From Table 13, we can see an example of sentence pairs (p,q)𝑝𝑞(p,q)( italic_p , italic_q ) and their corresponding negation pairs (¬p,¬q)𝑝𝑞(\neg p,\neg q)( ¬ italic_p , ¬ italic_q ) for the ‘modus tollens’ inference rule from PL. These pairs are utilized to generate templatized logical context which is converted to narrative using a specific prompt[1D] designed for PL. In addition to the narrative, the question and its variations are also created using these sentence pairs. Similarly, in the second row, we have four generic rules with variable x𝑥xitalic_x (p(x),q(x),r(x),s(x))𝑝𝑥𝑞𝑥𝑟𝑥𝑠𝑥(p(x),q(x),r(x),s(x))( italic_p ( italic_x ) , italic_q ( italic_x ) , italic_r ( italic_x ) , italic_s ( italic_x ) ) and their specific cases (i.e., x=a𝑥𝑎x=aitalic_x = italic_a), along with their respective negative sentence pairs [(p(a),¬p(a))𝑝𝑎𝑝𝑎(p(a),\neg p(a))( italic_p ( italic_a ) , ¬ italic_p ( italic_a ) ), (q(a),¬q(a))𝑞𝑎𝑞𝑎(q(a),\neg q(a))( italic_q ( italic_a ) , ¬ italic_q ( italic_a ) ), (r(a),¬r(a))𝑟𝑎𝑟𝑎(r(a),\neg r(a))( italic_r ( italic_a ) , ¬ italic_r ( italic_a ) ), (s(a),¬s(a))𝑠𝑎𝑠𝑎(s(a),\neg s(a))( italic_s ( italic_a ) , ¬ italic_s ( italic_a ) )]. In the same manner, as PL, these examples demonstrate the generation of narrative and questions for the FOL inference rule called ‘Bidirectional Dilemma (BD)’, as shown in Table 13 using specific prompt[2D] designed for FOL. From Table 14, the first row presents an example of narrative and questions generated from a sentence pair for the ‘Default Reasoning with Irrelevant Information (DRI)’ from NM reasoning. In this specific instance, the generated sentences are (p,q,r,s,t)𝑝𝑞𝑟𝑠𝑡(p,q,r,s,t)( italic_p , italic_q , italic_r , italic_s , italic_t ), and the negation is only required for the sentence t𝑡titalic_t. Therefore, there is a single negation pair (t,¬t)𝑡𝑡(t,\neg t)( italic_t , ¬ italic_t ), which is used to generate questions specific to the ‘DRI’. Same as PL and FOL, templatized context is also converted to narrative using a prompt[3D] created for NM. Each prompt is shown below for PL, FOL, and NM templatized context to narrative conversion.

1. Prompt for templatized to narrative conversion for PL(MT):

Rule: Condition: If p then q; Situation: not q
Context: Templatized context
Improve the context in human-like language and make story with rephrased sentences.
Instructions for generating a good story:
1. While generating a story, Use the rephrased sentences from the context of the story.
2. Make sure to include sentences corresponding to the condition and situation from the rule in the story.
3. Do not add any other extra information.
4. To generate a story, DO NOT change the name of the main character from the context, if there’s any. If the main character within the context is ’I’, please generate a story with ’I’ as the main character.
5. Generate only one paragraph with rephrased sentences.

2. Prompt for templatized to narrative conversion for FOL:

Context: Templatized context
Improve the context in human-like language and make a rephrase sentences around it.
Instructions for generating a good story:
1. Make sure to include only rephrased sentences in the story.
2. Do not add any other extra information and do not reach any conclusion based on context.
3. To generate a story, use only generic sentences without mentioning any main character.
4. Extract a specific case sentence from the context, rephrase it, and append it at the end of the context only.
5. Generate only one paragraph with rephrased sentences.
6. DO NOT add any prefixes.

3. Prompt for templatized to narrative conversion for NM:

Context: Templatized context
Improve the context in human-like language and rephrase sentences around it.
Instructions for generating a good story:
1. Make sure to include only rephrased sentences in the story.
2. Do not add any other extra information, but add some story-like context.
3. To generate a story, DO NOT change the name of the main character from the context, if there’s any. Use the same names/words for main character. If the main character within the context is ’I’, please generate a story with ’I’ as the main character.
4. Generate only one paragraph with rephrased sentences.

To ensure the quality of the narrative in the LogicBench(Eval) for task 1 and task 2, we have created category-specific prompts to convert the templatized context to convert more human-like narrative. In total, we have created three different prompts each for PL[1D], FOL[2D], and NM[3D. The prompts are designed to ensure that the logical connection is established in the narrative. Each rule of PL, FOL, and NM has a unique logical progression that should be followed in the narrative is the motivation for us to go with three different instruction-based prompts. In the prompt, used for PL rules, the logical rule is also mentioned in two parts "Condition" and "Situation". Consider the example of logical rule MT - "If p then q; not q; therefore not p", the templatized context will have "If p then q; not q;" so condition will be the first part "If p then q" while the situation will be the second part "not q". In other terms, the specific conditions are the rules to be followed while the situation is the case present in the logical rule. In contrast, for FOL, we do not need to focus more on the specific condition rather we have to make sure a generalized case is present in the narrative with 1-2 specific sentences related to the rule. For NM, we do not have such a rule instead we have a logical connection between sentences and hence we go with the instruction-based prompting.

Appendix E Task Instance Generation

This section discusses the task instance generation step, which is the last step in Fig. 2 in detail. The overall section is comprised of two subsections for BQA and MCQA. The subsection related to BQA discusses the variation generation step in detail with question generation while the MCQA subsection provides details of prompts used for incorrect option generation along with five pre-defined sets of questions.

E.1 Task 1- BQA (variation generation)

As seen in Fig. 2, BQA has a narrative along with question, and answer pairs with variation in question and corresponding answer. As discussed in the main paper Data creation3.2, the narrative is created using the pre-defined rules for PL, FOL, and NM while a question is asked based on what can be entailed from the given context. For example, HS can be defined as "If p then q; if q then r; therefore, if p then r" and the narrative will have "If p then q; if q then r" and the question is asked as "Can we conclude if p then r?" having answer as "yes". Now, other variations in the question are asked in the following ways by negating the sentence (p and r) comb: Variation 1: "Can we conclude if ¬\neg¬p then r?", Variation 2: "Can we conclude if p then ¬\neg¬r?", Variation 3: "Can we conclude if ¬\neg¬p then ¬\neg¬r?". If there’s only one axiom (p) present in the question then there are only a 2 variations that can be made asking about (p) and (¬\neg¬p).

E.2 Task 2-MCQA (Question selection and incorrect option generation)

We have MCQA as task 2 in LogicBench. In this, we have one correct option from the four options, and three options are incorrectly generated using prompting. The question is a bit different from the BQA question formation as we have MCQA and have to identify which conclusion can be derived from the narrative. The question is randomly selected from the pre-defined set of questions. Here, the five different questions are as follows:

  1. 1.

    What would be the most appropriate conclusion based on the given context?

  2. 2.

    Considering the provided context, what conclusion would be deemed most suitable?

  3. 3.

    In light of the context provided, what conclusion can be considered the most appropriate?

  4. 4.

    Based on the context, what conclusion would be deemed most suitable?

  5. 5.

    Taking into account the context provided, what conclusion would be most appropriate?

The narrative for MCQA is the same as the BQA’s narrative and there’s no change. Comparing BQA methodology with MCQA, MCQA’s correct option is the question asked in the BQA which can be concluded from the logical rule present in the narrative. For example, HS can be defined as "If p then q; if q then r; therefore, if p then r" and the narrative will have "If p then q; if q then r" and the question is randomly chosen from the set of questions as mentioned above and the correct option from the different multiple choice will be "if p then r". Based on the information present, we have generated an incorrect option using prompting[4E.2]. Refer this link for more examples - https://anonymous.4open.science/r/LogicBench-EEBB.

4. Prompt for incorrect option generation:

Context: Narrative
Question: Randomly chosen question
Correct option: Conclusion from narrative

Create three more irrelevant, incorrect options to create multiple choice. Sometime use different persons name as well in creating incorrect options.
Instruction to generate options:
1. Generate only three unique choices each in new line.
2. Do not use any prefix while generating.

Appendix F Mitigation of Errors in LogicBench

While validating LogicBench(Eval), we encountered errors within the synthetically generated narrative-based context. We mitigate these errors manually, categorizing them into two groups: (i) eliminating leakage of logical conclusions and (ii) ensuring the inclusion of intended logical premises. In the first category, we found 15%similar-toabsentpercent15\sim 15\%∼ 15 % of the narrative-based contexts (out of 500 total instances) were found to explicitly present the logical conclusion as a response to the question, bypassing the logical derivation process. This enables the model to extract the final logical conclusion from the context rather than derive it logically. In the second category, we found 8%similar-toabsentpercent8\sim 8\%∼ 8 % of the narrative-based contexts (out of 500 total instances) where narration lacked some necessary premise sentences crucial for reaching a logical conclusion. To address this issue, we manually incorporated those sentences to ensure the quality of the data. For the MCQA task, during the generation of three incorrect options, we found instances where the model produces two semantically similar options, resulting in the creation of ambiguous choices in 11%similar-toabsentpercent11\sim 11\%∼ 11 % of the cases (out of a total of 500 instances). We manually mitigated all these errors from the data instances ensuring the high quality of our validation data. We believe that these two versions aim to accommodate different evaluations to explore the logical reasoning capabilities of LLMs.

Appendix G Few-shot Experiments

This section discusses the performance of the different LLMs in a few-shot setting on the LogicBench(Eval)BQA. Here, we only present a case study on the BQA task. For the fair comparison with Table 6, we analyze an average performance across A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ). Table 15 shows the performance for each inference rule and reasoning patterns achieved by Llama-2, Mistral, Gemini, ChatGPT, and GPT-4.

As suggested in (Lu et al., 2022), prompting models are sensitive to in-context examples. Hence, we see mixed performance in Table 15 across all models. From Table 15, we can observe that in-context examples are helpful for Llama-2 since it consistently outperforms zero-shot baselines by large margins in terms of A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ). Llama-2 is remarkably good at following the in-context exemplars and mimicking the process to reach the correct conclusions. Thus, leveraging the in-context exemplars, Llama-2 achieves high accuracy in a few-shot setting. Specifically, Mistral consistently shows degraded performance for all logic types. However, ChatGPT improves performance on NM reasoning. Improved performance in NM reasoning demonstrates that the inclusion of in-context examples enhances the ability of these models to comprehend the nuanced meanings of logical terms such as “usually” and “typically”. In particular, we see that Gemini and GPT-4 improve performance on PL and FOL, respectively, but show competitive performance on NM.

Appendix H Experimental Setup

H.1 Extended Discussion on Experiments

Zero-shot setting

We evaluate GPT-4, and ChatGPT (GPT-3.5-Turbo) by utilizing their APIs provided by OpenAI333https://platform.openai.com/docs/guides/gpt. We evaluate Google Gemini-Pro by utilizing its API provided by Google444https://ai.google.dev/ The evaluation is conducted on the versions of GPT-4, ChatGPT, and Gemini released in January 2024. It’s important to note that these models are regularly updated, so when reproducing the results presented in Table 6 and Table 7 (main paper), there is a possibility of variations. For Llama-2 and Mistral, we utilize the 7B-Chat, and 7B-Instruct-v0.2 versions, respectively, from the huggingface model repository555https://huggingface.co/models.

Experiments on other logic datasets

In single and multi-task experiments on other logic datasets, we fine-tune the T5-large model for 10 epochs with a batch size of 16, 1024 maximum input length, an adaptive learning rate of 5e055𝑒055e-055 italic_e - 05, and an AdamW optimizer for each experiment. All experiments are performed using NVIDIA RTX A6000 GPUs.

H.2 Prompts

All the experiments conducted in the zero-shot setting were performed using three distinct prompts. The reported results in Table 6 (main paper) represent the average performance across these prompts. All the prompts follow the common pattern which includes task description and formatting instructions. The following are the three different prompts utilized in the experiments:

Prompt 1:

Given the context and question, think step-by-step logically to answer the question. Answer the question ONLY in ‘yes’ or ‘no’. Please use the below format:
Context: [text with logical rules]
Question: [question based on context]
Reasoning steps: [generate step-by-step reasoning]
Answer: Yes/No

Prompt 2:

Let’s think step-by-step to answer the question given context. Answer the question ONLY in ‘yes’ or ‘no’. Please use the below format:
Context: [text with logical rules]
Question: [question based on context]
Reasoning steps: [generate step-by-step reasoning]
Answer: Yes/No

Prompt 3:

Given the context that contains rules of logical reasoning in natural language and question, perform step-by-step reasoning to answer the question. Based on context and reasoning steps answer the question ONLY in ‘yes’ or ‘no’. Please use the below format:
Context: [text with logical rules]
Question: [question based on context]
Reasoning steps: [generate step-by-step reasoning]
Answer: Yes/No

For MCQA task, the reported results in Table 7 (main paper) represent the average performance across three prompts. All the prompts follow the common pattern which includes task description and formatting instructions. The following are the three different prompts utilized in the experiments:

Prompt 1:

Given the context that contains rules of logical reasoning in natural language, question, and options, perform step-by-step reasoning to answer the question. Answer the question ONLY in ’choice_1’ or ’choice_2’ or ’choice_3’ or ’choice_4’. DO NOT generate any text with it. Based on context and reasoning steps, choose the correct option.
Please use the below format:
Context: [text with logical rules]
Question: [question based on context]
Options: [four different choices]
Reasoning steps: [generate step-by-step reasoning]
Answer: choice_1 / choice_2 / choice_3 / choice_4

Prompt 2:

Let’s think step-by-step to choose the correct option for the question given context. Answer the question ONLY in ’choice_1’ or ’choice_2’ or ’choice_3’ or ’choice_4’. DO NOT generate any text with it. Based on context and reasoning steps, choose the correct option.
Please use the below format:
Context: [text with logical rules]
Question: [question based on context]
Options: [four different choices]
Reasoning steps: [generate step-by-step reasoning]
Answer: choice_1 / choice_2 / choice_3 / choice_4

Prompt 3:

Given the context, question, and options, think step-by-step logically to answer the question by choosing the correct option. Answer the question ONLY in ’choice_1’ or ’choice_2’ or ’choice_3’ or ’choice_4’. DO NOT generate any text with it. Based on context and reasoning steps, choose the correct option.
Please use the below format:
Context: [text with logical rules]
Question: [question based on context]
Options: [four different choices]
Reasoning steps: [generate step-by-step reasoning]
Answer: choice_1 / choice_2 / choice_3 / choice_4

Appendix I Further Discussion on Results

Effect on other logic datasets

Our experiments were carried out in two settings: single-task (fine-tuning and evaluation on one dataset) and multi-task (fine-tuning on all four datasets combined, with separate evaluations for each dataset). App. H describes a detailed experimental setup. Table 12 represents the accuracy comparison between LogicT5 and baseline T5-large in both single-task and multi-task settings.

The results indicate that training LLMs on LogicBench(Aug) has a greater impact on logic datasets that primarily focus on logical reasoning, such as FOLIO and LogicNLI. Hence, we can observe that LogicT5 consistently outperforms the baseline for LogicT5 and FOLIO. However, LogiQA and ReClor encompass other forms of reasoning in addition to logical reasoning, hence, LogicT5 demonstrates competitive performance on them.

Methods Models LogiQA FOLIO LogicNLI ReClor
Single-Task T5-large 16.8 69.6 82.3 35.4
LogicT5 16.9 71.2 84.4 36.8
Multi-Task T5-large 21.8 83.8 68.2 42.8
LogicT5 19.7 85.6 69.8 40.0
Table 12: Performance comparison between LogicT5 and baseline T5-large in terms of accuracy.
Rule Generate Sentences in Step 1 NL logical expressions
MT p: Liam finished his work early.
similar-to\simp: Liam did not finish his work early.
q: He will order pizza for dinner.
similar-to\simq: He will not order pizza for dinner.
Context: Liam had finished his work early for the day, which meant that he would typically have ordered pizza for dinner. However, on this particular day, he decided against ordering pizza and opted for something else instead.

Question: Does this imply that liam didn’t finish his work early?
BD p(x): someone drinks lots of water
q(x): they will feel hydrated
r(x): they eat too much sugar
s(x): they will experience a sugar crash
p(a): Jane drinks lots of water
similar-to\simp(a): Jane does not drink lots of water
q(a): she will feel hydrated
similar-to\simq(a): she will not feel hydrated
r(a): she eats too much sugar
similar-to\simr(a): she does not eat too much sugar
s(a): she will experience a sugar crash
similar-to\sims(a): she will not experience a sugar crash
Context: If an individual consumes a significant amount of water, they will experience a state of hydration. Conversely, if excessive amounts of sugar are ingested, a sugar crash will ensue. It is known that at least one of the following statements is true: either the Jane consumes ample water or she will not experience a sugar crash. However, the actual veracity of either statement remains ambiguous, as it could be the case that only the first statement is true, only the second statement is true, or both statements are true.

Question: Can we say at least one of the following must always be true? (a) she will feel hydrated and (b) she doesn’t eat too much sugar
MP p(x): someone is exhausted.
q(x): they will take a rest.
p(a): Jack is exhausted.
similar-to\simp(a): Jack is not exhausted.
q(a): he will take a rest.
similar-to\simq(a): he will not take a rest.
Context: If someone is extremely tired, then they will seek some rest and relaxation. Today, Jack finds himself utterly exhausted.

Question: Does this entail that he will take rest?
DS p: Levi is not studying for his exams
similar-to\simp: Levi is studying for his exams
q: Maya is writing a book
similar-to\simq: Maya is not writing a book
Context: Either Levi is not studying for his exams or Maya is writing a book, or maybe both. It was unclear which choice to make as he didn’t know if either of the options was true. However, it turned out that Levi decided to prioritize his exams and focus on studying. He knew that in order to succeed, he needed to dedicate his time and energy to preparing for the upcoming tests.

Question: Does this mean that Maya is writing a book?
HS p(x): someone buys all the necessary supplies.
q(x): they can start the project.
r(x): they will finish it on time.
p(a): Lily bought all the necessary supplies.
similar-to\simp(a): Lily did not buy all the necessary supplies.
q(a): She can start the project.
similar-to\simq(a): She can not start the project.
s(a): She will finish it on time.
similar-to\sims(a): She will not finish it on time.
Context: If all the necessary supplies have been purchased by someone, then they can initiate the project. Once the project is started by someone, they will complete it within the expected timeframe.

Question: If lily bought all the necessary supplies, does this mean that she will finish it on time?
CD p: Harry goes to the park.
similar-to\simp: Harry does not go to the park.
q: he will have a picnic with his family
similar-to\simq: he will not have a picnic with his family
r: he goes to the beach
similar-to\simr: he does not go to the beach
s: he will swim in the ocean
similar-to\sims: he will not swim in the ocean
Context: Harry had two options for his day off: going to the park or going to the beach. If he decided to go to the park, it meant that he would have a lovely picnic with his family. On the other hand, if he chose the beach, he would be able to enjoy a refreshing swim in the ocean. The only thing that was certain was that either Harry would go to the park or he would go to the beach. It was unclear which option he would ultimately choose, as it could be that he would go to the park alone, go to the beach alone, or even do both activities.

Question: Can we say at least one of the following must always be true? (a) he will have a picnic with his family and (b) he will swim in the ocean
DD p: I order takeout
similar-to\simp: I did not order takeout
q: I will save time
similar-to\simq: I will not save time
r: I cook a meal
similar-to\simr: I did not cook a meal
s: I will save money
similar-to\sims: I will not save money
Context: If I decide to order takeout, it means I will save time. On the other hand, if I choose to cook a meal, it means I will save money. The interesting thing is that I am in a situation where I won’t be able to save time or money. It is uncertain whether I won’t save time or I won’t save money, or it could even be both scenarios. The only thing that is clear is that at least one of these possibilities is true.

Question: Can we say at least one of the following must always be true? (a) i don’t order takeout and (b) i don’t cook a meal
CT p: Tom is an avid reader
similar-to\simp: Tom is not an avid reader
q: he devours books of all genres
similar-to\simq: he does not devour books of all genres
Context: At least one of two things is true about Tom - he is either an avid reader or he devours books of all genres. We are unsure which one of these statements is true or if both are true. It could be that only the first statement is true, or only the second statement is true, or even that both are true.

Question: Can we say at least one of the following must always be true? (a) he devours books of all genres or (b) tom is an avid reader
MI p: he is not eating healthy
similar-to\simp: he is eating healthy
q: he will not gain weight
similar-to\simq: he will gain weight
Context: Once upon a time, there was a guy named John who was very conscious about his weight. He knew that if he didn’t eat healthy, he wouldn’t be able to maintain his desired weight. John understood the condition that if he didn’t eat healthy, he wouldn’t be able to gain weight.

Question: Based on context, can we say, at least one of the following must always be true? (a) he is eating healthy and (b) he will not gain weight
EG p(x): someone has coding skills
a: Sheila
p(a): Sheila is a proficient programmer
Context: Sheila possesses exceptional coding skills and is highly proficient in programming. She has mastered various programming languages and is known for her ability to write efficient and error-free code. Sheila’s expertise in programming allows her to solve complex problems with ease. Her colleagues often seek her assistance when facing technical challenges as she consistently delivers high-quality solutions.

Question: does this mean that someone has coding skills?
UI p(x): students need to take an exam to complete their degree
a: Reema
p(a): Reema is a student.
Context: All students are required to take an examination in order to fulfill the requirements for their degree. Reema, being a student, is also expected to fulfill the requirements.

Question: Does reema need to take an exam to complete her degree?
Table 13: Illustrative examples of NL logical context and questions created using sentences that are generated in §3.2.1 for rules covered in PL and FOL for BQA.
Rule Generate Sentences in Step 1 NL logical expressions
DRI p: Cats and dogs are mammals.
q: Mammals typically have fur.
r: Cats don’t have fur.
s: Dogs are loyal animals.
t: Dogs have fur.
similar-to\simt: Dogs don’t have fur.
Context: Once upon a time, in a land filled with animals, there were two popular mammalian creatures, cats and dogs. Mammals typically possessed a coat of fur, which kept them warm and protected. However, cats were an exception to this rule, as their bodies lacked fur. Nonetheless, both cats and dogs were beloved by many for their unique traits. Dogs, known for their loyalty, were particularly cherished by humans.

Question: Does this imply that dogs have fur?
DRS p: John and Mary are parents.
q: Parents are usually loving and supportive.
r: Parents are normally responsible.
s: Mary isn’t loving and supportive.
t: John is not responsible.
u: Mary is responsible.
similar-to\simu: Mary isn’t responsible.
v: John is loving and supportive.
similar-to\simv: John isn’t loving and supportive.
Context: John and Mary were expecting their first child, filled with the anticipation and excitement that all parents feel. Parents are usually loving and supportive. Parents are normally responsible. However, something seemed amiss in their relationship. Mary, usually affectionate and caring, seemed distant and uninvolved. On the other hand, John, known for his responsible nature, started neglecting his duties and became unreliable.

Question: Does this imply that Mary is responsible and John is loving and supportive?
DRD p: Jenny and Anna are tall.
q: Tall people usually play basketball.
r: Anna is possibly an exception to this rule.
s: Jenny plays basketball.
similar-to\sims: Jenny doesn’t play basketball.
Context: Jenny and Anna are known for their tall stature, which is often associated with playing basketball. However, Anna might be an exception to this norm.

Question: Does this entail that Jenny plays basketball?
DRO p: Hummingbirds are birds.
q: Birds migrate south for the winter.
r: Hummingbirds do not migrate south for the winter.
s: All other birds than hummingbirds migrate south for the winter.
similar-to\sims: All other birds than hummingbirds don’t migrate south for the winter.
Context: In the bird kingdom, there are many different species that possess unique characteristics. One such species is the hummingbird, known for its ability to hover in mid-air and its vibrant colors. While most birds engage in the annual migration south for the winter, the hummingbird chooses to stay put and brave the cold weather. This decision sets the hummingbird apart from its fellow avian companions, as it relies on its resilience and resourcefulness to survive the harsh conditions.

Question: Does this mean that all other birds than hummingbirds migrate south for the winter?
RE1 p: Cats, dogs, and horses are animals.
q: Animals are usually considered to be intelligent creatures.
r: At least one of the cats or dogs is not considered intelligent.
s: Horses are considered to be intelligent creatures.
similar-to\sims: Horses aren’t considered to be intelligent creatures.
t: Exactly one of the cats or dogs is not considered intelligent.
similar-to\simt: Exactly one of the cats or dogs is considered intelligent.
Context: In a world where animals are often regarded as intelligent creatures, there is a captivating tale that revolves around cats, dogs, and horses. It is commonly believed that most animals possess a level of intellect. However, there is an intriguing twist to this belief as it is known that either cats or dogs are not considered particularly intelligent. As the story unfolds, we delve into the lives of these remarkable creatures, their interactions, and the unique qualities that each of them possesses.

Question: Does this entail that horses are considered to be intelligent creatures and exactly one of the cats or dogs is not considered intelligent?
RE2 p: cats normally meow.
q: At least one species of cat doesn’t meow.
r: Exactly one species of cat doesn’t meow.
similar-to\simr: Exactly one species of cat meows.
Context: In the realm of cat communication, meowing serves as a fundamental aspect of their vocal repertoire. However, intriguingly enough, there exists a distinct species of cat that deviates from this conventional norm. This peculiar feline defies the expectations associated with its kind by refraining from emitting any meows whatsoever.

Question: Does this entail that exactly one species of cat doesn’t meow?
RE3 p: Cars have four wheels.
q: wheels normally have spokes.
r: at least one wheel does not have spokes.
s: Cars have four wheels with spokes.
similar-to\sims: Cars don’t have four wheels with spokes.
Context: In a world where cars were known for having four wheels, it was considered a common fact that wheels typically came equipped with spokes. However, amidst this widespread understanding, there was an exception. At least one wheel defied this norm and stood out from the rest by not having any spokes at all.

Question: Does this imply that cars have four wheels with spokes?
RAP p: John asserts that Sally was in the store.
q: Jane asserts that Sally was not in the store.
r: John’s evidence is more reliable than Jane’s.
similar-to\simr: John’s evidence is less reliable than Jane’s.
s: Sally was in the store.
similar-to\sims: Sally wasn’t in the store.
Context: In the midst of a heated argument, John adamantly claims that Sally was present at the store. However, Jane strongly opposes John’s assertion, insisting that Sally was indeed absent from the store.

Question: If John’s evidence is more reliable than Jane’s, does this mean that Sally was in the store?
Table 14: Illustrative examples of NL logical context and questions created using sentences that are generated in §3.2.1 for NM logic for BQA.
Type Rule Llama-2 Mistral Gemini ChatGPT GPT-4
A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o ) A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ) A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o ) A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ) A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o ) A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ) A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o ) A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ) A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o ) A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s )
PL HS 100.0 25.3 74.3 16.7 83.3 26.9 84.2 27.9 93.8 53.1
DS 66.7 26.9 76.6 66.7 95.2 32.8 87.5 33.3 92.2 93.8
CD 100.0 55.6 97.1 42.2 98.1 73.1 100.0 57.1 100.0 80.0
DD 93.8 79.2 61.1 59.1 94.7 90.0 64.3 83.3 64.3 83.3
BD 76.9 25.4 76.4 37.5 77.8 24.6 82.4 30.4 85.1 76.9
MT 100.0 25.6 89.3 32.7 92.9 28.1 100.0 30.3 91.5 48.5
MI 55.6 51.6 57.9 57.1 66.7 66.7 64.0 73.3 90.5 94.7
CT 84.7 52.6 97.4 45.2 97.4 48.7 85.7 36.8 96.7 90.0
Avg 84.7 42.8 78.8 44.7 88.3 48.9 83.5 46.6 89.2 77.5
FOL EG 90.9 27.5 76.8 36.4 88.9 27.6 77.4 29.6 90.4 53.6
UI 75.0 25.8 79.7 83.3 88.0 31.5 85.7 33.3 92.1 88.2
MP 100.0 69.0 100.0 64.5 95.2 100.0 100.0 100.0 100.0 95.2
HS 100.0 100.0 100.0 83.3 100.0 100.0 100.0 100.0 100.0 100.0
DS 100.0 51.3 97.3 44.2 87.5 65.0 100.0 50.0 92.9 66.7
CD 90.5 94.7 61.9 63.2 81.0 84.2 81.0 84.2 74.1 100.0
DD 80.0 25.3 74.7 0.0 88.0 30.9 78.3 29.4 85.1 76.9
BD 72.7 58.6 77.8 58.1 81.8 94.1 79.2 93.8 90.5 94.7
MT 85.7 69.2 57.7 64.3 82.4 73.9 86.4 94.4 66.7 100.0
Avg 88.3 57.9 80.7 55.2 88.1 67.5 87.5 68.3 88.0 86.2
NM DRI 86.2 70.6 62.5 62.5 80.4 90.9 74.0 90.0 95.2 100.0
DRS 47.4 47.6 77.3 83.3 61.9 70.6 60.7 75.0 90.0 90.0
DRD 100.0 66.7 100.0 62.5 78.6 68.0 63.6 55.2 70.4 92.3
DRO 58.1 14.3 66.7 7.7 62.8 9.1 64.1 14.6 76.5 33.3
RE1 60.9 64.7 58.6 72.7 66.7 85.7 60.6 100.0 87.0 100.0
RE2 0.0 25.0 88.0 30.9 84.8 32.6 77.8 25.8 86.5 46.4
RE3 52.6 52.4 68.0 80.0 82.4 71.4 62.1 81.8 61.5 71.4
RAP 50.0 50.0 65.5 90.9 62.5 100.0 55.6 100.0 87.0 100.0
Avg 56.9 48.9 73.3 61.3 72.5 66.0 64.8 67.8 81.8 79.2
Table 15: Performance of LLMs in few-shot setting in terms of label-wise accuracy on LogicBench(Eval), where A(Yes)𝐴𝑌𝑒𝑠A(Yes)italic_A ( italic_Y italic_e italic_s ) and A(No)𝐴𝑁𝑜A(No)italic_A ( italic_N italic_o ) denote the accuracy for the Yes𝑌𝑒𝑠Yesitalic_Y italic_e italic_s and No𝑁𝑜Noitalic_N italic_o labels, respectively.
LLMs sometimes overlook contextual information

In this case study, we manually examined all reasoning chains for PL and NM generated by GPT-4. The example below illustrates the observed pattern. Specifically, in step 5 of the reasoning chain, the model deviates from the provided context and introduces unrelated information, resulting in an incorrect prediction. Although these patterns are not prevalent, we found that 1%similar-toabsentpercent1\sim 1\%∼ 1 % of the total analyzed reasoning chains exhibited this pattern in PL and NM for BQA, and 0.8%similar-toabsentpercent0.8\sim 0.8\%∼ 0.8 % for MCQA.

Rule: Modus Tollens (PL) Context: James had always been forgetful, especially when it came to wearing a sweater. his mother had repeatedly told him, ’If he forgets to wear a sweater, then he will catch a cold.’ throughout the day, he went about his activities, oblivious to the drop** temperature. hours later, he returned home, but James didn’t catch a cold. Question: Does this infer that James didn’t forget to wear a sweater? Gold Answer: Yes Reasoning steps:
1. James is known to be forgetful about wearing a sweater.
2. His mother stated that if he forgets to wear a sweater, he will catch a cold. 3. The temperature dropped, which would increase the likelihood of catching a cold if he were not wearing a sweater. 4. Despite the drop** temperature, James did not catch a cold. 5. The absence of a cold does not necessarily mean that James remembered to wear a sweater, as there could be other reasons why he did not catch a cold (e.g., he may have a strong immune system, spent little time outdoors, or was in a warm environment). 6. Therefore, the fact that James did not catch a cold does not logically infer that he remembered to wear a sweater. Answer: No
PL vs. FOL

To get an indication of this we gave GPT-4 prompt - “Give twenty statements that have ‘if’ and ‘then’ in them”. From the results, we can observe that 13 of the 20 sentences in response to the prompt were FOL kind and only 7 were propositional kind. This shows that LLMs’ comprehend simple FOL sentences, thus, showing high overall accuracy on simpler FOL compared to PL. However, we interestingly observed that, as the depth increases, PL-based examples carrying a specific case/story become easier to understand compared to FOL-based generalized context.

Negations are hard to understand when embedded with logical rules.

Here, Table 16 presents reasoning chains corresponding to PL and FOL supporting the effect of negation on their predictions.

Rule Context/Question Actual/Pred Reasoning Chains
PL(MT) Context: if elijah has a new job, then he will get a raise. however, he would not be receiving the raise he had anticipated.
Question: does this infer that elijah doesn’t have a new job?
Yes/No 1. The context provides a conditional statement: If Elijah has a new job, then he will get a raise.
2. The context also states that Elijah would not be receiving the raise he had anticipated.
3. The second statement does not negate the first; it only states that the raise is not as expected.
4. The lack of the anticipated raise does not necessarily mean Elijah doesn’t have a new job; it could mean that the raise with the new job is different from what he expected.
5. Therefore, the information provided does not allow us to infer that Elijah doesn’t have a new job based solely on the raise situation.
PL(MT) Context: james had always been forgetful, especially when it came to wearing a sweater. his mother had repeatedly told him, ’if he forgets to wear a sweater, then he will catch a cold.’ throughout the day, he went about his activities, oblivious to the drop** temperature. hours later, he returned home, but james didn’t catch a cold.
Question: does this infer that james didn’t forget to wear a sweater?
Yes/No 1. The mother’s rule establishes a conditional relationship: If James forgets to wear a sweater (condition), then he will catch a cold (result).
2. It is stated that James did not catch a cold upon returning home.
3. According to the mother’s rule, if the result (catching a cold) did not occur, we cannot conclusively determine whether the condition (forgetting to wear a sweater) happened or not.
4. The absence of the result (catching a cold) does not necessarily mean the condition (forgetting to wear a sweater) did not occur, as there could be other factors at play that prevented James from catching a cold.
5. Therefore, from the information given, we cannot infer with certainty that James remembered to wear a sweater.
FOL(DD) Context: if an individual operates a vehicle with caution, they will prevent any accidents from occurring. however, if they decide to accelerate and exceed the speed limit, they will be issued a fine. there is a certainty that at least one of the following statements is true: either john will not be able to avoid an accident or he will not face a penalty. it is unclear which of these statements is accurate, as it could be only one of them, or it is possible that both of them hold true.
Question: can we say at least one of the following must always be true? (a) john doesn’t drive carefully and (b) he doesn’t speed up
Yes/No 1. According to the context, if an individual operates a vehicle with caution, they will prevent any accidents from occurring.
2. Also, if they decide to accelerate and exceed the speed limit, they will be issued a fine.
3. It is stated that there is a certainty that at least one of the following statements is true: either John will not be able to avoid an accident or he will not face a penalty.
4. It is unclear which of these statements is accurate, as it could be only one of them, or it is possible that both of them hold true.
5. The question asks if we can say at least one of the following must always be true: (a) John doesn’t drive carefully and (b) he doesn’t speed up.
6. Based on the given information, we cannot say that at least one of the statements (a) and (b) must always be true.
FOL(DD) Context: if someone is taking care of thier health, then they will be fit. however, indulging in unhealthy habits can make individuals susceptible to various diseases. the truth is, we can be certain about at least one of the following possibilities: either jenny won’t be fit and healthy, or she won’t be prone to diseases. it is important to note that we are unaware of which statement is accurate. it could be the case that only the first statement is true, only the second statement is true, or both statements hold validity.
Question: can we say at least one of the following must always be true? (a) jenny takes care of her health and (b) she doesn’t indulge in unhealthy habits
No/Yes 1. According to the context, if someone takes care of their health, they will be fit.
2. Indulging in unhealthy habits can make individuals susceptible to various diseases.
3. The context states that we can be certain about at least one of the following possibilities: either Jenny won’t be fit and healthy or she won’t be prone to diseases.
4. It is important to note that we are unaware of which statement is accurate.
5. The possibilities are:
a) Jenny takes care of her health and is fit.
b) Jenny doesn’t indulge in unhealthy habits and is not prone to diseases.
c) Both statements hold validity.
6. Therefore, at least one of the following must always be true: (a) Jenny takes care of her health and (b) she doesn’t indulge in unhealthy habits.
Table 16: Case study of reasoning chains for PL(MT) generated from ChatGPT, and FOL(DD) generated from GPT-4.
Performance of BQA vs. MCQA

By analyzing the reasoning chains of CT and DD for PL, we observe that LLMs often employ the elimination method in MCQA. They prioritize options to select the most appropriate conclusion, thereby improving performance. Conversely, for NM, the models typically struggle to differentiate between two options and tend to hallucinate by assuming information, resulting in lower performance. We present reasoning chains corresponding to PL and NM supporting their behavior on both BQA and MCQA tasks at https://github.com/Mihir3009/LogicBench.

Results on Yi-34B
Logic Rule BQA MCQA
Type A(No) A(Yes) Acc.
PL HS 98.810.01subscript98.810.0198.81_{0.01}98.81 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 92.130.02subscript92.130.0292.13_{0.02}92.13 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 96.670.03subscript96.670.0396.67_{0.03}96.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
DS 63.610.06subscript63.610.0663.61_{0.06}63.61 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 87.250.07subscript87.250.0787.25_{0.07}87.25 start_POSTSUBSCRIPT 0.07 end_POSTSUBSCRIPT 90.000.05subscript90.000.0590.00_{0.05}90.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT
CD 88.880.02subscript88.880.0288.88_{0.02}88.88 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 41.040.05subscript41.040.0541.04_{0.05}41.04 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 86.670.03subscript86.670.0386.67_{0.03}86.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
DD 73.690.01subscript73.690.0173.69_{0.01}73.69 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 19.530.01subscript19.530.0119.53_{0.01}19.53 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 63.330.08subscript63.330.0863.33_{0.08}63.33 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT
BD 83.620.03subscript83.620.0383.62_{0.03}83.62 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 43.380.04subscript43.380.0443.38_{0.04}43.38 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 65.000.05subscript65.000.0565.00_{0.05}65.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT
MT 46.880.03subscript46.880.0346.88_{0.03}46.88 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 31.550.05subscript31.550.0531.55_{0.05}31.55 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 58.330.06subscript58.330.0658.33_{0.06}58.33 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT
MI 84.490.01subscript84.490.0184.49_{0.01}84.49 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 31.570.01subscript31.570.0131.57_{0.01}31.57 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 71.670.06subscript71.670.0671.67_{0.06}71.67 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT
CT 95.480.04subscript95.480.0495.48_{0.04}95.48 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 59.150.01subscript59.150.0159.15_{0.01}59.15 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 70.000.13subscript70.000.1370.00_{0.13}70.00 start_POSTSUBSCRIPT 0.13 end_POSTSUBSCRIPT
Avg 79.430.03subscript79.430.0379.43_{0.03}79.43 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 50.70.03subscript50.70.0350.7_{0.03}50.7 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 75.210.06subscript75.210.0675.21_{0.06}75.21 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT
FOL EG  100.00.0subscript100.00.0100.0_{0.0}100.0 start_POSTSUBSCRIPT 0.0 end_POSTSUBSCRIPT 98.330.03subscript98.330.0398.33_{0.03}98.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 88.330.03subscript88.330.0388.33_{0.03}88.33 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
UI 90.320.00subscript90.320.0090.32_{0.00}90.32 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 94.640.00subscript94.640.0094.64_{0.00}94.64 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 88.330.08subscript88.330.0888.33_{0.08}88.33 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT
MP 84.870.02subscript84.870.0284.87_{0.02}84.87 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT  100.00.0subscript100.00.0100.0_{0.0}100.0 start_POSTSUBSCRIPT 0.0 end_POSTSUBSCRIPT 93.330.08subscript93.330.0893.33_{0.08}93.33 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT
HS 96.670.02subscript96.670.0296.67_{0.02}96.67 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 94.520.00subscript94.520.0094.52_{0.00}94.52 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 76.670.03subscript76.670.0376.67_{0.03}76.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
DS 77.420.03subscript77.420.0377.42_{0.03}77.42 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 90.280.09subscript90.280.0990.28_{0.09}90.28 start_POSTSUBSCRIPT 0.09 end_POSTSUBSCRIPT 55.000.05subscript55.000.0555.00_{0.05}55.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT
CD 90.410.01subscript90.410.0190.41_{0.01}90.41 start_POSTSUBSCRIPT 0.01 end_POSTSUBSCRIPT 40.390.02subscript40.390.0240.39_{0.02}40.39 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 81.670.08subscript81.670.0881.67_{0.08}81.67 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT
DD 72.770.02subscript72.770.0272.77_{0.02}72.77 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 22.200.03subscript22.200.0322.20_{0.03}22.20 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 50.000.20subscript50.000.2050.00_{0.20}50.00 start_POSTSUBSCRIPT 0.20 end_POSTSUBSCRIPT
BD 79.600.03subscript79.600.0379.60_{0.03}79.60 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 30.050.06subscript30.050.0630.05_{0.06}30.05 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 60.000.05subscript60.000.0560.00_{0.05}60.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT
MT 50.950.02subscript50.950.0250.95_{0.02}50.95 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 56.110.21subscript56.110.2156.11_{0.21}56.11 start_POSTSUBSCRIPT 0.21 end_POSTSUBSCRIPT 68.330.19subscript68.330.1968.33_{0.19}68.33 start_POSTSUBSCRIPT 0.19 end_POSTSUBSCRIPT
Avg 82.560.02subscript82.560.0282.56_{0.02}82.56 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 69.610.05subscript69.610.0569.61_{0.05}69.61 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 73.520.09subscript73.520.0973.52_{0.09}73.52 start_POSTSUBSCRIPT 0.09 end_POSTSUBSCRIPT
NM DRI 86.100.08subscript86.100.0886.10_{0.08}86.10 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT 98.250.03subscript98.250.0398.25_{0.03}98.25 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 60.000.09subscript60.000.0960.00_{0.09}60.00 start_POSTSUBSCRIPT 0.09 end_POSTSUBSCRIPT
DRS 73.790.00subscript73.790.0073.79_{0.00}73.79 start_POSTSUBSCRIPT 0.00 end_POSTSUBSCRIPT 10.370.10subscript10.370.1010.37_{0.10}10.37 start_POSTSUBSCRIPT 0.10 end_POSTSUBSCRIPT 30.000.05subscript30.000.0530.00_{0.05}30.00 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT
DRD 85.760.05subscript85.760.0585.76_{0.05}85.76 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT  100.00.0subscript100.00.0100.0_{0.0}100.0 start_POSTSUBSCRIPT 0.0 end_POSTSUBSCRIPT 55.000.09subscript55.000.0955.00_{0.09}55.00 start_POSTSUBSCRIPT 0.09 end_POSTSUBSCRIPT
DRO 70.370.04subscript70.370.0470.37_{0.04}70.37 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT  100.00.0subscript100.00.0100.0_{0.0}100.0 start_POSTSUBSCRIPT 0.0 end_POSTSUBSCRIPT 33.330.06subscript33.330.0633.33_{0.06}33.33 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT
REI 83.800.03subscript83.800.0383.80_{0.03}83.80 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 44.310.09subscript44.310.0944.31_{0.09}44.31 start_POSTSUBSCRIPT 0.09 end_POSTSUBSCRIPT 73.330.08subscript73.330.0873.33_{0.08}73.33 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT
REII 63.270.02subscript63.270.0263.27_{0.02}63.27 start_POSTSUBSCRIPT 0.02 end_POSTSUBSCRIPT 76.030.06subscript76.030.0676.03_{0.06}76.03 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 63.330.08subscript63.330.0863.33_{0.08}63.33 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT
REIII 63.890.03subscript63.890.0363.89_{0.03}63.89 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 88.330.13subscript88.330.1388.33_{0.13}88.33 start_POSTSUBSCRIPT 0.13 end_POSTSUBSCRIPT 56.670.03subscript56.670.0356.67_{0.03}56.67 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT
RAP 68.150.06subscript68.150.0668.15_{0.06}68.15 start_POSTSUBSCRIPT 0.06 end_POSTSUBSCRIPT 87.120.03subscript87.120.0387.12_{0.03}87.12 start_POSTSUBSCRIPT 0.03 end_POSTSUBSCRIPT 38.330.08subscript38.330.0838.33_{0.08}38.33 start_POSTSUBSCRIPT 0.08 end_POSTSUBSCRIPT
Avg 74.390.04subscript74.390.0474.39_{0.04}74.39 start_POSTSUBSCRIPT 0.04 end_POSTSUBSCRIPT 75.550.05subscript75.550.0575.55_{0.05}75.55 start_POSTSUBSCRIPT 0.05 end_POSTSUBSCRIPT 51.250.07subscript51.250.0751.25_{0.07}51.25 start_POSTSUBSCRIPT 0.07 end_POSTSUBSCRIPT
Table 17: Evaluation of Yi-34B in terms of accuracy on LogicBench(Eval)BQA and LogicBench(Eval)MCQA.

Table 17 provides results for both BQA and MCQA tasks on LogicBench.