paper-with-me

Papers

Reasoning Through Memorization: Nearest Neighbor Knowledge Graph Embeddings

2022-01-14 · Peng Wang, Xin Xie, Xiaohan Wang, Ningyu Zhang

Previous knowledge graph embedding approaches usually map entities to representations and utilize score functions to predict the target entities, yet they typically struggle to reason rare or emerging unseen entities. In this paper, we propose kNN-KGE, a new knowledge graph embedding approach with pre-trained language models, by linearly interpolating its entity distribution with k-nearest neighbors. We compute the nearest neighbors based on the distance in the entity embedding space from the knowledge store. Our approach can allow rare or emerging entities to be memorized explicitly rather than implicitly in model parameters. Experimental results demonstrate that our approach can improve inductive and transductive link prediction results and yield better performance for low-resource settings with only a few triples, which might be easier to reason via explicit memory. Code is available at https://github.com/zjunlp/KNN-KG.

📄 PDF Abstract BibTeX arXiv:2201.05575

Code (1)

zjunlp/knn-kg 공식 구현 pytorch

Tasks

Graph EmbeddingKnowledge Graph EmbeddingKnowledge Graph EmbeddingsLink PredictionMemorization

Similar Papers 제목 키워드 기반

Generalization through Memorization: Nearest Neighbor Language Models

2019-11-01 · ICLR 2020 1 · Urvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer 외

We introduce $k$NN-LMs, which extend a pre-trained neural language model (LM) by linearly interpolating it with a $k$-nearest neighbors ($k$NN) model. The nearest neighbors are computed according to distance in the pre-t…

Domain AdaptationLanguage ModelingLanguage ModellingMemorization

Cross-Domain Generalization Through Memorization: A Study of Nearest Neighbors in Neural Duplicate Question Detection

2020-11-22 · Yadollah Yaghoobzadeh, Alexandre Rochette, Timothy J. Hazen

Duplicate question detection (DQD) is important to increase efficiency of community and automatic question answering systems. Unfortunately, gathering supervised data in a domain is time-consuming and expensive, and our …

Domain GeneralizationMemorizationQuestion AnsweringRetrieval

Federated Nearest Neighbor Machine Translation

2023-02-23 · Yichao Du, Zhirui Zhang, Bingzhe Wu, Lemao Liu 외

To protect user privacy and meet legal regulations, federated learning (FL) is attracting significant attention. Training neural machine translation (NMT) models with traditional FL algorithm (e.g., FedAvg) typically rel…

Federated LearningMachine TranslationMemorizationNMT+2

Personalized Federated Learning through Local Memorization

2021-11-17 · Othmane Marfoq, Giovanni Neglia, Laetitia Kameni, Richard Vidal

Federated learning allows clients to collaboratively learn statistical models while keeping their data local. Federated learning was originally used to train a unique global model to be served to all clients, but this ap…

Binary ClassificationFairnessFederated LearningGeneralization Bounds+2

On Memorization in Probabilistic Deep Generative Models

2021-06-06 · Gerrit J. J. van den Burg, Christopher K. I. Williams

Recent advances in deep generative models have led to impressive results in a variety of application domains. Motivated by the possibility that deep learning models might memorize part of the input data, there have been …

Density EstimationMemorization