PHALM: Building a Knowledge Graph from Scratch by Prompting Humans and a Language Model

Tatsuya Ide, Eiki Murata, Daisuke Kawahara, Takato Yamazaki, Shengzhe Li +2 more
10/11/2023
cs.CL

No official code found. Best implementation: nlp-waseda/comet-atomic-ja (31 stars, Apache-2.0, last commit 2024-03-08).

Abstract

Despite the remarkable progress in natural language understanding with pretrained Transformers, neural language models often do not handle commonsense knowledge well. Toward commonsense-aware models, there have been attempts to obtain knowledge, ranging from automatic acquisition to crowdsourcing. However, it is difficult to obtain a high-quality knowledge base at a low cost, especially from scratch. In this paper, we propose PHALM, a method of building a knowledge graph from scratch, by prompting both crowdworkers and a large language model (LLM). We used this method to build a Japanese event knowledge graph and trained Japanese commonsense generation models. Experimental results revealed the acceptability of the built graph and inferences generated by the trained models. We also report the difference in prompting humans and an LLM. Our code, data, and models are available at github.com/nlp-waseda/comet-atomic-ja.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

COMET-ATOMIC ja

310PythonNov 6, 20222 years agoApache-2.0
commonsense-knowledgehuggingface-transformersjapaneseknowledge-graphnatural-language-processing+1 more

Similar Papers

Cite this paper

@article{ide2023phalm,
  title  = {PHALM: Building a Knowledge Graph from Scratch by Prompting Humans and a Language Model},
  author = {Tatsuya Ide and Eiki Murata and Daisuke Kawahara and Takato Yamazaki and Shengzhe Li and Kenta Shinzato and Toshinori Sato},
  year   = {2023},
  eprint = {2310.07170},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.07170v1}
}

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

Discussion