Abstract
We present Relational Sentence Embedding (RSE), a new paradigm to further discover the potential of sentence embeddings. Prior work mainly models the similarity between sentences based on their embedding distance. Because of the complex semantic meanings conveyed, sentence pairs can have various relation types, including but not limited to entailment, paraphrasing, and question-answer. It poses challenges to existing embedding methods to capture such relational information. We handle the problem by learning associated relational embeddings. Specifically, a relation-wise translation operation is applied to the source sentence to infer the corresponding target sentence with a pre-trained Siamese-based encoder. Later, the fine-grained relational similarity scores can be estimated with learned relational embeddings. We benchmark our method on 19 datasets covering a wide range of tasks, including semantic textual similarity, transfer, and domain-specific tasks. Experimental results show that our method is effective and flexible in modelling sentence relations and outperforms a series of state-of-the-art sentence embedding methods.
Cite
CITATION STYLE
Wang, B., & Li, H. (2023). Relational Sentence Embedding for Flexible Semantic Matching. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (pp. 238–252). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2023.repl4nlp-1.20
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.