CoolFace
Modelpublic

CLAUSE-Bielefeld/SemCSE_cosine

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes165downloads
Model Card

SemCSE Model Card

The SemCSE model is an embedding model for scientific abstracts and sentences in general, usable for clustering, retrieval, and many other embedding-related applications. The novelty of our approach is the focus on embeddings that accurately reflect the semantics of the paper, which was lacking for many existing approaches that were trained using citation information.

The novel, semantically-oriented training procedure leads to state-of-the-art resutls on our novel semantic embedding benchmark (please see our paper for details), as well as to state-of-the-art results for models of its size on the established SciRepEval benchmark.

Note that this model uses cosine similarity for computing similarity in its embedding space. Our main model instead uses Euclidean distance.

Model Details

Model Description

  • —Developed by: CLAUSE group at Bielefeld University
  • —Model type: DeBERTa v2
  • —Languages: Mostly english
  • —Finetuned from model: KISTI-AI/Scideberta-full

Model Sources

How to Get Started with the Model

Minimal example on how to create embeddings with our model:

from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("CLAUSE-Bielefeld/SemCSE_cosine")
model = AutoModel.from_pretrained("CLAUSE-Bielefeld/SemCSE_cosine")

text = "Your text to be embedded."
batch = tokenizer([text], return_tensors="pt")
embedding = model(**batch)["last_hidden_state"][0, 0]

Training Details

This model was trained on a dataset of summaries for 350K scientific abstracts from various domains. We used a triplet loss to encourage summaries of the same abstract to be placed nearby in the embedding space. The dataset and exact training procedure can be found in our GitHub repo,

Evaluation

We introduce a novel semantic scientific embedding benchmark:

**Model**ParamsTitle-Abstract ↓Abstract-Segments ↓Query ↓Clustering ↑
SciBERT109M807.74214.37213.450.569
SciDeBERTa183M1479.09861.552465.260.460
SPECTER109M10.2512.232.180.692
SciNCL109M5.687.352.290.702
SPECTER2 (base)109M4.525.101.170.666
SPECTER2 (proximity)110M5.345.801.460.666
all-MiniLM-L6-v222M<ins>3.09</ins>8.191.11<ins>0.730</ins>
Jina-v2137M3.298.771.290.703
Jina-v3572M3.456.961.010.719
RoBERTa SimCSE355M23.7144.248.920.696
NvEmbed-V27.9B3.38<ins>3.84</ins><ins>1.02</ins>0.721
SemCSE cosine (Ours)183M2.843.171.130.735

Notes:

  • —Bold = Best result
  • —<ins>Underlined</ins> = Second-best result
  • —↓ = Lower is better (ranking-based tasks)
  • —↑ = Higher is better (clustering and overall performance)

We also evaluate SemCSE on the SciRepEval benchmark:

**Model****Parameters****Classification ↑****Regression ↑****Proximity ↑****Search ↑****Average ↑**
SciBERT109M63.8627.3466.2568.1957.42
SciDeBERTa183M60.9927.0062.7467.8355.18
SPECTER109M67.7325.3780.0574.8964.28
SciNCL109M<ins>68.04</ins>25.22<ins>81.18</ins>77.3265.08
SPECTER2 base109M66.95<ins>27.75</ins>81.1078.4265.46
SPECTER2 proximity110M66.3726.8581.4177.7565.15
all-MiniLM-L6-v222M64.0420.0680.7479.6363.05
jina-v2137M63.9923.7680.1180.4063.69
jina-v3572M65.6624.8479.98<ins>80.60</ins>64.34
RoBERTa SimCSE355M67.1622.9575.5176.9762.10
NvEmbed-V27.9B65.6229.9481.1682.8466.19
SemCSE (Ours)183M69.7625.8880.6379.33<ins>65.72</ins>

Notes:

  • —Bold = Best result
  • —<ins>Underlined</ins> = Second-best result
  • —↑ = Higher is better

Citation

BibTeX:

bibtex
@misc{brinner2025semcsesemanticcontrastivesentence,
      title={SemCSE: Semantic Contrastive Sentence Embeddings Using LLM-Generated Summaries For Scientific Abstracts}, 
      author={Marc Brinner and Sina Zarriess},
      year={2025},
      eprint={2507.13105},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2507.13105}, 
}