Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
80 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

C-STS: Conditional Semantic Textual Similarity (2305.15093v2)

Published 24 May 2023 in cs.CL, cs.AI, and cs.LG

Abstract: Semantic textual similarity (STS), a cornerstone task in NLP, measures the degree of similarity between a pair of sentences, and has broad application in fields such as information retrieval and natural language understanding. However, sentence similarity can be inherently ambiguous, depending on the specific aspect of interest. We resolve this ambiguity by proposing a novel task called Conditional STS (C-STS) which measures sentences' similarity conditioned on an feature described in natural language (hereon, condition). As an example, the similarity between the sentences "The NBA player shoots a three-pointer." and "A man throws a tennis ball into the air to serve." is higher for the condition "The motion of the ball" (both upward) and lower for "The size of the ball" (one large and one small). C-STS's advantages are two-fold: (1) it reduces the subjectivity and ambiguity of STS and (2) enables fine-grained LLM evaluation through diverse natural language conditions. We put several state-of-the-art models to the test, and even those performing well on STS (e.g. SimCSE, Flan-T5, and GPT-4) find C-STS challenging; all with Spearman correlation scores below 50. To encourage a more comprehensive evaluation of semantic similarity and natural language understanding, we make nearly 19K C-STS examples and code available for others to train and test their models.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (9)
  1. Ameet Deshpande (28 papers)
  2. Carlos E. Jimenez (11 papers)
  3. Howard Chen (31 papers)
  4. Vishvak Murahari (14 papers)
  5. Victoria Graf (3 papers)
  6. Tanmay Rajpurohit (16 papers)
  7. Ashwin Kalyan (26 papers)
  8. Danqi Chen (84 papers)
  9. Karthik Narasimhan (82 papers)
Citations (3)
X Twitter Logo Streamline Icon: https://streamlinehq.com