Sentence Transformers adds pooling-aware training so multi-vector retrievers keep their accuracy with a quarter of the vectors

Hugging Face's Tom Aarsen describes a training loss that prepares multi-vector (ColBERT-style) embedding models for token pooling. On NanoBEIR, a ModernBERT-base model trained this way kept 97.8% of i

November 10, 2026

Multi-vector embedding models store one vector per document token, which makes retrieval accurate but storage heavy. “Token pooling makes these representations smaller by merging similar token vectors,” Tom Aarsen writes in a November 11 post on the Hugging Face blog, but a model that never saw pooling during training loses accuracy when its vectors are merged afterwards.

The fix is to train for it. The new MultiVectorTokenPoolingLoss in Sentence Transformers combines the normal retrieval loss with a second term computed after documents are pooled to about a quarter of their vectors. In Aarsen’s words, “Pooling-aware training teaches the encoder to preserve the information that matters when its vectors are merged.” The post also covers adaptive pooling calibration and optional CUDA kernels, building on work by Stefan Josef and LightOn.

The numbers come from two ModernBERT-base models trained for one epoch on 120,000 MS MARCO triplets, one with the new loss and one without. At a pool factor of 4, about 74.8% fewer document vectors, NanoBEIR mean nDCG@10 was 51.23 for the pooling-aware model against 49.03 for the baseline, keeping 97.8% of its unpooled score against 94.6%. Unpooled retrieval also improved slightly, from 51.84 to 52.39. With adaptive pooling at an average of 29.58 vectors per document, the pooling-aware model kept 97.3% against 93.3%. Both checkpoints are on the Hub (tomaarsen/mve-ModernBERT-base-token-pooling and its baseline); the post does not state their licences.

Source: Hugging Face blog.