# Domain and Function: A Dual-Space Model of Semantic Relations and Compositions

arXiv: https://arxiv.org/abs/1309.4035 · HTML: https://mlsanity.com/paper/1309.4035/

## Key facts

- Cited by 13 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 16 Sep 2013.

## Built on by (most cited first, 13 of 13)

- [Better to Ask in English: Cross-Lingual Evaluation of Large Language Models for Healthcare Queries](https://mlsanity.com/paper/2310.13132/) (2023)
- [Phrase-BERT: Improved Phrase Embeddings from BERT with an Application to Corpus Exploration](https://mlsanity.com/paper/2109.06304/) (2021)
- [Mechanistic?](https://mlsanity.com/paper/2410.09087/) (2024)
- [Distilling Relation Embeddings from Pre-trained Language Models](https://mlsanity.com/paper/2110.15705/) (2021)
- [Probabilistic Analogical Mapping with Semantic Relation Networks](https://mlsanity.com/paper/2103.16704/) (2021)
- [Quantum Mathematics in Artificial Intelligence](https://mlsanity.com/paper/2101.04255/) (2021)
- [Learning Meta Word Embeddings by Unsupervised Weighted Concatenation of Source Embeddings](https://mlsanity.com/paper/2204.12386/) (2022)
- [Learning High-Quality and General-Purpose Phrase Representations](https://mlsanity.com/paper/2401.10407/) (2024)
- [Extending Multi-Sense Word Embedding to Phrases and Sentences for Unsupervised Semantic Applications](https://mlsanity.com/paper/2103.15330/) (2021)
- [PiC: A Phrase-in-Context Dataset for Phrase Understanding and Semantic Search](https://mlsanity.com/paper/2207.09068/) (2022)
- [Solving Hard Analogy Questions with Relation Embedding Chains](https://mlsanity.com/paper/2310.12379/) (2023)
- [Traffic Light or Light Traffic? Investigating Phrasal Semantics in Large Language Models](https://mlsanity.com/paper/2410.02308/) (2024)
- [On the Diversity of Analogy Making in Large Language Models](https://mlsanity.com/paper/2608.03233/) (2026)

## Abstract (arXiv)

Given appropriate representations of the semantic relations between carpenter and wood and between mason and stone (for example, vectors in a vector space model), a suitable algorithm should be able to recognize that these relations are highly similar (carpenter is to wood as mason is to stone; the relations are analogous). Likewise, with representations of dog, house, and kennel, an algorithm should be able to recognize that the semantic composition of dog and house, dog house, is highly similar to kennel (dog house and kennel are synonymous). It seems that these two tasks, recognizing relations and compositions, are closely connected. However, up to now, the best models for relations are significantly different from the best models for compositions. In this paper, we introduce a dual-space model that unifies these two tasks. This model matches the performance of the best previous models for relations and compositions. The dual-space model consists of a space for measuring domain similarity and a space for measuring function similarity. Carpenter and wood share the same domain, the domain of carpentry. Mason and stone share the same domain, the domain of masonry. Carpenter and mason share the same function, the function of artisans. Wood and stone share the same function, the function of materials. In the composition dog house, kennel has some domain overlap with both dog and house (the domains of pets and buildings). The function of kennel is similar to the function of house (the function of shelters). By combining domain and function similarities in various ways, we can model relations, compositions, and other aspects of semantics.
