atlas

Research map / Graph learning / Knowledge and temporal graphs

KGGen: Extracting Knowledge Graphs from Plain Text with Language Models

NeurIPS 2025 · Graph learning › Knowledge and temporal graphs · approach: Temporal knowledge graph reasoning · 9 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Presents KGGen, an LM-based text-to-knowledge-graph extractor with iterative embedding-plus-LLM entity and edge resolution, and the MINE benchmark for judging extracted KGs.

Problem

Plain-text-to-knowledge-graph extraction produces sparse graphs with near-unique entities and relation types, and no good benchmarks exist to measure extractor fidelity.

Approach

Extract triples with an LLM in two steps (entities, then relations), aggregate across sources, then iteratively cluster S-BERT embeddings (k-means into 128-item clusters, top-k=16 BM25+semantic neighbours) and have the LLM identify duplicates and pick canonical aliases for both entities and edges.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use KGGen instead of GraphRAGplain-text KG extraction · MINE-1information retention (%): 47.80% -> 66.07%Helped
use KGGen instead of OpenIEplain-text KG extraction · MINE-1information retention (%): 29.84% -> 66.07%Helped
use Claude Sonnet 3.5 rather than Gemini 2.0 FlashKGGen · MINE-1information retention (%): 44 -> 73Helped
use GPT-4o rather than Gemini 2.0 FlashKGGen · MINE-1information retention (%): 44 -> 66Helped
use KGGen instead of GraphRAGtriple extraction · Validity of extracted triplesvalid triples (%): 0/100 (0%) -> 98/100 (98%)Helped
use KGGen instead of OpenIEtriple extraction · Validity of extracted triplesvalid triples (%): 55/100 (55%) -> 98/100 (98%)Helped
use KGGen for entity and relationship extractionSemEval-2010 Task 8 · 100 randomly selected sentencesboth target entities captured (%): 96/100Helped
use KGGen instead of GraphRAG on a 1,000,000-character corpusplain-text KG extraction · 1,000,000-character corpusprocessing time (s): 2,319 -> 551Helped
apply KGGen's entity and edge resolution as corpus size growsKGGen · 1,000,000-character corpusentity count: 4,602 -> 3,573Helped

Surprising findings

Limitations

Experimental setup

Datasets: WikiQA SemEval-2010 Task 8 The Name of the Wind (novel)

Benchmarks: MINE-1 MINE-2 SemEval-2010 Task 8

Metrics: MINE-1 fact retention score (%) MINE-2 answer accuracy triple validity (%) entity de-duplication ratio edges per unique relation

Baselines: OpenIE GraphRAG

Builds on: GraphRAG OpenIE DSPy BM25

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy