arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.05994cs.CLcs.AI
收藏

ANALOGYKB:利用百万级知识库解锁语言模型的类比推理能力

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

School of Data Science, Fudan University(复旦大学数据科学学院);Shanghai Key Laboratory of Data Science, School of Computer Science, Fudan University(复旦大学计算机科学学院上海市数据科学重点实验室);ByteDance AI Lab(字节跳动人工智能实验室);East China Normal University(华东师范大学)

Siyu Yuan, Jiangjie Chen, Changzhi Sun, Jiaqing Liang, Yanghua Xiao, Deqing Yang

AI总结:

针对语言模型类比推理训练资源不足的问题,本研究提出百万级类比知识库ANALOGYKB,从知识图谱提取两类类比并经质量控制,有效提升各类语言模型的类比推理能力。

摘要:

类比推理是人类的一项基本认知能力。然而,由于缺乏训练资源,当前语言模型(LM)在类比推理任务中仍难以达到类人水平的表现。在本研究中,我们针对这一缺口提出了ANALOGYKB——一个从现有知识图谱(KG)衍生而来的百万级类比知识库(KB)。ANALOGYKB从知识图谱中识别两类类比:1)同关系类比,可直接从知识图谱中提取;2)相似关系类比,通过大语言模型(LLM)驱动的筛选过滤流水线识别,随后辅以少量人工工作进行数据质量控制。在两类类比推理任务(类比识别与生成)的多个数据集上的评估表明,ANALOGYKB成功让小型语言模型和大语言模型都获得了更强的类比推理能力。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑