Does Size Matter? Examining Sentence Similarity Performance in Large Language Models
Sentence embeddings are a crucial component of natural language processing (NLP), enabling machines to capture subtle meaning and context in text. By converting sentences into compact, fixed-size vectors, sentence transformers unlock a range of applications, including semantic search (identifying relevant documents or passages based on their meaning and context), sentence similarity assessment (measuring the degree of semantic equivalence between two sentences), and paraphrase detection (identifying sentences that convey the same meaning using different words or phrasing). In this study, we fine-tuned multiple state-of-the-art sentence transformer models on a custom dataset specifically designed for sentence similarity tasks and evaluated their performance through rigorous benchmarking. Our findings yield a surprising insight: the choice of model is highly task-dependent, with larger models not always outperforming smaller ones, which underscores the importance of model selection for optimal performance in specific NLP tasks.
Authors
- Raad Bin Tareaf (ORCID: https://orcid.org/0000-0002-2804-3243)
- Sebastian Wefers (ORCID: https://orcid.org/0009-0005-4467-2786)
- Alex Maximilian Korga (ORCID: https://orcid.org/0009-0000-6501-9309)
- Keno Hanken (ORCID: https://orcid.org/0009-0004-9633-1660)
- Hunaıda Avvad
- Ben Steemers
Institutions
- Izmir University (TR)
- Bakırçay Üniversitesi
Publication Details
- Published
- 2025-01-15
- DOI
- https://doi.org/10.1109/icoin63865.2025.10993176
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00