A novel method enhances knowledge graph completion by using LLMs with topological information through in-context learning, working in both transductive and inductive settings.
-----
https://arxiv.org/abs/2412.08742
π€ Original Problem:
Knowledge graphs often suffer from incompleteness, limiting their real-world impact. Traditional completion methods struggle with complex relationships and new entities.
-----
π§ Solution in this Paper:
β The method generates ontologies from knowledge graphs using LLMs to extract structured knowledge and node categories
β It incorporates two types of topological information: ontology topology and graph topology
β For each relation, it creates node sets containing head and tail nodes
β The system prompts LLMs to predict node categories while maintaining consistency
β During prediction, it uses ontology to infer missing node categories
β The approach leverages graph topology to identify candidate solutions
β Chain-of-thought reasoning is applied for final predictions
-----
π― Key Insights:
β LLMs can effectively generate structured ontologies from raw graph data
β Topological information significantly improves prediction accuracy
β The method requires no additional training, making it immediately applicable
β Performance depends on graph density and connection richness










