SynCSE: syntax graph-based contrastive learning of sentence embeddings

Citations

WEB OF SCIENCE

4
Citations

SCOPUS

8

초록

Pre-trained language models (PrLMs) trained via contrastive learning methods achieved state-of-the-art performance on various natural language processing (NLP) tasks. Most PrLMs for sentence embedding focuses on context similarity as an objective function of contrastive learning. However, we found that these PrLMs, including recently released large language models (LLMs) like LLaMA,1 underperform when analyzing syntax information on probing tasks. This limitation becomes particularly noticeable in applications that depend on nuanced sentence understanding, such as the Retrieval Augmented Generation (RAG) framework in LLMs. This paper introduces a new sentence embedding model named SynCSE: Syntax Graph-based Contrastive Learning of Sentence Embeddings. Our approach enables meaningful sentence embeddings of language models through learning the syntactic features. To accomplish this, we train a PrLM with graph neural networks (GNNs) receiving a directed syntax graph. We then detach additional GNN layers from PrLM for inference; which does not require a syntax graph. The proposed model gains improvement on baselines in sentence textual similarity (STS) tasks, transfer tasks, and especially probing tasks. Additionally, we observe that our model has improved alignment and competitive uniformity compared to the baseline.

키워드

Dependency parser; Sentence embeddings; Pre-trained language models; Graph encoder; Contrastive learning; NETWORKS
제목
SynCSE: syntax graph-based contrastive learning of sentence embeddings
저자
Kim, Yejin; Oh, Dongsuk; Huang, H. Howie
DOI
10.1016/j.eswa.2025.128047
발행일
2025-08-25
유형
Article
저널명
Expert Systems with Applications
권
287