Distilling Relation Embeddings from Pre-trained Language Models
Not on the map. Why?
Abstract (arXiv)
Pre-trained language models have been found to capture a surprisingly rich amount of lexical knowledge, ranging from commonsense properties of everyday concepts to detailed factual knowledge about named entities. Among others, this makes it possible to distill high-quality word vectors from pre-trained language models. However, it is currently unclear to what extent it is possible to distill relation embeddings, i.e. vectors that characterize the relationship between two words. Such relation embeddings are appealing because they can, in principle, encode relational knowledge in a more fine-grained way than is possible with knowledge graphs. To obtain relation embeddings from a pre-trained language model, we encode word pairs using a (manually or automatically generated) prompt, and we fine-tune the language model such that relationally similar word pairs yield similar output vectors. We find that the resulting relation embeddings are highly competitive on analogy (unsupervised) and relation classification (supervised) benchmarks, even without any task-specific fine-tuning. Source code to reproduce our experimental results and the model checkpoints are available in the following repository: https://github.com/asahi417/relbert
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 52 of its 95 references that are in the map. First posted on arXiv 21 Sep 2021.
Builds on
52 of 95 references.
References · 52
- 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
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 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
- 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
38 more
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 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
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2021GPT Understands, Toocited by 715
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2019COMET: Commonsense Transformers for Automatic Knowledge Graph Constructioncited by 450
- 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 436
- 2019Matching the Blanks: Distributional Similarity for Relation Learningcited by 271
- 2021How Many Data Points is a Prompt Worth?cited by 197
- 2019Assessing BERT's Syntactic Abilitiescited by 191
- 2019Commonsense Knowledge Mining from Pretrained Modelscited by 189
- 2019oLMpics -- On what Language Model Pre-training Capturescited by 161
- 2020Probing Pretrained Language Models for Lexical Semanticscited by 156
- 2019Learning Dense Representations for Entity Retrievalcited by 122
- 2021Improving and Simplifying Pattern Exploiting Trainingcited by 97
- 2019Evaluating Commonsense in Pre-trained Language Modelscited by 95
- 2021BERTese: Learning to Speak to BERTcited by 82
- 2019Inducing Relational Knowledge from BERTcited by 75
- 2019Do Neural Language Representations Learn Physical Commonsense?cited by 62
- 2021BERT is to NLP what AlexNet is to CV: Can Pre-Trained Language Models Identify Analogies?cited by 56
- 2019Table2Vec: Neural Word and Entity Embeddings for Table Population and Retrievalcited by 37
- 2020Linguistically-Informed Transformations (LIT): A Method for Automatically Generating Contrast Setscited by 31
- 2016Improving Hypernymy Detection with an Integrated Path-based and Distributional Methodcited by 26
- 2016Issues in evaluating semantic spaces using word analogiescited by 26
- 2019Quantity doesn't buy quality syntax with neural language modelscited by 25
- 2014Analogical Dissimilarity: Definition, Algorithms and Two Experiments in Machine Learningcited by 15
- 2013Domain and Function: A Dual-Space Model of Semantic Relations and Compositionscited by 13
- 2020Learning Which Features Matter: RoBERTa Acquires a Preference for Linguistic Generalizations (Eventually)cited by 12
- 2018pair2vec: Compositional Word-Pair Embeddings for Cross-Sentence Inferencecited by 10
- 2018Commonsense mining as knowledge base completion? A study on the impact of noveltycited by 8
- 2016Nine Features in a Random Forest to Learn Taxonomical Semantic Relationscited by 7
- 2016Relations such as Hypernymy: Identifying and Exploiting Hearst Patterns in Distributional Vectors for Lexical Entailmentcited by 4
- 2013Distributional semantics beyond words: Supervised learning of analogy and paraphrasecited by 3
- 2017Compositional Approaches for Representing Relations Between Words: A Comparative Studycited by 3
- 2018SeVeN: Augmenting Word Embeddings with Unsupervised Relation Vectorscited by 3
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2022: 2; 2023: 8; 2024: 4; 2025: 1.
15 papers.
Sort:
By area:
- 2023StoryAnalogy: Deriving Story-level Analogies from Large Language Models to Unlock Analogical Understandingcited by 26
- 2023Visual Grounding Helps Learn Word Meanings in Low-Data Regimescited by 16
- 2023Do large language models solve verbal analogies like children do?cited by 13
- 2022Modelling Commonsense Properties using Pre-Trained Bi-Encoderscited by 9
- 2023Can language models learn analogical reasoning? Investigating training objectives and comparisons to human performancecited by 9
- 2024Lexicon-Level Contrastive Visual-Grounding Improves Language Modelingcited by 6
- 2022Learning Dynamic Contextualised Word Embeddings via Template-based Temporal Adaptationcited by 2
- 2023A RelEntLess Benchmark for Modelling Graded Relations between Named Entitiescited by 1
- 2023RelBERT: Embedding Relations with Language Modelscited by 1
- 2024Knowledge Authoring with Factual English, Rules, and Actionscited by 1
- 2023Open-ended Commonsense Reasoning with Unrestricted Answer Scopecited by 0
- 2023Solving Hard Analogy Questions with Relation Embedding Chainscited by 0
3 more
- 2024SememeLM: A Sememe Knowledge Enhanced Method for Long-tail Relation Representationcited by 0
- 2024Semantic Component Analysis: Introducing Multi-Topic Distributions to Clustering-Based Topic Modelingcited by 0
- 2025Inferring Adjective Hypernyms with Language Models to Increase the Connectivity of Open English Wordnetcited by 0
- 2025Inferring Adjective Hypernyms with Language Models to Increase the Connectivity of Open English Wordnet12 Jun 2025
- 2024Knowledge Authoring with Factual English, Rules, and Actions9 Nov 2024
- 2024Semantic Component Analysis: Introducing Multi-Topic Distributions to Clustering-Based Topic Modeling28 Oct 2024
- 2024SememeLM: A Sememe Knowledge Enhanced Method for Long-tail Relation Representation13 Jun 2024
- 2024Lexicon-Level Contrastive Visual-Grounding Improves Language Modeling21 Mar 2024
- 2023Do large language models solve verbal analogies like children do?31 Oct 2023
- 2023Visual Grounding Helps Learn Word Meanings in Low-Data Regimes20 Oct 2023
- 2023StoryAnalogy: Deriving Story-level Analogies from Large Language Models to Unlock Analogical Understanding19 Oct 2023
- 2023Solving Hard Analogy Questions with Relation Embedding Chains18 Oct 2023
- 2023Open-ended Commonsense Reasoning with Unrestricted Answer Scope18 Oct 2023
- 2023Can language models learn analogical reasoning? Investigating training objectives and comparisons to human performance9 Oct 2023
- 2023RelBERT: Embedding Relations with Language Models30 Sep 2023
- 2023StoryAnalogy: Deriving Story-level Analogies from Large Language Models to Unlock Analogical Understandingcited by 26
- 2023Visual Grounding Helps Learn Word Meanings in Low-Data Regimescited by 16
- 2023Do large language models solve verbal analogies like children do?cited by 13
- 2022Modelling Commonsense Properties using Pre-Trained Bi-Encoderscited by 9
- 2024Lexicon-Level Contrastive Visual-Grounding Improves Language Modelingcited by 6
- 2022Learning Dynamic Contextualised Word Embeddings via Template-based Temporal Adaptationcited by 2
- 2023A RelEntLess Benchmark for Modelling Graded Relations between Named Entitiescited by 1
- 2023RelBERT: Embedding Relations with Language Modelscited by 1
- 2024Knowledge Authoring with Factual English, Rules, and Actionscited by 1
- 2023Solving Hard Analogy Questions with Relation Embedding Chainscited by 0
- 2024SememeLM: A Sememe Knowledge Enhanced Method for Long-tail Relation Representationcited by 0
- 2024Semantic Component Analysis: Introducing Multi-Topic Distributions to Clustering-Based Topic Modelingcited by 0
12 most cited of 13 All 13 (JSON)
- 2025Inferring Adjective Hypernyms with Language Models to Increase the Connectivity of Open English Wordnet12 Jun 2025
- 2024Knowledge Authoring with Factual English, Rules, and Actions9 Nov 2024
- 2024Semantic Component Analysis: Introducing Multi-Topic Distributions to Clustering-Based Topic Modeling28 Oct 2024
- 2024SememeLM: A Sememe Knowledge Enhanced Method for Long-tail Relation Representation13 Jun 2024
- 2024Lexicon-Level Contrastive Visual-Grounding Improves Language Modeling21 Mar 2024
- 2023Do large language models solve verbal analogies like children do?31 Oct 2023
- 2023Visual Grounding Helps Learn Word Meanings in Low-Data Regimes20 Oct 2023
- 2023StoryAnalogy: Deriving Story-level Analogies from Large Language Models to Unlock Analogical Understanding19 Oct 2023
- 2023Solving Hard Analogy Questions with Relation Embedding Chains18 Oct 2023
- 2023RelBERT: Embedding Relations with Language Models30 Sep 2023
- 2023A RelEntLess Benchmark for Modelling Graded Relations between Named Entities24 May 2023
- 2022Modelling Commonsense Properties using Pre-Trained Bi-Encoders6 Oct 2022
12 newest of 13 All 13 (JSON)