架构驱动的偏移:面向捕捉逻辑偏移趋势的轻量级选择器
Architecture-driven Shift: towards a lightweight selector for capturing the trends of logit shift
AI总结:
本文提出架构驱动偏移(ADS)作为逻辑偏移的轻量级代理,用于高效选择持续学习中的预训练模型,理论推导并实验验证了ADS与逻辑偏移的单调相关性。
摘要:
持续学习是一种利用深度预训练神经网络能力的实用范式,但哪个预训练模型能更好地平衡“可塑性-稳定性”值得选择?逻辑偏移作为自然代理,因为它代表了持续学习场景中的逻辑偏移。然而,获取逻辑偏移需要巨大的计算成本,阻碍了大规模模型选择。现有的理论分析由于假设均匀隐藏层宽度,忽略了实际架构的结构异质性(可变宽度和深度),无法提供有效的替代方案。这引发了一个关键问题:异构架构与在先验任务(模型已训练过的任务)上的逻辑偏移之间理论上存在什么关系?为了回答这个问题,我们将逻辑偏移解耦为架构依赖和数据依赖,建立我们的框架,揭示了两种依赖的组合——定义为架构驱动偏移(ADS)——能够很好地捕捉逻辑偏移趋势,且只需少量数据样本即可计算。具体来说,对于在先验任务上优化良好的模型,较高的ADS与在当前任务训练后较大的逻辑偏移相关,这基于三个机制组件推导得出:(1)权重矩阵梯度关于层宽的谱范数缩放,(2)新任务的优化路径长度,以及(3)宽网络中的渐近任务冲突。跨越175多种不同架构的大量实证结果表明,ADS与逻辑偏移之间存在强单调相关性(最弱的Spearman相关系数$r_s=0.731$)。在实践中,我们证明了ADS可以作为预期校准误差的轻量级代理,预期校准误差是用于可靠持续学习模型选择的广泛使用的指标,在三个数据集的六个场景中得到了验证。
英文摘要:
Continual Learning (CL) is a practical paradigm to utilize power of deep pre-trained neural networks, but which pre-trained model has a better ability to balance ``Plasticity-Stability", deserving to be chosen? The logit shift serves as a natural proxy because it represents the logit shift in CL scenarios. However, obtaining the logit shift requires huge computational cost, which hinders large-scale model selection. Existing theoretical analyses fail to offer an efficient alternative because of the assumption of uniform hidden layer widths, which ignores the structural heterogeneity (variable width and depth) of real-world architectures. This raises a critical question: what theoretically relationship can be identified between heterogeneous architecture and logit shift on prior tasks (that the model has been trained on)? To answer the question, we decouple logit shift into architecture dependency and data dependency to establish our framework, which reveals that the combination of two dependency, defined as Architecture-driven Shift (ADS), that can capture the logit shift tendency well computable with few data samples. Specifically, for a well-optimized model on prior tasks, higher ADS is associated with a larger logit shift after training on the current task, which derived based on three mechanistic components: (1) spectral norm scaling of weight matrix gradients with layer width, (2) the optimization path length of the new task, and (3) the asymptotic task conflict in wide networks. Extensive empirical results across more than 175 diverse architectures demonstrate a strong monotonic correlation (the weakest Spearman's $r_s=0.731$) between ADS and logit shift. Practically, we demonstrate that ADS can serve as a lightweight proxy of the expected calibration error, which is a widely used metric for reliable CL model selection, on three datasets across six scenarios.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。