Prompt-Guided Retrieval Augmentation for Non-Knowledge-Intensive Tasks

Zhicheng Guo, Sijie Cheng, Yile Wang, Peng Li, Yang Liu
5/28/2023
34 citations
cs.CL
rag

Official code: THUNLP-MT/PGRA (12 stars, Python, last commit 2023-09-01).

Abstract

Retrieval-augmented methods have received increasing attention to support downstream tasks by leveraging useful information from external resources. Recent studies mainly focus on exploring retrieval to solve knowledge-intensive (KI) tasks.

Show full abstract

However, the potential of retrieval for most non-knowledge-intensive (NKI) tasks remains under-explored. There are two main challenges to leveraging retrieval-augmented methods for NKI tasks: 1) the demand for diverse relevance score functions and 2) the dilemma between training cost and task performance. To address these challenges, we propose a two-stage framework for NKI tasks, named PGRA. In the first stage, we adopt a task-agnostic retriever to build a shared static index and select candidate evidence efficiently. In the second stage, we design a prompt-guided reranker to rerank the nearest evidence according to task-specific relevance for the reader. Experimental results show that PGRA outperforms other state-of-the-art retrieval-augmented methods. Our analyses further investigate the influence factors to model performance and demonstrate the generality of PGRA. Codes are available at https://github.com/THUNLP-MT/PGRA.

View on arXivView PDF

Code Implementations(1)

THUNLP-MT/PGRAOfficial100%

Prompt-Guided Retrieval For Non-Knowledge-Intensive Tasks

121Python, ShellMay 15, 20233 years ago

Similar Papers

Cite this paper

@article{guo2023promptguided,
  title  = {Prompt-Guided Retrieval Augmentation for Non-Knowledge-Intensive Tasks},
  author = {Zhicheng Guo and Sijie Cheng and Yile Wang and Peng Li and Yang Liu},
  year   = {2023},
  eprint = {2305.17653},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.17653v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.17653.svg)](https://codeofpaper.com/paper/2305.17653)

Discussion