Multi-vector encoding represents a text passage as a set of token-level dense vectors, preserving granular semantic information that would be lost in single-vector pooling. Unlike bi-encoder architectures that compress an entire document into one embedding, this approach stores every contextualized token representation, enabling more expressive matching at query time through operations like the MaxSim function.
Glossary
Multi-Vector Encoding

What is Multi-Vector Encoding?
Multi-vector encoding is a neural retrieval paradigm that represents a text passage as multiple dense vectors—typically one per token—rather than a single pooled embedding, enabling fine-grained similarity comparisons through late interaction mechanisms.
The defining characteristic is late interaction: token-level similarity computation is deferred until retrieval, balancing the efficiency of pre-computed embeddings with the expressiveness of cross-encoder attention. ColBERT exemplifies this paradigm, storing document token embeddings in a vector index and computing relevance by summing maximum cosine similarities between query and document token sets.
Key Characteristics of Multi-Vector Encoding
Multi-vector encoding moves beyond single-vector representations by storing a distinct embedding for each token, enabling nuanced late interaction scoring that captures fine-grained semantic relationships.
Token-Level Granularity
Unlike bi-encoders that compress an entire passage into a single fixed-size vector, multi-vector models retain a unique dense vector for every token in the sequence. This preserves the distinct semantic contributions of individual words and phrases, preventing information loss from aggressive pooling operations like mean pooling.
Late Interaction Scoring
The defining computational paradigm where relevance is computed after independent encoding. The query and document are embedded separately, and their token-level vectors interact only at scoring time via operations like MaxSim (maximum similarity). This balances the efficiency of bi-encoders with the expressiveness of cross-encoders.
ColBERT Architecture
The canonical implementation of late interaction. ColBERT encodes a query into a set of token embeddings and a document into another set, then scores relevance by summing the maximum cosine similarity for each query token against all document tokens. This allows for soft term matching without expensive joint attention.
Storage and Retrieval Trade-offs
Multi-vector representations require significantly more storage than single-vector approaches. A single passage may generate hundreds of vectors, necessitating sophisticated vector compression techniques like product quantization (PQ). Retrieval involves a two-stage process: a fast approximate first pass, followed by exact late interaction re-ranking on a candidate set.
MaxSim Operation
The core scoring function in models like ColBERT. For each query token vector, MaxSim finds the document token vector with the highest cosine similarity and sums these maximum values. This allows the model to match 'solar' in a query to 'sun' in a document without requiring exact keyword overlap.
Comparison to Cross-Encoders
While cross-encoders jointly process query-document pairs with full self-attention for maximum accuracy, they are computationally prohibitive for large-scale retrieval. Multi-vector encoding pre-computes document token embeddings offline, shifting the heavy computation to indexing time and enabling fast, expressive online scoring.
Multi-Vector vs. Single-Vector vs. Cross-Encoder
Comparing the three dominant neural retrieval paradigms across expressiveness, latency, storage, and architectural trade-offs.
| Feature | Single-Vector (Bi-Encoder) | Multi-Vector (Late Interaction) | Cross-Encoder |
|---|---|---|---|
Representation | One dense vector per passage | One dense vector per token | No pre-computed vectors |
Query-Document Interaction | Post-hoc: cosine similarity of pooled vectors | Late: MaxSim over token-level embeddings | Early: full joint attention at query time |
Indexing Speed | Fast: single forward pass per passage | Moderate: forward pass + store all token vectors | None: no index built |
Storage Footprint | Low: 768-1024 floats per passage | High: N × 768 floats per passage (N = token count) | Zero: re-encodes on every query |
Query Latency | < 10 ms with ANN index | 50-200 ms with token-level MaxSim | 500 ms - 5 sec per query-document pair |
Expressiveness | Moderate: loses fine-grained token alignment | High: preserves token-level semantic matching | Maximum: full cross-attention between query and document |
Re-Ranking Use Case | Stage-1 candidate retrieval | Stage-1 or Stage-2 retrieval | Stage-2 re-ranking only |
Scalability (Documents) | Billion-scale with ANN + PQ | Million-scale with token-level indexing | Thousand-scale per query batch |
Frequently Asked Questions
Clear, technical answers to the most common questions about multi-vector encoding, late interaction, and how they differ from single-vector bi-encoders.
Multi-vector encoding is a neural retrieval paradigm that represents a text passage as multiple dense vectors, typically one per token, rather than compressing the entire passage into a single fixed-size embedding. During indexing, a transformer encoder processes the passage and outputs a contextualized vector for each token. At query time, the query is similarly encoded into multiple token-level vectors. Relevance is then computed through a late interaction mechanism—such as the MaxSim operation in ColBERT—where each query vector interacts with the most similar passage vectors, and these maximum similarities are summed to produce a final relevance score. This approach preserves fine-grained token-level semantic relationships that are lost when mean pooling or CLS token extraction collapses a passage into a single vector.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Explore the core concepts, algorithms, and models that define the late interaction paradigm, where fine-grained token-level representations enable more expressive and interpretable retrieval.
Late Interaction
A retrieval paradigm that bridges the efficiency of Bi-Encoders and the expressiveness of Cross-Encoders. Instead of compressing all information into a single vector, it stores multiple vectors per document and performs lightweight computation at query time. This allows for fine-grained token-level matching without the prohibitive cost of full cross-attention over the entire corpus.
Token-Level Embeddings
Unlike Mean Pooling or [CLS] token strategies that collapse a sequence into a single vector, multi-vector encoding preserves a matrix of embeddings. Each token retains its contextualized representation from the final transformer layer. This granularity allows the model to match on specific entities, attributes, or phrases independently, avoiding the semantic averaging that can obscure rare but critical terms.
Multi-Vector vs. Single-Vector
Single-Vector (Bi-Encoder): Compresses entire passage into one vector. Extremely fast for MIPS but loses fine-grained detail. Struggles with rare entities. Multi-Vector (Late Interaction): Stores one vector per token. Higher storage cost but captures exact phrase matches and entity-specific relevance. Balances the speed of bi-encoders with the depth of cross-encoders. Cross-Encoder: Full joint encoding. Most accurate but computationally infeasible for large-scale retrieval.
Vector Compression for Multi-Vectors
Storing 128 vectors per passage instead of 1 creates a significant memory footprint. Techniques like Product Quantization (PQ) are essential to compress token-level embeddings. By decomposing high-dimensional vectors into sub-vectors and quantizing them, multi-vector indexes can scale to billions of passages while maintaining sub-millisecond query latency.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us