arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.11685cs.CVcs.AIcs.LG
收藏

具有大存储器层的CNN

CNN with large memory layers

Skoltech(斯科尔科沃科学技术研究院)

Rasul Karimov, Yury Malkov, Karim Iskakov, Victor Lempitsky

摘要:

这项工作围绕最近提出的产品密钥存储器结构\cite{large_memory}进行,该结构为许多计算机视觉应用程序实现。存储器结构可以被看作是一个简单的计算原语,适合于扩展到几乎所有的神经网络架构。存储器块允许以相对于存储器容量的平方根复杂度缩放来实现对存储器的稀疏访问。后一种缩放是可能的,这是由于最近邻搜索的关键空间的笛卡尔积空间分解的结合。我们已经测试了存储器层的分类,图像重建和重新定位问题,并发现对于其中的一些,存储器层可以提供显着的速度/准确性的提高与键值元素的高利用率,而其他需要更仔细的微调和遭受死亡键。为了解决后一个问题,我们引入了一种简单的内存重新初始化技术,它可以帮助我们从内存中删除未使用的键值对,并再次将它们用于训练。我们已经进行了各种实验,并在分类和PoseNet重定位模型的速度和准确性方面得到了改进。我们证明了重新初始化对随机标记数据的玩具示例有巨大的影响,并观察到图像分类任务的性能有所提高。我们还展示了大存储器层在重定位问题上的泛化特性的持久性,同时观察图像和所选存储单元之间的空间相关性。

英文摘要:

This work is centred around the recently proposed product key memory structure \cite{large_memory}, implemented for a number of computer vision applications. The memory structure can be regarded as a simple computation primitive suitable to be augmented to nearly all neural network architectures. The memory block allows implementing sparse access to memory with square root complexity scaling with respect to the memory capacity. The latter scaling is possible due to the incorporation of Cartesian product space decomposition of the key space for the nearest neighbour search. We have tested the memory layer on the classification, image reconstruction and relocalization problems and found that for some of those, the memory layers can provide significant speed/accuracy improvement with the high utilization of the key-value elements, while others require more careful fine-tuning and suffer from dying keys. To tackle the later problem we have introduced a simple technique of memory re-initialization which helps us to eliminate unused key-value pairs from the memory and engage them in training again. We have conducted various experiments and got improvements in speed and accuracy for classification and PoseNet relocalization models. We showed that the re-initialization has a huge impact on a toy example of randomly labeled data and observed some gains in performance on the image classification task. We have also demonstrated the generalization property perseverance of the large memory layers on the relocalization problem, while observing the spatial correlations between the images and the selected memory cells.

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

↑