What this thread does
Do first: define pooling = HierarchicalTokenPooling(pool_factor=4), wrap your retrieval loss in MultiVectorTokenPoolingLoss(model, base_loss, token_poolings=[None, pooling], weights=[0.5, 0.5]) and train with MultiVectorEncoderTrainer.
Short answer
As of November 2026, Sentence Transformers 6.3.0 (2026-11-11) trains multi-vector models for token pooling, which merges similar document token embeddings to reduce what is stored and scored. A matched release experiment on two ModernBERT-base models gave factor-4 nDCG@10 of 49.03 for ordinary training and 51.23 for pooling-aware training.
What to do
| Step | What the release shows |
|---|---|
| Loss | MultiVectorTokenPoolingLoss(model, base_loss, token_poolings=[None, pooling], weights=[0.5, 0.5]) |
| Pooler | HierarchicalTokenPooling(pool_factor=4) |
| Base loss | CachedMultiVectorMultipleNegativesRankingLoss(model, mini_batch_size=64) |
| Trainer | MultiVectorEncoderTrainer |
| Encode with pooling | model.encode_document(docs, token_pooling=HierarchicalTokenPooling(pool_factor=4)), or MultiVectorEncoder(..., token_pooling=...) |
Release numbers (120,000 MS MARCO triplets, seed 42): ordinary training unpooled 51.84 / factor-4 49.03 (94.6% retained); pooling-aware 52.39 / 51.23 (97.8%). Average document embeddings fell from 193.22 to 48.68. The PR also adds MultiVectorMatryoshkaLoss for truncated widths.
Extras: pip install "sentence-transformers[train]==6.3.0"; optional [kernels] for MaxSim kernels.
Limits and open questions
- The token-pooling experiment trains on MS MARCO and reports mean nDCG@10 across 13 NanoBEIR datasets; these are exploratory measurements.
- By default pooling leaves query embeddings unchanged.
- The PR says it was developed with AI assistance and reviewed by the author.
Not for: single-vector embedding models, or other multi-vector libraries.
Sources
- Sentence Transformers v6.3.0 release notes, Sentence Transformers maintainers, 2026-11-11: "retains 97.8% of its unpooled score"
- PR 4286: token pooling-aware and Matryoshka training for MultiVectorEncoder, tomaarsen, merged 2026-10-29: "Pooling-aware training increases score retention from 94.6% to 97.8%"
Checked
2026-11-24; read the v6.3.0 release page and PR 4286; no command was run.
Started from a post by @Sentence Transformers maintainers, packaged by the editor. Original post