Even though most interfaces in the real world are discrete, no efficient way exists to train neural networks to make use of them, yet. We enhance an Interaction Network (a Reinforcement Learning architecture) with discrete interfaces and train it on the generalized Dyck language. This task requires an understanding of hierarchical structures to solve, and has long proven difficult for neural networks. We provide the first solution based on learning to use discrete data structures. We encountered unexpected anomalous behavior during training, and utilized pre-training based on execution traces to overcome them. The resulting model is very small and fast, and generalizes to sequences that are an entire order of magnitude longer than the training data.
翻译:尽管现实世界的大多数界面是互不相连的,但是没有有效的方法来训练神经网络来加以利用。我们加强了一个互连网络(一个强化学习结构),这个网络具有互连互连的界面,并用通用的Dyck语言对它进行培训。这项任务需要理解需要解决的等级结构,而且长期以来神经网络也很难解决。我们提供了基于学习使用离连数据结构的第一个解决方案。我们在培训过程中遇到了意外异常行为,并使用了基于执行痕迹的预培训来克服这些异常行为。由此形成的模型非常小,速度很快,并概括了比培训数据长整个数量级的序列。