[Paper Review] Hierarchical Decomposition of Prompt-Based Continual Learning: Rethinking Obscured Sub-optimality
The paper introduces HiDe-Prompt, a hierarchical decomposition approach that explicitly optimizes within-task prediction, task-identity inference, and task-adaptive prediction for prompt-based continual learning, achieving state-of-the-art results under self-supervised pre-training.
Prompt-based continual learning is an emerging direction in leveraging pre-trained knowledge for downstream continual learning, and has almost reached the performance pinnacle under supervised pre-training. However, our empirical research reveals that the current strategies fall short of their full potential under the more realistic self-supervised pre-training, which is essential for handling vast quantities of unlabeled data in practice. This is largely due to the difficulty of task-specific knowledge being incorporated into instructed representations via prompt parameters and predicted by uninstructed representations at test time. To overcome the exposed sub-optimality, we conduct a theoretical analysis of the continual learning objective in the context of pre-training, and decompose it into hierarchical components: within-task prediction, task-identity inference, and task-adaptive prediction. Following these empirical and theoretical insights, we propose Hierarchical Decomposition (HiDe-)Prompt, an innovative approach that explicitly optimizes the hierarchical components with an ensemble of task-specific prompts and statistics of both uninstructed and instructed representations, further with the coordination of a contrastive regularization strategy. Our extensive experiments demonstrate the superior performance of HiDe-Prompt and its robustness to pre-training paradigms in continual learning (e.g., up to 15.01% and 9.61% lead on Split CIFAR-100 and Split ImageNet-R, respectively). Our code is available at \url{https://github.com/thu-ml/HiDe-Prompt}.
Motivation & Objective
- Motivate the study of prompt-based continual learning under realistic self-supervised pre-training settings.
- Theoretically decompose the continual learning objective into hierarchical components: within-task prediction, task-identity inference, and task-adaptive prediction.
- Propose HiDe-Prompt to explicitly optimize the hierarchical components using task-specific prompts and representation statistics.
- Introduce a contrastive regularization strategy to coordinate hierarchical components.
- Demonstrate empirical gains across multiple benchmarks showing robustness to pre-training paradigms.
Proposed method
- The problem is posed as rehearsal-free continual learning with a frozen pretrained backbone and task-specific prompts.
- Prompt-based approaches (ProT vs. PreT) are reviewed and compared, highlighting how task identity is inferred from uninstructed representations.
- HiDe-Prompt expands a task-specific prompt pool and uses a prompt ensemble to transfer knowledge to new tasks while mitigating forgetting.
- WTP, TII, and TAP are optimized via dedicated branches: WTP uses a cross-entropy with a contrastive regularization term leveraging old-task statistics; TII uses an auxiliary continually-adapted output layer to predict task identity from uninstructed representations; TAP uses an output head adapted to all seen classes.
- Representations for each class are modeled statistically (Gaussian-centric) to enable distribution-based predictions; cross-entropy losses H_WTP, H_TII, H_TAP guide the hierarchical optimization (Eqs. 6–12).
- At test time, the model selects a task identity via the auxiliary TII pathway and then predicts the label via the task-specific prompt.
Experimental results
Research questions
- RQ1How does pre-training paradigm (self-supervised vs supervised) affect the effectiveness of prompt-based continual learning?
- RQ2Can a hierarchical decomposition of the continual learning objective (WTP, TII, TAP) lead to better performance under self-supervised pre-training?
- RQ3How can task-specific prompts be organized and regularized to avoid catastrophic forgetting while enabling knowledge transfer?
- RQ4Does modeling uninstructed/instructed representations statistically (e.g., Gaussians) enable effective task identity and class prediction across tasks?
Key findings
- Prompt-based continual learning degrades under self-supervised pre-training if prompts alone are optimized without hierarchical coordination.
- HiDe-Prompt achieves state-of-the-art results across benchmarks, e.g., Split CIFAR-100 and Split ImageNet-R, under various pre-training paradigms.
- HiDe-Prompt shows substantial gains over baselines, e.g., up to 15.01% FAA lead on Split CIFAR-100 and 9.61% on Split ImageNet-R when compared to strong baselines.
- An ensemble of task-specific prompts with a prompt ensemble and old-task statistics, plus contrastive regularization, improves WTP and aligns TAP with old tasks.
- Auxiliary TII and adapted TAP heads continually improve identity inference and class prediction across tasks, contributing to better CIL performance.
- Across PTMs like Sup-21K, iBOT-21K, iBOT-1K, DINO-1K, and MoCo-1K, HiDe-Prompt consistently outperforms L2P, DualPrompt, S-Prompt++, and CODA-Prompt (see Table 1).
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.