arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2207.11240cs.LGcs.AI
收藏

离散键值瓶颈(Discrete Key-Value Bottleneck)

Discrete Key-Value Bottleneck

MPI for Intelligent Systems(马克斯·普朗克智能系统研究所);Google DeepMind(谷歌DeepMind);Mila(米拉研究所);Google Research(谷歌研究院);National University of Singapore(新加坡国立大学);Université de Montréal(蒙特利尔大学);CIFAR(加拿大高等研究院)

Frederik Träuble, Anirudh Goyal, Nasim Rahaman, Michael Mozer, Kenji Kawaguchi, Yoshua Bengio, Bernhard Schölkopf

AI总结:

针对持续学习中预训练编码器微调易引发灾难性遗忘的问题,提出基于可学习离散键值对瓶颈的架构,通过推理时稀疏调用键值对实现局部更新,理论与实验均验证其能有效缓解遗忘且性能优于相关基准。

摘要:

深度神经网络在数据流满足独立同分布且标记数据充足的分类任务上表现优异。但在非平稳训练数据流(如持续学习)场景下,挑战随之出现。应对这一挑战的一种有效方法是:先在海量易获取数据上预训练大型编码器,再进行任务特定的微调。然而,面对新任务时更新这些编码器的权重难度很大,因为需要微调的权重数量极多,最终会导致模型遗忘先前任务的信息。\n在本研究中,我们提出一种解决该问题的模型架构,其核心是包含多组相互独立且可学习的键值编码对的离散瓶颈。我们的范式为:编码→通过离散瓶颈处理表征→解码。具体而言,输入被送入预训练编码器,编码器的输出用于选取最邻近的键,对应的取值则被送入解码器以解决当前任务。模型在推理阶段仅能调取并复用少量稀疏的键值对,从而支持局部化、上下文相关的模型更新。\n我们从理论上研究了离散键值瓶颈在分布偏移下降低学习影响的能力,证明它能够降低假设类的复杂度。我们在具有挑战性的类别增量学习场景下对所提方法进行了实验验证,结果表明:该模型在无需任何任务边界的情况下,在多种预训练模型上均减轻了灾难性遗忘,性能优于该任务的相关基准模型。

英文摘要:

Deep neural networks perform well on classification tasks where data streams are i.i.d. and labeled data is abundant. Challenges emerge with non-stationary training data streams such as continual learning. One powerful approach that has addressed this challenge involves pre-training of large encoders on volumes of readily available data, followed by task-specific tuning. Given a new task, however, updating the weights of these encoders is challenging as a large number of weights needs to be fine-tuned, and as a result, they forget information about the previous tasks. In the present work, we propose a model architecture to address this issue, building upon a discrete bottleneck containing pairs of separate and learnable key-value codes. Our paradigm will be to encode; process the representation via a discrete bottleneck; and decode. Here, the input is fed to the pre-trained encoder, the output of the encoder is used to select the nearest keys, and the corresponding values are fed to the decoder to solve the current task. The model can only fetch and re-use a sparse number of these key-value pairs during inference, enabling localized and context-dependent model updates. We theoretically investigate the ability of the discrete key-value bottleneck to minimize the effect of learning under distribution shifts and show that it reduces the complexity of the hypothesis class. We empirically verify the proposed method under challenging class-incremental learning scenarios and show that the proposed model - without any task boundaries - reduces catastrophic forgetting across a wide variety of pre-trained models, outperforming relevant baselines on this task.

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

↑