[Paper Review] Automated Construction of Theme-specific Knowledge Graphs
The paper proposes TKGCon, an unsupervised framework to build fine-grained, theme-specific knowledge graphs from a corpus by combining Wikipedia-based ontologies with LLM-generated relation candidates, and demonstrates its effectiveness on two themes.
Despite widespread applications of knowledge graphs (KGs) in various tasks such as question answering and intelligent conversational systems, existing KGs face two major challenges: information granularity and deficiency in timeliness. These hinder considerably the retrieval and analysis of in-context, fine-grained, and up-to-date knowledge from KGs, particularly in highly specialized themes (e.g., specialized scientific research) and rapidly evolving contexts (e.g., breaking news or disaster tracking). To tackle such challenges, we propose a theme-specific knowledge graph (i.e., ThemeKG), a KG constructed from a theme-specific corpus, and design an unsupervised framework for ThemeKG construction (named TKGCon). The framework takes raw theme-specific corpus and generates a high-quality KG that includes salient entities and relations under the theme. Specifically, we start with an entity ontology of the theme from Wikipedia, based on which we then generate candidate relations by Large Language Models (LLMs) to construct a relation ontology. To parse the documents from the theme corpus, we first map the extracted entity pairs to the ontology and retrieve the candidate relations. Finally, we incorporate the context and ontology to consolidate the relations for entity pairs. We observe that directly prompting GPT-4 for theme-specific KG leads to inaccurate entities (such as "two main types" as one entity in the query result) and unclear (such as "is", "has") or wrong relations (such as "have due to", "to start"). In contrast, by constructing the theme-specific KG step by step, our model outperforms GPT-4 and could consistently identify accurate entities and relations. Experimental results also show that our framework excels in evaluations compared with various KG construction baselines.
Motivation & Objective
- Address limited granularity and timeliness in existing knowledge graphs for theme-specific research.
- Automatically construct theme-specific knowledge graphs (ThemeKG) from raw corpora without annotations.
- Leverage Wikipedia-derived entity ontology and LLM-generated relation ontology to guide extraction.
- Ensure coherence to the theme and reduce hallucinations through a staged ontology-guided pipeline.
Proposed method
- Construct a theme ontology from Wikipedia entity categories to form the entity ontology.
- Generate a relation ontology by querying LLMs for candidate relations between theme entity categories, guided by the entity ontology (jointly considering category pairs).
- Recognize and type entity mentions in the theme documents and map them to the closest Wikipedia category in the entity ontology.
- Retrieve candidate relations for entity pairs from the relation ontology and their parent categories, then filter and consolidate using document context with LLMs.
- Use a staged, context-aware prompting framework to select the best relation for each entity pair, allowing addition of new triples to enrich the ThemeKG.
- Compare against baselines and perform ablation to show the impact of ontology guidance (TKGCon w/ ontology vs. TKGCon w/o ontology).
Experimental results
Research questions
- RQ1Can theme-specific KGs be constructed accurately from theme-relevant corpora without supervision?
- RQ2Does ontology-guided extraction improve entity and relation accuracy and theme coherence compared with end-to-end GPT-4 prompts or OpenIE baselines?
- RQ3How does incorporating Wikipedia-derived entity ontologies and LLM-generated relation ontologies affect precision, recall, and coherence of ThemeKGs?
- RQ4What is the impact of an ontology-guided pipeline versus a w/o-ontology variant on triple quality and theme relevance?
Key findings
- TKGCon outperforms baseline KG construction methods on entity and triple metrics and achieves high theme coherence.
- End-to-end GPT-4 prompting can produce inaccurate entities and unclear or wrong relations, while the ontology-guided approach reduces such issues.
- Entity recognition is enhanced by explicit phrase mining and filtering, improving recall and precision over baselines.
- Using an ontology-guided relation ontology yields more accurate and coherent theme-specific relations than end-to-end prompting.
- Ablation shows that removing the ontology guidance degrades relation quality and overall KG coherence.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.