KGGen: Extracting Knowledge Graphs from Plain Text with Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Mo, Belinda, Yu, Kyssen, Kazdan, Joshua, Cabezas, Joan, Mpala, Proud, Yu, Lisa, Cundy, Chris, Kanatsoulis, Charilaos, Koyejo, Sanmi
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915600892166144
author Mo, Belinda
Yu, Kyssen
Kazdan, Joshua
Cabezas, Joan
Mpala, Proud
Yu, Lisa
Cundy, Chris
Kanatsoulis, Charilaos
Koyejo, Sanmi
author_facet Mo, Belinda
Yu, Kyssen
Kazdan, Joshua
Cabezas, Joan
Mpala, Proud
Yu, Lisa
Cundy, Chris
Kanatsoulis, Charilaos
Koyejo, Sanmi
contents Recent interest in building foundation models for KGs has highlighted a fundamental challenge: knowledge-graph data is relatively scarce. The best-known KGs are primarily human-labeled, created by pattern-matching, or extracted using early NLP techniques. While human-generated KGs are in short supply, automatically extracted KGs are of questionable quality. We present a solution to this data scarcity problem in the form of a text-to-KG generator (KGGen), a package that uses language models to create high-quality graphs from plaintext. Unlike other KG extractors, KGGen clusters related entities to reduce sparsity in extracted KGs. KGGen is available as a Python library (\texttt{pip install kg-gen}), making it accessible to everyone. Along with KGGen, we release the first benchmark, Measure of of Information in Nodes and Edges (MINE), that tests an extractor's ability to produce a useful KG from plain text. We benchmark our new tool against existing extractors and demonstrate far superior performance.
format Preprint
id arxiv_https___arxiv_org_abs_2502_09956
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle KGGen: Extracting Knowledge Graphs from Plain Text with Language Models
Mo, Belinda
Yu, Kyssen
Kazdan, Joshua
Cabezas, Joan
Mpala, Proud
Yu, Lisa
Cundy, Chris
Kanatsoulis, Charilaos
Koyejo, Sanmi
Computation and Language
Artificial Intelligence
Information Retrieval
Machine Learning
Recent interest in building foundation models for KGs has highlighted a fundamental challenge: knowledge-graph data is relatively scarce. The best-known KGs are primarily human-labeled, created by pattern-matching, or extracted using early NLP techniques. While human-generated KGs are in short supply, automatically extracted KGs are of questionable quality. We present a solution to this data scarcity problem in the form of a text-to-KG generator (KGGen), a package that uses language models to create high-quality graphs from plaintext. Unlike other KG extractors, KGGen clusters related entities to reduce sparsity in extracted KGs. KGGen is available as a Python library (\texttt{pip install kg-gen}), making it accessible to everyone. Along with KGGen, we release the first benchmark, Measure of of Information in Nodes and Edges (MINE), that tests an extractor's ability to produce a useful KG from plain text. We benchmark our new tool against existing extractors and demonstrate far superior performance.
title KGGen: Extracting Knowledge Graphs from Plain Text with Language Models
topic Computation and Language
Artificial Intelligence
Information Retrieval
Machine Learning
url https://arxiv.org/abs/2502.09956