paper-with-me

Papers

Efficient Document Retrieval by End-to-End Refining and Quantizing BERT Embedding with Contrastive Product Quantization

2022-10-31 · Zexuan Qiu, Qinliang Su, Jianxing Yu, Shijing Si

Efficient document retrieval heavily relies on the technique of semantic hashing, which learns a binary code for every document and employs Hamming distance to evaluate document distances. However, existing semantic hashing methods are mostly established on outdated TFIDF features, which obviously do not contain lots of important semantic information about documents. Furthermore, the Hamming distance can only be equal to one of several integer values, significantly limiting its representational ability for document distances. To address these issues, in this paper, we propose to leverage BERT embeddings to perform efficient retrieval based on the product quantization technique, which will assign for every document a real-valued codeword from the codebook, instead of a binary code as in semantic hashing. Specifically, we first transform the original BERT embeddings via a learnable mapping and feed the transformed embedding into a probabilistic product quantization module to output the assigned codeword. The refining and quantizing modules can be optimized in an end-to-end manner by minimizing the probabilistic contrastive loss. A mutual information maximization based method is further proposed to improve the representativeness of codewords, so that documents can be quantized more accurately. Extensive experiments conducted on three benchmarks demonstrate that our proposed method significantly outperforms current state-of-the-art baselines.

📄 PDF Abstract BibTeX arXiv:2210.17170

Code (1)

qiuzx2/micpq 공식 구현 pytorch

Tasks

QuantizationRetrieval

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Weight Decay 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

Enhancing Technical Documents Retrieval for RAG

2025-09-04 · Songjiang Lai, Tsun-Hin Cheung, Ka-Chun Fung, Kaiwen Xue 외 arxiv

In this paper, we introduce Technical-Embeddings, a novel framework designed to optimize semantic retrieval in technical documentation, with applications in both hardware and software development. Our approach addresses …

Semantic Retrieval

RepBERT: Contextualized Text Embeddings for First-Stage Retrieval

2020-06-28 · Jingtao Zhan, Jiaxin Mao, Yiqun Liu, Min Zhang 외

Although exact term match between queries and documents is the dominant method to perform first-stage retrieval, we propose a different approach, called RepBERT, to represent documents and queries with fixed-length conte…

Passage RankingRetrieval

QuadrupletBERT: An Efficient Model For Embedding-Based Large-Scale Retrieval

2021-06-01 · NAACL 2021 4 · Peiyang Liu, Sen Wang, Xi Wang, Wei Ye 외

The embedding-based large-scale query-document retrieval problem is a hot topic in the information retrieval (IR) field. Considering that pre-trained language models like BERT have achieved great success in a wide variet…

Information RetrievalRetrieval

ColBERTSaR: Sparsified ColBERT Index via Product Quantization

2026-06-04 · Eugene Yang, Andrew Yates, Dawn Lawrie, James Mayfield 외 arxiv

While ColBERT is an effective neural retrieval architecture, it requires a heavy index structure to support candidate set retrieval based on approximated token embeddings, gathering and decompressing document token embed…

Pseudo-Relevance Feedback for Multiple Representation Dense Retrieval

2021-06-21 · Xiao Wang, Craig Macdonald, Nicola Tonellotto, Iadh Ounis

Pseudo-relevance feedback mechanisms, from Rocchio to the relevance models, have shown the usefulness of expanding and reweighting the users' initial queries using information occurring in an initial set of retrieved doc…

Information RetrievalPassage RankingRerankingRetrieval+1