Sentence Transformers Maintainer Tom Aarsen: Pooling-Aware Training Preserves 97.8% Quality Under 4x Compression for Multi-Vector Embeddings
Tom Aarsen introduces a training method in a Hugging Face blog post: using both original and pooled document vectors simultaneously within the contrastive learning loss to teach the encoder to generate representations that remain retrievable after token merging. Under a pool_factor=4 condition (retaining approximately one-quarter of the vectors), a normally trained model retains 94.6% of its NanoBEIR nDCG@10 score, while pooling-aware training raises this retention to 97.8%, alongside an improvement in unpooled retrieval from 51.84 to 52.39.
Multi-vector embedding models, such as ColBERT, provide each query token with its own independent opportunity to find a match within a document. This makes them highly expressive for search, but the cost is that each document generates hundreds of vectors. A corpus containing millions of documents may hold hundreds of millions of vectors; even with 4-bit residual quantization via Fast-PLAID, 200 vectors of 128 dimensions require 12.8 KB per document, totaling 12.8 GB across a million documents.
Token pooling compresses representations by merging similar token vectors through Ward hierarchical clustering. For example, with pool_factor=4, a document retains only about one-quarter of its original vectors. The more aggressive the compression, the easier it becomes to lose discriminative information critical for retrieval—a risk because standard training objectives never required the encoder to adapt to such compression.
In a blog post published on November 11, 2026, Sentence Transformers maintainer Tom Aarsen introduced and implemented a pooling-aware training method. Its core concept resembles Matryoshka embeddings: applying retrieval objectives simultaneously across multiple representation granularities. Specifically, each training batch contributes two losses—the retrieval loss for original document vectors and the retrieval loss for pooled document vectors—averaged with equal weights of 0.5.