Q-Tuning: Queue-based Prompt Tuning for Lifelong Few-shot Language Learning
Yanhui Guo, Shaoyuan Xu, Jinmiao Fu, Jia Liu, Chaosheng, Dong, Bryan Wang

TL;DR
Q-tuning introduces a queue-based prompt tuning method for lifelong learning in language models, utilizing adaptive knowledge aggregation and PCA-based eviction to effectively retain old task knowledge while learning new tasks.
Contribution
It proposes a novel queue-based prompt tuning framework with adaptive aggregation and eviction strategies for continual learning in language models.
Findings
Outperforms state-of-the-art continual prompt tuning methods.
Enables lifelong learning with constant training and inference complexity.
Effective knowledge retention through PCA-based eviction and regularization.
Abstract
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.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsSpeech and dialogue systems · Machine Learning and Algorithms
