Annotating Training Data for Conditional Semantic Textual Similarity Measurement using Large Language Models

Gaifan Zhang, Yi Zhou, Danushka Bollegala
9/17/2025
cs.CL

No official code found. Best implementation: LivNLP/CSTS-reannotation (1 star, last commit 2026-01-21).

Abstract

Semantic similarity between two sentences depends on the aspects considered between those sentences. To study this phenomenon, Deshpande et al. (2023) proposed the Conditional Semantic Textual Similarity (C-STS) task and annotated a human-rated similarity dataset containing pairs of sentences compared under two different conditions. However, Tu et al. (2024) found various annotation issues in this dataset and showed that manually re-annotating a small portion of it leads to more accurate C-STS models. Despite these pioneering efforts, the lack of large and accurately annotated C-STS datasets remains a blocker for making progress on this task as evidenced by the subpar performance of the C-STS models. To address this training data need, we resort to Large Language Models (LLMs) to correct the condition statements and similarity ratings in the original dataset proposed by Deshpande et al. (2023). Our proposed method is able to re-annotate a large training dataset for the C-STS task with minimal manual effort. Importantly, by training a supervised C-STS model on our cleaned and re-annotated dataset, we achieve a 5.4% statistically significant improvement in Spearman correlation. The re-annotated dataset is available at https://LivNLP.github.io/CSTS-reannotation.

View on arXivView PDF

Code Implementations(1)

[EMNLP 2025] Annotating Training Data for Conditional Semantic Textual Similarity Measurement using Large Language Models

10Sep 7, 20259 months ago

Similar Papers

Cite this paper

@article{zhang2025annotating,
  title  = {Annotating Training Data for Conditional Semantic Textual Similarity Measurement using Large Language Models},
  author = {Gaifan Zhang and Yi Zhou and Danushka Bollegala},
  year   = {2025},
  eprint = {2509.14399},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.14399v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.14399.svg)](https://codeofpaper.com/paper/2509.14399)

Discussion