pg.ddx.io pgvector/pgvector GitHub issues and pull requestshelp / color / mirror / Atom feed
[pgvector/pgvector] issue #970: Feature Request: Native multivector / multi-embedding support (e.g. ColBERT-style late interaction) 3+ messages / 2 participants [nested] [flat]
* [pgvector/pgvector] issue #970: Feature Request: Native multivector / multi-embedding support (e.g. ColBERT-style late interaction) @ 2026-03-20 10:48 "baditaflorin (@baditaflorin)" <noreply+baditaflorin@github.com> 0 siblings, 0 replies; 3+ messages in thread From: baditaflorin (@baditaflorin) @ 2026-03-20 10:48 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> ## 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! ^ permalink raw [nested|flat] 3+ messages in thread
* Re: [pgvector/pgvector] issue #970: Feature Request: Native multivector / multi-embedding support (e.g. ColBERT-style late interaction) @ 2026-03-20 16:29 "ankane (@ankane)" <noreply+ankane@github.com> 1 sibling, 0 replies; 3+ messages in thread From: ankane (@ankane) @ 2026-03-20 16:29 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> Hi @baditaflorin, check out #640. ^ permalink raw [nested|flat] 3+ messages in thread
* Re: [pgvector/pgvector] issue #970: Feature Request: Native multivector / multi-embedding support (e.g. ColBERT-style late interaction) @ 2026-03-20 16:29 "ankane (@ankane)" <noreply+ankane@github.com> 1 sibling, 0 replies; 3+ messages in thread From: ankane (@ankane) @ 2026-03-20 16:29 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> @ankane closed this. ^ permalink raw [nested|flat] 3+ messages in thread
end of thread, other threads:[~2026-03-20 16:29 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-03-20 10:48 [pgvector/pgvector] issue #970: Feature Request: Native multivector / multi-embedding support (e.g. ColBERT-style late interaction) "baditaflorin (@baditaflorin)" <noreply+baditaflorin@github.com> 2026-03-20 16:29 ` "ankane (@ankane)" <noreply+ankane@github.com> 2026-03-20 16:29 ` "ankane (@ankane)" <noreply+ankane@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