pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: baditaflorin (@baditaflorin) <noreply+baditaflorin@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #970: Feature Request: Native multivector / multi-embedding support (e.g. ColBERT-style late interaction)
Date: Fri, 20 Mar 2026 10:48:40 +0000
Message-ID: <gh-pgvector-pgvector-970@github.com> (raw)

## Feature Request: Native Multivector Support

### Summary

Does pgvector have any plans to support **multivector representations** — i.e., storing and querying multiple embeddings per document rather than a single pooled vector?

### Motivation

Modern retrieval techniques like **ColBERT-style late interaction** generate one embedding *per token* rather than one per document. This means a corpus of 100K documents can easily produce tens of millions of individual vectors. Today, there's no first-class way in pgvector to:

- Associate a set of vectors with a single logical document/record
- Run a **MaxSim** (or similar) query across all token-level embeddings for a candidate
- Keep that operation efficient at index time without manually sharding or denormalizing

### Why This Matters for Scale

The ~1M vector threshold often cited as pgvector's comfortable ceiling becomes much easier to breach once multivectors are involved. A modest document corpus balloon into tens of millions of vectors overnight with ColBERT or similar models. Without native multivector support, users are forced into awkward workarounds:

- Storing token vectors in separate rows with a foreign key back to the document
- Running `MaxSim` manually in application code after fetching candidates
- Losing the ability to push the scoring logic down into the index

### Questions

1. Is multivector storage and querying on the roadmap?
2. Is there a recommended pattern today for ColBERT-style retrieval in pgvector (e.g., MaxSim over per-token vectors)?
3. Would the team be open to a discussion around a `multivector` column type or a dedicated aggregate similarity operator?

### Prior Art

For reference, some dedicated vector stores (e.g. Qdrant) have shipped [native multivector support](https://qdrant.tech/documentation/concepts/vectors/#multivectors) with dedicated query APIs. 
It would be great to have a comparable first-class solution within Postgres for users who want to stay in a single system.

### Context

This came up while evaluating pgvector for a late-interaction retrieval pipeline. Happy to share more details about the use case or help prototype an approach if there's interest.

Related post https://qdrant.tech/blog/pgvector-tradeoffs/

Warm regards and thanks for everything that you are doing!

view thread (3+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-970@github.com>
Permalink:  ../gh-pgvector-pgvector-970@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox