Multi-Vector Retrieval
Definition
Multi-Vector Retrieval is an approach where a document is represented by multiple vectors rather than a single one. This allows for the consideration of the document's internal heterogeneity and enhances the comprehensiveness of the search.
Representation Variants
| Scheme | Description |
|---|---|
| By chunks | The document is divided into fragments, each with its own embedding |
| By aspects | Multiple embeddings for different types of queries |
| By tokens | Token embeddings (late interaction) |
| Summary vectors | Combination of parent and child chunks |
Aggregation
The final document score is calculated as the maximum, average, or weighted sum of its vectors. During indexing in Vector DB, each vector is stored separately with a reference to the original document.
flowchart LR
D[Document] --> C1[Chunk 1]
D --> C2[Chunk 2]
D --> C3[Chunk 3]
C1 --> V[(Vector DB)]
C2 --> V
C3 --> V
Q[Query] --> V
V --> A[Aggregation by doc_id]