Skip to content
IJK

Token Pooling for Multi-Vector Retrieval: Method and Reported Figures

By IJK ·

How the post's hierarchical token pooling groups vectors, what a pool factor of 4 keeps, and the two retention figures it reports.

How the pooling works

HierarchicalTokenPooling groups similar token embeddings using Ward hierarchical clustering. [1]

Starting with one group per token vector, it repeatedly merges the two groups that cause the smallest increase in how spread out the vectors are within their groups. [2]

These merges build a hierarchy of progressively larger groups, letting us choose a level of compression that fits our budget. [3]

With pool_factor=4, documents retain approximately one quarter of their original vectors, so longer documents can keep proportionally more capacity. [4]

repeatOne group per token vectorMerge the closest groupssmallest increase in spreadHierarchy of larger groupspick a compression levelGroup mean, normalizedready for MaxSim scoring
What steps turn many token vectors into fewer vectors?

What the post reports

Pooling-aware training teaches the encoder to preserve the information that matters when its vectors are merged, helping you retrieve better from the same storage budget. [5]

With pool_factor=4, my normally trained model retains 94.6% of its unpooled NanoBEIR nDCG@10, with a 4x reduction in document vectors. [6]

Token pooling-aware training raises that retention to 97.8% at the same storage budget! [7]

What stays unchanged

By default, the first token is protected from merging and pooling applies only to document embeddings, leaving query embeddings unchanged. [8]

Sources

  1. The Hugging Face source says: HierarchicalTokenPooling groups similar token embeddings using Ward hierarchical clustering. Token Pooling-Aware Training for Multi-Vector Embedding Models
  2. The Hugging Face source says: Starting with one group per token vector, it repeatedly merges the two groups that cause the smallest increase in how spread out the vectors are within their groups. Token Pooling-Aware Training for Multi-Vector Embedding Models
  3. The Hugging Face source says: These merges build a hierarchy of progressively larger groups, letting us choose a level of compression that fits our budget. Token Pooling-Aware Training for Multi-Vector Embedding Models
  4. The Hugging Face source says: With pool_factor=4, documents retain approximately one quarter of their original vectors, so longer documents can keep proportionally more capacity. Token Pooling-Aware Training for Multi-Vector Embedding Models
  5. The Hugging Face source says: Pooling-aware training teaches the encoder to preserve the information that matters when its vectors are merged, helping you retrieve better from the same storage budget. Token Pooling-Aware Training for Multi-Vector Embedding Models
  6. The Hugging Face source says: With pool_factor=4, my normally trained model retains 94.6% of its unpooled NanoBEIR nDCG@10, with a 4x reduction in document vectors. Token Pooling-Aware Training for Multi-Vector Embedding Models
  7. The Hugging Face source says: Token pooling-aware training raises that retention to 97.8% at the same storage budget! Token Pooling-Aware Training for Multi-Vector Embedding Models
  8. The Hugging Face source says: By default, the first token is protected from merging and pooling applies only to document embeddings, leaving query embeddings unchanged. Token Pooling-Aware Training for Multi-Vector Embedding Models

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • embeddings
  • retrieval
  • colbert
  • storage