Language Models as Inductive Reasoners

Zonglin Yang, Li Dong, Xinya Du, Hao Cheng, Erik Cambria +3 more
12/21/2022
cs.CLcs.AI

Official code: ZonglinY/Inductive_Reasoning (6 stars, Python, last commit 2024-01-31).

Abstract

Inductive reasoning is a core component of human intelligence. In the past research of inductive reasoning within computer science, formal language is used as representations of knowledge (facts and rules, more specifically).

Show full abstract

However, formal language can cause systematic problems for inductive reasoning such as disability of handling raw input such as natural language, sensitiveness to mislabeled data, and incapacity to handle ambiguous input. To this end, we propose a new paradigm (task) for inductive reasoning, which is to induce natural language rules from natural language facts, and create a dataset termed DEER containing 1.2k rule-fact pairs for the task, where rules and facts are written in natural language. New automatic metrics are also proposed and analysed for the evaluation of this task. With DEER, we investigate a modern approach for inductive reasoning where we use natural language as representation for knowledge instead of formal language and use pretrained language models as ''reasoners''. Moreover, we provide the first and comprehensive analysis of how well pretrained language models can induce natural language rules from natural language facts. We also propose a new framework drawing insights from philosophy literature for this task, which we show in the experiment section that surpasses baselines in both automatic and human evaluations. We discuss about our future perspectives for inductive reasoning in Section 7. Dataset and code are available at https://github.com/ZonglinY/Inductive_Reasoning.

View on arXivView PDF

Code Implementations(1)

[EACL 2024] <Language Models as Inductive Reasoners>

60Python, ShellJun 26, 20232 years ago

Similar Papers

Cite this paper

@article{yang2022language,
  title  = {Language Models as Inductive Reasoners},
  author = {Zonglin Yang and Li Dong and Xinya Du and Hao Cheng and Erik Cambria and Xiaodong Liu and Jianfeng Gao and Furu Wei},
  year   = {2022},
  eprint = {2212.10923},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.10923}
}

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

Discussion