arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.00820cs.LGcs.CLcs.NE
收藏

理解简单算法学习中的记忆模块

Understanding Memory Modules on Learning Simple Algorithms

National Laboratory of Pattern Recognition, CASIA(中国科学院自动化研究所模式识别国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);CAS Center for Excellence in Brain Science and Intelligence Technology(中国科学院脑科学与智能技术卓越创新中心)

Kexin Wang, Yu Zhou, Shaonan Wang, Jiajun Zhang, Chengqing Zong

摘要:

最近的研究表明,记忆模块对于神经网络学习简单算法的泛化能力至关重要。然而,我们对内存模块的工作机制仍然知之甚少。为了缓解这个问题,我们采用了两步分析管道,首先根据可视化推断模型学习了什么策略,然后通过一种新的基于降维的定性分析方法进行验证。利用这种方法,我们分析了两个流行的记忆增强神经网络,神经图灵机和堆栈增强神经网络的两个简单的算法任务,包括反转一个随机序列和算术表达式的评估。结果表明,在前一个任务中,两个模型都可以学习泛化,而在后一个任务中,只有堆栈增强模型可以做到这一点。我们表明,不同的策略是由模型学习,其中特定类别的输入进行监测,并根据不同的政策,以改变记忆。

英文摘要:

Recent work has shown that memory modules are crucial for the generalization ability of neural networks on learning simple algorithms. However, we still have little understanding of the working mechanism of memory modules. To alleviate this problem, we apply a two-step analysis pipeline consisting of first inferring hypothesis about what strategy the model has learned according to visualization and then verify it by a novel proposed qualitative analysis method based on dimension reduction. Using this method, we have analyzed two popular memory-augmented neural networks, neural Turing machine and stack-augmented neural network on two simple algorithm tasks including reversing a random sequence and evaluation of arithmetic expressions. Results have shown that on the former task both models can learn to generalize and on the latter task only the stack-augmented model can do so. We show that different strategies are learned by the models, in which specific categories of input are monitored and different policies are made based on that to change the memory.

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

↑