Introduction
Knowledge Graphs (KGs) serve as the foundational infrastructure for modern AI applications, including search engines and recommendation systems. Despite their utility, KGs are frequently plagued by noise; for instance, the widely utilized NELL dataset contains approximately 26% incorrect triples. Current error detection methodologies generally fall into two categories: explicit evidence (path/subgraph analysis) and implicit embeddings (vector space mapping). However, these approaches often operate as "black boxes," providing confidence scores without explanatory context and typically relying on a single, static perspective. This lack of transparency hinders human verification and model iterative improvement.
Methodology: The MAKGED Framework
To address these limitations, we introduce MAKGED (Multi-Agent framework for Knowledge Graph Error Detection). This framework conceptualizes error detection as a collaborative, social evaluation process involving specialized agents.
Specialized Agents and Hybrid Embeddings
MAKGED utilizes four distinct agents defined by the directional context of a triple's head and tail entities: Head Forward, Head Backward, Tail Forward, and Tail Backward. This multi-perspective approach ensures that a triple is evaluated within its complete structural neighborhood.
Each agent is powered by a hybrid embedding scheme. A Graph Convolutional Network (GCN) captures the structural positioning of entities within the graph, while Llama2 processes the semantic meaning of the textual data. These embeddings are concatenated and fine-tuned using Low-Rank Adaptation (LoRA) to specialize each agent for its specific directional task.
The Analysis and Cooperation Pipeline
The evaluation process follows a two-phase pipeline:
- Analysis Phase: Agents independently assess the triple. If immediate consensus is reached, the process concludes.
- Cooperation Phase: In cases of disagreement, agents engage in a multi-round discussion (up to three rounds). They exchange evidence and viewpoints until a majority vote or a designated summarizer agent reaches a final verdict.
Experimental Evaluation
The framework was rigorously tested on three datasets: FB15K (Freebase subset), WN18RR (WordNet subset), and the China Mobile Industrial KG (a real-world domain-specific dataset). To simulate realistic conditions, erroneous triples were generated by replacing correct entities with semantically similar ones, resulting in a testbed with approximately 30% noise.
Key Results
MAKGED consistently outperformed state-of-the-art (SOTA) benchmarks:
- Accuracy: On WN18RR, MAKGED achieved 82.83%, representing a 6.62% improvement over the previous SOTA (CCA). On FB15K, it reached 77.48%.
- Robustness: The framework achieved an F1-score of 0.7909 on WN18RR, surpassing standard LLMs like GPT-3.5 and Llama3.
- Efficiency: Consensus was reached in an average of 1.8 rounds, with each round averaging 2.3 seconds, demonstrating feasibility for industrial applications.
Discussion and Insights
The success of MAKGED highlights that perspective matters in KG verification; an error might be invisible from a head entity's perspective but obvious when examining the tail's incoming connections. Furthermore, the framework provides transparency through dialogue. Unlike probability-based models, MAKGED generates a transcript of the agents' reasoning, allowing human editors to understand the logic behind a flagged error.
Limitations and Future Work
While effective, the computational cost of running multiple LLM agents is higher than traditional embedding models, posing challenges for scaling to billion-triple graphs. Future research will explore diversifying agent specializations (e.g., temporal or geospatial agents) and adapting the framework for real-time fact-checking as new data is ingested into the KG.
Summary updated