Grounded Knowledge Graph Extraction via LLMs: An Anchor-Constrained Framework with Provenance Tracking
Knowledge graphs represent real-world facts as structured triplets and underpin a wide range of applications, including question answering, recommendation, and retrieval-augmented generation. Automatically extracting such triplets from unstructured text is essential for scalable knowledge base construction. Traditional extraction methods require task-specific training data and struggle to generalize across domains. Large language models (LLMs) offer an alternative through in-context learning, enabling flexible extraction without fine-tuning. However, LLMs frequently hallucinate—generating plausible triplets unsupported by the source text. The root cause is the lack of provenance: existing methods produce triplets without explicit links to their textual origins, making faithfulness unverifiable. This paper presents Anchor-Extraction-Verification-Supplement (AEVS), a framework that grounds every triplet element to the source text. AEVS operates in three stages: (1) anchor discovery identifies entities, relation phrases, and attribute values with precise positions, forming a constrained extraction vocabulary; (2) grounded extraction generates triplets linked to discovered anchors; and (3) restoration-based verification validates triplets through hierarchical matching, with a coverage-aware supplement ensuring comprehensive extraction. Experiments on WebNLG, REBEL, and Wiki-NRE demonstrate consistent improvements over both trained models and LLM-based baselines. Ablation studies confirm that anchor-based constraints are the primary mechanism for hallucination reduction. Dedicated analyses of anchor discovery quality, computational cost (2.83–4.28 LLM calls per sample), and hallucination rates (0.23–20.23% across model–dataset configurations) provide insights into the framework’s practical applicability and limitations.
Authors
- Yan Zhao (ORCID: https://orcid.org/0000-0002-1234-4455)
- Yuzhao Yang
- Genlang Chen
- Binhua He
Institutions
- Zhejiang Sci-Tech University (CN)
- Ningbo University of Technology (CN)
- Southeast University (CN)
Publication Details
- Journal
- Computers
- Published
- 2026-03-09
- DOI
- https://doi.org/10.3390/computers15030178
- Primary Topic
- Advanced Graph Neural Networks
- Type
- article
- Field-Weighted Citation Impact
- 0.00