[Paper Review] Q-PEFT: Query-dependent Parameter Efficient Fine-tuning for Text Reranking with Large Language Models
This paper proposes Q-PEFT, a query-dependent parameter-efficient fine-tuning method for text reranking with large language models. By using the query to extract top-k tokens from documents as contextual clues and replacing retrieval with a multi-head attention layer, Q-PEFT enables end-to-end training and generates more document-specific synthetic queries, significantly improving reranking performance across four public datasets with minimal parameter updates.
Parameter Efficient Fine-Tuning (PEFT) methods have been extensively utilized in Large Language Models (LLMs) to improve the down-streaming tasks without the cost of fine-tuing the whole LLMs. Recent studies have shown how to effectively use PEFT for fine-tuning LLMs in ranking tasks with convincing performance; there are some limitations, including the learned prompt being fixed for different documents, overfitting to specific tasks, and low adaptation ability. In this paper, we introduce a query-dependent parameter efficient fine-tuning (Q-PEFT) approach for text reranking to leak the information of the true queries to LLMs and then make the generation of true queries from input documents much easier. Specifically, we utilize the query to extract the top-$k$ tokens from concatenated documents, serving as contextual clues. We further augment Q-PEFT by substituting the retrieval mechanism with a multi-head attention layer to achieve end-to-end training and cover all the tokens in the documents, guiding the LLMs to generate more document-specific synthetic queries, thereby further improving the reranking performance. Extensive experiments are conducted on four public datasets, demonstrating the effectiveness of our proposed approach.
Motivation & Objective
- To address the limitations of fixed prompts and poor generalization in existing parameter-efficient fine-tuning (PEFT) methods for text reranking.
- To improve LLM-based reranking by making prompt learning dependent on the input query, enhancing relevance understanding.
- To reduce overfitting and increase adaptation ability by dynamically generating query-aware contextual clues from documents.
- To enable end-to-end training through replacing traditional retrieval with a multi-head attention mechanism for better semantic integration.
- To achieve state-of-the-art reranking performance with minimal parameter updates, avoiding full fine-tuning of large models.
Proposed method
- A query-dependent module extracts the top-k tokens from concatenated query-document pairs using the query as a key to identify salient contextual clues.
- The method employs a retrieval mechanism based on query-aware attention to identify relevant document segments, replacing traditional hard retrieval.
- A multi-head attention layer is integrated to replace the retrieval step, enabling end-to-end training and full coverage of document tokens.
- The approach freezes the original LLM parameters and only fine-tunes a small, learnable adapter module, ensuring parameter efficiency.
- Synthetic queries are generated based on the attention-guided contextual clues, improving relevance scoring between query and documents.
- The framework is evaluated using Recall@10 across four public datasets, comparing performance across different retrievers and training sizes.
Experimental results
Research questions
- RQ1Can query-dependent prompt learning improve the generalization and adaptability of PEFT methods in text reranking?
- RQ2How does replacing hard retrieval with a multi-head attention layer affect end-to-end training and reranking performance?
- RQ3To what extent does query-aware token extraction enhance document-specific relevance modeling in LLMs?
- RQ4How does training size impact the stability and performance of the proposed Q-PEFT method across different datasets?
- RQ5Can Q-PEFT outperform existing PEFT and non-PEFT baselines in zero-shot and few-shot reranking scenarios?
Key findings
- Q-PEFT-A, which uses a multi-head attention layer, achieves more stable and higher peak performance than Q-PEFT-R across both NQ and WebQ datasets.
- The Q-PEFT-A model shows smoother performance growth with increasing training size and stabilizes at higher Recall@10 values compared to Q-PEFT-R.
- On the NQ dataset, Q-PEFT-R performance fluctuates significantly with training size, peaking and then declining before rising again, indicating instability.
- On the WebQ dataset, Q-PEFT-A shows consistent and steady improvement with increasing training size, achieving a higher peak performance than Q-PEFT-R.
- The method achieves significant improvements over the UPR baseline across all four datasets, with consistent gains in Recall@10 across different retrievers.
- Prompt p4 was found to yield the most consistent and optimal performance across datasets, reducing variability in model outcomes.
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.