RelBERT: Embedding Relations with Language Models
Not on the map. Why?
Abstract (arXiv)
Many applications need access to background knowledge about how different concepts and entities are related. Although Knowledge Graphs (KG) and Large Language Models (LLM) can address this need to some extent, KGs are inevitably incomplete and their relational schema is often too coarse-grained, while LLMs are inefficient and difficult to control. As an alternative, we propose to extract relation embeddings from relatively small language models. In particular, we show that masked language models such as RoBERTa can be straightforwardly fine-tuned for this purpose, using only a small amount of training data. The resulting model, which we call RelBERT, captures relational similarity in a surprisingly fine-grained way, allowing us to set a new state-of-the-art in analogy benchmarks. Crucially, RelBERT is capable of modelling relations that go well beyond what the model has seen during training. For instance, we obtained strong results on relations between named entities with a model that was only trained on lexical relations between concepts, and we observed that RelBERT can recognise morphological analogies despite not being trained on such examples. Overall, we find that RelBERT significantly outperforms strategies based on prompting language models that are several orders of magnitude larger, including recent GPT-based models and open source models.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 72 of its 149 references that are in the map. First posted on arXiv 30 Sep 2023.
Builds on
72 of 149 references.
References · 72
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
38 more
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2016Enriching Word Vectors with Subword Informationcited by 1,578
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,065
- 2019How Can We Know What Language Models Know?cited by 953
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2019COMET: Commonsense Transformers for Automatic Knowledge Graph Constructioncited by 450
- 2021QA-GNN: Reasoning with Language Models and Knowledge Graphs for Question Answeringcited by 386
- 2019KGAT: Knowledge Graph Attention Network for Recommendationcited by 342
- 2020LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attentioncited by 326
- 2019ERNIE: Enhanced Representation through Knowledge Integrationcited by 301
- 2019Knowledge Enhanced Contextual Word Representationscited by 294
- 2021Symbolic Knowledge Distillation: from General Language Models to Commonsense Modelscited by 270
- 2019Negated and Misprimed Probes for Pretrained Language Models: Birds Can Talk, But Cannot Flycited by 240
- 2022OPT-IML: Scaling Language Model Instruction Meta Learning through the Lens of Generalizationcited by 235
- 2021How Many Data Points is a Prompt Worth?cited by 197
- 2019Commonsense Knowledge Mining from Pretrained Modelscited by 189
- 2019BERT has a Mouth, and It Must Speak: BERT as a Markov Random Field Language Modelcited by 184
- 2018DKN: Deep Knowledge-Aware Network for News Recommendationcited by 137
- 2021Multilingual LAMA: Investigating Knowledge in Multilingual Pretrained Language Modelscited by 132
- 2020Language Models as Knowledge Bases: On Entity Representations, Storage Capacity, and Paraphrased Queriescited by 107
- 2019Scene Graph Generation with External Knowledge and Image Reconstructioncited by 102
- 2021Improving and Simplifying Pattern Exploiting Trainingcited by 97
- 2020Language Models are Open Knowledge Graphscited by 95
- 2021CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIPcited by 88
- 2023Crawling the Internal Knowledge-Base of Language Modelscited by 85
- 2018One-Shot Relational Learning for Knowledge Graphscited by 78
- 2021Multi-Modal Answer Validation for Knowledge-Based VQAcited by 78
- 2019Inducing Relational Knowledge from BERTcited by 75
- 2019Barack's Wife Hillary: Using Knowledge-Graphs for Fact-Aware Language Modelingcited by 71
- 2019Analogies Explained: Towards Understanding Word Embeddingscited by 63
- 2018Towards Understanding Linear Word Analogiescited by 57
- 2021BERT is to NLP what AlexNet is to CV: Can Pre-Trained Language Models Identify Analogies?cited by 56
- 2017Deep Hyperspherical Learningcited by 55
- 2021BERTMap: A BERT-based Ontology Alignment Systemcited by 45
50 most cited of 72 All 72 (JSON)
Built on by
Citing papers per year: 2024: 1.
1 paper.
- 2024Ontological Relations from Word Embeddingscited by 0
- 2024Ontological Relations from Word Embeddings1 Aug 2024