---
title: "Abstract Meaning Representation-Based Logic-Driven Data"
description: "AMR-LDA rewrites sentences through meaning graphs to create reasoning examples for training and help answer logical questions at test time."
canonical: "https://research.elamur.ai/free/en/papers/bao-2024-abstract-meaning-representation-based-logic/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bao-2024-abstract-meaning-representation-based-logic/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / Abstract Meaning Representation-Based Logic-Driven Data Augmentation for Logical Reasoning

# Abstract Meaning Representation-Based Logic-Driven Data Augmentation for Logical Reasoning

Paper · 2024 · Qiming Bao, Alex Yuxuan Peng, Zhenyun Deng et al.

**Authors:** [Qiming Bao](https://md.research.elamur.ai/free/en/authors/qiming-bao/), Alex Yuxuan Peng, [Zhenyun Deng](https://md.research.elamur.ai/free/en/authors/zhenyun-deng/), [Wanjun Zhong](https://md.research.elamur.ai/free/en/authors/wanjun-zhong/), [Gaël Gendron](https://md.research.elamur.ai/free/en/authors/gael-gendron/), Timothy Pistotti, [Neşet Tan](https://md.research.elamur.ai/free/en/authors/neset-tan/), Nathan Young, [Yang Chen](https://md.research.elamur.ai/free/en/authors/yang-chen/), Yonghua Zhu, [Paul Denny](https://md.research.elamur.ai/free/en/authors/paul-denny/), [Michael Witbrock](https://md.research.elamur.ai/free/en/authors/michael-witbrock/) and [Jiamou Liu](https://md.research.elamur.ai/free/en/authors/jiamou-liu/) · **Year:** 2024 · **Venue:** Findings of the Association for Computational Linguistics: ACL 2024 · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[**6** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W4377864545|W4402670782|W6929291004) · [Cited by **2** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/bao-2024-abstract-meaning-representation-based-logic/cited-by/) · [Findings of the Association for Computational Linguistics: ACL 2024](https://aclanthology.org/volumes/2024.findings-acl/) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2024.findings-acl.353/)
- [PDF](https://aclanthology.org/2024.findings-acl.353.pdf)
- [DOI 10.18653/v1/2024.findings-acl.353](https://doi.org/10.18653/v1/2024.findings-acl.353)
- [OpenAlex](https://openalex.org/W4402670782)

Citations: OpenAlex, 2026-10-14.

## Summary

A reasoning question can become easier when the same information is put in a different form. A conditional statement, for example, may look unrelated to a possible answer until its condition and conclusion are expressed from the opposite direction. The paper asks whether training examples and question prompts can be enriched with such reformulations automatically. Its starting problem is a shortage of reliable examples. Collecting passages that require deduction and checking exactly what follows from them takes time, while a rewriting procedure that changes the intended meaning can undermine the exercise it was designed to support.

The authors present AMR-LDA, which uses Abstract Meaning Representation as the basis for augmenting data. It converts a sentence into a graph whose labeled links identify relationships such as which clause supplies a condition and which statement is negated. The method edits the graph under rules from propositional logic and turns the edited graph back into a sentence. Some edits are designed to preserve truth conditions. Others, such as changing the polarity of part of a conditional, produce examples intended to differ in meaning. The distinction gives the procedure a way to generate both alternative formulations and closely related counterexamples.

The paper uses these rewrites in two ways. For systems trained to score or classify inputs, it adds a stage in which the system learns to favor equivalent sentence pairs over nonequivalent pairs, followed by [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) on the task of interest. For systems that answer by generating text, it adds equivalent statements to the question prompt at inference time. A rewritten premise can connect to the original answer choice, or a rewritten answer choice can connect to the original premises. The latter application changes the information presented to the system while leaving its learned parameters fixed.

In the training experiments, DeBERTaV2-XXLarge with AMR-LDA reached 77.63% accuracy on the full [ReClor](https://md.research.elamur.ai/free/en/papers/yu-2020-reclor-reading-comprehension-dataset-requiring/) test set, compared with 70.46% for the same starting system without the additional contrastive stage. The paper reports a lead on the ReClor leaderboard. For prompt augmentation, GPT-4 rose from 89.60% to 90.20% on the full ReClor test set and from 53.88% to 58.06% on the [LogiQA](https://md.research.elamur.ai/free/en/papers/liu-2020-logiqa-challenge-dataset-machine-reading/) test set. The benefits varied by setting. GPT-3.5 gained on the full ReClor test set but lost ground on its hard subset. The graph rules supply a rationale for the intended meaning of each edit, while the conversion of sentences into graphs and back into text leaves room for errors. The authors make the AMR-LDA code and data available.

## Deep dive: Abstract Meaning Representation-Based Logic-Driven Data Augmentation for Logical Reasoning

AMR-LDA rewrites sentences through meaning graphs to create reasoning examples for training and help answer logical questions at test time. · about 30 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Why logical examples are difficult to collect

In the paper’s formulation, logical reasoning means deriving a conclusion from premises. A reading passage may provide all the premises a reader needs, yet its answer can require more than matching words between the passage and the choices. A writer might express a condition as the absence of an ability, while the correct choice describes what the presence of another ability implies. To see how those statements connect, the reader has to track the direction of the conditional and the scope of each negation. A system that recognizes the vocabulary can still miss the relationship.

The authors see the availability of training material as one obstacle. It is costly to gather examples of logical reasoning from naturally occurring text and establish reliable labels for them. Broad collections of text offer examples of general language use, and smaller reasoning datasets provide more direct supervision. The paper argues that this combination can leave systems poorly prepared to generalize. An automatic procedure would be valuable if it could produce more instances of a logical relationship while varying the language in which that relationship appears.

Simply collecting sentences that sound similar would leave the crucial label uncertain. Two sentences can share their subjects, adjectives and connective while differing in whether a particular property is affirmed or denied. Conversely, a conditional and a disjunction can have the same truth conditions even though their connective and clause structure differ. The authors therefore use an operation with a known purpose to select the variation. This brings the question of what an edit is supposed to do into the construction of the data itself.

#### Sentence pairs and passage questions

The paper distinguishes sentence-level tasks from passage-level tasks. In the first group, the input contains a pair whose relationship must be classified. Natural language inference asks about the support one statement gives another, while other datasets in the paper compare questions, sentence pairs, or a question and a sentence. Those tasks share an interest in relationships between pieces of language, but their labels do different jobs. A method designed to identify equivalence can provide a training signal for them even when their final decision concerns a different relationship.

A passage-level task can require the reader to combine several pieces of information before judging an answer. In ReClor and LogiQA, the reader has a context, a question and answer choices. In the rule-based tasks discussed by the authors, a context supplies facts and rules that can be combined to determine whether a statement holds. A sentence rewrite can help in either setting by making a useful relationship more visible. The transformation itself operates at sentence level. Connecting that sentence to other premises and choosing an answer remain part of the downstream task.

That division helps explain why the paper measures different things at different stages. It is possible to check whether a system can distinguish a sentence from a minimally changed counterpart. It is also possible to check whether exposure to those pairs improves answers on questions whose wording and premises come from a separate dataset. The first test asks whether the intended distinction can be learned. The second asks whether learning it has value outside the exercise that supplied it.

#### How prior work supplied reasoning signals

The paper describes earlier work along three lines. One line uses data augmentation during task training. AMR-DA already used Abstract Meaning Representation to produce paraphrases. It edited graphs through operations such as removing or swapping arguments, substituting material, or inserting it. LReasoner also generated alternative formulations, using syntactic analysis and templates to construct equivalents. AMR-LDA shares the idea of generating extra text, but makes the choice of edit depend on a specified logical law. The authors also aim to make the rewrite available across inputs whose surface wording falls outside a particular collection of templates.

Another line adds training on reasoning material before adapting a system to its final task. As the paper describes it, MERIt uses paths through the structure of examples to guide contrastive training and introduces counterfactual variants to discourage shortcuts. IDoL uses indicators of logical relations to assemble training material from Wikipedia. These approaches have distinct ways of selecting and organizing examples. AMR-LDA can supply an additional training stage for a system that has already received such preparation, a possibility the authors examine in controlled comparisons.

A third line changes how a question is posed at inference time. [Chain-of-thought prompting](https://md.research.elamur.ai/free/en/papers/wei-2022-chain-thought-prompting-elicits-reasoning/) asks for intermediate reasoning steps as part of producing an answer. The authors describe it as a prior approach to multi-step reasoning and include it in their prompt comparisons. AMR-LDA changes the statements available in the prompt. Where a suitable equivalence applies, it supplies another formulation of the premise or option before the system is asked to answer. The contrast matters because asking for a longer derivation and making a particular premise easier to connect to an answer are different interventions.

### The method, step by step

#### From a sentence to a graph and back

The augmentation starts with an individual English sentence. A procedure for [semantic parsing](https://md.research.elamur.ai/free/en/concepts/semantic-parsing/) converts the sentence into an Abstract Meaning Representation, or AMR. The result is a labeled, directed graph with a root and no directed cycles. Concepts appear as nodes and labeled edges describe the relationships between them. An edit can therefore act on the role a phrase plays, such as supplying a condition, even when the order of the words in the original sentence varies.

The AMR illustration in the paper uses a belief about a boy’s work. Putting the belief first or bringing its content to the front yields the same graph in the example. The graph identifies the participant who holds the belief, the content of that belief and the negation within the content. In its notation, `w` is a variable identifying a node, and `work-01` identifies the particular sense of the work predicate. Labels such as `:ARG0` and `:ARG1` mark predicate arguments according to the frame, while `:condition` can link a statement to its condition. The pair `:polarity -` marks negative polarity. In the belief example, recording that attachment is essential to keeping denial of the boy’s effort distinct from denial of the girl’s belief.

Once the sentence is represented in this form, AMR-LDA looks for a structure that licenses an edit. For a conditional, the edit can exchange the condition and conclusion and toggle their polarity. For a conjunction, it can exchange the connected arguments. A separate generation component turns the edited graph into readable text. Grammar and word order in the output are chosen during this last step, so the process can yield a sentence whose wording differs more widely from the source than a direct rearrangement of its tokens would.

How AMR-LDA generates and uses logical rewrites The steps in order.

The final uses in the diagram are branches. Training needs both examples of meaning preservation and examples of changed meaning. A question prompt is extended with the candidates intended to preserve meaning, since its original premises and the answer represented by each option should still apply.

The paper selected its parser and generator by converting text to AMR and back with the graph left unchanged. It chose `parse_xfm_bart_large`, based on [BART](https://md.research.elamur.ai/free/en/papers/lewis-2020-bart-denoising-sequence-sequence-pre/), for parsing, and `T5Wtense`, based on [T5](https://md.research.elamur.ai/free/en/papers/raffel-2019-exploring-limits-transfer-learning-unified/), for realization in text. These components come from AMRLib. Leaving the graph untouched during selection made the comparison about recovering the source wording after conversion. Logical editing was applied after that choice.

#### What equivalence means here

The logical part of the procedure concerns propositional statements. A proposition has a truth value, and connectives combine propositions or change their polarity. Two forms are equivalent if they agree under every assignment of truth values to the component propositions. An example where the forms happen to agree is insufficient to establish equivalence. The requirement is that a case where one is true and the other false cannot arise under the interpretation of the connectives.

```
P ≡ Q
```

Here `P` and `Q` are propositions or forms built from propositions. The symbol `≡` states that their truth values agree in every case. The paper also describes this in terms of a tautology: the assertion that `P` holds if and only if `Q` holds is always true. In a truth table, the columns for `P` and `Q` would match throughout.

The guarantee applies at the level of the logical forms. To extend it to a generated sentence, the parser must identify the right propositions and their scope, the edit must preserve the surrounding relationships, and the generator must say what the revised graph represents. The method’s rules give it an intended semantic target at the editing stage. Several of the paper’s analyses examine how well the system reaches that target in practice.

#### Contraposition

Contraposition restates a conditional by making the negated conclusion the new condition and the negated condition the new conclusion.

```
(A → B) ⇔ (¬B → ¬A)
```

`A` stands for the original condition and `B` for the original conclusion. `→` is conditional implication, read as “if the expression on the left holds, the expression on the right holds.” `¬` negates the proposition immediately after it. `⇔` indicates that the expressions on its two sides are equivalent, and parentheses delimit each expression. The order and the negation both matter. If the original conditional rules out `A` holding while `B` fails, the contrapositive rules out the same case.

In the paper’s example, Alan’s kindness is the condition and Bob’s cleverness is the conclusion. The resulting statement makes Bob’s lack of cleverness the condition for Alan’s lack of kindness. A graph edit moves each participant’s clause with its predicate. It then changes the polarity of each clause, so neither a shared name nor the position of a negative word in the original sentence determines which claim gets negated.

A source conditional can already contain negation in either clause. In graph terms, the polarity operation toggles what is present. Applying it to a clause with negative polarity calls for removal, and applying it to an affirmative clause calls for insertion. For instance, another case in the paper has a conditional whose consequence is that Dave is not short. In the equivalent rewrite, Dave’s being short supplies the condition. The output has only the negation called for by the status of each proposition after the swap. That is the benefit of acting on marked scope rather than adding a negative word at a fixed place in the sentence.

#### Implication as disjunction

The implication law gives the procedure a way to rewrite a conditional as an “or” statement and to carry out the reverse conversion.

```
(A → B) ⇔ (¬A ∨ B)
```

`A` and `B` are the original condition and conclusion. `→` denotes implication, `¬` denotes negation, and `∨` is inclusive disjunction. The disjunction holds whenever at least one of its operands holds. `⇔` indicates equivalence between the parenthesized forms. If `A` fails, the disjunction is already satisfied. If `A` holds, the disjunction requires `B`, which is exactly the requirement imposed by the conditional.

For a detected conditional, the forward transformation changes the connective to disjunction and toggles the polarity of the condition. The conclusion remains in its role as the second operand. In one appendix case, the original condition is that a lion lacks a particular quality. Changing polarity makes that proposition affirmative in the disjunctive version, while the separate claim about a tiger retains its polarity. The graph edit therefore yields a disjunction with a different arrangement of connectives and negation from the original conditional.

In the reverse direction, the procedure detects a disjunction, turns its first operand into a condition with the opposite polarity, and uses the second as the conclusion. The paper illustrates this direction with a disjunction concerning a bear and Bob. Its first operand denies sleepiness, so sleepiness becomes the affirmative condition. The relationship to Bob supplies the conclusion. In both directions, the negation on the condition side distinguishes the implication rewrite from a simple replacement of “if” with “or.”

#### Commutativity of conjunction

Commutativity lets the procedure exchange the two arguments of a conjunction.

```
(A ∧ B) ⇔ (B ∧ A)
```

`A` and `B` are the two propositions connected by `∧`, the conjunction operator. A conjunction is true when both propositions are true. `⇔` indicates that reversing their order preserves the truth conditions, and the parentheses group each conjunction. On the graph, the change exchanges the arguments linked to the conjunction. The content within each argument, including any negative polarity, moves with it.

The paper’s short examples reverse the order of descriptions of animals. Its longer examples show why the unit being moved is a graph argument. One sentence joins Sarah’s early waking with an account of how she began her day. The second branch contains details about coffee and yoga, and a longer variant adds a clause describing the intended effect of the stretching. The method exchanges the main branches while carrying the stretching clause with the relevant activity. Splitting the text at a visible “and” would require deciding which of the sentence’s several connected phrases that word joins. In the AMR version, the outer conjunction and the conjunction inside the description of the morning activities have separate roles.

The resulting sentence presents the events in a different order. The formal law preserves the truth of a conjunction given its two components. Whether the order of a natural sentence also suggests a chronology or emphasizes one event is a separate issue, which is particularly visible in this longer example.

#### Double negation and antonyms

The formal rule says that negating a proposition twice restores its original truth value.

```
A ⇔ ¬¬A
```

`A` is a proposition, each `¬` is one application of negation, and `⇔` indicates equivalence. The inner negation reverses the truth value of `A`, and the outer one reverses it again. The paper uses this law as the rationale for a rewrite that avoids a cumbersome succession of negative expressions.

The main method describes applying the rewrite to inputs whose AMR graph has no negative polarity. It adds negative polarity to the graph, generates a sentence, and uses [WordNet](https://md.research.elamur.ai/free/en/papers/miller-1994-wordnet/) to replace the relevant adjective with its antonym. Thus a description of an eagle as strong becomes a denial that it is weak. The intended effect comes from combining an explicit negative with a word that expresses the opposing property. Unlike the other positive constructions, the antonym substitution happens in the generated text.

The paper’s pseudocode presents a polarity toggle for this branch, including removal if there is already a negative marker. Its prose describes the positive-input restriction, and its worked examples show that restricted case. The distinction matters for understanding what has been demonstrated. The formal equation concerns repeated Boolean negation, whereas the implementation relies on a suitable lexical opposition as part of the rewrite. Even for the illustrated affirmative inputs, the resulting sentence expresses the intended equivalence only insofar as the antonym works as the complement in that context.

#### Constructing positive and negative pairs

A positive pair joins the source sentence to a generated sentence that is intended to be equivalent. A negative pair joins it to a sentence intended to differ in truth conditions. For a close negative, the authors add or remove a negative polarity argument in the graph and realize the edited structure as text. The conditional about Alan and Bob supplies a concrete comparison. An equivalent rewrite makes Bob’s lack of cleverness imply Alan’s lack of kindness. Removing the negative marker from the condition instead makes Bob’s cleverness imply Alan’s lack of kindness. One local edit has changed what the rule permits even though most of its words can stay the same.

The authors also form negatives by randomly pairing with another sentence from the corpus. A random pairing supplies a different kind of example from a polarity change. With a close comparison, topics and words can match even as the logical relation changes. A randomly selected sentence may differ much more obviously. Both are treated as nonequivalent for training. The construction assigns a label from the operation or the sampling procedure, rather than proving the relationship between every pair of realized sentences.

For the contrastive experiments, the base sentences came from synthetic patterns using named people, animals and descriptive properties. The corpus contains 14,962 sentences assembled using 23 entities, 2 relations and 40 attributes. The relations correspond to affirmative and negative descriptions, and the patterns organize the underlying clauses into forms suited to the logical laws. The synthetic corpus lets the authors set the structure and polarity of the source sentences directly. Applying the method to benchmark prompts does not require those synthetic lists, since an appropriate transformation can be selected from the graph of the actual sentence.

The appendix also describes a T5-Large exercise in which equivalent sentences were learned and produced using synthetic material with expanded lists. The main AMR-LDA benchmark comparison, in contrast, specifies the AMR parser, graph editing and AMR-to-text realization as the route for generating its augmented pairs. The distinction is relevant because the controlled sentences can support more than one investigation in the paper. Their role in the main contrastive pipeline is to supply inputs for the common augmentation comparisons.

#### Training a system to recognize equivalents

The training stage draws on contrastive learning as described in [SimCSE](https://md.research.elamur.ai/free/en/papers/gao-2021-simcse-simple-contrastive-learning-sentence/) and [SimCLR](https://md.research.elamur.ai/free/en/papers/chen-2020-simple-framework-contrastive-learning-visual/). In the paper’s architecture, the original and one proposed counterpart are presented together, with a separator between the sentences. An output score for that pair is compared with the score assigned to the original and a different counterpart. The intended ordering is higher scores for the equivalent pair.

```
h(s, s⁺) ≫ h(s, s⁻)
```

`s` is the source sentence, `s⁺` is its intended equivalent, and `s⁻` is its intended nonequivalent. The superscripts distinguish the positive and negative samples. `h` is the pair-scoring function, and the comma separates the sentences supplied to it. `≫` means that the score on the left should be much larger than the score on the right. The paper describes the aim in terms of equivalent inputs having closer internal representations. The direction of the displayed inequality and the loss below give `h` the operational meaning of a compatibility score, with greater compatibility receiving the larger value.

```
L = −∑ log(exp(h⁽⁺⁾) / (exp(h⁽⁺⁾) + exp(h⁽⁻⁾)))
```

`L` is the training loss, `=` defines that loss, and `∑` sums the contributions from the training comparisons. For a comparison, `h⁽⁺⁾` abbreviates `h(s, s⁺)` and `h⁽⁻⁾` abbreviates `h(s, s⁻)`. `exp` is the exponential function and `log` is the logarithm. The slash divides the exponentiated positive score by the sum of the exponentiated positive and negative scores, with `+` joining those denominator terms. Parentheses delimit arguments and group the denominator. The minus sign makes a larger share for the positive score correspond to a smaller loss. The objective rewards a score that separates the equivalent candidate from the negative candidate paired with the same source.

The main contrastive comparisons use 14,962 pairs per augmentation method with a positive-to-negative ratio of 1:1. The paper sets aside twenty percent of the augmented material for validation during this training stage. After learning the equivalence distinction, the system is further trained on the labeled examples for its downstream task. The appendix describes cross-entropy for that stage, where the training signal comes from the task’s class or answer labels. For ReClor and LogiQA, for example, the target is the correct option for the entire question. The earlier pair-scoring objective is a preparation for that task.

#### Adding equivalent statements to a prompt

The prompt application uses the same sentence conversion and rewriting procedure but gives the results directly to the answering system. It looks for eligible sentences within the context and within the options. The original context and choice text remain available alongside the rewrites. The idea is to make more than one route to the same decision visible, using sentences that ought to follow from information the question already contains.

The worked ReClor example concerns keyboarding skills, computer use and the ability to write essays with a word processor. The original premises run through three absences. Without keyboarding skills, a person cannot use a computer, and without computer use, the person cannot write essays with a word processor. The correct option goes in the positive direction, from being able to write essays that way to having keyboarding skills. A reader who looks for that wording directly in the original premises has to bridge the gap between the two forms.

One route rewrites the option. Its contrapositive starts with the lack of keyboarding skills and ends with the inability to write the essays that way. The original premises already connect those endpoints through the inability to use a computer. Another route rewrites the premises. Their contrapositives go from writing the essays to using a computer and from using a computer to having keyboard skills. They can therefore be chained in the same direction as the original answer choice. The demonstration also includes implication-law rewrites in the expanded prompt, and GPT-4 returns option B in that case.

This example distinguishes a rewrite from a derivation. Each rewrite changes the presentation of an individual statement. Chaining the statements to connect the endpoints is the reasoning step that answers the question. The same method can make useful pieces of the argument easier to align even if it never explicitly writes out the chain of deductions. The training and prompt applications take advantage of this idea in different ways. The first uses rewrites to change what relationships a system learns to score, while the second provides the alternative statements alongside the question itself.

### Experiments and results

#### Benchmarks and comparisons

The paper evaluates the training application on seven downstream datasets. ReClor draws on questions from the Graduate Management Admission Test and Law School Admission Test. LogiQA draws from a national civil service examination. Both require a choice of answer based on a passage and question. ReClor reports results for its development set, the complete test set and its easy and hard test subsets, labeled Test-E and Test-H. LogiQA results are reported for the development and test sets.

The remaining benchmarks use pairs of text inputs. [MNLI](https://md.research.elamur.ai/free/en/papers/williams-2018-broad-coverage-challenge-corpus-sentence/) tests sentence inference across a broad-coverage corpus. RTE concerns textual entailment, and [MRPC](https://md.research.elamur.ai/free/en/papers/dolan-2005-automatically-constructing-corpus-sentential-paraphrases/) concerns whether sentences are paraphrases. QNLI pairs a question with a sentence, while QQP compares questions. The scores for these tasks appear under the main table’s Eval heading. They test how broadly the additional equivalence training helps when the input pairing and final labels differ from those used in the synthetic exercise.

The classification comparisons start from [RoBERTa](https://md.research.elamur.ai/free/en/papers/liu-2019-roberta-robustly-optimized-bert-pretraining/) and [DeBERTa](https://md.research.elamur.ai/free/en/papers/he-2020-deberta-decoding-enhanced-bert-disentangled/). One comparison uses the base system and downstream training. The augmentation conditions add the contrastive stage with pairs constructed by AMR-LDA, AMR-DA or LReasoner-LDA. LReasoner-LDA here names the data augmentation component of LReasoner. Reading it as the full LReasoner system would attribute the result to more machinery than the authors compared. The paper uses DeBERTaV2-XXLarge for the multiple-choice experiments because of its multiple-choice head and also specifies DeBERTa-Large in the training setup for sentence-pair experiments. The rule-ablation table distinguishes these DeBERTa configurations explicitly.

The main ReClor and LogiQA training results average across seeds 0, 21 and 42. The appendix reports 95% confidence intervals for those comparisons. The prompting study answers questions on both benchmarks with GPT-3.5 and [GPT-4](https://md.research.elamur.ai/free/en/papers/openai-2023-gpt-4-technical-report/). For each, it compares a plain prompt, chain-of-thought prompting, AMR-DA prompt augmentation and AMR-LDA prompt augmentation. The AMR-DA comparison also rewrites context sentences and options, matching the location of the extra material in the AMR-LDA condition. Multiple-choice results are accuracy, the share of questions answered correctly.

#### What changed after contrastive training

On the complete ReClor test set, AMR-LDA gave the highest accuracy among the augmentation methods for both starting systems. The DeBERTaV2-XXLarge comparison shows that AMR-DA also improved substantially over the plain system. AMR-LDA produced the strongest average in that group, while LReasoner-LDA yielded a result much closer to ordinary downstream training.

Contrastive training variants on ReClor full test accuracy with DeBERTaV2-XXLarge AMR-LDA gives the highest average test accuracy in this comparison.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| DeBERTaV2-XXLarge | 70.46 |
| DeBERTaV2-XXLarge with LReasoner-LDA | 70.70 |
| DeBERTaV2-XXLarge with AMR-DA | 75.90 |
| DeBERTaV2-XXLarge with AMR-LDA (this paper) | 77.63 |

For the RoBERTa-Large comparison on the full ReClor test set, the plain system reached 53.20%, LReasoner-LDA reached 53.66%, and AMR-DA reached 53.93%. AMR-LDA was higher at 56.86%. The subsets reveal a qualification. RoBERTa with AMR-LDA scored 77.34% on Test-E and 40.77% on Test-H. AMR-DA was lower on Test-E at 66.81%, but it achieved 43.80% on Test-H. With DeBERTaV2-XXLarge, AMR-LDA reached 85.75% on Test-E and 71.24% on Test-H, ahead of the other conditions for that starting system. The outcome on hard questions thus depended partly on which system received the training.

LogiQA gives a different picture of the relative contributions. RoBERTa-Large with AMR-LDA reached 40.29% on development and 38.14% on test, compared with 35.43% and 34.50% for ordinary downstream training. For DeBERTaV2-XXLarge, AMR-LDA gave 42.34% on development and 39.88% on test. The ordinary counterpart was already at 39.72% on development and 39.62% on test. On that test split, AMR-DA fell to 30.10% and LReasoner-LDA to 28.51%. AMR-LDA’s leading position in this comparison therefore includes avoiding the decline associated with the alternative augmentation procedures, alongside a small gain over the plain run.

Results on the sentence-pair evaluations are similarly mixed in size. On the reported RTE Eval measure, RoBERTa-Large moved from 83.39 to 86.64 with AMR-LDA. On QQP Eval it moved from 90.89 to 93.14. On QNLI Eval, the same treatment reached 94.49 against 94.73 for plain RoBERTa-Large. For the DeBERTa comparison, AMR-LDA raised the RTE Eval score from 84.48 to 88.09. On MNLI Eval, AMR-DA reached 89.92 against 89.67 for AMR-LDA, and on QQP Eval, the plain DeBERTa result of 92.54 was above the AMR-LDA result of 92.47. These are the Eval values as reported in the main comparison. The pattern supports usefulness across several tasks while leaving room for different augmentation choices, or ordinary downstream training, to lead on individual evaluations.

The intervals also matter when comparing nearby means. On the complete ReClor test, DeBERTaV2-XXLarge with AMR-LDA has a reported 95% interval of [73.80,81.00], while the corresponding AMR-DA interval is [73.70,78.00]. On the LogiQA test, the interval for DeBERTaV2-XXLarge with AMR-LDA is [25.70,49.00], alongside [18.40,54.00] for the plain system. These intervals give a sense of the uncertainty around the reported averages. They leave considerable room for variation, especially on LogiQA, so a difference between the point estimates is a separate observation from how precisely that difference has been established.

#### What changed when the prompt was extended

For GPT-4, AMR-LDA had the highest accuracy of the compared prompting conditions on every listed ReClor and LogiQA split. On the complete ReClor test set, it reached 90.20%, compared with 89.60% for the plain prompt and 85.60% for AMR-DA. On ReClor Test-H, the plain prompt reached 88.57%, AMR-DA reached 85.00%, and AMR-LDA reached 89.11%. The improvement on the hard subset is useful context for reading the overall ReClor result because the same kind of prompt extension had a different effect for GPT-3.5.

GPT-4 prompting strategies on LogiQA test accuracy Logic-driven prompt extension leads, with ordinary AMR augmentation also above the plain prompt.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| GPT-4 plain prompt | 53.88 |
| GPT-4 with chain-of-thought prompting | 27.03 |
| GPT-4 with AMR-DA | 56.06 |
| GPT-4 with AMR-LDA (this paper) | 58.06 |

On the LogiQA development split, GPT-4 moved from 43.24% with a plain prompt to 51.92% with AMR-LDA, and AMR-DA reached 51.30%. The chart shows that AMR-DA also helped GPT-4 on the test split. This is an exception to the broader drop the authors observed under ordinary paraphrase augmentation. Chain-of-thought prompting, as used in these comparisons, lowered accuracy sharply. On the full ReClor test split, GPT-4 with that prompt reached 24.80%. That observation concerns the prompting configuration the paper evaluated in this multiple-choice setting.

GPT-3.5 with AMR-LDA reached 58.62% on ReClor development and 56.69% on the complete test set, where the plain prompt reached 57.02% and 56.20%, respectively. Test-E improved from 59.31% to 60.90%, while Test-H went from 53.75% to 53.39%. On LogiQA, AMR-LDA reached 40.55% on development and 39.47% on test, compared with 37.63% and 37.32% for the plain prompt. The development result of 40.55% was also attained with AMR-DA. Prompt augmentation thus had both an exception and a tie, in addition to the positive results across most of these comparisons.

### What the ablations show

#### Which logical rules contribute

The authors compare nested sets of equivalence rules, beginning with contraposition. The next condition adds double negation, the following one adds implication, and the final one also includes commutativity. They keep the training sets at size 1,000 for this study and use validation data for evaluation. Keeping the sample totals fixed puts the focus on which transformations supply the examples. Changing the rule set can still change which sentence structures are represented within a fixed total, which is part of what the experiment varies.

The results provide reasons to use several rules, but the direction of the effect depends on the task. For RoBERTa-Large on the ReClor validation split, contraposition alone gives 60.40, adding double negation gives 60.80, and including implication gives 61.80. Adding commutativity produces 59.80 in that sequence. On LogiQA validation, the corresponding RoBERTa-Large scores are 37.78, 33.17, 33.94 and 38.70. In this case the full set leads even though the intermediate additions are below contraposition alone.

For DeBERTaV2-XXLarge, ReClor validation is strongest with contraposition alone at 81.80, compared with 78.80 for all the rules. On LogiQA validation, the combination of contraposition and double negation reaches 45.46, compared with 40.55 for the full set and 32.25 for contraposition alone. The sentence-pair tasks differ as well. The full combination gives the highest RoBERTa-Large RTE validation score of the nested conditions at 86.64. For DeBERTa-Large on MNLI validation, the contraposition-only score of 90.80 is higher than 89.67 for the full set. The main experiments use the broader collection of transformations, while the ablation shows that a particular benchmark can favor a narrower distribution of examples.

The design estimates the effect of an addition in a particular sequence. Commutativity, for example, is introduced after the other rules, so the comparison reveals its effect on that mixture. There is no separate commutativity-only condition in this study. It is therefore possible to say where the full mixture helps, and where a smaller one works better, without assigning each law a stable contribution independent of the others.

#### How the balance of examples matters

A separate study varies the ratio of positive to negative pairs for DeBERTaV2-XXLarge. On the full ReClor test set, AMR-LDA scores 76.10% at 1:1, 76.40% at 1:2 and 75.70% at 1:3. On ReClor Test-H, the same ratios yield 69.28%, 69.82% and 69.10%. On the LogiQA test split, they yield 41.47%, 43.93% and 41.01%. The plain DeBERTaV2-XXLarge result on that last split is 39.62%. These figures show the benefit of additional negatives in some conditions and an apparent optimum at the middle tested ratio on those test splits.

ReClor development shows a different ordering. There, ratios of 1:1, 1:2 and 1:3 give 78.80%, 80.20% and 81.20%, respectively. Selecting the configuration by that development result would favor a different ratio from selecting it by the corresponding complete test results. Also, the ratio study reports its own scores for the 1:1 condition. They belong with the comparisons in that study, alongside the separate results of the main benchmark runs.

The paper also adds AMR-LDA contrastive training to systems already prepared with MERIt or IDoL. It compares examples generated with contraposition alone with a mixture from all the laws. With the MERIt starting system, the full ReClor test accuracy is 75.80% before the additional AMR-LDA training, 76.60% with contraposition and 76.90% with the mixture. On LogiQA test, the corresponding results are 42.39%, 43.01% and 45.62%. These are cases where the broader mixture gives the strongest result for the starting system.

The IDoL comparison favors contraposition alone on both complete test sets. On ReClor test, the IDoL starting point gives 74.50%, adding contraposition gives 77.00%, and using the mixture gives 75.60%. On LogiQA test those figures are 40.24%, 44.54% and 41.32%. Both additional training conditions improve upon the reported IDoL starting point on those splits, while the narrower set is better for each. Together the comparisons establish that the extra stage can complement existing reasoning-oriented training and that the breadth of the rule mixture has different effects depending on the starting system and task.

#### What happens when a test rule is restated

The PARARULE-Plus comparison changes the wording and logical form of rules in the test context while intending to preserve the answers. The examples contain facts about entities and rules for deriving further properties. Depth=1 requires a single rule application, and Depth=2 requires two. The reported study describes altering rules with contraposition. The appendix illustrations also show commutative changes to conjunctions and examples that use De Morgan’s law in rendering alternative rules. The reported numbers are for the altered test sets as a whole.

RoBERTa-Large variants on altered PARARULE-Plus Depth=2 test accuracy AMR-LDA retains substantially more accuracy when rules in the deeper test are restated.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| RoBERTa-Large with LReasoner-LDA | 74.00 |
| RoBERTa-Large with AMR-LDA (this paper) | 99.73 |

On the unaltered PARARULE-Plus tests, both compared systems achieve 100.00% at Depth=1 and at Depth=2. With altered rules at Depth=1, AMR-LDA retains 100.00% and LReasoner-LDA reaches 99.87%. The larger separation occurs with altered rules at Depth=2, shown in the chart. It matters that the unaltered scores are identical. The original tests establish that both systems can answer those versions of the questions. The altered versions then test retention of that success when the rules needed for the answer are expressed differently.

A smaller synthetic probe tests equivalence recognition itself. The first test set contains 1312 samples. On Test set 1, the plain RoBERTa-Large score is 53.35 and the equivalence-trained score is 85.13. When entity names change in Test set 2, the scores are 53.47 and 85.10. With changed logical patterns in Test set 3, they are 46.72 and 94.82. The trained system’s score is nearly unchanged under the name change and higher on the changed-pattern set. Within these controlled conditions, the training benefit extends beyond the original names and patterns. Because the test alterations are specified constructions, this study gives a more focused view of robustness than a comparison across unrelated natural-language datasets.

#### How the authors checked the rewritten sentences

The authors used a human survey to compare positive outputs from AMR-LDA and LReasoner-LDA. The survey contained 20 questions, and 45 participants completed it anonymously. Each question compared sentences sampled from the outputs of the two methods. Participants judged which candidate expressed the same logical content as the original, with the option of judging both equivalent, and which was more fluent. The paper reports preferences for AMR-LDA of 63.92% on equivalence and 76.44% on fluency. These are preference results from that survey, distinct from an absolute correctness rate over generated examples.

The qualitative cases help explain the responses. Some LReasoner-LDA outputs in the appendix lose the link between an adjective and the appropriate subject when contraposing a conditional whose wording falls outside its templates. For implication, double negation and commutativity, the appendix leaves the corresponding LReasoner-LDA entries empty in examples of operations it was not designed to perform. AMR-LDA can make those edits, although its output is itself subject to generation artifacts. One commutativity example in the appendix shifts the descriptions of both animals into the past tense. The graph operation explains why an output was intended as a positive example, while the output text shows why that intention still merits checking.

The parser and generator comparison gives a separate diagnostic. The chosen BART-based parser and T5Wtense generator scored 38.45 on [BLEU](https://md.research.elamur.ai/free/en/concepts/bleu/) when reconstructing original sentences from their unedited graphs. With the same parser and the generator listed as T5, the score was 30.10. BLEU in this experiment measures wording overlap with the original on reconstruction. It provides a basis for choosing conversion components, and the survey addresses a different question about the equivalence and fluency of sentences after an edit.

### Limitations

#### Limits the authors identify

The authors name dependence on AMR as a limitation. A graph can omit distinctions that matter to reasoning over idiomatic language, subtle context or more complex logical forms. Their method focuses on individual English sentences and on forms amenable to the chosen propositional rules. The appendix gives examples of successful editing in long sentences with explicit structure. Those cases show how a complex modifier can survive a particular edit, while coverage of less clear structures remains open.

They also identify a constraint on diagnosing the GPT-3.5 result for hard ReClor questions. The ReClor test items are hidden, so they could see the Test-H score without inspecting the detailed cases that produced it. They suggest that GPT-3.5 may have more difficulty interpreting complex reasoning tasks or the augmented prompts than GPT-4 does. The different score patterns motivate the suggestion. Item-level evidence about which rewrites confused the system, and why, would be needed to choose between those explanations.

#### Limits visible in the design

A formal rule guarantees equivalence between the propositions in its equation under the assumed interpretation. AMR-LDA also has to infer that those propositions and that interpretation are appropriate for a sentence. A parser can attach negation to the wrong predicate or identify the wrong clause as a condition. A generator can produce a change in tense or modify some other aspect of the sentence beyond the requested edit. The paper’s reconstruction comparison and its human preference study examine parts of this chain, but neither verifies the equivalence of every generated positive. The graph-to-text stage makes the actual learning material and prompt additions an important part of the claim.

The antonym strategy makes this distinction especially clear. A denial of weakness need not carry exactly the same meaning as an assertion of strength, since ordinary descriptions can allow intermediate cases. The law in the paper’s equation applies when the inner and outer operations are both negations of the same proposition. The lexical rewrite approximates that operation with an antonym. Likewise, reversing a conjunction may preserve what happened while changing the chronology a reader would infer from how the events are presented. For conditionals, the rules assume that the relevant natural-language expression has the behavior of propositional implication. These are limits on the transfer from the symbolic law to ordinary language, even if the graph edit is carried out exactly as designed.

The negative labels also depend on construction assumptions. A polarity edit is meant to create a contrast, and a randomly chosen sentence is treated as nonequivalent. The paper does not establish that every random choice is nonequivalent or that every polarity edit in the realized output changes the intended content. Random negatives can also differ in vocabulary and topic enough to be easy to distinguish for reasons unrelated to logic. The close negatives and the altered-rule tests strengthen the paper’s case that the training is relevant to logical form. The reported experiments leave open how much of the gain comes from each negative construction and which features a system uses to separate the pairs.

The training and prompting comparisons also support different conclusions. Contrastive training followed by task training improves several measured outcomes. Those outcomes are evidence for the effectiveness of the preparation under the tested conditions. They do not identify an internal deduction procedure. In prompting, the question is already extended with statements that can shorten a route to the answer. Better performance shows value in making those statements available. The paper’s worked example illustrates how either of two routes could support the correct choice, but the returned choice alone cannot establish which route the answering system used.

Finally, the prompt comparison varies the logical content and wording of the added material as part of a single intervention. AMR-DA makes a relevant comparison because it adds alternatives in the same parts of the prompt, and its results help distinguish the two augmentation procedures. They do not measure every factor independently. The quality of the generated text, the usefulness of a particular rewrite and the amount of extra material can all matter to how a prompt is read. The mixed Test-H results and the different outcomes for the two GPT systems leave the benefit conditional on the evaluated prompts and answering systems. For the trained systems, the overlapping confidence intervals and changes in the ranking of rule mixtures likewise favor conclusions tied to the reported benchmarks and configurations.

### What came after

The later [Survey of Long Chain-of-Thought](https://md.research.elamur.ai/free/en/papers/chen-2025-towards-reasoning-era-survey-long/) (2025) cites AMR-LDA. The connection is between a survey of extended reasoning traces and a paper that changes which formulations of the premises and answer choices are visible before an answer is generated. AMR-LDA also compares its prompt extension against chain-of-thought prompting on the same benchmarks, giving the two approaches a direct point of contact. The survey citation establishes that connection in the later literature. An implementation, replication or extension of AMR-LDA by the survey is unestablished.

## Cite

Cite as Qiming Bao, Alex Yuxuan Peng, Zhenyun Deng, Wanjun Zhong, Gaël Gendron, Timothy Pistotti, Neşet Tan, Nathan Young, Yang Chen, Yonghua Zhu, Paul Denny, Michael Witbrock and Jiamou Liu. 2024. Abstract Meaning Representation-Based Logic-Driven Data Augmentation for Logical Reasoning. Findings of the Association for Computational Linguistics: ACL 2024.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2024.findings-acl.353](https://doi.org/10.18653/v1/2024.findings-acl.353)

```bibtex
@inproceedings{bao2024abstract,
  title = {{Abstract Meaning Representation-Based Logic-Driven Data Augmentation for Logical Reasoning}},
  author = {Qiming Bao, Alex Yuxuan Peng, Zhenyun Deng, Wanjun Zhong, Gaël Gendron, Timothy Pistotti, Neşet Tan, Nathan Young, Yang Chen, Yonghua Zhu, Paul Denny, Michael Witbrock and Jiamou Liu},
  booktitle = {Findings of the Association for Computational Linguistics: ACL 2024},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.353},
  url = {https://doi.org/10.18653/v1/2024.findings-acl.353}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
