Retrieval-augmented Prompt Learning for Pre-trained Foundation Models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chen, Xiang, Ou, Yixin, Feng, Quan, Li, Lei, Li, Piji, Ye, Haibo, Huang, Sheng-Jun, Qiao, Shuofei, Deng, Shumin, Chen, Huajun, Zhang, Ningyu
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866908730352730112
author Chen, Xiang
Ou, Yixin
Feng, Quan
Li, Lei
Li, Piji
Ye, Haibo
Huang, Sheng-Jun
Qiao, Shuofei
Deng, Shumin
Chen, Huajun
Zhang, Ningyu
author_facet Chen, Xiang
Ou, Yixin
Feng, Quan
Li, Lei
Li, Piji
Ye, Haibo
Huang, Sheng-Jun
Qiao, Shuofei
Deng, Shumin
Chen, Huajun
Zhang, Ningyu
contents The pre-trained foundation models (PFMs) have become essential for facilitating large-scale multimodal learning. Researchers have effectively employed the ``pre-train, prompt, and predict'' paradigm through prompt learning to induce improved few-shot performance. However, prompt learning approaches for PFMs still follow a parametric learning paradigm. As such, the stability of generalization in memorization and rote learning can be compromised. More specifically, conventional prompt learning might face difficulties in fully utilizing atypical instances and avoiding overfitting to shallow patterns with limited data during the process of fully-supervised training. To overcome these constraints, we present our approach, named RetroPrompt, which aims to achieve a balance between memorization and generalization by decoupling knowledge from mere memorization. Unlike traditional prompting methods, RetroPrompt leverages a publicly accessible knowledge base generated from the training data and incorporates a retrieval mechanism throughout the input, training, and inference stages. This enables the model to actively retrieve relevant contextual information from the corpus, thereby enhancing the available cues. We conduct comprehensive experiments on a variety of datasets across natural language processing and computer vision tasks to demonstrate the superior performance of our proposed approach, RetroPrompt, in both zero-shot and few-shot scenarios. Through detailed analysis of memorization patterns, we observe that RetroPrompt effectively reduces the reliance on rote memorization, leading to enhanced generalization.
format Preprint
id arxiv_https___arxiv_org_abs_2512_20145
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Retrieval-augmented Prompt Learning for Pre-trained Foundation Models
Chen, Xiang
Ou, Yixin
Feng, Quan
Li, Lei
Li, Piji
Ye, Haibo
Huang, Sheng-Jun
Qiao, Shuofei
Deng, Shumin
Chen, Huajun
Zhang, Ningyu
Computation and Language
Artificial Intelligence
Computer Vision and Pattern Recognition
Information Retrieval
Machine Learning
The pre-trained foundation models (PFMs) have become essential for facilitating large-scale multimodal learning. Researchers have effectively employed the ``pre-train, prompt, and predict'' paradigm through prompt learning to induce improved few-shot performance. However, prompt learning approaches for PFMs still follow a parametric learning paradigm. As such, the stability of generalization in memorization and rote learning can be compromised. More specifically, conventional prompt learning might face difficulties in fully utilizing atypical instances and avoiding overfitting to shallow patterns with limited data during the process of fully-supervised training. To overcome these constraints, we present our approach, named RetroPrompt, which aims to achieve a balance between memorization and generalization by decoupling knowledge from mere memorization. Unlike traditional prompting methods, RetroPrompt leverages a publicly accessible knowledge base generated from the training data and incorporates a retrieval mechanism throughout the input, training, and inference stages. This enables the model to actively retrieve relevant contextual information from the corpus, thereby enhancing the available cues. We conduct comprehensive experiments on a variety of datasets across natural language processing and computer vision tasks to demonstrate the superior performance of our proposed approach, RetroPrompt, in both zero-shot and few-shot scenarios. Through detailed analysis of memorization patterns, we observe that RetroPrompt effectively reduces the reliance on rote memorization, leading to enhanced generalization.
title Retrieval-augmented Prompt Learning for Pre-trained Foundation Models
topic Computation and Language
Artificial Intelligence
Computer Vision and Pattern Recognition
Information Retrieval
Machine Learning
url https://arxiv.org/abs/2512.20145