[Paper Review] Nonparametric Decoding for Generative Retrieval
This paper proposes Nonparametric Decoding (Np Decoding), a method that enhances generative retrieval models by replacing standard vocabulary embeddings with context-aware, nonparametric contextualized embeddings from a frozen encoder. By leveraging both parametric and nonparametric embedding spaces, Np Decoding improves retrieval performance by 4.4% in R-precision on single-hop and 5.4% in Recall@2 on multi-hop datasets, with strong zero-shot and data efficiency.
The generative retrieval model depends solely on the information encoded in its model parameters without external memory, its information capacity is limited and fixed. To overcome the limitation, we propose Nonparametric Decoding (Np Decoding) which can be applied to existing generative retrieval models. Np Decoding uses nonparametric contextualized vocab embeddings (external memory) rather than vanilla vocab embeddings as decoder vocab embeddings. By leveraging the contextualized vocab embeddings, the generative retrieval model is able to utilize both the parametric and nonparametric space. Evaluation over 9 datasets (8 single-hop and 1 multi-hop) in the document retrieval task shows that applying Np Decoding to generative retrieval models significantly improves the performance. We also show that Np Decoding is data- and parameter-efficient, and shows high performance in the zero-shot setting.
Motivation & Objective
- To overcome the fixed information capacity of fully parametric generative retrieval models.
- To address the embedding space bottleneck in bi-encoder and generative retrieval models by introducing a nonparametric decoding mechanism.
- To enable generative retrieval models to utilize both parametric and nonparametric knowledge spaces without external memory overhead.
- To improve performance in low-resource and zero-shot settings through context-aware, nonparametric vocabulary embeddings.
- To demonstrate that contrastive learning on the contextualized encoder enhances retrieval effectiveness.
Proposed method
- Replace standard decoder vocabulary embeddings with contextualized embeddings from a frozen encoder (CE Encoder) to form a nonparametric space.
- Construct the contextualized embedding matrix (CE) using output representations of a pre-trained language model encoder, with only retrieval target sequences (e.g., titles) added.
- Freeze the CE Encoder during training and inference, ensuring the nonparametric space remains fixed and context-sensitive.
- Allow each token to have multiple embeddings in the CE matrix, enabling context-dependent representation and finer-grained semantic discrimination.
- Train the CE Encoder using contrastive learning to improve the quality and clustering of contextualized embeddings.
- Integrate Np Decoding into existing generative retrieval models with minimal architectural changes, supporting both training and inference.
Experimental results
Research questions
- RQ1Can nonparametric decoding significantly improve the performance of existing generative retrieval models?
- RQ2How does the use of context-aware, nonparametric vocabulary embeddings affect retrieval accuracy across single-hop and multi-hop tasks?
- RQ3To what extent does contrastive pretraining of the CE Encoder enhance retrieval performance?
- RQ4Can Np Decoding achieve strong performance in zero-shot and low-data settings?
- RQ5Does the nonparametric space provide a more expressive and fine-grained embedding space than standard vanilla embeddings?
Key findings
- Np Decoding improves R-precision by 4.4% on single-hop retrieval datasets compared to vanilla decoding.
- Np Decoding boosts Recall@2 by 5.4% on multi-hop retrieval datasets, demonstrating strong generalization.
- The use of contrastive learning during CE Encoder pretraining leads to a significant and measurable performance gain in retrieval tasks.
- Generative retrieval models with Np Decoding show high data and parameter efficiency, maintaining strong performance even with limited training data.
- The contextualized embedding space created by CE is highly expressive, with tokens mapped to multiple spatial clusters based on context, enabling context-sensitive representations.
- Qualitative analysis confirms that clusters in the CE space group semantically coherent document types (e.g., Lincoln-related documents, music albums), validating the model's contextual understanding.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.