Skip to main content
QUICK REVIEW

[Paper Review] POP: Prompt Of Prompts for Continual Learning

Zhiyuan Hu, Jiancheng Lyu|arXiv (Cornell University)|Jun 14, 2023
Domain Adaptation and Few-Shot LearningComputer Science3 citations
TL;DR

This paper proposes Prompt of Prompts (POP), a continual learning framework that enhances foundation models by learning both task-specific prompts and a shared global prompt set (POP) to integrate cross-task knowledge. POP achieves state-of-the-art performance in class-incremental learning, outperforming classic methods even with only 20–50 samples per class, enabling effective few-shot continual learning.

ABSTRACT

Continual learning (CL) has attracted increasing attention in the recent past. It aims to mimic the human ability to learn new concepts without catastrophic forgetting. While existing CL methods accomplish this to some extent, they are still prone to semantic drift of the learned feature space. Foundation models, which are endowed with a robust feature representation, learned from very large datasets, provide an interesting substrate for the solution of the CL problem. Recent work has also shown that they can be adapted to specific tasks by prompt tuning techniques that leave the generality of the representation mostly unscathed. An open question is, however, how to learn both prompts that are task specific and prompts that are global, i.e. capture cross-task information. In this work, we propose the Prompt Of Prompts (POP) model, which addresses this goal by progressively learning a group of task-specified prompts and a group of global prompts, denoted as POP, to integrate information from the former. We show that a foundation model equipped with POP learning is able to outperform classic CL methods by a significant margin. Moreover, as prompt tuning only requires a small set of training samples, POP is able to perform CL in the few-shot setting, while still outperforming competing methods trained on the entire dataset.

Motivation & Objective

  • To address catastrophic forgetting in continual learning by leveraging the robust feature representations of foundation models.
  • To enable effective few-shot continual learning by minimizing reliance on large training datasets.
  • To design a prompt-based method that balances task-specific and global knowledge integration.
  • To outperform existing continual learning methods, especially in low-data regimes.
  • To demonstrate that prompt tuning on foundation models can achieve superior generalization and stability across tasks.

Proposed method

  • Augmenting image inputs with two types of learnable prompts: task-specific prompts $P_t$ and a shared global prompt set (POP).
  • Using a foundation model (e.g., CLIP-ViT) as the backbone to extract features from both task-specific and global prompts.
  • Fusing the outputs of task-specific prompts and POP prompts via concatenation and averaging to form task-specific ($f_t$) and global ($f$) representations.
  • Optimizing the model with a combination of local (task-specific) and global (cross-task) classification losses to preserve both task-specific accuracy and generalization.
  • Freezing task-specific prompts after training and continually updating only the global POP prompts across tasks.
  • Applying feature fusion strategies such as mean pooling, max pooling, and concatenation to evaluate the impact on performance.

Experimental results

Research questions

  • RQ1Can a foundation model enhanced with both task-specific and global prompts achieve better continual learning performance than standard fine-tuning or regularization methods?
  • RQ2To what extent can prompt tuning on foundation models enable effective few-shot continual learning with minimal training data?
  • RQ3How does the integration of a shared global prompt set (POP) improve cross-task generalization and reduce forgetting?
  • RQ4What is the optimal number of prompts per task for balancing performance and parameter efficiency?
  • RQ5How does the choice of feature fusion strategy affect the final classification accuracy in continual learning?

Key findings

  • On Split CIFAR-100, POP outperforms all classic methods when trained with only 50 samples per class, surpassing methods trained on 500 samples per class.
  • On Split ImageNet-R, POP achieves superior accuracy with just 20 samples per class, while baseline prompt-based methods require an average of 150 samples per class.
  • With a memory buffer of 3,000 samples (30 per class) on CIFAR-100, POP outperforms all classic continual learning methods.
  • On ImageNet-R with a buffer of 2,000 samples (10 per class), POP exceeds all prior methods, demonstrating strong few-shot generalization.
  • Using only one prompt per task yields the best performance, with minimal degradation when increasing to four prompts.
  • The feature fusion strategy combining mean pooling and concatenation (mean and cat) achieves the highest accuracy (81.97 AA), outperforming alternatives like max pooling or using only POP tokens.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.