We introduce sub-sentence encoder, a contrastively-learned contextual embedding model for fine-grained semantic representation of text. In contrast to the standard practice with sentence embeddings, where the meaning of an entire sequence of text is encoded into a fixed-length vector, the sub-sentence encoder learns to produce distinct contextual embeddings corresponding to different atomic propositions, i.e. atomic units of meaning expressed within a text sequence. The sub-sentence embeddings are contrastively learned to recognize (inferred) semantic equivalence between propositions across different text sequences. Our experiments show the effectiveness of sub-sentence encoders in applications, such as retrieving supporting facts for fine-grained text attribution or recognizing the conditional semantic similarity between texts. In practice, we demonstrate that sub-sentence encoders keep the same level of inference cost and space complexity compared to sentence encoders.
Sub-Sentence Encoder: Contrastive Learning of Propositional Semantic Representations
A contrastively-learned contextual embedding model, sub-sentence encoder, provides fine-grained semantic representation by encoding atomic propositions rather than entire sentences, enhancing tasks like fine-grained text attribution and conditional semantic similarity recognition.
- Year
- 2023
- Venue
- arXiv 2023
- Authors
- 10
- Hosting
- Abstract onlyARXIV-DEFAULT
Cite
Notes
Only stored in your browser.
Attribution
- Abstract & full text
- arxiv.org/abs/2311.04335ARXIV-DEFAULT
- TL;DR
- Semantic Scholar