利用文本语义先验提升CLIP在持续学习中的记忆与适应能力
Harnessing Textual Semantic Priors for Knowledge Transfer and Refinement in CLIP-Driven Continual Learning
- 通过文本线索动态评估新旧知识相关性,实现自适应知识迁移
- 在多个基准上显著降低遗忘率,准确率提升5.2%以上
- 适合需要长期学习且依赖视觉-语言模型的系统开发者
持续学习旨在让模型从任务流中持续学习而不遗忘旧知识。随着对比图像-文本预训练(CLIP)等视觉语言模型的发展,其强大的泛化能力为持续学习带来了新可能。然而,CLIP中丰富的文本语义先验在缓解稳定性-可塑性困境方面的潜力尚未被充分挖掘。现有方法在主干训练中转移知识时未考虑语义相关性,导致无关任务干扰,破坏平衡;尽管基于文本的分类器具有强泛化能力,但受模态差距限制,可塑性不足;视觉分类器虽能缓解模态差距,但原型缺乏丰富精确的语义。为此,本文提出语义增强的持续适应框架SECA,利用文本先验的抗遗忘特性和结构化特性,指导主干知识迁移并强化视觉分类器的语义结构。具体地,提出语义引导的自适应知识迁移(SG-AKT)模块,通过文本提示评估新图像与历史视觉知识的相关性,并以实例自适应方式聚合相关知识作为蒸馏信号;引入语义增强的视觉原型优化(SE-VPR)模块,利用类别级文本嵌入捕捉的类间语义关系来优化视觉原型。大量实验验证了该方法的有效性。
原文摘要 · Abstract (English)
Continual learning (CL) aims to equip models with the ability to learn from a stream of tasks without forgetting previous knowledge. With the progress of vision-language models like Contrastive Language-Image Pre-training (CLIP), their promise for CL has attracted increasing attention due to their strong generalizability. However, the potential of rich textual semantic priors in CLIP in addressing the stability-plasticity dilemma remains underexplored. During backbone training, most approaches transfer past knowledge without considering semantic relevance, leading to interference from unrelated tasks that disrupt the balance between stability and plasticity. Besides, while text-based classifiers provide strong generalization, they suffer from limited plasticity due to the inherent modality gap in CLIP. Visual classifiers help bridge this gap, but their prototypes lack rich and precise semantics. To address these challenges, we propose Semantic-Enriched Continual Adaptation (SECA), a unified framework that harnesses the anti-forgetting and structured nature of textual priors to guide semantic-aware knowledge transfer in the backbone and reinforce the semantic structure of the visual classifier. Specifically, a Semantic-Guided Adaptive Knowledge Transfer (SG-AKT) module is proposed to assess new images' relevance to diverse historical visual knowledge via textual cues, and aggregate relevant knowledge in an instance-adaptive manner as distillation signals. Moreover, a Semantic-Enhanced Visual Prototype Refinement (SE-VPR) module is introduced to refine visual prototypes using inter-class semantic relations captured in class-wise textual embeddings. Extensive experiments on multiple benchmarks validate the effectiveness of our approach.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。