CLApr 22, 2024

Q-Tuning: Queue-based Prompt Tuning for Lifelong Few-shot Language Learning

arXiv:2404.14607v134 citationsh-index: 8NAACL-HLT
Originality Incremental advance
AI Analysis

This addresses the challenge of enabling pre-trained language models to learn new tasks sequentially without forgetting old ones, which is crucial for real-world applications where data arrives incrementally, though it is an incremental improvement over existing continual learning methods.

The paper tackles the problem of catastrophic forgetting in lifelong few-shot language learning by introducing Q-tuning, a queue-based prompt tuning method that maintains a prompt queue with adaptive knowledge aggregation and PCA-based eviction, achieving state-of-the-art performance on continual prompt tuning benchmarks with constant training and inference complexity.

This paper introduces \textbf{Q-tuning}, a novel approach for continual prompt tuning that enables the lifelong learning of a pre-trained language model. When learning a new task, Q-tuning trains a task-specific prompt by adding it to a prompt queue consisting of the prompts from older tasks. To better transfer the knowledge of old tasks, we design an adaptive knowledge aggregation technique that reweighs previous prompts in the queue with a learnable low-rank matrix. Once the prompt queue reaches its maximum capacity, we leverage a PCA-based eviction rule to reduce the queue's size, allowing the newly trained prompt to be added while preserving the primary knowledge of old tasks. In order to mitigate the accumulation of information loss caused by the eviction, we additionally propose a globally shared prefix prompt and a memory retention regularization based on information theory. Extensive experiments demonstrate that our approach outperforms the state-of-the-art methods substantially on continual prompt tuning benchmarks. Moreover, our approach enables lifelong learning on linearly growing task sequences while requiring constant complexity for training and inference.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes