利用小奇异值构建记忆空域,实现持续学习中的低遗忘更新
Learning in the Null Space: Small Singular Values for Continual Learning
- 通过层输入表示的小奇异值构造近似零空间
- 用紧凑低秩形式在零空间内更新权重,仅需单个可训练矩阵
- 适合需要稳定学习新任务且不干扰旧知识的场景
在持续学习中缓解灾难性遗忘并支持进一步学习是核心挑战。基于正交性的训练方法因其高效性和理论优势受到关注,现有方法多通过梯度投影实现正交约束。本文重新审视正交性,发现小奇异值对应于与历史任务输入空间近乎正交的方向。基于此,我们提出 NESS(Null-space Estimated from Small Singular values),直接在权重空间施加正交性,而非通过梯度调控。具体地,NESS 利用各层输入表示的最小奇异值构建近似零空间,并采用类似 LoRA 的紧凑低秩参数化方式,在该子空间内进行任务专属更新。子空间基底固定以保持零空间约束,每任务仅学习一个可训练矩阵。该设计确保更新近似位于先前输入的零空间中,同时支持对新任务的适应。理论分析与三个基准数据集上的实验表明,该方法具有竞争力表现、低遗忘率和任务间稳定的准确率,凸显了小奇异值在持续学习中的作用。代码已公开于 https://github.com/pacman-ctm/NESS。
原文摘要 · Abstract (English)
Alleviating catastrophic forgetting while enabling further learning is a primary challenge in continual learning (CL). Orthogonal-based training methods have gained attention for their efficiency and strong theoretical properties, and many existing approaches enforce orthogonality through gradient projection. In this paper, we revisit orthogonality and exploit the fact that small singular values correspond to directions that are nearly orthogonal to the input space of previous tasks. Building on this principle, we introduce NESS (Null-space Estimated from Small Singular values), a CL method that applies orthogonality directly in the weight space rather than through gradient manipulation. Specifically, NESS constructs an approximate null space using the smallest singular values of each layer's input representation and parameterizes task-specific updates via a compact low-rank adaptation (LoRA-style) formulation constrained to this subspace. The subspace basis is fixed to preserve the null-space constraint, and only a single trainable matrix is learned for each task. This design ensures that the resulting updates remain approximately in the null space of previous inputs while enabling adaptation to new tasks. Our theoretical analysis and experiments on three benchmark datasets demonstrate competitive performance, low forgetting, and stable accuracy across tasks, highlighting the role of small singular values in continual learning. The code is available at https://github.com/pacman-ctm/NESS.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。