Meta learning based few shot knowledge graph completion with domain selected aggregation
摘要
With the rapid development of artificial intelligence, knowledge graphs have become increasingly important for many downstream reasoning tasks. Although large-scale knowledge graphs have been constructed in many domains, many relations still suffer from data sparsity, making few-shot knowledge graph completion a practical and challenging problem. Existing methods typically enhance entity embeddings by aggregating one-hop neighbors. However, these neighbors often contain many irrelevant entities to the target relation, which introduces a large amount of noise. And existing methods are not sensitive to the semantic differences and task characteristics in the reference set, which leads to a lack of deep semantic meanings in relation representations and weakens relation inference. To address these challenges, we propose meta learning based few shot knowledge graph completion with domain selected aggregation. Specifically, the method introduces a domain-selected neighborhood aggregation mechanism that dynamically filters irrelevant neighbors through a selection strategy and a gating module, effectively suppressing noise propagation under sparse data conditions. Moreover, a relation meta-learner is designed by integrating contextual attention with a multi-layer perceptron to capture deep semantic correlations among reference triples and generate more expressive task-aware relational representations. An embedding learner further utilizes a meta-optimization strategy to enable rapid adaptation to new tasks. Experiments on NELL-One and Wiki-One datasets demonstrate that the method significantly outperforms state-of-the-art baselines. Specifically, in 5-shot tasks, it achieves performance improvements of