Elamur Research

Critical Thinking for Language Models

Paper · 2021 · Gregor Betz, Christian Voigt and Kyle Richardson

Summary

A system that can continue a sentence fluently can still draw a conclusion that its premises give it no reason to accept. Betz, Voigt, and Richardson ask whether practice with elementary deduction can improve that behavior and whether the improvement carries over to problems unlike those used for practice. They take their cue from critical thinking instruction, where students work through examples of sound arguments before tackling more complicated ones. Their experiment applies that idea to GPT-2, an autoregressive language model.

The authors construct a corpus of invented arguments whose conclusions follow from premises stated in the text. They begin with eight elementary argument forms and build 71 schemes through variations involving negation, compound properties, and De Morgan’s laws. They turn those formal schemes into paragraphs using different sentence patterns, names, and topics. GPT-2 continues its ordinary next-token training on these paragraphs mixed with general text. The resulting systems, called CRiPT, learn from complete arguments. At test time, they must supply a missing ending to the conclusion.

Training on the full collection brings conclusion-completion accuracy to 100% in the paper’s account of the in-domain results and 70%-90% on tests that change both the topics and the sentence patterns. Training on a narrower selection also improves completion for forms omitted from training. In the out-of-domain test, the systems trained on the core or base collections average 69.4% accuracy on unseen schemes when the missing ending is a predicate. The corresponding average is 45.8% when the system must also supply any final negation. The untuned GPT-2 baseline averages 21.4% and 10.7%, respectively, across schemes.

The authors also test transfer without updating GPT-2 on the target tasks. They highlight a 15 percentage point gain on the GLUE diagnostic benchmark, with gains varying by system size. On SNLI, the largest gain is 8 percentage points, and the largest tested GPT-2 version loses accuracy after the extra training. The authors find no gain on Argument Reasoning Comprehension or LogiQA. The results make a case for teaching a narrow deductive skill through examples in prose. The uneven transfer, particularly on unfamiliar negation patterns and on tasks that require more than a valid deduction, helps define the scope of that skill.

Deep dive: Critical Thinking for Language Models

Critical Thinking for Language Models tests whether GPT-2 learns to draw new inferences after training on synthetic examples of valid arguments. · about 34 minutes to read

The problem and its context

Why give a text predictor lessons in deduction?

The paper starts from a difference between being able to produce plausible text and being able to tell what follows from what. In a deductively valid argument, accepting the premises commits a reasoner to the conclusion. That commitment depends on the relation between the statements. Consider an argument about family relationships that takes a general rule and a statement about a named person as premises. A reader can assess the inference while remaining entirely ignorant of the family. The premises supply the information needed for the deduction. Their truth in the world is a separate question.

This distinction matters for a system trained to predict text. Ordinary prose contains cases in which a conclusion follows from the preceding claims, alongside cases in which a writer leaves a premise unstated, makes an unwarranted leap, or draws an incorrect inference. The authors use this mixture to motivate deliberate control over the examples used for training. They draw on earlier work about human reasoning errors, the quality of public argument, and biases or annotation artifacts reproduced by text systems. Those observations suggest a hypothesis about the material from which the system learns. The paper tests a consequence of that hypothesis by introducing verified examples of good deduction. Language (Technology) is Power

The analogy is with teaching critical thinking through practice. As the authors describe it, introductory instruction treats deductive inference as a basic skill that supports harder tasks. A student needs opportunities to apply a form of argument to varied subject matter and to recognize it even when speakers express the premises differently. The experiment takes that premise seriously enough to recreate the structure of a set of exercises. A small collection of elementary forms supplies the starting material. More elaborate forms and new ways of expressing them make it possible to test how far the practice carries. This is the paper’s organizing idea about reasoning.

It also matters that the authors carry out the training as text prediction. A completed argument already contains a demonstration of the relation they want GPT-2 to learn. A paragraph establishes premises, marks the move to a conclusion, and states the conclusion itself. The authors can therefore change the kinds of text GPT-2 encounters while retaining its usual training objective. The question is whether attending to the regularities in that text gives the system a skill that is available when it later faces a different argument.

Natural language inference provides one place to look for that skill. An entailment question asks whether one statement follows from another. A contradiction question asks whether the statements are incompatible, and an independence judgment allows the second statement to remain open. These relations make it possible to test a trained system on more than fluent continuation. They also reveal a difference between the exercise and the target task. Every synthetic training argument demonstrates a conclusion supported by its premises. A benchmark can ask the system to identify a case where the proposed conclusion lacks that support or conflicts with the premise.

What earlier reasoning tasks tested

The paper situates its approach alongside work that treats reasoning as classification. A system might receive a passage and a candidate claim, then predict a class that describes their relationship. The authors discuss Schick and Schütze’s use of deliberately structured examples with masked prediction and a classification head. Their own choice makes formal structure important earlier in the process. It determines how an argument is generated. The system then receives the resulting paragraph as ordinary prose, with no classification head teaching it which relation the paragraph instantiates.

Another line of work asks whether a system can apply a rule to facts stated in text. In the simplest version, a rule provides a route from a known property to a new property for a particular individual. This is close to the paper’s generalized modus ponens task. Betz and colleagues also want conclusions whose wording reflects a more elaborate logical structure. A deduction may establish something about everyone with a property or establish that someone with a combination of properties exists. A system must then handle the scope of a claim as well as the identity of the property that completes it.

The authors describe RuleTaker as a system for inferences that can require several steps. Multiple stated rules may be relevant, and the result of applying one of them can enable a later application. They describe PRover as extending that approach with proof generation, so the system provides a derivation as well as an answer. The CRiPT experiment puts a different demand on the output. Its training documents contain whole arguments, but its main synthetic test asks for the end of a conclusion. A correct ending supplies evidence about which conclusion the system favored. A generated proof would provide a different kind of evidence about how it reached that conclusion.

The paper also discusses reasoning tasks where the reader must supply a premise from background knowledge. The authors call such arguments enthymemes. For example, a text might name a family relationship and expect the reader to know which other relationships follow when it is combined with a second fact. CLUTRR presents this kind of problem through kinship graphs. The family rules are implicit in its inference tasks. As the paper recounts, work by Gontier and colleagues uses that setting to investigate both conclusions and proof chains.

The other examples underline how much can vary under the heading of reasoning in language. COMET extends commonsense knowledge graphs by producing plausible relations or completions. Argument Reasoning Comprehension asks the reader to choose the missing assumption that makes an informal argument work. The paper also describes experiments by Kassner and colleagues in which a system trained on synthetic knowledge-graph text recovers facts implicit in it. In CRiPT’s artificial corpus, by design, a reader can start with the stated premises. This makes the validity of the inference a property of the exercise itself and gives the authors control over which changes the evaluation introduces.

The paper places LogiQA at the broader end of this spectrum. Its questions come from a civil service examination that assesses critical thinking and problem solving. A curated exercise in syllogistic deduction covers only a portion of what such an assessment demands. The authors therefore have two reasons to include broader benchmarks. Success there would show transfer beyond the corpus generator, and weak performance could help locate the point at which deductive practice stops addressing what the task requires.

The method, step by step

Start with an argument whose conclusion follows

The corpus starts with an argument scheme, a reusable pattern with places for properties and sometimes for a named individual. A property can be something as simple as being a particular person’s cousin. In a formal scheme it is represented by a predicate, an expression that can be true or false of an individual. Substituting one property for another throughout the scheme leaves the logical pattern intact. The same holds when a new name occupies the place of the individual, provided that every occurrence referring to that individual changes together.

The paper uses first-order logic to write these schemes. It can express claims about particular individuals and general claims that range over a domain of individuals. One of the basic sentence forms in the corpus is a universal conditional.

∀x (Fx → Gx)

The symbol ∀ means “for every,” and x ranges over the individuals in the domain. F and G stand for properties, so Fx says that x has property F, and Gx says that x has property G. The arrow → makes the first statement a sufficient condition for the second. The parentheses show the conditional to which the universal quantifier applies. In prose, anyone to whom the first property applies must also have the second property.

In generalized modus ponens, the universal conditional is paired with a premise that assigns the first property to an individual. The conclusion assigns the second property to that same individual. The argument in the dinosaur domain illustrates the pattern. A premise makes being a predator of Iguanodon sufficient for being prey of Stegosaurus. Another identifies Parasaurolophus as a predator of Iguanodon. The conclusion puts Parasaurolophus among the prey of Stegosaurus. All the information used in that inference is in the argument. The task of completing the ending makes it possible to ask whether GPT-2 supplies the property established by the premises.

Generalized contraposition and hypothetical syllogism 1 join generalized modus ponens in the core collection. Contraposition reverses the direction between the properties while negating them. If having the first property guarantees the second, lacking the second precludes having the first. Hypothetical syllogism 1 chains universal conditionals. If possessing a property guarantees an intermediate property, and possessing the intermediate property guarantees a final one, the argument can connect the first property to the final one. The intermediate property can be absent from the conclusion even though it is what allows the premises to support it.

Among the rules in the broader set are generalized dilemma, disjunctive syllogism, generalized modus tollens, and hypothetical syllogisms 2 and 3. These forms let an argument vary in what the premises say and what kind of statement the inference establishes. In an instance of generalized modus tollens, a premise denies that a named individual has the property guaranteed by a rule. The conclusion denies that the individual has the property that would have triggered the rule. In a dilemma, separate premises can guarantee the same property through different cases. Once another premise establishes that the cases cover the individuals in question, the common consequence applies to those individuals.

Vary the logic before varying the wording

The authors devise eight base schemes and create families of variants. A negation variant substitutes a negated expression into the original form or makes use of the equivalence between a statement and its double negation. Replacing a property throughout a scheme with the absence of another property changes the sentences the reader encounters. The transformation has to preserve the validity of the resulting inference. In particular, a negative word in a conclusion can reflect its logical role in a chain of premises, rather than simply echoing a negative word elsewhere in the paragraph.

A complex-predicate variant replaces a simple property with a conjunction or disjunction of properties. A conjunction holds when all its parts hold. A disjunction of the kind used here permits either component to hold and allows both to hold together. For example, a substitution can make the role occupied by a single property in the base scheme depend on whether either of two different properties applies. This gives the generator a way to increase the complexity of a claim while preserving the structure of the inference in which that claim occurs.

The De Morgan variants take some of these compound expressions and restate them using the relationship between negation, conjunction, and disjunction. The paper illustrates the idea with this version of modus ponens.

∀x (¬(Fx ∨ Gx) → Hx), ¬Fa, ¬Ga ⇒ Ha

Here ∀ says the rule holds for every x, and x is an individual in the domain. F, G, and H are properties. The expressions Fx, Gx, and Hx say that x has the corresponding property. The symbol ¬ denies the expression in its scope, ∨ means inclusive “or,” and → introduces the consequence of satisfying the rule’s condition. The parentheses group expressions and show where the negation and the universal quantifier apply. The name a stands for a particular individual. Fa, Ga, and Ha attribute the respective properties to that individual. Commas separate the premises and ⇒ marks what follows from them. The first premise guarantees H for an individual who has neither F nor G. The remaining premises establish that condition for a, so the argument concludes Ha.

This example also clarifies what it means for a test form to be unfamiliar. The full expression can be absent from training even when its parts, or a way to reason about those parts, occur elsewhere. A system that handles such a case might be applying structure that it has learned from simpler forms. The final answer cannot establish whether the system uses the very same derivation a logician would give, but the corpus can establish that the tested scheme was omitted from the extra training.

The authors create the schemes by hand and check their validity with a theorem prover. They describe creating 2-3 versions for the variations of a base form and report 71 distinct schemes in the resulting inventory. The theorem prover checks the formal schemes before the templates turn them into sentences. Its role is to verify the inference supplied by the exercise, independently of any answer GPT-2 will later predict. The argument paragraph is then built from the verified pattern.

Turn the verified scheme into a training paragraph

From formal argument schemes to CRiPT training

The steps in order.

From formal argument schemes to CRiPT trainingStep 1: Select a verified argument scheme1. Select a verified argument schemeStep 2: Render each statement with a sentence template2. Render each statement with a sentence templateStep 3: Substitute names and properties from a domain3. Substitute names and properties from a domainStep 4: Shuffle the premises4. Shuffle the premisesStep 5: Add framing and a conclusion cue5. Add framing and a conclusion cueStep 6: Mix selected arguments with general prose6. Mix selected arguments with general proseStep 7: Continue GPT-2 next-token training7. Continue GPT-2 next-token training

The generator first samples an argument scheme. It renders each premise and the conclusion separately using a randomly selected natural language template. A universal conditional can appear as a statement about every individual of a kind, as a conditional beginning with “if,” or as a statement that one property is necessary for another. These expressions can all serve the same logical role. Treating them as alternative realizations makes it possible to vary how the rule sounds without changing which conclusion follows.

The generator next fills the sentence patterns with names and predicates from a domain. It makes substitutions across the argument so that a repeated property or individual keeps its identity where the formal scheme requires it. The domains supply names and relations. Fixing one participant in a relation, as in being a cousin of a particular person, makes a property that the text can attribute to someone else. The paper also illustrates domains drawn from football fandom, consumer products, dinosaurs, and philosophers. The recognizable vocabulary makes the argument readable while leaving the generator in control of which properties the premises connect.

The treatment of a football dilemma in the paper shows how these decisions work together. The paragraph associates a group of supporters with alternative allegiances. Separate premises say that either allegiance is enough to establish a further allegiance. The conclusion assigns that common allegiance to the original group. The club names supply the subject matter, but there is no need to know the clubs’ histories or their fans’ actual behavior. A different domain could fill exactly those slots while preserving the argument.

After filling the slots, the generator shuffles the premises. A premise that establishes a rule can occur after a premise that supplies a fact to which the rule applies. The generator then frames the result as a paragraph, choosing an introduction, ways to connect the premises, and an indicator that introduces the inference. The conclusion still follows the premises. This arrangement creates a natural place to stop the paragraph later and ask the text predictor to supply the ending.

The paper refers to the resulting collection as the Artificial Argument Corpus and makes it available with the generation code through the aacorpus project. The generator produces TRAIN for fitting, DEV for development, and TEST_OUT-OF-SAMPLE for final tests using the same default domains and templates. TEST_OUT-OF-DOMAIN uses domains and grammatical templates reserved for testing. These partitions let the authors distinguish a fresh draw from familiar ingredients from a draw that changes the vocabulary domain and the way the sentences are built.

Continue GPT-2 training on the generated prose

The authors start with pretrained GPT-2 versions containing 117M, 345M, and 762M parameters. The full 1542M version lies outside the experiment. They define three training collections by the range of schemes admitted. The paper expresses their relation as follows.

TRAIN01 ⊂ TRAIN02 ⊂ TRAIN03

TRAIN01 admits instances of the core schemes. TRAIN02 admits instances of any base scheme, including the core schemes. TRAIN03 admits instances across the whole corpus, including the variants. The symbol ⊂ indicates that each collection of eligible items is contained within the next broader collection. This is a relation between the pools used to select examples. The authors sample training sets of the same listed sizes from each pool, which lets them change the variety of schemes without requiring the wider collections to contain more training items at a given size.

For each collection the authors sample arguments at sizes of 4.5K, 9K, 18K, and 36K items. They blend them with snippets drawn from Reuters news and the standardized Project Gutenberg Corpus at a 1:1 mixing ratio. The enhanced sets contain 9K, 18K, 36K, or 72K items. The stated aim of mixing in general prose is to limit overfitting to the artificial arguments. The news and book material are part of the input to continued training, not additional reasoning benchmarks.

Training retains the causal language modeling objective. At each position, the system learns to assign probability to the token that actually comes next using the tokens that precede it. Continuing to optimize that objective on the enhanced corpus exposes GPT-2 to the transitions from premise to premise and from premises to conclusion. The labels for a scheme or a partition organize the experiment. GPT-2 is trained on the texts themselves. In the paper’s terminology, this is intermediate pretraining. It takes place after general pretraining and before the system is tested on the target tasks.

The authors train each GPT-2 size on each of the 12 enhanced sets and obtain 36 trained CRiPT variants. They run two epochs on eight GPUs, using a batch size of 2, two gradient accumulation steps, and a learning rate of 5 × 10⁻⁵. The remaining settings follow the defaults of their HuggingFace implementation. The paper identifies the 762M version trained on 72K mixed items as the default for the main article unless it specifies otherwise. It also retains untuned GPT-2 as BASE and trains randomly initialized systems with the same architecture for comparison. The trained CRiPT checkpoints are released through the authors’ HuggingFace collection. This stage is an instance of fine-tuning.

Ask for an ending or compare possible readings

The synthetic evaluation takes advantage of a property of the generated paragraphs. Each conclusion ends with a predicate, sometimes immediately preceded by a negator. The split task gives the system the conclusion up to the last predicate. It tests whether the system produces the correct property with the rest of the conclusion already in place. The extended task cuts the conclusion earlier where necessary so that any preceding negator belongs to the missing continuation. Depending on the argument, producing the right property may therefore be enough for the split task, while the extended task also requires a choice about whether the text should affirm or deny it.

In the inverted task the evaluator checks for the continuation that reverses the expected polarity in the extended task. Producing this specific wrong answer counts toward inverted accuracy. A higher score on split or extended completion is desirable. A lower inverted score is desirable. The inverted score counts a particular error and leaves other failures, such as supplying the wrong property, outside that count. For all the conclusion-generation tests, the authors use nucleus sampling, with top-p = 0.9. This procedure restricts sampling to high-probability next-token candidates using p as the cumulative probability threshold.

The external benchmarks require a class decision instead of a generated ending. For natural language inference, the authors use templates that insert a phrase suggesting entailment, contradiction, or independence. They keep the proposed completion fixed while varying the preceding prompt. For instance, if the premise describes someone eating pizza and the proposed completion describes that person eating food, the prompt that presents the second statement as a consequence is the appropriate one. The evaluator scores how readily GPT-2 predicts the existing completion after each candidate prompt.

i ∈ {1, …, N}

Here i is the index of a candidate class, ∈ means “is a member of,” and the braces enclose the available indices. 1 is the starting index, N is the number of candidate classes, and the ellipsis covers the intervening indices. For an input X, the authors construct prompts from p₁ through pₙ, with the last subscript corresponding to N. The symbol X denotes the benchmark item, and pᵢ denotes the text that frames that item as a case of class i. The symbol c denotes the fixed completion. Pairing pᵢ with c creates the reading associated with that class.

The comparison uses the conditional perplexity of c given pᵢ. Here conditional means that the prompt precedes and conditions prediction of the completion. Perplexity summarizes how unexpected the completion is under those predictions. Lower perplexity favors the class expressed by the corresponding prompt. Because the evaluation uses the benchmark items to form prompts and scores them without further weight updates, the authors describe the setup as zero-shot. The additional training has come from the mixed argument corpus. The target tasks supply the questions and answer labels for measurement.

Experiments and results

Completion on fresh arguments, rewrites, and new domains

The synthetic evaluation uses three kinds of test material. The out-of-sample set draws on the same domains and natural language template inventory as training, using distinct test items. The paraphrased set consists of 100 items randomly drawn from the out-of-sample material. The authors manually reformulate their premises to change the grammatical structure imposed by the generator. The out-of-domain set uses reserved domains and reserved grammatical patterns. The comparisons move from familiar ingredients combined into fresh items to changes in syntax alone through manual rewriting, and to a generator-based test in which both the domain and the available patterns differ from training.

BASE is the pretrained GPT-2 comparison before the argument stage. The versions trained on the core, base, and full scheme collections can be evaluated on each test partition using each completion task. Across all three test partitions, the paper reports increasing split and extended accuracy as training expands to more kinds of schemes. With TRAIN03, the paper describes accuracy as reaching 100% on in-domain tests and falling in a range of 70%-90% out of domain. Those figures describe the high end reached with full coverage and the range observed under the domain and template shift. They do not assign a common exact score to every task within each partition.

The aggregate trend includes a change in the errors the system makes. Training on only the core or base forms increases the frequency of correct endings and also makes the specific inverted ending more frequent than under BASE. With full coverage, the paper reports that the inverted frequency drops to almost zero in the aggregate. The result is easier to understand once the denominator is kept in mind. A system can move from producing a variety of irrelevant endings toward giving a recognizable argument completion, while still getting its polarity wrong in some cases. More correct responses and more responses of a particular wrong type can occur together.

The authors separately group test results according to whether a scheme was present in the system’s argument training. For unseen schemes, the comparison averages over the TRAIN01 and TRAIN02 versions, the collections that leave schemes out. For seen schemes, it averages over the relevant cases from TRAIN01, TRAIN02, and TRAIN03. BASE is a single comparison averaged across schemes. These groups help answer different questions. The seen-scheme results show what happens when the extra training contains the relevant form. The unseen-scheme results ask whether a system can benefit even when that form was missing.

Split completion accuracy on out-of-sample Artificial Argument Corpus items

CRiPT often supplies the correct predicate for unseen schemes, with the highest accuracy on schemes represented in training.

Split completion accuracy on out-of-sample Artificial Argument Corpus itemsBASE across schemes: 21.4BASE across schemes21.4CRiPT on unseen schemes: 85.4CRiPT on unseen schemes85.4CRiPT on seen schemes (this paper): 99.9CRiPT on seen schemes (this paper)99.9
The numbers
System or settingaccuracy %
BASE across schemes21.4
CRiPT on unseen schemes85.4
CRiPT on seen schemes (this paper)99.9

The chart shows why the distinction between a new item and a new scheme matters. An out-of-sample example can contain unfamiliar combinations of names and properties while instantiating a form that CRiPT has practiced. On that test, the seen group scores 99.9% on split completion and also 99.9% on extended completion. For unseen schemes, the split score is 85.4% and the extended score is 60.3%. Performance on unfamiliar forms remains above BASE, while the separation between split and extended answers shows the cost of leaving the final polarity decision to the system.

The manually paraphrased items show a similar pattern. For seen schemes, split and extended accuracy are both 99.2%, with 0.0% inverted accuracy. For unseen schemes, split accuracy is 82.0%, extended accuracy is 59.3%, and inverted accuracy is 18.0%. The corresponding out-of-sample inverted rates are 0.0% on seen schemes and 16.9% on unseen ones. The paraphrase test therefore preserves much of the measured split and extended performance even when the argument’s premises are recast. The unseen cases still expose a marked difficulty with polarity.

The out-of-domain test changes the words available to populate the scheme and the sentence templates used to express it. In the seen-scheme group, split accuracy is 89.0%, extended accuracy is 76.2%, and inverted accuracy is 3.2%. In the unseen-scheme group, split accuracy is 69.4%, extended accuracy is 45.8%, and inverted accuracy is 22.1%. Thus the broadest shift in this evaluation leaves room for successful transfer in the split task and poses a greater problem once the completion must encode the intended polarity.

Extended completion accuracy on out-of-domain Artificial Argument Corpus items

CRiPT retains an advantage on unseen schemes after the domains and templates change, while seen schemes are completed more accurately.

Extended completion accuracy on out-of-domain Artificial Argument Corpus itemsBASE across schemes: 10.7BASE across schemes10.7CRiPT on unseen schemes: 45.8CRiPT on unseen schemes45.8CRiPT on seen schemes (this paper): 76.2CRiPT on seen schemes (this paper)76.2
The numbers
System or settingaccuracy %
BASE across schemes10.7
CRiPT on unseen schemes45.8
CRiPT on seen schemes (this paper)76.2

The inverted comparison makes an aspect of the same out-of-domain results visible that extended accuracy alone would hide. BASE’s scheme-wide inverted accuracy is 1.5%. CRiPT on seen schemes has a higher inverted rate than BASE, alongside much higher extended accuracy. When the scheme is unseen, the inverted ending becomes substantially more common. An interpretation of these values has to keep both tasks in view. A low inverted rate is compatible with failing to give the correct ending in most cases. The metric tracks a specified wrong polarity, and extended accuracy supplies the evidence about how often the system produced the correct ending.

Inverted completion accuracy on out-of-domain Artificial Argument Corpus items

CRiPT is more likely to produce the designated polarity error on unseen schemes than on schemes represented in training.

Inverted completion accuracy on out-of-domain Artificial Argument Corpus itemsBASE across schemes (this paper): 1.5BASE across schemes (this paper)1.5CRiPT on unseen schemes: 22.1CRiPT on unseen schemes22.1CRiPT on seen schemes: 3.2CRiPT on seen schemes3.2
The numbers
System or settingaccuracy %
BASE across schemes (this paper)1.5
CRiPT on unseen schemes22.1
CRiPT on seen schemes3.2

The baseline itself displays substantial variation by form. On the out-of-sample split task, the 762M GPT-2 version reaches 50% on contraposition and 30% on generalized modus ponens. The authors report 20% for disjunctive syllogism and dilemma arguments. These form-specific values come from the paper’s analysis of the untuned system, whereas the BASE figures in the charts are averages over schemes. The comparison starts from an existing capacity to complete some valid arguments. The improvement after intermediate training concerns how reliably that capacity appears across the tests and how far it extends to the other schemes.

Transfer to natural language inference benchmarks

The GLUE diagnostic dataset, also called GLUE AX, supplies a curated test of natural language understanding. Instead of asking for the missing property of a generated conclusion, it asks the system to distinguish relations between statements. The paper measures accuracy using the conditional-perplexity classifier. Each trained version is compared with the corresponding untuned system. This makes the benchmark gain a change relative to its own GPT-2 starting point.

The paper highlights a 15 percentage point improvement for zero-shot accuracy on GLUE AX. Its discussion of the experiments describes improvements ranging from 5 to 17 percentage points as system size varies. The headline figure should be read in that context. The gain varies across configurations. Importantly, the authors see a substantial improvement on GLUE AX even with training limited to the core schemes. The target examples come from a different benchmark, with a class decision made by comparing candidate readings. This is a stronger test of transfer beyond the generation procedure than completing a new paragraph built by the same corpus generator.

The SNLI evaluation follows the same general approach. The authors again compare accuracy with the corresponding BASE version, with no training on the benchmark task. Training across all schemes yields an improvement of up to 8 percentage points. Narrower scheme coverage is somewhat less effective. The paper reports a benefit for its small and medium setups, the 117M and 345M versions, while the 762M version loses accuracy after the intervention. These results make transfer on SNLI conditional on the GPT-2 version rather than uniform across the tested range.

The authors also assess Argument Reasoning Comprehension and LogiQA. They find no accuracy improvement over BASE on these tasks. The former involves selecting an implicit assumption that supports an informal argument. The latter has a broader critical thinking scope. Together with the SNLI decline for the largest tested version, these outcomes qualify the GLUE AX result. A general training objective and a different target task can still yield transfer, but the type of reasoning that the new task requires makes a difference.

What the ablations show

Breadth of training changes which arguments can be completed

The training collections provide a controlled comparison of the range of forms included in the extra training. At a common training size, changing from the core collection to the base collection or the full inventory changes which schemes the sampler can draw. Full coverage exposes GPT-2 to the variants, including forms with explicit negation and compounds. The upward pattern on split and extended completion supports the value of wider coverage when the aim is to complete more of the schemes in the artificial corpus.

That comparison alone combines direct practice with transfer. Adding a scheme gives the trained system examples of the very form it will later encounter, alongside examples of related forms. The seen-versus-unseen analysis is what lets the authors make a separate claim about training on the smaller collections. Their improvement over BASE on withheld schemes means that direct exposure to each of those schemes cannot account for all the improvement. Training has changed behavior on arguments that the extra training stage omitted.

For a reader interested in the contribution of the core schemes, there is a further distinction. The paper’s overall plots show that core training by itself helps argument completion. The exact unseen-scheme averages in the results table pool TRAIN01 with TRAIN02, which has broader base-scheme coverage. Similarly, the seen-scheme averages pool cases across all the trained collections. Treating every pooled unseen value as a score achieved by core-only training would give TRAIN01 credit for a comparison that also includes TRAIN02. The zero-shot GLUE AX result is a separate source of evidence specifically for training on the core collection.

The authors interpret success on new forms as a sign that the learned patterns can be combined or generalized. The argument inventory makes that interpretation plausible because the families share relations among predicates, conditions, and conclusions. Even so, the comparison changes which examples GPT-2 sees, with the formal machinery staying outside the system. It can establish that useful behavior carries across related forms. It cannot identify the particular operations GPT-2 used to produce each good answer.

Negation exposes a failure that predicate completion can miss

The split and extended tests share their underlying arguments. Changing where the completion begins lets the authors investigate what extra work is required when the system has to supply the final negator. In split completion, much of the conclusion form is given. The system can demonstrate that it has identified the right property even if it would otherwise put that property under the wrong polarity. The extended task requires both decisions where negation is relevant. That makes the gap between the two scores an observation about what is lost when more of the ending is withheld.

The inverted task adds a more specific diagnostic. If an extended answer is wrong, it could be because the system chose an unrelated property, produced incoherent text, or supplied the appropriate property with the wrong polarity. An inverted hit isolates the last of these behaviors as defined by the task. The paper reports that CRiPT trained on TRAIN02 generates more inverted than correct completions on negation variants of generalized modus ponens. This result concerns a particular group of unseen schemes, and its direction is more adverse than the overall unseen-scheme averages might suggest.

The sharper result for that family matters because the generator builds the negation variants from familiar structures. Changing the logical role of negation can be enough to disrupt completion even when a closely related base form is covered in training. The comparison also explains the authors’ interest in the decline of inverted responses with TRAIN03. With broader coverage of forms containing such constructions, the system more frequently gets both the property and its polarity right. The analysis supports including these constructions in the curriculum. Because several kinds of variants enter TRAIN03 together, the gain cannot be attributed precisely to the contribution of negation examples alone.

Familiar syntax and general pretraining both matter to the comparison

The paraphrase condition tests a different property of the training data. The logical scheme and original test domain can persist while a person changes the grammatical structure of the premises. The high accuracy on paraphrased arguments of seen forms shows that the trained behavior survives some departures from template wording. Scores on unseen forms also remain relatively close to the out-of-sample values in this condition. That pattern supports transfer across the particular rewrites made for this test.

The out-of-domain condition requires more of the system and yields lower accuracy. It changes the grammatical inventory and the domains together, placing some distance between the text seen during training and the test text. Success there supports the authors’ account that the learned skill can be used when the topic changes. The comparison cannot measure how much of the change in accuracy comes from different vocabulary and how much comes from different grammar. The manually rewritten test isolates one kind of variation more closely, while the out-of-domain test shows their combined effect.

The randomly initialized comparison addresses the importance of the starting point. The authors use systems structurally identical to GPT-2 and train them on the critical thinking material. They report that these systems fail to gain performance through that training. The same architectural design can therefore give different outcomes depending on whether it enters the experiment with the benefits of general pretraining. The authors take this as evidence that broad language learning helps the system use what the arguments demonstrate. The experiment cannot say whether the decisive background resource is familiarity with English grammar, prior experience with reasoning patterns, or some combination of capacities acquired during general training.

Training set size is another dimension of the study. The appendix compares completion accuracy across sizes and also plots perplexity and natural language inference measures. A text quality cost persists even with the news and book snippets included. The paper reports that training on the enhanced corpus raises perplexity on Wiki103 by a factor of 1.5. That is a measurement of how well the trained system predicts ordinary held-out text. It captures a cost on a different distribution from the one where synthetic completion improves. The contrast follows from measuring both kinds of performance, while the paper’s analysis leaves open how much a different mix of general and argumentative prose would change the outcome.

Limitations

Limits the authors identify

The authors treat deduction as one component of critical thinking. Their training corpus focuses on valid syllogistic arguments. Critical thinking also requires judging claims whose truth or relevance is open, making decisions under uncertainty, detecting flawed inferences, and identifying assumptions that a speaker never states. The teaching analogy motivates the choice of a basic skill, and the paper frames its achievement accordingly. A collection of well-formed deductions supplies a starting curriculum instead of a complete education in reasoning.

That limit shows up directly in the objectives of the external tasks. Valid arguments teach which conclusions follow when all the premises are available. Natural language inference also requires recognizing that a proposed conclusion is contradicted or that the premises leave it undetermined. The authors suggest extending the training material with diagnosed fallacies and with groups of claims whose incompatibility can be examined. They also discuss including additional kinds of sound reasoning, such as modal and practical inference and arguments with intermediate conclusions or temporary assumptions. These are proposed extensions to the corpus and its generator.

The paper acknowledges uneven transfer. It relates the weakness on some unseen negative forms to earlier research on difficulty with negation. It also gives two possible readings of the SNLI decline for the 762M version. The corresponding BASE system may have had an unusually strong result on that benchmark, or its general pretraining may already have supplied much of what the argument texts can contribute there. The authors call for more experiments across GPT-2 versions to distinguish the explanations. That uncertainty is specific to the reported size comparison and should be kept alongside the improvements observed for the smaller versions.

The authors also point to the increased Wiki103 perplexity after training on the enhanced corpus. They suggest that a larger share of general text could help preserve ordinary prediction performance. The reported 1:1 mixture was an attempt to limit overfitting, and the perplexity measurement shows that some change in general text prediction remains. The paper further distinguishes what it has done, intermediate training on an already pretrained system, from a proposed curriculum that would start training from scratch with basic reasoning examples. The random-initialization tests demonstrate the difficulty of the attempted setup. They leave that more extensive curriculum proposal open.

Limits apparent from the evaluation

The synthetic tasks score the ending of a conclusion embedded in an existing argument. Even the extended task provides a substantial part of the paragraph, including most of the conclusion. That is a sensible probe for whether GPT-2 can choose the appropriate property and polarity in context. A reader should distinguish that ability from writing down the whole conclusion after reading only the premises, identifying every valid consequence, or explaining why a particular conclusion is valid. Each of those tasks would demand a different output and would give the evaluator different evidence.

The corpus construction makes the correct endings interpretable, while also creating regularities that a predictor can exploit. Variables are instantiated consistently across an argument. The relevant properties appear in the material that surrounds a final blank. Arguments have textual framing and all are generated from a finite inventory of valid schemes. These features may help a system narrow down what kind of ending belongs in a given paragraph. Success on held-out forms and new wording reduces the plausibility of an explanation tied to a single fixed wording. The scoring procedure still leaves room for successful completion through cues other than an explicit derivation.

The unseen schemes are related to the forms used for training. This is a strength for asking whether practice with basic patterns extends to systematic variations. It bounds the meaning of “unseen.” A variant may use a construction that appears in another scheme family or share a sequence of semantic decisions with a familiar example. The evidence concerns transfer within a designed family of arguments. The domain shift is also designed within that system. An invented football argument and an invented family argument can have different vocabularies while still sharing conventions about how premises are presented and how conclusions are introduced.

The paraphrase experiment has a narrower scope still. It changes the premises of 100 items selected from the out-of-sample partition. The reported result reflects those manual rewrites. It gives evidence against complete dependence on the generator’s premise templates, with little basis for claims about all plausible rewrites of an argument, or about reasoning over prose with omitted, redundant, or conflicting premises. The deliberate clarity of the generated arguments makes it possible to understand the completion errors. It also defines the boundary of what those errors can tell us about everyday argumentation.

The strength of the benchmark comparisons depends partly on the way the classification is expressed. Conditional perplexity measures how probable a fixed completion is after a particular prompt. The class score can therefore respond both to the semantic relationship between the statements and to the fit between the connector, the wording of the prompt, and the words of the completion. Before-and-after comparisons using the same procedure give evidence that training changed performance on that procedure. The results cannot show that the gain is independent of prompt wording or that the system has acquired an equally reliable sense of all the class relations.

Finally, the intervention is continued training on a mixture of formal arguments rendered as prose and general text, compared with a system that did not receive that continuation. The comparison across scheme collections gives evidence about the value of changing the available argument forms within that setup. A separate continuation on matching ordinary prose, or on similarly styled arguments with systematically altered validity, could speak more directly to how much of the change comes from valid deduction itself. The reported comparisons establish what the intervention does in the tested conditions. They give less leverage for distinguishing every contributing feature of the training material.

What came after

The later studies that cite CRiPT approach its central question at different points. CRiPT changes what GPT-2 reads during training and asks whether completion improves on unfamiliar forms and tasks. A capability evaluation can instead ask how far performance extends across tasks. A formal analysis can ask which part of an inference succeeds and where a sequence of correct steps breaks down. A reasoning procedure can make the intermediate decisions part of what the system is asked to produce. The connection across these lines of work is the effort to make an observed answer informative about the capabilities required to obtain it.

Beyond the Imitation Game takes up the broad evaluation and extrapolation of language system capabilities. It connects to the part of the CRiPT paper that moves beyond the authors’ own exercise generator. A result on GLUE AX gives a view of ability on a target outside the intermediate training distribution, while the SNLI, Argument Reasoning Comprehension, and LogiQA results show that performance on one assessment may travel poorly to another. A broader capability evaluation makes the reach of measured behavior a subject in its own right. Beyond the Imitation Game

Faith and Fate focuses on the limits of transformer compositionality. In the CRiPT experiment, combining or modifying logical structures is one way to create unfamiliar arguments, and competence on those arguments is evidence about transfer. The compositionality question asks how far competence with parts carries when the parts are arranged into a more complex whole. CRiPT gives a concrete illustration of why both levels matter. The system can often complete an unfamiliar form, yet particular combinations involving negation cause it to favor an incorrect ending. Faith and Fate

Language Models Are Greedy Reasoners brings systematic formal analysis to chain-of-thought reasoning. Its focus on the chain makes the internal stages of a task available for scrutiny in a way that conclusion completion alone cannot. The link to CRiPT is especially direct for schemes that connect a starting property to a final one through an intermediate property. The CRiPT test can register the correct final property. Analysis of a chain can ask whether the steps used to reach such an answer are themselves supported and whether early decisions narrow the available routes to the conclusion. Language Models Are Greedy Reasoners

Faithful Reasoning Using Large Language Models brings the question of faithfulness to the foreground. That question starts where the final-answer metric in CRiPT leaves off. Correctly supplying a conclusion on a verified argument tells us that the answer matches what follows. For an explanation to be faithful, the relationship between the reasoning expressed and the answer reached also matters. This line of work therefore takes up a distinct part of the original critical thinking motivation, the demand for reasons that explain why a conclusion should be accepted. Faithful Reasoning

LAMBADA treats automated reasoning in natural language as backward chaining. Backward chaining organizes the inference around a goal. A proposed conclusion suggests the conditions that would suffice to establish it, and those conditions can become goals to check against facts or further rules. The connection to CRiPT is the use of rule-governed inference in ordinary language. The direction of the task is different. CRiPT predicts the end of an argument with premises already in place, while a backward-chaining formulation makes the choice of what to establish in support of a goal central to the reasoning procedure. LAMBADA

Natural Language Reasoning, A Survey takes the field as its subject. That scope brings the distinction between the various experiments into view. Rule application with explicit premises, warranted inference with an unstated assumption, benchmark classification, and proof-oriented reasoning all use language as the medium, yet make different demands on a system. CRiPT belongs to that broader research area as a study of whether verified examples in prose can serve as intermediate training for deduction. Its uneven results across those demands illustrate why the scope of a reasoning claim depends on how the task supplies premises, elicits answers, and measures success. Natural Language Reasoning, A Survey

Cite

Cite as Gregor Betz, Christian Voigt and Kyle Richardson. 2021. Critical Thinking for Language Models. Proceedings of the 14th International Conference on Computational Semantics (IWCS).

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{betz2021critical,
  title = {{Critical Thinking for Language Models}},
  author = {Gregor Betz, Christian Voigt and Kyle Richardson},
  booktitle = {Proceedings of the 14th International Conference on Computational Semantics (IWCS)},
  year = {2021},
  url = {https://aclanthology.org/2021.iwcs-1.7/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/betz-2021-critical-thinking-language-models/