提出无需反向传播的持续学习方法,提升效率与记忆保持。
Forward-Only Continual Learning
- 不依赖梯度优化,用进化策略调整提示嵌入
- 通过非线性投影编码知识,实现无重放增量更新
- 适合资源受限场景,特别适用于多媒体应用
灾难性遗忘仍是预训练模型持续学习的核心挑战。现有方法通常冻结主干网络并微调少量参数,但仍需迭代反向传播和基于梯度的优化,计算开销大,不适用于资源受限环境。为此,我们提出 FoRo,一种前向仅有的、无梯度的持续学习方法。FoRo 包含轻量级提示调优策略和新型知识编码机制,均在不修改预训练模型的前提下设计。具体而言,提示嵌入插入输入层,并使用协方差矩阵自适应进化策略(CMA-ES)优化,缓解分布偏移并提取高质量任务表示。随后,通过非线性随机投影和递归最小二乘法将任务特定知识编码至知识编码矩阵,实现分类器的增量更新而无需回看历史数据。实验表明,FoRo 显著降低平均遗忘率并提升准确率。得益于前向仅有的学习范式,FoRo 减少内存占用和运行时间,同时在长任务序列中保持高知识保留能力。这些结果表明,FoRo 可能为探索预训练模型的持续学习提供新方向,尤其适用于对效率与效果均有要求的真实世界多媒体应用。
原文摘要 · Abstract (English)
Catastrophic forgetting remains a central challenge in continual learning (CL) with pre-trained models. While existing approaches typically freeze the backbone and fine-tune a small number of parameters to mitigate forgetting, they still rely on iterative error backpropagation and gradient-based optimization, which can be computationally intensive and less suitable for resource-constrained environments. To address this, we propose FoRo, a forward-only, gradient-free continual learning method. FoRo consists of a lightweight prompt tuning strategy and a novel knowledge encoding mechanism, both designed without modifying the pre-trained model. Specifically, prompt embeddings are inserted at the input layer and optimized using the Covariance Matrix Adaptation Evolution Strategy (CMA-ES), which mitigates distribution shifts and extracts high-quality task representations. Subsequently, task-specific knowledge is encoded into a knowledge encoding matrix via nonlinear random projection and recursive least squares, enabling incremental updates to the classifier without revisiting prior data. Experiments show that FoRo significantly reduces average forgetting and improves accuracy. Thanks to forward-only learning, FoRo reduces memory usage and run time while maintaining high knowledge retention across long task sequences. These results suggest that FoRo could serve as a promising direction for exploring continual learning with pre-trained models, especially in real-world multimedia applications where both efficiency and effectiveness are critical.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。