Relation-Aware Network with Attention-Based Loss for Few-Shot Knowledge Graph Completion
Few-shot knowledge graph completion (FKGC) task aims to predict unseen facts of a relation with few-shot reference entity pairs. Current approaches randomly select one negative sample for each reference entity pair to minimize a margin-based ranking loss, which easily leads to a zero-loss problem if the negative sample is far away from the positive sample and then out of the margin. Moreover, the entity should have a different representation under a different context. To tackle these issues, we propose a novel Relation-Aware Network with Attention-Based Loss (RANA) framework. Specifically, to better utilize the plentiful negative samples and alleviate the zero-loss issue, we strategically select relevant negative samples and design an attention-based loss function to further differentiate the importance of each negative sample. The intuition is that negative samples more similar to positive samples will contribute more to the model. Further, we design a dynamic relation-aware entity encoder for learning a context-dependent entity representation. Experiments demonstrate that RANA outperforms the state-of-the-art models on two benchmark datasets.
Code (0)
등록된 구현이 없습니다.
Tasks
Knowledge Graph CompletionRelationSimilar Papers 제목 키워드 기반
HGNet: Scalable Foundation Model for Automated Knowledge Graph Generation from Scientific Literature
Automated knowledge graph (KG) construction is essential for navigating the rapidly expanding body of scientific literature. However, existing approaches struggle to recognize long multi-word entities, often fail to gene…
Relation ExtractionGraph GenerationAdaptive Attentional Network for Few-Shot Knowledge Graph Completion
Few-shot Knowledge Graph (KG) completion is a focus of current research, where each task aims at querying unseen facts of a relation given its few-shot reference entity pairs. Recent attempts solve this problem by learni…
Knowledge Graph CompletionLink PredictionMulti-Label Zero-Shot Learning with Transfer-Aware Label Embedding Projection
Zero-shot learning transfers knowledge from seen classes to novel unseen classes to reduce human labor of labelling data for building new classifiers. Much effort on zero-shot learning however has focused on the standard…
image-classificationImage ClassificationMulti-Label Image ClassificationMulti-label zero-shot learning+2AUCH-Net: Action Unit-Based Consistency-Aware Hypergraph Network for Cross-Domain Few-Shot Facial Expression Recognition
Recently, cross-domain few-shot facial expression recognition (CF-FER) has received considerable attention. However, the performance of existing CF-FER methods is still unsatisfactory due to inferior transferable feature…
Facial Expression RecognitionCross-Domain Few-ShotTime-aware Relational Graph Attention Network for Temporal Knowledge Graph Embeddings
Embedding-based representation learning approaches for knowledge graphs (KGs) have been mostly designed for static data. However, many KGs involve temporal data, which creates the need for new representation learning app…
Entity AlignmentGraph AttentionKnowledge Graph EmbeddingsKnowledge Graphs+1