The knowledge replay technique has been widely used in many tasks such as continual learning and continuous domain adaptation. The key lies in how to effectively encode the knowledge extracted from previous data and replay them during current training procedure. A simple yet effective model to achieve knowledge replay is autoencoder. However, the number of stored latent codes in autoencoder increases linearly with the scale of data and the trained encoder is redundant for the replaying stage. In this paper, we propose a novel and efficient knowledge recording network (KRNet) which directly maps an arbitrary sample identity number to the corresponding datum. Compared with autoencoder, our KRNet requires significantly ($400\times$) less storage cost for the latent codes and can be trained without the encoder sub-network. Extensive experiments validate the efficiency of KRNet, and as a showcase, it is successfully applied in the task of continual learning.
翻译:知识重放技术已被广泛用于许多任务,例如持续学习和连续域适应。关键在于如何有效地将从先前数据中提取的知识编码,并在当前的培训程序中重现这些知识。实现知识重放的一个简单而有效的模式是自动编码器。然而,自动编码器中储存的潜伏代码数量随着数据规模和经过培训的编码器的大小而线性增加,对于重播阶段来说是多余的。在本文中,我们提议建立一个新颖而高效的知识记录网络(KRNet),直接将任意的样本身份号码映射到相应的数据库中。与自动编码器相比,我们的 KRNet需要大量(400美元)减去潜在代码的存储成本,无需编码子网络即可接受培训。广泛的实验验证了 KRNet 的效率,作为展示,它成功地应用于持续学习的任务中。