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

Qiming Bao, Alex Yuxuan Peng, Zhenyun Deng, Wanjun Zhong, Gael Gendron +8 more
5/21/2023
17 citations
cs.CLcs.AI

Official code: Strong-AI-Lab/Logical-Equivalence-driven-AMR-Data-Augmentation-for-Representation-Learning (18 stars, Python, MIT, last commit 2025-12-02).

Abstract

Combining large language models with logical reasoning enhances their capacity to address problems in a robust and reliable manner. Nevertheless, the intricate nature of logical reasoning poses challenges when gathering reliable data from the web to build comprehensive training datasets, subsequently affecting performance on downstream tasks.

Show full abstract

To address this, we introduce a novel logic-driven data augmentation approach, AMR-LDA. AMR-LDA converts the original text into an Abstract Meaning Representation (AMR) graph, a structured semantic representation that encapsulates the logical structure of the sentence, upon which operations are performed to generate logically modified AMR graphs. The modified AMR graphs are subsequently converted back into text to create augmented data. Notably, our methodology is architecture-agnostic and enhances both generative large language models, such as GPT-3.5 and GPT-4, through prompt augmentation, and discriminative large language models through contrastive learning with logic-driven data augmentation. Empirical evidence underscores the efficacy of our proposed method with improvement in performance across seven downstream tasks, such as reading comprehension requiring logical reasoning, textual entailment, and natural language inference. Furthermore, our method leads on the ReClor leaderboard at https://eval.ai/web/challenges/challenge-page/503/leaderboard/1347. The source code and data are publicly available at https://github.com/Strong-AI-Lab/Logical-Equivalence-driven-AMR-Data-Augmentation-for-Representation-Learning.

View on arXivView PDF

Code Implementations(1)

MIT

The source code for Abstract Meaning Representation-Based Logic-Driven Data Augmentation for Logical Reasoning. #1 on the ReClor Leaderboard and we are the first group scored above 90% on the hidden test set around the world. The paper has been accepted by the Findings of ACL-24.

182Python, ShellNov 3, 202212 months agoMIT
contrastive-learninglogic-driven-data-augmentationlogical-equivalenceslogical-reasoning

Similar Papers

Cite this paper

@article{bao2023abstract,
  title  = {Abstract Meaning Representation-Based Logic-Driven Data Augmentation for Logical Reasoning},
  author = {Qiming Bao and Alex Yuxuan Peng and Zhenyun Deng and Wanjun Zhong and Gael Gendron and Timothy Pistotti and Neset Tan and Nathan Young and Yang Chen and Yonghua Zhu and Paul Denny and Michael Witbrock and Jiamou Liu},
  year   = {2023},
  eprint = {2305.12599},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.12599v7}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.12599.svg)](https://codeofpaper.com/paper/2305.12599)

Discussion