paper-with-me

홈 › Papers

NSCaching: Simple and Efficient Negative Sampling for Knowledge Graph Embedding

2018-12-16 · Yongqi Zhang, Quanming Yao, Yingxia Shao, Lei Chen

Knowledge Graph (KG) embedding is a fundamental problem in data mining research with many real-world applications. It aims to encode the entities and relations in the graph into low dimensional vector space, which can be used for subsequent algorithms. Negative sampling, which samples negative triplets from non-observed ones in the training data, is an important step in KG embedding. Recently, generative adversarial network (GAN), has been introduced in negative sampling. By sampling negative triplets with large scores, these methods avoid the problem of vanishing gradient and thus obtain better performance. However, using GAN makes the original model more complex and hard to train, where reinforcement learning must be used. In this paper, motivated by the observation that negative triplets with large scores are important but rare, we propose to directly keep track of them with the cache. However, how to sample from and update the cache are two important questions. We carefully design the solutions, which are not only efficient but also achieve a good balance between exploration and exploitation. In this way, our method acts as a "distilled" version of previous GA-based methods, which does not waste training time on additional parameters to fit the full distribution of negative triplets. The extensive experiments show that our method can gain significant improvement in various KG embedding models, and outperform the state-of-the-art negative sampling methods based on GAN.

📄 PDF Abstract BibTeX arXiv:1812.06410

Code (6)

AutoML-4Paradigm/ERAS pytorch
AutoML-4Paradigm/NSCaching pytorch
AutoML-4Paradigm/S2S pytorch
AutoML-Research/S2S pytorch
automl-research/nscaching pytorch
yzhangee/NSCaching pytorch

Tasks

Generative Adversarial NetworkGraph EmbeddingKnowledge Graph EmbeddingLink PredictionReinforcement Learning

Methods 이 논문이 사용한 방법론

Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…
Dogecoin Customer Service Number +1-833-534-1729 설명 없음

Similar Papers 제목 키워드 기반

Efficient, Simple and Automated Negative Sampling for Knowledge Graph Embedding

2020-10-24 · Yongqi Zhang, Quanming Yao, Lei Chen

Negative sampling, which samples negative triplets from non-observed ones in knowledge graph (KG), is an essential step in KG embedding. Recently, generative adversarial network (GAN), has been introduced in negative sam…

Generative Adversarial NetworkGraph EmbeddingKnowledge Graph Embedding

Stay Positive: Knowledge Graph Embedding Without Negative Sampling

2022-01-07 · Ainaz Hajimoradlou, Mehran Kazemi

Knowledge graphs (KGs) are typically incomplete and we often wish to infer new facts given the existing ones. This can be thought of as a binary classification problem; we aim to predict if new facts are true or false. U…

Binary ClassificationGraph EmbeddingKnowledge Graph EmbeddingKnowledge Graphs

Structure Aware Negative Sampling in Knowledge Graphs

2020-09-23 · EMNLP 2020 11 · Kian Ahrabian, Aarash Feizi, Yasmin Salehi, William L. Hamilton 외

Learning low-dimensional representations for entities and relations in knowledge graphs using contrastive estimation represents a scalable and effective method for inferring connectivity patterns. A crucial aspect of con…

Contrastive LearningKnowledge Graphs

MixKG: Mixing for harder negative samples in knowledge graph

2022-02-19 · Feihu Che, Guohua Yang, Pengpeng Shao, Dawei Zhang 외

Knowledge graph embedding~(KGE) aims to represent entities and relations into low-dimensional vectors for many real-world applications. The representations of entities and relations are learned via contrasting the positi…

Graph EmbeddingKnowledge Graph EmbeddingKnowledge Graphs

Boosting Knowledge Graph Foundation Models via Enhanced Negative Sampling

2026-05-26 · Yinan Liu, Wenjin Xu, Zhiyuan Zha, Xiaochun Yang 외 arxiv

Knowledge graphs (KGs) have become the core backbone of numerous downstream tasks such as question answering and recommender systems. However, despite all this, KGs are often very incomplete. To perform zero-shot knowled…

Knowledge Graph CompletionQuestion AnsweringKnowledge Graphs