Skip to content
Hugging Face

Token Pooling-Aware Training for Multi-Vector Embedding Models

Oct 28, 202619 min read
Opens huggingface.co
What the post coversAI, from the source post

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.
Read the full post on huggingface.co · 19 min (opens in a new tab)

More from the Sentence Transformers for Playlist Generation trail