Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

SGPT: GPT Sentence Embeddings for Semantic Search

About

Decoder transformers have continued increasing in scale reaching hundreds of billions of parameters. Due to their scale the same decoder sets state-of-the-art results on various language tasks via prompting or fine-tuning. Yet, these large foundation models remain unusable for the related fields of semantic search and sentence embeddings. This prevents possibly new state-of-the-art results and forces organizations to train and maintain separate models. To this end, we propose SGPT to use decoders for sentence embeddings and semantic search via prompting or fine-tuning. At 5.8 billion parameters SGPT improves on the previously best sentence embeddings by a margin of 7% and outperforms a concurrent method with 175 billion parameters as measured on the BEIR search benchmark. Code, models and result files are freely available at https://github.com/Muennighoff/sgpt.

Niklas Muennighoff• 2022

Related benchmarks

TaskDatasetResultRank
Semantic Textual SimilaritySTS tasks (STS12, STS13, STS14, STS15, STS16, STS-B, SICK-R) various (test)
STS12 Score72.27
412
Semantic Textual SimilaritySTS-B
Spearman's Rho (x100)84.7
136
Information RetrievalBEIR (test)
FiQA-2018 Score0.401
90
RerankingMS MARCO (dev)--
71
Information RetrievalBEIR v1.0.0 (test)
ArguAna51.4
65
Information RetrievalBEIR--
62
Text EmbeddingMTEB
MTEB Score58.93
45
Semantic Textual Similarity (STS)MTEB English 2023 (test)
BIO79.5
19
Sentence-level retrievalReQA SQuAD (test)
MRR0.783
13
Sentence-level retrievalReQA NQ (test)
MRR65.2
13
Showing 10 of 30 rows

Other info

Code

Follow for update