Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

GRID: Scaling Task-Agnostic Inference in Continual Prompt Tuning

About

Prompt-based continual learning (CL) offers a parameter-efficient way to adapt large language models (LLMs) across task sequences. However, existing methods often rely on task-aware inference and maintain an expanding set of task-specific prompts, leading to (1) severe performance degradation on earlier tasks when task identifiers are unavailable for prompt selection at inference time, and (2) limited scalability as task sequence grows. We propose GRID, a unified framework designed to address these challenges. GRID incorporates an output-space-aware decoding mechanism that enhances backward transfer by leveraging representative inputs and automatic label semantic normalization, alongside a gradient-guided prompt selection strategy that compresses less informative prompts into a single aggregated representation for scalable, memory-efficient continual learning. Extensive experiments on long-sequence and negative-transfer benchmarks show that GRID improves backward transfer, achieves competitive forward transfer, and substantially reduces prompt memory across encoder-decoder and decoder-only architectures, including T5, Qwen, and LLaMA. Source code is available at https://github.com/AnushkaTi/GRID.

Anushka Tiwari, Sayantan Pal, Rohini K. Srihari, Kaiyi Ji• 2025

Related benchmarks

TaskDatasetResultRank
Continual LearningMTCL-Bench Order L1
Accuracy83.54
12
Continual LearningMTCL-Bench Order L3
Accuracy (Acc)84.76
12
Continual LearningMTCL-Bench Order L4
Accuracy82.43
12
Continual LearningMTCL-Bench Order L5
Accuracy83.43
12
Continual LearningMTCL-Bench Average
Accuracy82.81
12
Continual LearningNegative Transfer Task Sequences NT1-NT3 (test)
BWT (NT1)-0.0807
12
Seq-to-SeqNT1 Sequence (test)
Accuracy76.28
12
Seq-to-SeqNT2 Sequence (test)
Accuracy74.84
12
Seq-to-Seq LearningLong-sequence task orders L1-L6 (test)
L1 Score4.27
12
Continual LearningMTCL-Bench Order L2
Accuracy (Acc)83.12
12
Showing 10 of 22 rows

Other info

Follow for update