Prompt Customization for Continual Learning

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Dai, Yong, Hong, Xiaopeng, Wang, Yabin, Ma, Zhiheng, Jiang, Dongmei, Wang, Yaowei
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913333441986560
author Dai, Yong
Hong, Xiaopeng
Wang, Yabin
Ma, Zhiheng
Jiang, Dongmei
Wang, Yaowei
author_facet Dai, Yong
Hong, Xiaopeng
Wang, Yabin
Ma, Zhiheng
Jiang, Dongmei
Wang, Yaowei
contents Contemporary continual learning approaches typically select prompts from a pool, which function as supplementary inputs to a pre-trained model. However, this strategy is hindered by the inherent noise of its selection approach when handling increasing tasks. In response to these challenges, we reformulate the prompting approach for continual learning and propose the prompt customization (PC) method. PC mainly comprises a prompt generation module (PGM) and a prompt modulation module (PMM). In contrast to conventional methods that employ hard prompt selection, PGM assigns different coefficients to prompts from a fixed-sized pool of prompts and generates tailored prompts. Moreover, PMM further modulates the prompts by adaptively assigning weights according to the correlations between input data and corresponding prompts. We evaluate our method on four benchmark datasets for three diverse settings, including the class, domain, and task-agnostic incremental learning tasks. Experimental results demonstrate consistent improvement (by up to 16.2\%), yielded by the proposed method, over the state-of-the-art (SOTA) techniques.
format Preprint
id arxiv_https___arxiv_org_abs_2404_18060
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Prompt Customization for Continual Learning
Dai, Yong
Hong, Xiaopeng
Wang, Yabin
Ma, Zhiheng
Jiang, Dongmei
Wang, Yaowei
Computer Vision and Pattern Recognition
Machine Learning
Contemporary continual learning approaches typically select prompts from a pool, which function as supplementary inputs to a pre-trained model. However, this strategy is hindered by the inherent noise of its selection approach when handling increasing tasks. In response to these challenges, we reformulate the prompting approach for continual learning and propose the prompt customization (PC) method. PC mainly comprises a prompt generation module (PGM) and a prompt modulation module (PMM). In contrast to conventional methods that employ hard prompt selection, PGM assigns different coefficients to prompts from a fixed-sized pool of prompts and generates tailored prompts. Moreover, PMM further modulates the prompts by adaptively assigning weights according to the correlations between input data and corresponding prompts. We evaluate our method on four benchmark datasets for three diverse settings, including the class, domain, and task-agnostic incremental learning tasks. Experimental results demonstrate consistent improvement (by up to 16.2\%), yielded by the proposed method, over the state-of-the-art (SOTA) techniques.
title Prompt Customization for Continual Learning
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2404.18060