ANALOGYKB: Unlocking Analogical Reasoning of Language Models with A Million-scale Knowledge Base

Siyu Yuan, Jiangjie Chen, Changzhi Sun, Jiaqing Liang, Yanghua Xiao +1 more
5/10/2023
cs.CLcs.AI

No official code found. Best implementation: siyuyuan/analogykb (10 stars, last commit 2024-01-04).

Abstract

Analogical reasoning is a fundamental cognitive ability of humans. However, current language models (LMs) still struggle to achieve human-like performance in analogical reasoning tasks due to a lack of resources for model training. In this work, we address this gap by proposing ANALOGYKB, a million-scale analogy knowledge base (KB) derived from existing knowledge graphs (KGs). ANALOGYKB identifies two types of analogies from the KGs: 1) analogies of the same relations, which can be directly extracted from the KGs, and 2) analogies of analogous relations, which are identified with a selection and filtering pipeline enabled by large language models (LLMs), followed by minor human efforts for data quality control. Evaluations on a series of datasets of two analogical reasoning tasks (analogy recognition and generation) demonstrate that ANALOGYKB successfully enables both smaller LMs and LLMs to gain better analogical reasoning capabilities.

View on arXivView PDF

Code Implementations(1)

siyuyuan/analogykbCommunity100%

Resources for our paper: "ANALOGYKB: Unlocking Analogical Reasoning of Language Models with A Million-scale Knowledge Base"

101May 5, 20232 years ago

Similar Papers

Cite this paper

@article{yuan2023analogykb,
  title  = {ANALOGYKB: Unlocking Analogical Reasoning of Language Models with A Million-scale Knowledge Base},
  author = {Siyu Yuan and Jiangjie Chen and Changzhi Sun and Jiaqing Liang and Yanghua Xiao and Deqing Yang},
  year   = {2023},
  eprint = {2305.05994},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.05994v2}
}

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

Discussion