Elamur Research

A Systematic Analysis of Large Language Models as Soft Reasoners: The Case of Syllogistic Inferences

Paper · 2024 · Leonardo Bertolazzi, Albert Gatt and Raffaella Bernardi

Summary

A conclusion can be true in the world and still fail to follow from the premises of an argument. It can also follow from premises that describe an implausible world. Bertolazzi and colleagues use this distinction to study deductive reasoning in Pythia and LLaMA. Their test uses syllogisms, short arguments built from statements about categories. The authors vary whether a valid conclusion agrees with everyday knowledge, whether the premises license any of the listed conclusions, and how many premises must be combined. They compare asking a system to reason through the problem, giving it solved examples in the prompt, and training it directly on the task.

The authors give each system a shuffled list of conclusions and ask it to generate an answer. A response earns credit if it contains any correct conclusion, so the paper also examines the other conclusions the system produces. This makes a difference. With no worked examples, some LLaMA variants exceed the published human accuracy on valid syllogisms, but all tested variants fall below the human benchmark on syllogisms that warrant the answer “Nothing follows.” Many also have more difficulty when the correct conclusion conflicts with world knowledge. For LLaMA-3 8B under zero-shot chain-of-thought prompting, a simple heuristic based on words such as all, some, and no predicts much of what it gets right and wrong.

Giving solved examples in the prompt, a procedure called in-context learning, generally helps with valid inferences, particularly when the examples share the test item’s logical structure. It leaves the difficulty with invalid syllogisms largely intact and increases the frequency of contradictory answers. Supervised fine-tuning on syllogisms built with invented words produces higher accuracy on both valid and invalid items. On the believable test set, fine-tuned LLaMA-3 8B reaches 96.25% overall task accuracy and gives contradictory answers at a reported rate of 0.31%. Fine-tuned Pythia-1.4B also scores highly on task accuracy, yet gives contradictory answers at a rate of 73.91%, frequently combining “Nothing follows” with another option.

Fine-tuning also yields the highest absolute accuracy on the longer tests with invented vocabulary, although its advantage is smaller on the longer chains. The experiments distinguish several abilities that a single accuracy score can hide, including finding an answer that follows, declining to infer one, and keeping the answers in a response compatible. They leave open whether the stronger fine-tuned system learned general inference rules that would transfer to richer language.

Deep dive: A Systematic Analysis of Large Language Models as Soft Reasoners: The Case of Syllogistic Inferences

Bertolazzi and colleagues test whether language systems judge syllogisms by logical form, and how prompting and fine-tuning change their answers. · about 35 minutes to read

The problem and its context

Why a true answer can fail the test

Consider the relation between chickadees and birds. Ordinary knowledge tells us that chickadees are birds. Suppose an argument gives us only the premises that chickadees are winged animals and that birds are winged animals. Taken as universal statements, these premises place both categories inside a larger category. They leave open how the categories inside it are related. The fact about chickadees may be easy to supply from memory, but the argument gives insufficient grounds for asserting it. This is the kind of mistake the paper is designed to detect.

Syllogisms make the distinction testable because the researcher can write down their logical structure before choosing any vocabulary. The same pattern can describe familiar categories, categories whose relationship we would ordinarily reject, or categories with invented names. Changing the vocabulary leaves the pattern of quantification and category links intact. If an answer changes when those formal ingredients stay fixed, the wording has affected how the reasoner handled the inference. The paper calls a preference for conclusions that agree with world knowledge a content effect.

The test also gives the authors a way to distinguish a difficult inference from a question whose premises leave the answer undetermined. In the first case, an answer is available if the reasoner finds the right relation. In the second, proposing a relation is itself the error. A system can be proficient at seeing a link when one is warranted and still rarely recognize when the premises leave the link open. These abilities can be measured separately because the task explicitly includes the option that no listed relation follows.

That separation matters even on simple arguments. If both premises concern what belongs to a broad category, they may tell us little about whether the narrower categories overlap. If the premises instead link a narrow category to a broader one and that broader category to another, they can establish a relation between the endpoints. Universal affirmative wording can appear in both arguments. A reasoner that treats such wording as a cue to give another universal affirmative statement may do well on the second argument and poorly on the first. Studying the particular conclusions people or systems give exposes that distinction.

From textual inference to generated conclusions

The paper situates the work in the history of natural language inference, where systems judge whether a relationship such as entailment holds between pieces of text. Earlier evaluation included the PASCAL Recognizing Textual Entailment Challenge. The authors describe a later period in which researchers commonly fine-tuned encoder systems such as BERT, RoBERTa, and XLNet to classify inference examples. The training resources they mention include the Stanford Natural Language Inference corpus and the Multi-Genre Natural Language Inference corpus.

That literature addresses multiple kinds of inference. The distinction pertinent here is between judgments grounded in the meaning or subject matter of the sentences and judgments licensed by their form. The syllogism experiments ask about the latter. A familiar relationship can still help a system understand the language in a premise, but it supplies no additional premise for the formal judgment. The contrast is especially visible when a test item is deliberately written to put familiar facts and formal validity in conflict.

Earlier work on transformers as soft reasoners showed that a transformer could be trained to perform reasoning tasks expressed in ordinary language. The term soft reasoner captures the empirical question that follows. A system can learn to return useful conclusions from sentences. To find out how reliably it respects an inference, researchers have to examine its behavior when familiar cues diverge from the correct answer or when the input moves outside the range used in training.

The shift toward general-purpose text generators changed the experimental setup. Instead of training a classifier for every task, researchers could ask a generator to solve a problem and express its answer in words. Work on chain-of-thought prompting supplied a way to ask for an intermediate explanation before a final answer. Zero-shot reasoning applied that idea without putting worked examples in the prompt. The approach gives the system room to connect premises in text. Whether that opportunity helps, and what kind of shortcut might survive it, are questions for the syllogism comparison.

Why look at human errors and longer proofs?

The paper draws on psychological studies in which people are more willing to accept an argument when its conclusion is believable. People also find some syllogistic forms much harder than others and can have trouble deciding that a pair of premises licenses no conclusion. Khemlani and Johnson-Laird’s review supplies a reference for how people perform on individual forms. It also discusses heuristics that can predict characteristic choices. A heuristic can serve as a probe for a system’s outputs even if it falls short as a full explanation of human reasoning.

Earlier language-system experiments studied parts of this problem separately. Work on human-like content effects asked systems to classify syllogistic inferences and looked at the influence of believable content. Eisape and colleagues used a choice among possible conclusions to study PaLM 2 and compared its behavior with human responses. The distinction between classifying a proposed conclusion and generating one from a list matters here. A classification test can show whether a specific proposition is endorsed. A generation test can reveal which alternatives a system favors and whether it gives incompatible answers together.

Research on chain-of-thought reasoning behavior and deduction on out-of-distribution examples raised a further question about inference length. A system may learn enough from examples to handle a rule that was absent from its prompt while still having trouble chaining rules into a longer proof. Bertolazzi and colleagues incorporate that distinction by creating arguments that retain the original answer but require a longer link between categories.

These threads motivate the paper’s comparison of methods that act at different points. A request for a written reasoning chain changes the way the system is prompted to approach an item. Worked examples add evidence about the task within that prompt. Fine-tuning changes parameters using labeled syllogisms. The paper examines how each approach behaves when the test calls for resisting a plausible answer, withholding a conclusion, or combining additional premises.

The method, step by step

Write the argument before choosing the words

A standard item starts with two premises about categories. The premises share a middle term, and the answer concerns the relationship between the remaining terms. The authors call the pattern of an argument a schema. It records what kind of statement each premise makes and where the shared term occurs. The categories themselves can then be filled in without changing the schema. That gives the authors control over the formal problem before they introduce any world knowledge.

Each categorical statement has a mood, determined by its quantity and polarity. Quantity distinguishes a statement about every member of a category from one that says something about at least some members. Polarity distinguishes affirmation from negation. The paper uses the conventional letters A, E, I, and O. An A statement puts all members of its subject category in the predicate category. An E statement says the categories have no members in common. An I statement asserts that they share some members. An O statement asserts that some members of the subject category lie outside the predicate category.

Aab

Here A denotes a universal affirmative. The letters a and b stand for categories, with a in subject position and b in predicate position. The expression states that every member of a belongs to b. Reversing the letters would put a different category in subject position and, in general, make a different claim. That direction is one reason the authors keep the position of each category in the notation.

The placement of the middle term defines the figure. If the middle term appears as the predicate in the first premise and the subject in the next, the categorical relation can run in a chain. If it appears as the predicate in both, the premises can instead describe how both endpoints relate to a common category without settling how they relate to each other. The paper distinguishes figures 1–4. A schema name gives the premise moods in their displayed order, then the figure. Across 64 schemas, the authors count 27 as valid and 37 as invalid.

Those counts depend on the interpretation adopted from the human reasoning literature. Every category named by a term is assumed to be nonempty, and conclusions may relate the endpoints in either direction. The nonempty assumption matters when moving from a universal claim to an existential one. If every member of a category is included in another category, and the first category has members, then some members belong to both. The permitted direction matters because the test considers statements with either endpoint as subject. An invalid schema, in the paper’s use of the term, leaves every categorical option about the endpoints unjustified under these conventions.

Aab, Abc ⟹ Aac, Iac, Ica

This is the paper’s AA1 example written in its categorical notation. The letters a and c denote the endpoints, and b denotes the shared middle category. A marks universal affirmation and I marks existential affirmation. The arrow indicates what the premises to its left jointly license, and the commas distinguish the statements on each side. The inclusion of a in b and of b in c establishes the inclusion of a in c. The assumed existence of members of a also establishes overlap, which can be expressed with either endpoint as subject. The paper realizes this schema with Siamese cats, cats, and felines.

Turn a schema into a choice among generated answers

The input consists of the premises and a set of nine answer options. Each of the four moods appears with a as subject and c as predicate, and again in the reverse direction. The remaining option is “Nothing follows,” meaning that none of the categorical alternatives is warranted. The option order is shuffled, so the correct response has to be identified independently of a stable position in the list. Valid items can have from 1 to 4 correct options.

The format combines multiple choice with text generation. The alternatives are visible, yet the system produces its answer as text and can give more than one conclusion. The headline scoring rule treats an item as solved if any generated conclusion is correct. The researchers retain the other conclusions for separate analyses. For instance, a system that includes the correct answer for an invalid argument alongside an unjustified categorical claim earns accuracy credit. The same answer is counted as contradictory in the consistency analysis.

This format makes the negative answer a fair test of choice among visible alternatives. A system does not have to invent a phrase for uncertainty or discover that abstention is permitted. It can choose the no-conclusion option presented in the same list as the categorical statements. If it still tends to assert a relationship, that pattern can be studied through the relations it selects.

From syllogistic schemas to scored responses

The steps in order.

From syllogistic schemas to scored responsesStep 1: Choose premise moods and middle-term positions1. Choose premise moods and middle-term positionsStep 2: Substitute familiar categories or invented words2. Substitute familiar categories or invented wordsStep 3: Shuffle the list of candidate conclusions3. Shuffle the list of candidate conclusionsStep 4: Apply the prompting or training condition4. Apply the prompting or training conditionStep 5: Generate a response from the candidate list5. Generate a response from the candidate listStep 6: Score correct choices and inspect other conclusions6. Score correct choices and inspect other conclusions

Build examples that vary content and length

For the training and demonstration material, the authors use a vocabulary of 4k pseudo-words. An invented noun takes the place of a category term while the logical wording and placement stay fixed. In a training item, the system therefore has access to quantifiers, negation, and the recurrence of the middle term, but the invented categories have no taxonomic facts supplied by the task. New words across instances also help separate recognition of the schema from recognition of a particular training sentence.

The authors reserve a different vocabulary of 1k pseudo-words for the development set. It contains one item for each schema, for a total of 64 data points. They use it to choose a fine-tuning checkpoint. Its categories are new to training, while the schemas are the same ones seen during training. Development accuracy is therefore a measure of transfer to new instances of familiar formal patterns.

For the believable and unbelievable tests, the authors start from 10 manually assembled triples of familiar terms. A triple runs from a narrow category to broader categories. The same 30 terms supply both sets, with the authors moving categories to different positions and, where necessary, borrowing a category from another triple. This allows them to change whether the conclusion agrees with actual category relationships while preserving the quantifiers and layout specified by the schema.

The treatment of negative statements shows why the terms cannot simply be inserted in the same order every time. A narrow and a broad category from the same taxonomic line will ordinarily overlap. Placing them into a valid schema that concludes the categories are disjoint would make the conclusion unbelievable. The paper’s EA3 example becomes believable when the endpoints are dogs and cats and the middle category is felines. The premises say that dogs are outside the feline category and that cats are inside it. They license the separation of dogs and cats. The construction uses the quantifier pattern to determine where familiar categories can go.

The believable set covers all 64 schemas and contains 640 items. The unbelievable set contains 270 items drawn from the 27 valid schemas. In that set, the formally licensed categorical conclusions conflict with world knowledge. For invalid schemas there is no corresponding valid categorical conclusion whose believability could be reversed, so the content comparison uses valid schemas on both sides. The believable set also permits a separate comparison of valid and invalid items.

To vary the length of an argument, the authors take a universal affirmative premise and replace it with a chain of universal affirmative statements. A reasoner can recover the original premise by following the chain of category inclusions. It can then use that relationship together with the unchanged premise to derive the original conclusion. The inserted categories create more links to combine while preserving the original question about the endpoints.

Aac₁, Ac₁c₂, …, Acₙ₋₁cₙ, Acₙb ⟹ Aab

In this chain, A continues to mark universal affirmation, a and b are the endpoints of the premise being replaced, and the indexed c terms are auxiliary categories. The index n denotes the final auxiliary term, and the ellipsis indicates repetitions of the same inclusion pattern between successive auxiliaries. The arrow indicates that inclusion across the entire chain entails the original inclusion of a in b. The appendix illustrates the construction with replacement chains of 2 and 3 universal affirmative statements, yielding whole arguments with 3 and 4 premises.

The length comparison uses the 28 original schemas that have at least one A premise. Each length set contains 280 items, with 10 realizations per schema. The corresponding short set uses the same restriction on schemas. All the length sets use pseudo-words, from vocabulary absent from training and development. The choice keeps the longer task focused on combining category relations without introducing factual conflicts about the new intermediate categories.

Give the system different kinds of help

In the zero-shot chain-of-thought baseline, abbreviated ZS-CoT, the system receives task instructions but no solved examples. The prompt first asks it to work through the argument in text. The researchers then append a request for the final selection after the generated reasoning. This procedure distinguishes the text the system generates while working through a question from the text treated as its answer. Because no example is present, the response depends on the task description, the item, and whatever the system brings from its earlier training.

The in-context conditions preserve the parameters and change which solved tasks appear in the prompt. In the condition called ICL in, the demonstrations have the same schema as the current test item, but their category terms are pseudo-words. A system can potentially transfer a pattern quite directly from the solved examples to the new terms. In ICL out, the demonstrations are drawn from schemas other than the test item’s. They show what the task and answers look like while requiring transfer across logical patterns.

k = 5

Here k denotes the number of solved demonstrations in a prompt, and the equality gives its fixed value in both in-context settings. Keeping the count constant allows the comparison to focus on the relationship between the demonstration schemas and the test schema. The paper motivates the comparison with earlier work on diverse demonstrations and compositional generalization. The contrast also helps distinguish the value of seeing a nearly matching example from the value of seeing a broader sample of the task.

Supervised fine-tuning presents examples as sequences containing the premises, the shuffled options, and the correct conclusions. The system is trained to predict the next token with cross-entropy loss, which penalizes assigning low probability to the token supplied by the training sequence. Each epoch, or pass through that epoch’s training examples, presents one instance of every schema. The pseudo-words change across epochs. The same formal patterns therefore recur under different lexical realizations. At test time the answer portion is omitted and the system completes the sequence.

The authors fine-tune for 100 epochs and evaluate after each epoch on the held-out development vocabulary. They select the checkpoint with the highest development accuracy. To make parameter adaptation more economical, they use LoRA on the attention query and key matrices. The reported rank comparison uses 8, 16, and 32, and the experiments use rank 32. The LoRA scaling parameter α is 16, dropout is 0.05, and no bias parameter is used. The optimizer is AdamW with a learning rate of 5e-4. The batch size is 2, with 32 gradient accumulation steps.

The baseline survey covers pretrained Pythia systems and members of the LLaMA family, along with instruction-tuned variants where included in the comparison. Instruction tuning is the earlier adaptation already present in those variants. For the in-context and supervised comparisons, the authors start with Pythia-1.4B and LLaMA-3 8B without that instruction tuning. This keeps the task-specific interventions distinct from the comparison between existing pretrained and instruction-tuned versions.

Decode answers and compare them with the key

The authors use greedy decoding, choosing the highest-scoring next token at each generation step. The final answer has a budget of 20 tokens, which the paper says can fit 2 or 3 conclusions depending on the category names. For the reasoning stage of zero-shot prompting, the reported budgets are 50 tokens for pretrained systems and 70 tokens for instruction-tuned systems. The paper uses 70 tokens when eliciting reasoning on the longer arguments. In-context prompts end with a cue to supply the selected options directly. The fine-tuned systems complete the sequence without an added instruction prompt.

The resulting text supports several measurements. Any-correct task accuracy tells whether the answer contains a licensed option. A first-answer analysis keeps the first generated conclusion and checks that choice by itself. A contradiction analysis looks for specified kinds of incompatible combinations. The heuristic analysis compares the conclusions actually emitted with the ones predicted by simple rules. These measurements differ in their unit of analysis. Task accuracy scores a whole item, while heuristic overlap can concern individual conclusions within the answer.

The paper makes the experiment code and data available together in the soft-syllogistic-reasoners repository.

Experiments and results

Zero-shot performance depends on which items count

The baseline compares zero-shot chain-of-thought performance on the believable set, splitting it into valid and invalid schemas. The paper places these scores alongside the human accuracy reported in the psychological review, 44.63% on valid inferences and 40.97% on invalid inferences. The comparison asks both how often the systems solve an item and whether the two kinds of item present the same relative difficulty for people and for the systems tested.

On valid believable syllogisms, the pretrained Pythia-1.4B reaches 31.11% task accuracy. The pretrained LLaMA-2 7B and LLaMA-2 13B each reach 53.70%. Among LLaMA-3 variants, pretrained LLaMA-3 8B reaches 70.74% and its instruction-tuned counterpart reaches 78.15%. Those results put several variants above the cited human accuracy on valid forms. They also show why a result for a single family or size would give an incomplete account of the baseline.

On invalid believable syllogisms, the same pretrained LLaMA-3 8B scores 0.83%, and pretrained Pythia-1.4B scores 1.94%. Instruction-tuned LLaMA-3 8B reaches 30.28%. The highest invalid score in the zero-shot comparison is 32.50%, from instruction-tuned LLaMA-3 70B, below the human reference of 40.97%. These scores are for choosing the no-conclusion option when the listed categorical answers are all invalid. They show that success in deriving valid categorical relations can coexist with a strong tendency to assert one where the information is insufficient.

Zero-shot chain-of-thought accuracy on invalid believable syllogisms

Instruction-tuned variants are more likely to identify cases with no valid conclusion.

Zero-shot chain-of-thought accuracy on invalid believable syllogismsPythia-1.4B: 1.94Pythia-1.4B1.94Pythia-1.4B instruction-tuned: 15.28Pythia-1.4B instruction-tuned15.28LLaMA-3 8B: 0.83LLaMA-3 8B0.83LLaMA-3 8B instruction-tuned: 30.28LLaMA-3 8B instruction-tuned30.28LLaMA-3 70B: 10.28LLaMA-3 70B10.28LLaMA-3 70B instruction-tuned (this paper): 32.50LLaMA-3 70B instruction-tuned (thispaper)32.50
The numbers
System or settingaccuracy %
Pythia-1.4B1.94
Pythia-1.4B instruction-tuned15.28
LLaMA-3 8B0.83
LLaMA-3 8B instruction-tuned30.28
LLaMA-3 70B10.28
LLaMA-3 70B instruction-tuned (this paper)32.50

Instruction tuning improves the invalid score in each paired comparison reported in the baseline. Its association with valid accuracy depends on the pair. Pythia-1.4B goes from 31.11% on valid believable items to 19.26% for the instruction-tuned variant. The pretrained LLaMA-3 70B scores 58.89% on those items, and the instruction-tuned version scores 54.44%. The LLaMA-3 8B pair moves in the other direction, from 70.74% to 78.15%. Reading the split scores retains this exception to the broader pattern of improvement on invalid items accompanied by losses on valid ones.

The believable-to-unbelievable comparison keeps the focus on valid schemas. Pretrained LLaMA-2 7B scores 53.70% on the valid believable items and 47.78% on valid unbelievable items. For pretrained LLaMA-3 8B, the corresponding task accuracies are 70.74% and 52.59%. Instruction-tuned LLaMA-3 70B is an exception to that direction of change, with 54.44% on valid believable items and 57.41% on valid unbelievable items. The paper tests content-related differences using Pearson’s chi-squared statistic with Yates’ continuity correction at a significance level of 0.05. It identifies some drops for which the test does not establish statistical significance.

The results also separate average accuracy from the ranking of syllogistic forms by difficulty. The authors calculate accuracy per schema on the valid believable items, then compare the ordering with human performance using Spearman’s rank correlation. A positive correlation means that schemas people tend to find relatively easy also tend to be relatively easy for the system. Pretrained LLaMA-3 70B, for example, scores 58.89% on valid believable items, above the human reference of 44.63%, yet has a correlation of 0.80 with the human schema scores. Its instruction-tuned variant has a reported correlation of 0.87. The average score and the correlation address different questions about similarity to people.

Matched demonstrations help valid answers more than invalid ones

The next comparison uses Pythia-1.4B and LLaMA-3 8B with no prior instruction tuning. The paper reports learning-condition means over three runs with changes in seeds and in the training material or demonstrations, as appropriate. Parenthesized values in its results are standard deviations. The split by validity remains important because the beneficial effect of a demonstration can be obscured or exaggerated by pooling items that ask for different kinds of answers.

On valid believable items, Pythia’s zero-shot task accuracy is 31.11%. It rises to 37.41% with different-schema examples and 43.07% with same-schema examples. LLaMA’s same-schema result of 77.16% also exceeds its zero-shot result of 70.74%. Its different-schema result, 67.53%, is lower than that baseline. A solved item is therefore especially useful on this test when its logical pattern matches the question. The table supports a more qualified claim about demonstrations drawn from other schemas.

Recognition of invalidity remains weak. On invalid believable items, LLaMA scores 0.83% in the zero-shot baseline, 1.85% with different-schema demonstrations, and 1.39% with same-schema demonstrations. Pythia reaches 7.13% in the same-schema setting, compared with 1.94% without examples. When the current item is invalid, the matched demonstrations can already exemplify the right use of the no-conclusion option. The limited gains make it difficult to explain the failures simply as uncertainty about when that option is allowed.

Fine-tuning changes the results for both subsets. On invalid believable syllogisms, it gives Pythia 93.98% task accuracy and LLaMA 97.13%. On valid believable items, it gives Pythia 91.48% and LLaMA 94.94%. The overall believable-set scores are 92.97% for Pythia and 96.25% for LLaMA, with reported standard deviations of 4.51 and 2.48, respectively. These are rates of producing at least one correct option on an item. The consistency analysis shows how differently the two systems arrive at high scores under that criterion.

LLaMA-3 8B accuracy by learning condition on invalid believable syllogisms

Supervised fine-tuning yields the highest rate of choosing the no-conclusion option.

LLaMA-3 8B accuracy by learning condition on invalid believable syllogismsZero-shot chain-of-thought: 0.83Zero-shot chain-of-thought0.83Different-schema demonstrations: 1.85Different-schema demonstrations1.85Same-schema demonstrations: 1.39Same-schema demonstrations1.39Supervised fine-tuning (this paper): 97.13Supervised fine-tuning (this paper)97.13
The numbers
System or settingaccuracy %
Zero-shot chain-of-thought0.83
Different-schema demonstrations1.85
Same-schema demonstrations1.39
Supervised fine-tuning (this paper)97.13

The valid items also show how fine-tuning changes sensitivity to the plausibility manipulation. With same-schema examples, Pythia scores 43.07% on valid believable items and 36.91% on valid unbelievable items. After fine-tuning it scores 91.48% and 90.74%, respectively. LLaMA with same-schema examples scores 77.16% on valid believable items and 73.09% on valid unbelievable items. After fine-tuning it scores 94.94% and 99.38%, respectively. On this measure the usual believable advantage is much smaller for fine-tuned Pythia and reverses for fine-tuned LLaMA. The authors also check the plausibility of the actual options generated, because comparable accuracy across the two sets could still conceal a preference among the wrong answers.

Longer chains remain harder after fine-tuning

The length comparison uses the restricted collection of schemas containing a universal affirmative premise and invented words at every length. Its short-set scores therefore measure a different collection of items from the believable-set scores. On these short items, zero-shot Pythia scores 18.21% and zero-shot LLaMA 44.64%. On the 3-premise set, the scores are 11.07% and 39.64%, respectively. On the 4-premise set they are 7.86% and 31.79%. For both systems, the zero-shot results decline as the number of premises increases.

The in-context results give two views of robustness. Same-schema demonstrations yield the higher absolute accuracy at each length for both systems. With these demonstrations, Pythia scores 30.71% on the 2-premise set, 29.88% on the 3-premise set, and 25.48% on the 4-premise set. LLaMA scores 53.69%, 46.90%, and 49.52% on the corresponding sets. The different-schema condition gives weaker accuracy but retains more of its short-set score by the longest test. For instance, LLaMA scores 39.29% on the short set and 37.98% on the longest set in that condition. The paper describes the broader demonstrations as more robust in this sense. That description concerns performance relative to the condition’s own short-set baseline.

Fine-tuning gives Pythia 83.33% on the 2-premise set, 67.14% on the 3-premise set, and 53.57% on the 4-premise set. Fine-tuned LLaMA reaches 99.05%, 94.17%, and 85.36% across those sets. Both fine-tuned systems outperform their in-context versions on the longer arguments. They also show a clearer loss of accuracy as premises are added. The larger decline and the higher final accuracy describe different properties of the same result. Supervised training produces a strong starting point, while increasing the required composition still makes the test harder.

LLaMA-3 8B accuracy by learning condition on the 4-premise pseudo-word set

Fine-tuning retains the highest absolute accuracy on the longest tested syllogisms.

LLaMA-3 8B accuracy by learning condition on the 4-premise pseudo-word setZero-shot chain-of-thought: 31.79Zero-shot chain-of-thought31.79Different-schema demonstrations: 37.98Different-schema demonstrations37.98Same-schema demonstrations: 49.52Same-schema demonstrations49.52Supervised fine-tuning (this paper): 85.36Supervised fine-tuning (this paper)85.36
The numbers
System or settingaccuracy %
Zero-shot chain-of-thought31.79
Different-schema demonstrations37.98
Same-schema demonstrations49.52
Supervised fine-tuning (this paper)85.36

This design helps interpret the loss with length. The expanded premise can be reduced to the same category relation as before, and the intended endpoint conclusions are preserved. The added difficulty thus arises within a controlled family of longer inputs. The experiment measures success on those inputs without requiring the answer to show the intermediate reduction. Its score establishes that a correct option was produced, while the generated result alone gives limited evidence about how the system got there.

What the ablations show

The paper offers controlled comparisons and detailed analyses of generated answers, while leaving a dedicated ablation of the fine-tuning design for future work. Its strongest comparisons change the demonstration schemas, the plausibility of conclusions, or the length of a premise chain. The output analyses then ask whether the gains in task accuracy coincide with more coherent answers, fuller coverage of equivalent conclusions, or less reliance on simple cues.

A correct option can appear in a contradictory answer

The authors inspect answers on the believable set for several kinds of inconsistency. An assertion that all members of one category belong to another conflicts with an assertion that some members of the former lie outside the latter. Similarly, an assertion that no members overlap conflicts with an assertion that some do. The authors also count combinations of “Nothing follows” with any categorical answer as contradictory. They denote this last kind of combination by NVC+, with NVC standing for no valid conclusion and the plus sign indicating that another answer accompanies it.

With zero-shot prompting, Pythia-1.4B gives contradictory answers at a rate of 18.91%. The rate is 28.12% with different-schema demonstrations and 28.28% with same-schema demonstrations. The corresponding LLaMA-3 8B rates are 1.09%, 1.72%, and 3.12%. Giving examples thus increases contradictions for both systems. The same-schema setting is especially revealing because it can improve valid-item accuracy while also increasing the frequency of answers that include incompatible choices.

Fine-tuning separates the two systems more sharply. LLaMA’s contradiction rate falls to 0.31% on the believable set, and the reported NVC+ rate is 0.00%. Pythia’s overall contradiction rate rises to 73.91%, with a reported NVC+ rate of 70.47%. Pythia has become much likelier to emit the answer necessary for invalid items. It frequently gives that answer together with a categorical option, making its improvement in accuracy easier to understand. The any-correct metric registers the presence of a correct option even when other parts of the response undermine it.

The first-answer results in the appendix provide another view. On the believable set, fine-tuned Pythia has a first-answer accuracy of 78.59% overall and 62.59% on valid items. Fine-tuned LLaMA has a first-answer accuracy of 91.88% overall and 81.11% on valid items. These values come from the selected best run for each condition, whereas the main learning-condition results report averages. The figures show sensitivity to the rule for extracting an answer. They are measured under different run-selection protocols, so a direct subtraction from the main score would combine the effect of answer position with the effect of run selection.

A coherent answer can still omit an equivalent statement

The paper’s completeness analysis concerns pairs of statements with symmetric meanings. If some members of category a belong to c, some members of c belong to a. Similarly, if no members of a belong to c, then no members of c belong to a. Since the option list expresses both directions separately, the authors check whether the system produces both when its response includes one. This measures a specific omission among generated answers, with separate results for existential affirmative and universal negative statements.

For LLaMA-3 8B on the believable set, the reported overall incompleteness rate is 96.93% in the zero-shot setting, 72.93% with different-schema examples, and 76.24% with same-schema examples. It falls to 43.14% with fine-tuning. Thus LLaMA can offer more of the relevant conclusions under in-context learning even as its contradiction rate rises. The two diagnostics capture different changes in what appears in the answer.

Pythia shows a different pattern. Its incompleteness rate on that measure is 83.46% in the zero-shot setting, 83.52% with different-schema examples, and 81.20% with same-schema examples. After fine-tuning it reaches 90.46%. The appendix relates this result to the consistency findings. For Pythia, the condition with the strongest headline accuracy also produces more contradictory responses and leaves more converse statements unstated on the completeness measure. For LLaMA, fine-tuning improves both the consistency and the converse coverage reported for the believable set.

The distinction is useful when reading a particular answer. Listing a valid existential relation in only one direction can still be logically coherent. Listing that relation together with a claim that the groups are disjoint is a different error. The availability of both kinds of measurement supports more precise descriptions of how a system changes after training than a single tally of correct options could provide.

Measure the pull of a believable wrong answer

The accuracy comparison asks whether a valid conclusion is harder to produce when its content is implausible. The supplementary analysis asks what the system says instead. It counts choices that cross between the two plausibility classes and compares the direction of those mistakes. A greater tendency to generate a believable option when the correct one is unbelievable is the predicted behavioral signature of a content preference.

B | U > U | B

Here B refers to believable and U to unbelievable. The vertical bar separates the type of option generated, on the left, from the plausibility of the ground-truth conclusion, on the right. The greater-than sign gives the comparison the authors use as evidence of bias towards believable options. The expressions concern the reported frequencies of these mistakes.

The authors use instruction-tuned LLaMA-3 8B to label the plausibility of generated options and compare its labels with manual judgments on 441 conclusions. They report 93.42% agreement measured as accuracy against the human judgments. The labels allow the analysis to distinguish an error that follows the pull of world knowledge from one that happens to be implausible as well as formally wrong.

In the zero-shot condition, the believable-option rate when the correct conclusion is unbelievable is 52.45% for Pythia, compared with 35.31% in the reverse direction. For LLaMA the corresponding rates are 22.10% and 11.66%. After fine-tuning, Pythia’s paired rates are 21.39% and 19.81%. The corresponding fine-tuned LLaMA rates are 4.28% and 1.06%. These numbers support a substantial reduction in believable errors when the correct choice is unbelievable. The direction of the asymmetry remains visible in the reported rates, even as the main accuracy comparison shows a much smaller or reversed believable advantage. The size of the directional gap and the overall frequency of plausibility-crossing errors are informative alongside the headline split.

Quantifier cues explain a recognizable subset of answers

The Atmosphere heuristic takes the moods of the premises and predicts a conclusion mood. It considers quantity and polarity separately. A universal premise has positive quantity, an existential premise has negative quantity, an affirmative premise has positive polarity, and a negative premise has negative polarity. In each dimension, the heuristic preserves a sign if the premises agree and chooses the negative sign if they differ. It then predicts the conclusion in both orders of the endpoint terms.

(+, −) & (−, −) ⟹ (−, −)

Each parenthesized pair records quantity first and polarity second. The plus sign means universal in the first position and affirmative in the second. The minus sign means existential in the first position and negative in the second. The ampersand combines the feature pairs of the premises. The arrow points to the heuristic’s predicted feature pair. In this example the premise moods are E and O, and the predicted mood is O. The heuristic proposes existential negative conclusions in both directions, regardless of the figure.

This rule is simple enough to make distinctive mistakes. It predicts universal affirmative options in both directions for any pair of A premises, whether the inclusions actually form a chain or merely lead into a common category. It also always proposes a categorical conclusion. When the question warrants “Nothing follows,” the heuristic can predict wrong answers of a particular kind but cannot predict the correct response.

For comparison, the authors measure how much of the answer key the heuristic covers. Atmosphere predicts 62.50% of the ground-truth conclusions for valid schemas and 0.00% for invalid ones. Yet it matches 92.31% of the correct valid conclusions generated by zero-shot LLaMA-3 8B, along with 62.79% of its mistakes on valid schemas and 82.97% of its mistakes on invalid schemas. The high agreement on wrong answers is important. Correct answers alone could overlap with the heuristic because it sometimes describes a legitimate inference. The invalid-item errors show that many responses also align with it when the mood cue points away from the answer key.

The overlap changes after adaptation. For fine-tuned LLaMA-3 8B, Atmosphere predicts 65.12% of its correct conclusions on valid schemas, 12.50% of its mistakes on valid schemas, and 0.00% of its mistakes on invalid schemas. Fine-tuned Pythia has a higher overlap on its residual invalid-schema mistakes, at 96.77%. These percentages are conditional on the kind of conclusion being examined. A high match among mistakes therefore describes the composition of the remaining errors, independently of how often a system makes them.

The appendix also tests Matching, Illicit Conversion, and Probability Heuristics. Matching favors the mood of the premise treated as more conservative. Illicit Conversion concerns treating a directional statement as though it held in the reverse direction. Probability Heuristics bases predicted conclusions on a probabilistic account of the relationship between the endpoints. In the reported comparison with the answer key, Conversion covers 86.11% of the correct answers for invalid schemas, while the other heuristics in that comparison cover 0.00%. That makes conversion a different kind of diagnostic, capable of accounting for some no-conclusion responses.

On valid schemas, the Conversion heuristic predicts 58.33% of the mistakes by fine-tuned LLaMA and 50.70% of those by fine-tuned Pythia. Its coverage of other output types is weaker for those conditions. The authors accordingly treat the overlap as a clue requiring further analysis. The behavioral evidence for Atmosphere is strongest for zero-shot LLaMA-3 8B because it spans correct valid conclusions and errors on both types of schema. Even there, the evidence is a fit to the visible answers.

Limitations

Limits identified by the authors

The authors limit the comparison to Pythia and LLaMA. The zero-shot survey includes larger members of the LLaMA family, but the in-context and supervised fine-tuning experiments use Pythia-1.4B and LLaMA-3 8B. Computational resources prevented extending those interventions to LLaMA-3 70B. The strong contrast between the fine-tuned Pythia and LLaMA systems makes this limitation consequential. The evidence cannot establish whether the observed differences come from parameter count, pretraining data, other differences between the families, or a combination of these factors.

The authors also distinguish behavioral agreement with a heuristic from a causal explanation. The Atmosphere comparison asks whether generated answers coincide with what a rule predicts. Several procedures could yield the same choices on a controlled set of items. The paper leaves open which internal processes produce the observed responses. The authors likewise allow that the strongest fine-tuned results could come from a more elaborate form of pattern matching. Lower accuracy on extended arguments motivates that concern without identifying the particular form of any shortcut.

Fine-tuning uses pseudo-words as a way to remove familiar lexical relationships. The authors propose comparing that choice with other ways of disrupting lexical content, including random real words, and explicitly call for ablations. The experiment establishes the effect of a package that includes syllogism supervision, repeated exposure to schemas, and invented training vocabulary. It supports the usefulness of that package. It leaves the independent contribution of the invented vocabulary open.

The authors further note that the main evaluation gives credit for any correct option. Their supplementary completeness analysis checks the production of converse statements for symmetric relations. They leave unmeasured the stricter criterion of emitting every valid conclusion and excluding every invalid one. That distinction is particularly relevant given their answer budget and the frequency of contradictory responses. A response can meet the main criterion while containing an error, omitting a valid option, or doing both.

Finally, the authors leave transfer to everyday reasoning for future work. The experiments use controlled categorical statements and known answer choices. Even the real-word examples are arranged around the distinctions of a syllogistic schema. Near-ceiling performance within that setup leaves open whether the same training helps when a reasoner must first interpret more varied language, find the relevant premises, and decide which formal relations are appropriate.

Limits that follow from the design

The content test is a focused intervention on category plausibility. It reuses 30 familiar terms and changes their placement or combinations to fit the schema and intended plausibility. That is enough to create cases where the correct inference and familiar taxonomy diverge. It also means that the measured response concerns this kind of world knowledge and this way of realizing it. The design leaves other sorts of background knowledge, ambiguity, and pragmatic interpretation outside the experiment.

Because training covers all 64 schema types, the short held-out tests examine transfer to new vocabulary and new instances of known patterns. A system that has learned a reliable mapping from each known pattern to its answer can score well. The longer test raises the demands by adding links, but it does so through expansion of universal affirmative premises in the 28 eligible schemas. It gives evidence about composition along those inclusion chains. The results cannot establish comparable performance when different kinds of intermediate inference must be combined.

The multiple-choice input also provides important information about the form of the answer. It identifies the endpoint terms, enumerates the permissible moods and directions, and explicitly names the possibility of having no conclusion. A system can use that structure when generating text. The task therefore measures selection or production with a defined candidate set. A task that supplied only the premises would additionally test whether the system could decide which terms to relate and how to express the result without seeing the alternatives.

Consistency and completeness are affected by the response format as well. The 20-token budget can let a system express several conclusions, while the number it can fit depends on the wording. A missing converse may reflect a preference to give one representative of a symmetric relation, a generation-order effect, or a failure to recognize the converse. An explicit contradiction is more direct evidence about the content of the emitted response, although its measured frequency still depends on how many options the system tends to generate. The possibility of multiple answers makes both diagnostics observable under the same setup.

The human comparison is a comparison with previously collected schema-level results. Its most specific contribution is to show similarities or differences in the ranking of formal patterns. The published human average supplies context for the task accuracy numbers, but human performance and generated text are measured through different procedures. A high rank correlation supports a claim about relative difficulty across the schemas studied. A common cognitive mechanism would require additional evidence.

The learning conditions likewise differ in the way information reaches the system. Same-schema prompting supplies solved instances at the moment of testing. Fine-tuning makes repeated changes using supervision across the full schema inventory. The comparison answers which of these complete strategies worked better for the tested systems under the paper’s conditions. It does not isolate equal amounts of training information delivered in different forms. This matters especially when interpreting the weak invalid-item performance of in-context learning. The result concerns the prompt design examined, even though seeing matched demonstrations makes the failure striking.

What came after

The later work takes up a distinction the syllogism experiments made measurable. A system can respond to what its sentences say about familiar categories, or it can respond to the relationships that follow from their formal structure. SemEval-2026 Task 11 makes that separation the subject of a shared evaluation. The task gives follow-up efforts a common problem to address. Where Bertolazzi and colleagues compare learning strategies and trace their characteristic errors, the shared task explicitly organizes work around disentangling content from formal inference.

Several entries address that problem by changing the representation on which a decision is based. ITLC at SemEval-2026 Task 11 uses normalization and deterministic parsing for formal reasoning. Normalization is pertinent because the same relation can be expressed in different surface forms. Deterministic parsing places the emphasis on recovering a predictable structure from those expressions. In the terms of the original experiment, the approach focuses on exposing the counterparts of mood, term order, and category links before an answer is selected.

AICOE-Tredence at SemEval-2026 Task 11 approaches content bias through symbolic separation of logic and language. Its connection to the earlier work is especially direct. Bertolazzi and colleagues use pseudo-words to discourage reliance on familiar lexical categories during training. Symbolic separation attacks the same dependency at the level of the representation used to reason. The representation can make the formal role of a term explicit even when the sentence retains a familiar noun.

Lakksh at SemEval-2026 Task 11 takes a neuro-symbolic decomposition approach to mitigating content bias. Its focus on decomposition connects to an issue exposed by the longer syllogisms. Reading the sentences, identifying their formal relations, and combining those relations need not be treated as one undifferentiated prediction. YNU-NLP at SemEval-2026 Task 11 also takes a neuro-symbolic approach and incorporates a Reflexion mechanism. It brings a reconsideration step into a line of work where answer generation can otherwise leave a correct conclusion next to an incompatible one.

Other entries concentrate on cases where formal and content cues conflict. ModusPonens at SemEval-2026 Task 11 uses conflict-aware ensembling to address the plausibility trap. The relevance of the conflict is apparent in the original believable and unbelievable sets. When world knowledge and formal inference agree, a correct answer may have either source. Cases that set them against each other give an ensemble a specific disagreement to handle and make a plausible wrong conclusion informative about the decision process.

HABIB_TAZ at SemEval-2026 Task 11 uses synthetic training and multi-objective optimization to separate logic from content. This continues the original paper’s use of deliberately constructed training material while making the training objective another point of intervention. The original results illustrate why that choice matters. A system can substantially improve its chances of emitting a correct option while giving less coherent answers, so the behavior promoted by training and the behavior rewarded at evaluation both deserve explicit attention.

HCMUSDroneBoys at SemEval-2026 Task 11 approaches the problem through asymmetric counterfactual debiasing and rank-sensitive adaptation for logical invariance. The link to the earlier study is the controlled change of content while the formal relation is held fixed. Logical invariance asks whether judgments remain appropriately stable across such changes. A rank-sensitive approach also puts emphasis on how possible answers are ordered, a related concern when the first option generated and the presence of a correct option anywhere in the response yield different scores.

The multilingual follow-ups extend the question of what ought to survive a change of wording. YNU-HPCC at SemEval-2026 Task 11 addresses content effects in English and multilingual syllogistic tasks. Can Activation Steering Generalize Across Languages? studies whether steering internal activations for syllogistic reasoning can generalize across languages. The latter shifts the intervention from prompt examples or supervised outputs to internal activations. Its cross-language question adds another dimension of transfer to the lexical and length changes studied by Bertolazzi and colleagues.

Thinking in Schemas centers the formal schema itself in the study of robust syllogistic reasoning. That focus returns to the unit that made the original comparisons possible. A schema specifies what must be preserved when category names change and what must be composed when an argument adds links. It also keeps open the empirical distinction at the heart of the earlier results. A system can learn which conclusions accompany familiar schemas, while reliable inference under new compositions remains a further question.

Cite

Cite as Leonardo Bertolazzi, Albert Gatt and Raffaella Bernardi. 2024. A Systematic Analysis of Large Language Models as Soft Reasoners: The Case of Syllogistic Inferences. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.emnlp-main.769

@inproceedings{bertolazzi2024systematic,
  title = {{A Systematic Analysis of Large Language Models as Soft Reasoners: The Case of Syllogistic Inferences}},
  author = {Leonardo Bertolazzi, Albert Gatt and Raffaella Bernardi},
  booktitle = {Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.769},
  url = {https://doi.org/10.18653/v1/2024.emnlp-main.769}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bertolazzi-2024-systematic-analysis-large-language-models/