Vector DBs & RAG (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
What is Late Interaction (ColBERT) and how does it differ from single-vector RAG?
senior LevelMost Askedvector-databasesAdvanced Internals
In Simple Words:
- Single-Vector Models: Compress an entire 500-word paragraph into one vector. Inevitably loses fine details.
- ColBERT (Contextualized Late Interaction over BERT): Generates a vector for every single token in the document and query.
- At query time, it computes the maximum similarity between each query token and all document tokens (MaxSim operator).
- Yields state-of-the-art token-level retrieval accuracy while remaining dramatically faster than full cross-encoders.