Skip to content

jackyideal/LogiGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogiGraph: Logical Reasoning with Contrastive Learning and Lightweight Graph Networks

Quick Start

Preparation

git clone https://github.com/jackyideal/LogiGraph.git
cd LogiGraph
pip install -r requirements.txt

Lightweight GCN

In logical reasoning, capturing explicit logical relationships between nodes is crucial. Traditional GCN may lose some information due to complex feature transformations and non-linear activation.

To address these issues, we propose a lightweight GCN. This network discards feature transformation, non-linear function activation, symmetric normalization term, and self-connection in the traditional GCN. By simplifying the model structure and focusing on the linear aggregation of neighborhood information, the lightweight GCN better preserves and utilizes logical relationships, thereby enhancing model performance in logical reasoning tasks.

Dataset

Experiments involve the evaluation of our model effectiveness on two datasets, ReClor and LogiQA, which constitute a diverse range of logical reasoning skills. The ReClor dataset is based on different exams, with unbiased instances separated from the test data to evaluate logical reasoning. On the other hand, the LogiQA dataset is derived from the National Civil Servants Examination of China. It has been translated professionally into English.

Leaderboard Result

  • LogiGraph: The result of LogiGraph based on the DeBERTa-v2-xlarge encoder.

Citation

If you use LogiGraph in your work, please cite our paper.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors