MLGuerrillaStart M1 →
Embeddings and retrieval·15 min read·Updated 24 September 2026

ColBERT and late interaction

ColBERT is a retriever that stores one vector for every token instead of one for the whole passage, and compares the two sets at query time. It was the most accurate retriever on the corpus behind this article, and its index was 27.7 times the size.

ColBERT is a retrieval model. It takes a query and a collection of passages as input, and it returns the passages most likely to answer the query, which is the same job an embedding model does.

What makes it different is how much it keeps. An embedding model runs an encoder over a passage, gets one vector per token, and then pools those into a single vector for the whole passage. ColBERT skips the pooling. It stores all of the token vectors, does the same for the query, and compares the two sets token by token when someone searches. Khattab and Zaharia (2020) called that comparison late interaction, because the two texts are encoded separately and only meet at the end.

What it is

It is the most accurate retriever here, and the most expensive to store

The argument for late interaction is easiest to see next to the alternatives. The figure runs five ways of searching over the same 287 passages, taken from this site's own articles, with the same eight questions asked of each.

A grid figure titled "Five ways to search the same 287 passages", from this site's own 13 articles cut into passages and asked the same eight questions, where a filled terracotta chip means the right article came back first. The five columns are BM25 keyword search, bge-small with one vector each, those two fused with RRF, bge-small followed by a reranker over the top 10, and ColBERT with one vector per token. Row by row: for "train a classifier on my own labels", BM25 returns bert correctly while bge-small returns yolo, and the fusion, the reranker and ColBERT all return bert. For "why can't it predict the next word", every column returns bert correctly. For "what makes image generation slow", BM25 returns diffusion correctly, bge-small returns grounding-dino, and the other three return diffusion. For "find objects and draw boxes", BM25 returns dino while the other four return yolo correctly. For "search photos by typing a sentence", BM25 returns bert while the other four return clip correctly. For "what attention does to each token", every column returns transformer correctly. For "get a probability, not text", BM25 returns enc-dec-arch and bge-small returns t5-enc-dec, both wrong, the fusion returns jev correctly, the reranker returns enc-dec-arch, and ColBERT returns jev correctly. For "what the model does with audio", every column is wrong, returning llms, bert, transformer, transformer and transformer. The totals are 4 of 8 for BM25, 4 of 8 for bge-small, 7 of 8 for the fusion, 6 of 8 for the reranker and 7 of 8 for ColBERT. Per query the costs are 0.11 ms, a few ms, a few ms, 1.2 seconds and 30 ms, and the indexes for 287 passages are an inverted index, 0.44 MB, both of those, 0.44 MB and 12.19 MB. A panel below reads: BM25 and the embedding model both score 4 of 8 and they are not the same 4, each one answers a question the other misses; fusing those two lists costs nothing and scores 7 of 8, including one question both halves got wrong on their own; ColBERT reaches the same 7 of 8 on its own and its index is 27.7 times the size; and the last row is wrong everywhere with the question at fault, because only two passages in the whole corpus mention audio. The caption reads: a retrieval score is a score for your corpus and your questions, and not for the model.
The same corpus and the same eight questions run through the text-embeddings, rerankers and bi-encoders articles, so the numbers in all four line up.

ColBERT answered seven of the eight from the right article, which no single-vector method managed. It also produced 23,811 token vectors for those 287 passages, averaging 83 per passage, which is 12.19 MB against the 0.44 MB the embedding model needed for the same text.

The reranker column is the interesting comparison. Both ColBERT and a reranker get their accuracy from reading the query against the document at a finer grain than one vector allows, and they pay for it at different times. The reranker pays at query time, taking 1.2 seconds to rescore ten candidates. ColBERT pays at indexing time and in storage, and then answers in 30 milliseconds.

All of those costs come from one simple setup, and they compare with each other only because the setup was the same. Everything ran on a Mac CPU. Both indexes are raw 32-bit floats with no compression, so the 27.7 times is one vector per token against one per passage at the same precision. ColBERT's 30 milliseconds is a brute-force MaxSim against all 287 passages, with no candidate index, and the reranker's 1.2 seconds is ten pairs scored two at a time. The official ColBERT indexing code, a GPU, or a collection of millions of passages would move every one of those numbers, and the sections below say in which direction.

Keep reading

The rest of this article is free with an account

Create a free account to read the remaining 6 sections. It takes about twenty seconds and there's nothing to pay. The same account opens the slide decks and CV reviews.

  1. 02Where ColBERT shows up
  2. 03MaxSim, query augmentation, and the index that follows
  3. 04The checkpoints you'll see, as of September 2026
  4. 05When late interaction is worth its index
  5. 06How to try it
  6. and 1 more