🤖 AI Summary
The organization of implicit knowledge in large language models (LLMs) remains poorly understood, particularly due to the lack of interpretable, quantitative measures for knowledge distribution. Method: We propose a knowledge-graph-based framework to quantify knowledge strength at both triple and entity levels, revealing—through empirical analysis—a previously unobserved graph-structural homophily phenomenon within LLMs: high-knowledge-strength entities preferentially connect to other high-knowledge-strength entities. Leveraging this insight, we design a local-neighborhood-aware knowledge estimator for fine-grained identification of knowledge blind spots. Based on these findings, we introduce a knowledge-aware fine-tuning strategy. Contribution/Results: Our approach significantly improves performance across multiple downstream tasks. It establishes a novel paradigm for LLM knowledge editing, enhancement, and interpretability analysis by grounding knowledge representation in principled graph-theoretic principles.
📝 Abstract
Large language models have been extensively studied as neural knowledge bases for their knowledge access, editability, reasoning, and explainability. However, few works focus on the structural patterns of their knowledge. Motivated by this gap, we investigate these structural patterns from a graph perspective. We quantify the knowledge of LLMs at both the triplet and entity levels, and analyze how it relates to graph structural properties such as node degree. Furthermore, we uncover the knowledge homophily, where topologically close entities exhibit similar levels of knowledgeability, which further motivates us to develop graph machine learning models to estimate entity knowledge based on its local neighbors. This model further enables valuable knowledge checking by selecting triplets less known to LLMs. Empirical results show that using selected triplets for fine-tuning leads to superior performance.