--- license: apache-2.0 library_name: sentence-transformers pipeline_tag: feature-extraction base_model: Linkup-Platform/linkup-sparseup-embed-v2-pretrain base_model_relation: finetune language: - en datasets: - lightonai/embeddings-fine-tuning-filtered-en tags: - sparse - sentence-transformers - sentence-similarity - custom-code - splade - sparse-retrieval - matryoshka ---
🌐 SPARSEUP-v2 blog · 📄 Paper · 🤗 Collection · 📊 Visualization
| Model | Params | BEIR-15 ↑ | Retrieval FLOPS ↓ |
|---|---|---|---|
| Sparse | |||
| SPARSEUP-v2 | 150M | 57.2 | 4.2 |
| LACONIC-8B | 8.03B | 60.1 | 20.1 |
| LACONIC-3B | 3.21B | 58.3 | 39.5 |
| SlideOn | 174M | 56.7 | 30.9 |
| LACONIC-1B | 1.24B | 56.1 | 48.0 |
| SPARSEUP | 150M | 54.5 | 6.2 |
| Lion-SP-8B | 8.0B | 53.6 | 57.0 |
| OpenSearch doc-v3-GTE | 137M | 52.7 | 0.7 |
| OpenSearch v2-distill | 67M | 51.2 | 5.1 |
| SPLADE-v3 | 133M | 50.5 | 5.6 |
| SPLADE-v3-DistilBERT | 90M | 49.0 | 5.8 |
| Granite-30M | 30M | 48.9 | 6.4 |
| SAE-SPLADE | 117M | 48.2 | 2.7 |
| Dense | |||
| DenseOn | 149M | 56.2 | — |
| gte-modernbert-base | 149M | 55.2 | — |
| bge-large-en-v1.5 | 335M | 54.3 | — |
| modernbert-embed-base | 149M | 52.9 | — |
| Late interaction | |||
| LateOn | 149M | 57.2 | — |
| ColBERT-Zero | 149M | 55.4 | — |
| GTE-ModernColBERT-v1 | 149M | 54.8 | — |
| ColBERT-small | 33M | 53.8 | — |
| ColBERTv2 | 110M | 48.6 | — |
Average nDCG@10 on BEIR-15 (↑ higher is better) and retrieval FLOPS (↓ lower is better). Green marks SPARSEUP-v2. Bold marks best per column within each family.
To our knowledge, SPARSEUP-v2 (140M parameters) is the strongest sparse retriever of its size on BEIR-15, outperforming SlideOn with 7× fewer retrieval FLOPS. Only LACONIC-3B and LACONIC-8B score higher, at 21× and 54× the parameters and 9× and 5× the FLOPS, respectively. ### Beyond BEIR| Dataset | Metric | DenseOn | LateOn | SlideOn | SPARSEUP | SPARSEUP-v2 |
|---|---|---|---|---|---|---|
| BEIR-15 | nDCG@10 | 56.2 | 57.2 | 56.7 | 54.5 | 57.2 |
| R@100 | 74.0 | 74.2 | 74.7 | 71.5 | 74.8 | |
| Decontaminated BEIR | nDCG@10 | 57.9 | 59.1 | 58.4 | 57.5 | 59.5 |
| R@100 | 73.3 | 74.2 | 73.3 | 72.1 | 74.0 | |
| CURE-en | nDCG@10 | 56.5 | 61.3 | 60.8 | 56.0 | 62.1 |
| R@100 | 75.6 | 77.8 | 77.9 | 73.1 | 78.1 | |
| LegalPincite-par | nDCG@10 | 46.3 | 54.7 | 48.2 | 55.2 | 52.3 |
| R@100 | 77.2 | 79.9 | 77.0 | 81.5 | 81.5 | |
| Finance | nDCG@10 | 59.8 | 59.2 | 62.6 | 63.4 | 66.7 |
| R@100 | 96.0 | 92.6 | 96.5 | 96.9 | 96.9 | |
| ChemTEB | nDCG@10 | 76.4 | 75.1 | 76.8 | 70.8 | 72.5 |
| R@100 | 96.9 | 95.4 | 96.9 | 97.5 | 96.9 | |
| BRIGHT-Pro | nDCG@10 | 29.6 | 36.1 | 47.4 | 34.5 | 49.4 |
| R@100 | 62.9 | 70.7 | 77.6 | 68.7 | 80.0 | |
| LoTTE Forum | S@5 | 82.7 | 81.5 | 78.0 | 75.5 | 80.6 |
| R@100 | 78.1 | 75.4 | 72.3 | 67.9 | 73.3 | |
| LoTTE Search | S@5 | 83.4 | 83.9 | 81.1 | 78.2 | 82.1 |
| R@100 | 88.4 | 87.3 | 85.9 | 83.8 | 86.5 | |
| FreshStack | α-nDCG@10 | 19.6 | 24.5 | 15.6 | 23.3 | 22.8 |
| C@20 | 45.4 | 51.7 | 40.1 | 51.0 | 51.6 | |
| R@50 | 31.1 | 35.5 | 28.3 | 35.3 | 36.3 | |
| MIRACL-en | nDCG@10 | 55.4 | 64.3 | 60.9 | 56.7 | 60.7 |
| R@100 | 96.6 | 96.6 | 97.7 | 96.4 | 97.5 | |
| MLDR-en | nDCG@10 | 41.7 | 71.6 | 58.7 | 57.9 | 61.9 |
| R@100 | 65.8 | 92.6 | 85.4 | 84.8 | 87.3 | |
| LIMIT | R@2 | 0.8 | 74.2 | 12.2 | 8.1 | 28.2 |
| R@10 | 2.1 | 89.7 | 23.5 | 16.2 | 48.5 | |
| R@100 | 6.8 | 96.2 | 48.3 | 34.7 | 74.1 |
CURE-en: mean of the 10 English CUREv1 splits. Finance: mean of FinQA and FinanceBench (MTEB). LegalPincite-par: paragraph retrieval on CJEU data. ChemTEB: mean of ChemHotpotQA and ChemNQ. BRIGHT-Pro: mean of 7 domains. Underline marks best per row.
SPARSEUP-v2 reaches the best nDCG@10 on BEIR-15, decontaminated BEIR, CURE-en, Finance and BRIGHT-Pro. It also reaches the best MTEB (eng, v2) retrieval score of any sparse model on the [MTEB leaderboard](https://huggingface.co/spaces/mteb/leaderboard) (59.71 nDCG@10), which was previously held by SlideOn (58.62). On LoTTE, the main weakness of SPARSEUP, it gains +5.1 S@5 on Forum and +3.9 on Search. LateOn remains ahead on long documents (MLDR-en) and on LIMIT, and ChemTEB is the main exception among the domain benchmarks: there SPARSEUP-v2 trails SlideOn and DenseOn by about 4 nDCG@10 points. ## Good, fast, and prunable
BEIR-15 versus search cost (left) and storage cost (right). Green: SPARSEUP-v2 with documents capped at 256 terms and varying query budgets (left), and with unpruned queries and varying document budgets (right); full = unpruned. Retrieval FLOPS and document non-zeros are measured on SciFact, NFCorpus, and FiQA.
Sparse vectors are only worth it if they stay sparse. Two proxies, both measured on the fixed sample of 6,000 documents and 1,271 queries from SciFact, NFCorpus, and FiQA used for SlideOn: - **Retrieval FLOPS**: the expected number of shared active dims per query–document pair. A search-cost proxy. - **Document non-zeros**: the average number of nonzero document dims. A storage-cost proxy. SPARSEUP-v2 makes up almost the entire Pareto frontier: every frontier point from 0.4 to 4.2 FLOPS except OpenSearch doc-v3-GTE, and every one from 32 to 269 document terms. Past that, only LACONIC-8B (50x larger) does better. ## Training Data and Recipe Check out our [paper](https://arxiv.org/abs/2611.09680) for more details on the training data, sparse contrastive pre-training and supervised fine-tuning setups. ## Model Details | Property | Value | | --- | --- | | Model type | Learned sparse retriever; Sentence Transformers `SparseEncoder` | | Backbone | [ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) | | Total parameters | 150M | | Maximum sequence length | 8,192 tokens | | Output dimensionality | 50,370 vocabulary dimensions; ~34k can be active after folding | | Token activation | `log(1 + ReLU(logit − 18))` | | Token expansion (fan-out) | Top-12 vocabulary entries per token | | Sequence pooling | Maximum over token activations; `[Q]` / `[D]` are attended but not pooled | | Vocabulary folding | Case and leading-space variants of a word folded onto one dimension | | Similarity function | Dot product | | Prompts | `[Q]` for queries; `[D]` for documents | | Precision | bfloat16 | | Language | English | ## Usage ### Sentence Transformers ```bash pip install -U sentence-transformers transformers ``` ```python from sentence_transformers import SparseEncoder model = SparseEncoder("Linkup-Platform/linkup-sparseup-embed-v2", trust_remote_code=True) queries = ["What causes a solar eclipse?"] documents = [ "A solar eclipse occurs when the Moon passes between the Sun and Earth.", "Wind turbines convert the kinetic energy of wind into electricity.", ] query_embeddings = model.encode_query(queries, max_active_dims=64) # q-64 document_embeddings = model.encode_document(documents, max_active_dims=256) # d-256 print(query_embeddings.shape, document_embeddings.shape) # torch.Size([1, 50370]) torch.Size([2, 50370]) print(model.similarity(query_embeddings, document_embeddings)) # tensor([[90.5402, 5.9467]]) ``` `encode_query()` and `encode_document()` add the `[Q]` / `[D]` prefixes for you; pass the raw text. Embeddings come back as PyTorch sparse COO tensors. The model loads in bfloat16, the precision it was trained and evaluated in. ### Picking your budgets `max_active_dims=N` keeps the **N largest weights** of each sparse vector and zeroes the rest. Queries and documents take separate budgets. It is separate from the per-position top-12 and does not change the vector dimensionality. Omit it, or pass `None`, for unpruned vectors. ### Inspecting the model A vocabulary-based sparse vector is readable: every dim is a token. `decode()` shows what a text expands to: ```python print(model.decode(query_embeddings, top_k=5)) # [[('Ġeclipse', 3.48), ('Ġsolar', 3.20), ('Ġcause', 2.94), ('Ġecl', 2.86), ('Ġcauses', 2.83)]] ``` The underlying Transformers model also tells you which input token produced each term (`render`) and which words fired (`highlight`), as in [SPARSEUP](https://huggingface.co/Linkup-Platform/linkup-sparseup-embed-v1): ```python from transformers import AutoModel model = AutoModel.from_pretrained("Linkup-Platform/linkup-sparseup-embed-v2", trust_remote_code=True) print(model.render(["What causes a solar eclipse?"], kind="query", top_k=10)) print(model.highlight(["A solar eclipse occurs when the Moon passes between the Sun and Earth."])) ``` ## Related checkpoints | Model | Description | | --- | --- | | **[SPARSEUP-v2](https://huggingface.co/Linkup-Platform/linkup-sparseup-embed-v2)** *(this model)* | Our final fine-tuned model | | [SPARSEUP-v2-pretrain](https://huggingface.co/Linkup-Platform/linkup-sparseup-embed-v2-pretrain) | Our checkpoint after large-scale contrastive pre-training (needs fine-tuning)| | [SPARSEUP](https://huggingface.co/Linkup-Platform/linkup-sparseup-embed-v1) | Our v1, fine-tuned from [LateOn-unsupervised](https://huggingface.co/lightonai/LateOn-unsupervised) | ## Citation ```bibtex @misc{formal2026sparseupbetterrecipestraining, title={SPARSEUP: Towards Better Recipes for Training Modern Learned Sparse Retrievers}, author={Thibault Formal and Pierre Erbacher and Cosimo Rulli and Paulo Roberto Moura Junior}, year={2026}, eprint={2611.09680}, archivePrefix={arXiv}, primaryClass={cs.IR}, url={https://arxiv.org/abs/2611.09680}, } ```