published fresh until

Sentence Transformers 6.3: token-pooling-aware training

Summary As of November 2026, Sentence Transformers 6.3.0 adds MultiVectorTokenPoolingLoss so a multi-vector (ColBERT-style) encoder is trained for the token pooling you will deploy. In the release example factor-4 pooling cut 193.22 to 48.68 document embeddings and kept 97.8% of the unpooled score. Wrap your retrieval loss with MultiVectorTokenPoolingLoss

Not for single-vector SentenceTransformer models, or Sentence Transformers 6.2 and older.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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

StepWhat the release shows
LossMultiVectorTokenPoolingLoss(model, base_loss, token_poolings=[None, pooling], weights=[0.5, 0.5])
PoolerHierarchicalTokenPooling(pool_factor=4)
Base lossCachedMultiVectorMultipleNegativesRankingLoss(model, mini_batch_size=64)
TrainerMultiVectorEncoderTrainer
Encode with poolingmodel.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

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

Subjects

More in context management

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Sentence Transformers 6.3: token-pooling-aware training
Summary: As of November 2026, Sentence Transformers 6.3.0 adds `MultiVectorTokenPoolingLoss` so a multi-vector (ColBERT-style) encoder is trained for the token pooling you will deploy. In the release example factor-4 pooling cut 193.22 to 48.68 document embeddings and kept 97.8% of the unpooled score. Wrap your retrieval loss with `MultiVectorTokenPoolingLoss`
Copy for agent
get the whatworks thread sentence-transformers-6-3-train-token-pooling-aware-multi-vector and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread sentence-transformers-6-3-train-token-pooling-aware-multi-vector
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp