Text Encoders Lack Knowledge: Leveraging Generative LLMs for Domain-Specific Semantic Textual Similarity
Not on the map. Why?
Abstract (arXiv)
Amidst the sharp rise in the evaluation of large language models (LLMs) on various tasks, we find that semantic textual similarity (STS) has been under-explored. In this study, we show that STS can be cast as a text generation problem while maintaining strong performance on multiple STS benchmarks. Additionally, we show generative LLMs significantly outperform existing encoder-based STS models when characterizing the semantic similarity between two texts with complex semantic relationships dependent on world knowledge. We validate this claim by evaluating both generative LLMs and existing encoder-based STS models on three newly collected STS challenge sets which require world knowledge in the domains of Health, Politics, and Sports. All newly collected data is sourced from social media content posted after May 2023 to ensure the performance of closed-source models like ChatGPT cannot be credited to memorization. Our results show that, on average, generative LLMs outperform the best encoder-only baselines by an average of 22.3% on STS tasks requiring world knowledge. Our results suggest generative language models with STS-specific prompting strategies achieve state-of-the-art performance in complex, domain-specific STS tasks.
Key facts. Cited by 11 papers in the map (data through 13 Oct 2026). Builds on 15 of its 31 references that are in the map. First posted on arXiv 12 Sep 2023.
Builds on
15 of 31 references.
References · 15
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,979
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,376
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,107
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,170
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,600
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,424
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
- 2018Neural Network Acceptability Judgmentscited by 957
- 2023Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyondcited by 411
- 2023Can ChatGPT Understand Too? A Comparative Study on ChatGPT and Fine-tuned BERTcited by 155
Built on by
Citing papers per year: 2023: 1; 2024: 4; 2025: 4; 2026: 2.
11 papers.
- 2024Similarity-based Neighbor Selection for Graph LLMscited by 10
- 2025SECA: Semantically Equivalent and Coherent Attacks for Eliciting LLM Hallucinationscited by 9
- 2024"Vorbecsti Romanecste?" A Recipe to Train Powerful Romanian LLMs with English Instructionscited by 3
- 2026AI Planning Framework for LLM-Based Web Agentscited by 3
- 2023Automated Assessment of Students' Code Comprehension using LLMscited by 1
- 2025Advances and Challenges in Semantic Textual Similarity: A Comprehensive Surveycited by 1
- 2024Assisting humans in complex comparisons: automated information comparison at scalecited by 0
- 2024MIMDE: Exploring the Use of Synthetic vs Human Data for Evaluating Multi-Insight Multi-Document Extraction Taskscited by 0
- 2025CrossNews-UA: A Cross-lingual News Semantic Similarity Benchmark for Ukrainian, Polish, Russian, and Englishcited by 0
- 2025Bias Testing and Mitigation in Black Box LLMs using Metamorphic Relationscited by 0
- 2026Feedback-to-Rubrics: Can We Learn Expert Criteria from Inline Comments?cited by 0
- 2026Feedback-to-Rubrics: Can We Learn Expert Criteria from Inline Comments?28 May 2026
- 2026AI Planning Framework for LLM-Based Web Agents13 Mar 2026
- 2025Advances and Challenges in Semantic Textual Similarity: A Comprehensive Survey19 Dec 2025
- 2025Bias Testing and Mitigation in Black Box LLMs using Metamorphic Relations29 Nov 2025
- 2025CrossNews-UA: A Cross-lingual News Semantic Similarity Benchmark for Ukrainian, Polish, Russian, and English22 Oct 2025
- 2025SECA: Semantically Equivalent and Coherent Attacks for Eliciting LLM Hallucinations5 Oct 2025
- 2024MIMDE: Exploring the Use of Synthetic vs Human Data for Evaluating Multi-Insight Multi-Document Extraction Tasks29 Nov 2024
- 2024"Vorbecsti Romanecste?" A Recipe to Train Powerful Romanian LLMs with English Instructions26 Jun 2024
- 2024Assisting humans in complex comparisons: automated information comparison at scale5 Apr 2024
- 2024Similarity-based Neighbor Selection for Graph LLMs6 Feb 2024
- 2023Automated Assessment of Students' Code Comprehension using LLMs19 Dec 2023