Topic 5 of 5 · 4 min read
Late interaction and multi-vector retrieval
Goal: Explain when a late-interaction retriever beats a single-vector model plus reranker and what it costs in index size.
A late-interaction model such as ColBERT keeps one small vector per token instead of one vector per chunk, and scores a match by comparing the query's tokens to the chunk's tokens, trading a much larger index for finer matching.
Check yourself · 1 of 3
What does a late-interaction retriever such as ColBERT store for each chunk?
Why it matters
A single-vector model squeezes a whole chunk into one point, so a detail can get lost. A cross-encoder reranker avoids that by reading query and chunk together, but it must run at query time for each candidate. Late interaction sits between them. The chunk's token vectors are computed ahead of time and stored, as with ordinary embeddings. At query time only the short query is encoded, and the comparison is cheap. The ColBERT paper reports quality close to a BERT cross-encoder at far lower query cost.
How it works
- At index time, encode every chunk into one vector per token, for example 128 numbers each.
- At query time, encode the query into its own token vectors.
- For each query token, find its best-matching chunk token (the closest vector) and take that similarity. This is called MaxSim.
- Sum those best matches over the query tokens. That sum is the chunk's score.
Because each query word looks for its own best partner, a query like "refund for damaged item" can match a chunk where "refund", "damaged" and "item" appear in different sentences, which a single averaged vector can blur.
The cost: index size
A 300-token chunk stored as a single 1024-number vector is one row. Stored as ColBERT-style token vectors it is about 300 rows of smaller vectors. Even with the compression the ColBERT project provides, the index is many times larger, and search needs specialised support rather than a plain vector index. More storage means more memory or disk, longer indexing and slower rebuilds.
When to choose it
| Option | Index size | Query latency | Typical fit |
|---|---|---|---|
| Single vector | small | low | broad first stage |
| Single vector + reranker | small | medium (rerank per query) | most pipelines |
| Late interaction | large | low to medium | fine-grained matching where index size is acceptable |
Try it when a single-vector plus reranker pipeline still misses queries that depend on specific words inside long chunks, and you can afford the storage. If the reranker already meets your quality and latency goals, there is little reason to add a new index type.
What goes wrong
- Ignoring storage: the index grows by an order of magnitude and nobody budgeted for it.
- Assuming it replaces everything: it is a retriever, and you still need filters, fusion and measurement.
- Choosing it before measuring a single-vector plus reranker baseline.
- Weak tooling fit: many managed vector databases index one vector per document, so check support first.
Examples
Why per-token matching helps
Query: refund damaged item. The chunk holds "refund" in one sentence, "damaged" in another and "item" in a third. A single vector averages them with the rest of the chunk. MaxSim lets each query word find its own best match, so the chunk still scores high.
The storage bill
A corpus of 1 million chunks of about 200 tokens each needs 1 million single vectors, or around 200 million token vectors in a late-interaction index. Compression shrinks this, but the team must plan the memory and rebuild time before choosing it.
Key points
- Late interaction stores one small vector per token and scores a chunk by matching each query token to its best chunk token (MaxSim).
- Chunk token vectors are computed at index time, so query time stays cheap, unlike a cross-encoder that reads each pair live.
- It keeps fine detail that one averaged vector per chunk can blur.
- The price is a much larger index and the need for tooling that supports multi-vector search.
- Try it only after a single-vector plus reranker baseline has been measured and still misses queries.
Common mistakes
- Adopting a multi-vector index without estimating its storage and memory.
- Treating late interaction as a drop-in replacement for filters, fusion or evaluation.
- Skipping the single-vector plus reranker baseline.
- Picking a vector database that cannot store or search multiple vectors per chunk.
Check yourself · 2 of 3
Compared with a single-vector index, what is the main cost of a late-interaction index?
Check yourself · 3 of 3
A team's single-vector plus reranker pipeline already meets its quality target within the latency budget. Should they move to late interaction?
Practice items, not counted towards your mastery.
Start here
- Introducing Contextual Retrieval (Anthropic) (opens in a new tab)ArticleFree
The source of the 49% and 67% fewer failed retrievals figures, the prompt and the caching cost estimate.
- Reciprocal Rank Fusion outperforms Condorcet and individual rank learning methods (Cormack et al.) (opens in a new tab)PaperFree
The original RRF paper: the formula and the constant of 60.
- Rerank overview (Cohere docs) (opens in a new tab)DocsFree
How a hosted rerank endpoint takes a query and documents and returns relevance scores.
More for this topic
- ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT (opens in a new tab)PaperFree
Defines late interaction and MaxSim, and reports the efficiency trade-off against cross-encoders.
- ColBERT (Stanford Future Data, GitHub) (opens in a new tab)ToolFree
Reference implementation of ColBERT indexing and search, with compression settings.