Citation-Informed Scientific Abstract Embedding Pilot
A 384-dimensional SentenceTransformer for embedding scientific paper titles and abstracts. It is a pilot for literature mapping and candidate generation: papers that are close in the embedding space should be more likely to have a direct citation relationship than under the unadapted base model.
It is not a causal model, a novelty detector, or evidence that two papers should be combined scientifically. Use its nearest neighbors as candidates for expert review.
Training
The starting point was sentence-transformers/all-MiniLM-L6-v2. The model was fine-tuned for one epoch with MultipleNegativesRankingLoss using direct citation pairs as positive pairs.
| Item | Value |
|---|---|
| Input | title + "\n\n" + abstract |
| Corpus | 20,944 unrestricted full-text-derived paper records |
| Training pairs | 15,092 direct citation pairs |
| Embedding dimension | 384 |
| Maximum sequence length | 256 wordpieces |
| Batch size | 256 |
| Learning rate | 2e-5 |
| Epochs | 1 |
| Seed | 42 |
References were enriched using DOI-based OpenAlex lookups. Only citation links with both source and target papers inside the corpus were used. Source and target publication years were each required to be 2021 or earlier, and pairs that crossed the deterministic train/development paper split were excluded.
Pilot evaluation
On a 1,042-paper development candidate set, 48 held-out direct citation pairs were ranked by cosine similarity, excluding the query paper itself:
| Model | MRR | Recall@1 | Recall@10 | Median rank |
|---|---|---|---|---|
| Base all-MiniLM-L6-v2 | 0.2670 | 0.1875 | 0.4375 | 14 |
| This pilot | 0.2894 | 0.2083 | 0.5625 | 8 |
The result is encouraging but preliminary: the held-out evaluation has only 48 pairs; some queries share source papers, so observations are not fully independent; and a publication-year cutoff is not the same as a strict prospective evaluation. This model should therefore not be selected as a production discovery model without a larger, time-held-out benchmark and domain-expert review.
Use
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("pander14/all-minilm-l6-v2-pmc-citation-test-v1")
texts = [
"Paper title\n\nPaper abstract goes here.",
"Another title\n\nAnother abstract goes here.",
]
embeddings = model.encode(texts, normalize_embeddings=True)
Use normalized vectors with dot product (equivalent to cosine similarity), then inspect near-neighbor relationships with subject-matter experts.
Intended scope and limitations
- Training signal: observed direct citations, which can reflect topic, method, field conventions, or citation practice—not causal relations or scientific quality.
- Coverage: a single unrestricted-access corpus with an SCI-oriented provenance; generalization beyond that coverage is untested.
- Negatives: other positive examples in a mini-batch are treated as negatives by the loss, so related uncited papers can be false negatives.
- Text: inputs are truncated at 256 wordpieces.
- Reproducibility: training metadata is bundled as
abstract_citation_training.json.
License
Apache-2.0. The model weights and repository contents are released under Apache-2.0. Ensure that your use of source literature and external metadata complies with their respective terms.