MERIt: Meta-Path Guided Contrastive Learning for Logical Reasoning

Fangkai Jiao, Yangyang Guo, Xuemeng Song, Liqiang Nie
3/1/2022
cs.CLcs.AI
contrastive-ssl

Official code: iLearn-Lab/ACL22-MERIt (28 stars, Python, Apache-2.0, last commit 2026-04-08).

Abstract

Logical reasoning is of vital importance to natural language understanding. Previous studies either employ graph-based models to incorporate prior knowledge about logical relations, or introduce symbolic logic into neural models through data augmentation.

Show full abstract

These methods, however, heavily depend on annotated training data, and thus suffer from over-fitting and poor generalization problems due to the dataset sparsity. To address these two problems, in this paper, we propose MERIt, a MEta-path guided contrastive learning method for logical ReasonIng of text, to perform self-supervised pre-training on abundant unlabeled text data. Two novel strategies serve as indispensable components of our method. In particular, a strategy based on meta-path is devised to discover the logical structure in natural texts, followed by a counterfactual data augmentation strategy to eliminate the information shortcut induced by pre-training. The experimental results on two challenging logical reasoning benchmarks, i.e., ReClor and LogiQA, demonstrate that our method outperforms the SOTA baselines with significant improvements.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[Findings of ACL 2022] Meta-Path Guided Contrastive Learning for Logical Reasoning of Text

285Python, ShellMar 12, 20217 months agoApache-2.0

Similar Papers

Cite this paper

@article{jiao2022merit,
  title  = {MERIt: Meta-Path Guided Contrastive Learning for Logical Reasoning},
  author = {Fangkai Jiao and Yangyang Guo and Xuemeng Song and Liqiang Nie},
  year   = {2022},
  eprint = {2203.00357},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.00357}
}

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/2203.00357.svg)](https://codeofpaper.com/paper/2203.00357)

Discussion