Dense retrieval uses embedded dense representations for documents to be obtained from language models ingested in vector stores. To reduce large space requirements and/or efficiency concerns, approximate nearest neighbours algorithms can be deployed, typically at the cost of effectiveness. Among existing approaches, Product Quantisation (PQ) is one well-known algorithm, where embeddings are split along dimensions, and then assigned to similar cluster centroids on a per-split basis. Joint Product Quantisation (JPQ) improves over PQ by further training the obtained centroid embeddings, as well as the query encoder, for enhanced effectiveness. In this replicability study, we reimplement JPQ, comparing its performance on the STAR biencoder model with that reported in the original paper, as well as considering its generalisability in several dimensions: to other biencoders such as TCT and TAS-B; to larger models such as RepLLama; and beyond document retrieval, to a retrieval augmented generation task. Among many interesting results, we find that JPQ does work on more modern biencoder models such as TCT but not on larger models such as RepLLama; however, it does scale to large corpora, allowing dense retrieval for RAG that is as effective from an index that is 32x larger.

A Replicability Study of Joint Product Quantisation for Effective Space-Efficient Dense Retrieval

Tonellotto N.
2026-01-01

Abstract

Dense retrieval uses embedded dense representations for documents to be obtained from language models ingested in vector stores. To reduce large space requirements and/or efficiency concerns, approximate nearest neighbours algorithms can be deployed, typically at the cost of effectiveness. Among existing approaches, Product Quantisation (PQ) is one well-known algorithm, where embeddings are split along dimensions, and then assigned to similar cluster centroids on a per-split basis. Joint Product Quantisation (JPQ) improves over PQ by further training the obtained centroid embeddings, as well as the query encoder, for enhanced effectiveness. In this replicability study, we reimplement JPQ, comparing its performance on the STAR biencoder model with that reported in the original paper, as well as considering its generalisability in several dimensions: to other biencoders such as TCT and TAS-B; to larger models such as RepLLama; and beyond document retrieval, to a retrieval augmented generation task. Among many interesting results, we find that JPQ does work on more modern biencoder models such as TCT but not on larger models such as RepLLama; however, it does scale to large corpora, allowing dense retrieval for RAG that is as effective from an index that is 32x larger.
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11568/1379516
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? ND
social impact