Node importance estimation leveraging LLMs for semantic augmentation in knowledge graphs

Xinyu Lin, Tianyu Zhang, Chengbin Hou, Jinbao Wang, Jianye Xue, Hairong Lv

TL;DR

LENIE (LLMs Empowered Node Importance Estimation) leverages the vast internal knowledge of Large Language Models to "fix" incomplete or inaccurate semantic data within Knowledge Graphs. By combining diverse local graph context with adaptive prompting, it generates enriched node descriptions that significantly boost the accuracy of identifying critical nodes across various graph architectures.

What Problem Does This Paper Address?

Node Importance Estimation (NIE) is the task of determining which entities in a graph are the most significant—think of it as a sophisticated version of Google’s PageRank for complex, real-world data. Modern NIE models rely on Knowledge Graphs (KGs), which contain both structural links (triplets like Head-Relation-Tail) and semantic data (textual descriptions of nodes).

However, real-world KGs are notoriously messy. As shown in the figure below, node descriptions are often insufficient (too brief), missing entirely, or even inaccurate.

Challenges in KG semantic information

These semantic deficiencies act as a ceiling for model performance. If a movie node in a graph has no description or lists the wrong director, a model will struggle to correctly rank its importance relative to others.

Methods

The authors propose LENIE, a framework that uses LLMs as a "semantic engine" to augment KG data before it ever reaches the importance estimation model. The process follows three main steps:

  1. Clustering-based Triplet Sampling: To give the LLM a holistic view of a node, LENIE extracts its one-hop neighbors. Instead of random sampling, it uses a clustering strategy in the semantic space to select a diverse set of triplets. This ensures the LLM sees different types of relationships (e.g., a movie's director, its genre, and its sequels) rather than just a repetitive list of actors.
  2. Augmented Description Generation: The sampled triplets and any existing (potentially flawed) descriptions are fed into an LLM (like Llama 3.1) using adaptive prompts. The LLM synthesizes this data with its own internal knowledge to generate a "cleaned," detailed, and accurate node overview.
  3. Downstream NIE Integration: These high-quality descriptions are converted into semantic embeddings using a text encoder (like all-mpnet-base-v2) and used to initialize node features for Graph Neural Networks (GNNs) like RGTN or LICAP.
The LENIE Framework Overview

Datasets

The researchers evaluated LENIE on three diverse real-world knowledge graphs:

  • FB15K: A subset of Freebase where node importance is derived from Wikipedia pageviews.
  • TMDB5K: A movie knowledge graph where movie popularity serves as the importance metric.
  • MUSIC10K: A music graph where artist "familiarity" is the target score. Notably, this dataset lacks original node descriptions, making it a perfect test case for LENIE’s ability to generate information from scratch.

Key Insights and Ideas

  • LLMs as Error Correctors: One of the most striking findings is that LLMs can act as a "truth check." In a case study for the movie 2 Fast 2 Furious, the KG incorrectly listed an assistant director as the main director. The LLM, drawing on its training data, corrected this error in the generated description.
  • Diversity Over Quantity: The clustering-based sampling proved superior to random sampling. By forcing the LLM to look at diverse relationship types, the resulting descriptions were more comprehensive and better captured the node's multi-faceted role in the graph.
  • Semantics are the Bottleneck: The experiments showed that even simple non-GNN models (like Linear Regression) saw massive performance gains just by using better text embeddings. This suggests that in many NIE tasks, the quality of semantic information is just as important as the graph's topology.

Key Results

LENIE achieved new state-of-the-art (SOTA) results across nearly all metrics and datasets.

  • Significant Gains: On the TMDB5K dataset, LENIE improved the baseline RGTN model by an average of 3.7% across metrics, with a 6% jump in the "Overlap@100" metric (a measure of how many of the top 100 most important nodes were correctly identified).
  • Filling the Gap: On the MUSIC10K dataset (which had no original descriptions), LENIE provided a massive 19.6% improvement in Spearman’s rank correlation, proving it can effectively "hallucinate" accurate data when given enough graph context.
  • Model Agnostic: The framework boosted performance for a wide variety of models, including GCN, GraphSAGE, and specialized NIE models like GENI and LICAP.

Limitations and Future Work

While LENIE is powerful, the authors note a few areas for growth:

  • Label Integration: Currently, LENIE does not include known importance scores (labels) in the LLM prompt. Future versions might use these scores to help the LLM understand why certain nodes are important.
  • Task Expansion: The authors suggest that this method of semantic augmentation could be extended beyond node importance to other KG tasks like link prediction or entity alignment.
  • Computational Cost: Although not detailed in the results, the requirement of calling an LLM for every node in a large graph could be a bottleneck for massive production-scale KGs.

Summary updated

BibTeX
@article{lin2025node,
  author = {Xinyu Lin and Tianyu Zhang and Chengbin Hou and Jinbao Wang and Jianye Xue and Hairong Lv},
  title = {{Node importance estimation leveraging LLMs for semantic augmentation in knowledge graphs}},
  journal = {Knowledge-Based Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=8uydPdTI0g},
}
Figure