arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.04420cs.LGcs.AI
收藏

提示选择是否对无任务在线持续学习必要?

Is Prompt Selection Necessary for Task-Free Online Continual Learning?

Sungkyunkwan University(成均馆大学)

Seoyoung Park, Haemin Lee, Hankook Lee

AI总结:

本文提出单提示方法,无需提示选择,通过优化分类器减少遗忘,实现无任务在线持续学习的最优性能。

摘要:

无任务在线持续学习最近作为一种现实的范式出现,用于解决动态真实环境中的持续学习问题,其中数据以非平稳流形式出现,没有明确的任务边界,且只能一次观察。为考虑此类挑战性场景,许多近期方法采用了提示选择,一种基于输入信号从池中选择提示的适应性策略。然而,我们发现此类选择策略往往无法选择合适的提示,即使进一步训练关键参数,也导致次优结果。受此观察启发,我们提出了一种简单而有效的SinglePrompt,消除了提示选择的需要,并专注于分类器优化。具体而言,我们简单地(i)将单个提示注入每个自注意力块中,(ii)采用基于余弦相似度的logit设计以缓解分类器权重中的遗忘效应,(iii)在当前minibatch中屏蔽未暴露类别的logits。通过这种简单的无任务设计,我们的框架在各种在线持续学习基准上实现了最先进的性能。源代码可在https://github.com/efficient-learning-lab/SinglePrompt获取。

英文摘要:

Task-free online continual learning has recently emerged as a realistic paradigm for addressing continual learning in dynamic, real-world environments, where data arrive in a non-stationary stream without clear task boundaries and can only be observed once. To consider such challenging scenarios, many recent approaches have employed prompt selection, an adaptive strategy that selects prompts from a pool based on input signals. However, we observe that such selection strategies often fail to select appropriate prompts, yielding suboptimal results despite additional training of key parameters. Motivated by this observation, we propose a simple yet effective SinglePrompt that eliminates the need for prompt selection and focuses on classifier optimization. Specifically, we simply (i) inject a single prompt into each self-attention block, (ii) employ a cosine similarity-based logit design to alleviate the forgetting effect inherent in the classifier weights, and (iii) mask logits for unexposed classes in the current minibatch. With this simple task-free design, our framework achieves state-of-the-art performance across various online continual learning benchmarks. Source code is available at https://github.com/efficient-learning-lab/SinglePrompt.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑