Token Pooling-Aware Training for Multi-Vector Embedding Models
Oct 28, 202619 min read
What the post covers
This post introduces and demonstrates 'Token Pooling-Aware Training' for multi-vector embedding models using Sentence Transformers.
- It explains how token pooling compresses document vectors by merging similar token embeddings, and how pooling-aware training optimizes the encoder to preserve crucial information during this compression.
- The post details a loss wrapper that averages retrieval losses from both unpooled and pooled document representations, and discusses optional kernel acceleration.
- It provides evaluation results showing improved retrieval quality at reduced storage budgets (e.g., 97.8% retention with 4x vector reduction using pooling-aware training vs.
- 94.6% for normally trained models).
- The contribution is a practical method to improve the trade-off between retrieval performance and storage cost for multi-vector embedding models.
More from the Sentence Transformers for Playlist Generation trail
NeoMME: an efficient Multimodal-native and Multilingual Encoder
MTEB: Massive Text Embedding Benchmark
Introducing OlmoEarth embeddings: Custom embedding exports from OlmoEarth Studio for downstream analysis
Build a Domain-Specific Embedding Model in Under a Day
Granite Embedding Multilingual R2: Open Apache 2.0 Multilingual Embeddings with 32K Context — Best Sub-100M Retrieval Quality